Skip to content

Conversation

@queueRAM
Copy link
Contributor

  • Split graphics starting at 80223E80 to new file code_24E30
  • Clean up functions to use now better known structs

- Split graphics starting at 80223E80 to new file code_24E30
- Clean up functions to use now better known structs
@queueRAM queueRAM force-pushed the fixup_rodata_please branch from 62bc465 to 06e0b7b Compare January 17, 2026 04:43
u32 tag;
u32 unk8;
u32 offset;
} Unk802B5300;
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I renamed this since I wasn't certain if it was still related to the orig UnkStruct_gfx_16b

- [0x4E830, .rodata, kernel/code_1AF80]
- [0x4EB30, .rodata, kernel/code_200B0]
- [0x4EBD0, .rodata, kernel/graphics]
- [0x4EEF0, .rodata, kernel/code_24E30]
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This fixes the .rodata issue, but is my first time splitting. Let me know if there is anything else to improve upon

return D_802B5300[arg0].unk8;
}

s32 func_80223F68(s32 arg0) {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Difficult to tell in this diff since I both moved the functions and updated them, but I changed this and the other functions from the following method which always used .address and different base pointers. Just wanted to call it out that there are source changes here.

s32 func_80223F68(s32 arg0) {
    return D_802B5304[arg0].address;
}

@gcsmith gcsmith merged commit e69aef8 into gcsmith:main Jan 17, 2026
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.

2 participants