Skip to content

Implement missing methods for GameAudio::Parameters - #75

Open
joakim-d wants to merge 1 commit into
doldecomp:mainfrom
joakim-d:end_gameaudioparam_reversing
Open

Implement missing methods for GameAudio::Parameters#75
joakim-d wants to merge 1 commit into
doldecomp:mainfrom
joakim-d:end_gameaudioparam_reversing

Conversation

@joakim-d

Copy link
Copy Markdown
Contributor
  • Implement GameAudio::Parameters::setPlayerMode
  • Implement GameAudio::Parameters::setRaceMode
  • Set "Matching" for GameAudioParam.cpp

@decomp-dev

decomp-dev Bot commented Aug 14, 2026

Copy link
Copy Markdown

Report for MarioClub_us (da86f76 - 1f3b765)

📈 Matched code: 46.55% (+0.05%, +1688 bytes)
📈 Linked code: 41.22% (+0.09%, +2984 bytes)
📈 Matched data: 24.08% (+0.04%, +348 bytes)
📈 Linked data: 31.47% (+0.05%, +476 bytes)

✅ 7 new matches
Unit Item Bytes Before After
main/Inagaki/GameAudioParam GameAudio::Parameters::setPlayerMode(unsigned char) +554 19.07% 100.00%
main/Inagaki/GameAudioParam GameAudio::Parameters::setRaceMode(unsigned char) +508 0.78% 100.00%
main/Inagaki/GameAudioParam __sinit_GameAudioParam_cpp +492 0.00% 100.00%
main/Inagaki/GameAudioParam .bss +96 0.00% 100.00%
main/Inagaki/GameAudioParam .sdata2 +50 44.25% 100.00%
main/Inagaki/GameAudioParam .rodata +13 91.89% 100.00%
main/Inagaki/GameAudioParam .ctors +4 0.00% 100.00%

Comment on lines +120 to +121
f32 _04; // 04 (referenceDistance)
f32 _08; // 08 (nearDistance)

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

FYI I did not rename those variables because another CPP file was being impacted and a LOT (+50) of unused symbols were preventing the build to pass.
I thought it was out of scope so I left it like so

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.

1 participant