Skip to content

ktOnFire setLight()#2297

Merged
hatal175 merged 5 commits intozeldaret:mainfrom
clarkWakeland:ktOnFire_setLight_firstPR
Feb 19, 2025
Merged

ktOnFire setLight()#2297
hatal175 merged 5 commits intozeldaret:mainfrom
clarkWakeland:ktOnFire_setLight_firstPR

Conversation

@clarkWakeland
Copy link
Copy Markdown
Contributor

Decompile of ktOnFire setLight() function.
First PR for reverse engineering and this repo, wanted to do something very simple to start.

*/
static void daKtOnFire_Draw(daKtOnFire_c* param_0) {
// NONMATCHING
param_0->Draw();
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The draw, delete and execute static functions usually have an int return value that propagates the inner function return value.

Comment on lines +21 to +23
/* 8058CA1C */ void Execute();
/* 8058CDF8 */ bool Draw();
/* 8058CE00 */ void Delete();
/* 8058CE00 */ bool Delete();
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just adding on to what hatal said, all actors generally have a create, delete, draw and execute function, and sometimes a createHeap and isDelete function, which should all return int values to stay consistent

@clarkWakeland clarkWakeland marked this pull request as draft February 19, 2025 10:17
@hatal175 hatal175 marked this pull request as ready for review February 19, 2025 13:02
@hatal175 hatal175 merged commit 376a5be into zeldaret:main Feb 19, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants