Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ktOnFire setLight() #2297

Merged
merged 5 commits into from
Feb 19, 2025
Merged

Conversation

clarkWakeland
Copy link
Contributor

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

}

/* 8058CE28-8058CE48 000908 0020+00 1/0 0/0 0/0 .text daKtOnFire_Draw__FP12daKtOnFire_c
*/
static void daKtOnFire_Draw(daKtOnFire_c* param_0) {
// NONMATCHING
param_0->Draw();
Copy link
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
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