Match ChannelObj bindNewAnm #34

Merged
coah80 merged 1 commits from codex/channelobj-measured-20260921 into main 2026-09-21 21:54:19 +00:00
coah80 commented 2026-09-21 21:54:05 +00:00 (Migrated from github.com)

Measured 43U matching improvement in src/scene/channelSelect/iplChannelObj.cpp.

  • ChannelObj::bindNewAnm: 99.525456% -> 100.0%, 396 bytes exact, ctxdiff reports diffs 0.
  • Unit exact code: 8,860/10,924 -> 9,256/10,924.
  • pool_diff.py: POOL IDENTICAL up to 20.
  • Full 43U ninja build passes.
  • build/43U/main.dol SHA1 remains 26116613f624061ba99c8d1a299aaa6efa85670d.

The branch is based on current origin/main.

Note

Match ChannelObj::bindNewAnm and pack ModuleData struct

  • Adds one-byte packing directives around ipl::scene::ModuleData so lbl_8164E328 uses the packed struct size and alignment instead of the compiler default.
  • Moves the lookup pointer declaration to function scope in bindNewAnm to match the original code layout; binding logic is unchanged.

Macroscope summarized 39370e3.

Measured 43U matching improvement in `src/scene/channelSelect/iplChannelObj.cpp`. - `ChannelObj::bindNewAnm`: 99.525456% -> 100.0%, 396 bytes exact, `ctxdiff` reports `diffs 0`. - Unit exact code: 8,860/10,924 -> 9,256/10,924. - `pool_diff.py`: `POOL IDENTICAL up to 20`. - Full 43U ninja build passes. - `build/43U/main.dol` SHA1 remains `26116613f624061ba99c8d1a299aaa6efa85670d`. The branch is based on current `origin/main`. <!-- Macroscope's pull request summary starts here --> <!-- Macroscope will only edit the content between these invisible markers, and the markers themselves will not be visible in the GitHub rendered markdown. --> <!-- If you delete either of the start / end markers from your PR's description, Macroscope will append its summary at the bottom of the description. --> > [!NOTE] > ### Match `ChannelObj::bindNewAnm` and pack `ModuleData` struct > - Adds one-byte packing directives around `ipl::scene::ModuleData` so `lbl_8164E328` uses the packed struct size and alignment instead of the compiler default. > - Moves the `lookup` pointer declaration to function scope in `bindNewAnm` to match the original code layout; binding logic is unchanged. > > <!-- Macroscope's review summary starts here --> > > <sup><a href="https://app.macroscope.com">Macroscope</a> summarized 39370e3.</sup> > <!-- Macroscope's review summary ends here --> > <!-- Macroscope's pull request summary ends here -->
Sign in to join this conversation.