Skip to content

match func_i2_802C5AE4 (co-authored-by: @LLONSIT) - #82

Open
Siiiimon wants to merge 3 commits into
LLONSIT:masterfrom
Siiiimon:func_i2_802C5AE4
Open

match func_i2_802C5AE4 (co-authored-by: @LLONSIT)#82
Siiiimon wants to merge 3 commits into
LLONSIT:masterfrom
Siiiimon:func_i2_802C5AE4

Conversation

@Siiiimon

@Siiiimon Siiiimon commented Apr 2, 2026

Copy link
Copy Markdown
Contributor

decomp link: https://decomp.me/scratch/NUnN2

Not a 100% match, but you flagged it as a match on decomp, so i'd reckon that's fine?

lmk if there's anything I can improve, always open for feedback :)

@inspectredc

inspectredc commented Apr 2, 2026

Copy link
Copy Markdown

It appears the function requires the for loop to be same-lined for the match but otherwise the differences in the scratch are just visual as a result of the asm differ using direct address symbols vs offsets from symbols. Also for matches like these where you have to include .bss (the s16 D_802C8C70[4]; here) then you would need to add all the bss for the file and mark the files section in the splat yaml config as .bss. Let me know if you need any help setting that up!

@Siiiimon

Siiiimon commented Apr 2, 2026

Copy link
Copy Markdown
Contributor Author

I tried my hand at it for an hour, but I wasn't really able to get anywhere I think.
Do I declare every symbol from the bss section as a global in the .c file or do I let splat handle it in a .bss.o? Not sure if this question makes any sense...

I also wouldn't be mad if you fixed it if it's a straightforward kind of thing I just don't know about 😅

Comment thread src/overlays/ovl_i2/ovl_1B9440.c
Comment thread src/overlays/ovl_i2/ovl_1B9440.c Outdated
Comment thread src/overlays/ovl_i2/ovl_1B9440.c Outdated
Comment thread src/overlays/ovl_i2/ovl_1B9440.c Outdated
Comment thread src/overlays/ovl_i2/ovl_1B9440.c Outdated
Co-authored-by: LLONSIT <76184758+LLONSIT@users.noreply.github.com>
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