Improve iplUtility matching #28

Merged
coah80 merged 1 commits from codex/worker-utility-20260921 into main 2026-09-21 21:01:44 +00:00
coah80 commented 2026-09-21 21:01:09 +00:00 (Migrated from github.com)

Summary

  • Force the standalone HermiteIntp constructor emission with a source-local dont_inline pragma.
  • Correct the button-down transition to enter SCROLLING_BY_BTN.
  • Leave configure.py unchanged; the unit remains Equivalent.

Measurements

  • iplUtility exact functions: 42/45 -> 44/45
  • Exact code: 5072/5932 (85.502365%) -> 5216/5932 (87.92988%)
  • Exact data: 168/304 (55.263157%), unchanged
  • Unit fuzzy match: 98.17397% -> 99.44707%
  • Remaining mismatch: Scroller::calc(), 95.41899%
  • pool_diff.py: identical up to 2/2 strings
  • ctxdiff.py: Scroller constructor and HermiteIntp constructor, diffs 0

Verification

  • Full 43U Ninja build passed
  • DOL SHA1: 26116613f624061ba99c8d1a299aaa6efa85670d
  • check_decomp_complete.py remains globally failing on unrelated incomplete units

No ReAgent/re-agent material was used.

Note

Fix Scroller button-down state transition to SCROLLING_BY_BTN

  • Changes the Scroller pointer-event state assigned for the SCROLL_BTN_DOWN event from SCROLL_BTN_DOWN to SCROLLING_BY_BTN in iplUtility.cpp.
  • Wraps the Scroller::Scroller constructor with a compiler directive to prevent inlining, then resets the directive after the constructor.

Macroscope summarized e42af3a.

## Summary - Force the standalone HermiteIntp<float> constructor emission with a source-local dont_inline pragma. - Correct the button-down transition to enter SCROLLING_BY_BTN. - Leave configure.py unchanged; the unit remains Equivalent. ## Measurements - iplUtility exact functions: 42/45 -> 44/45 - Exact code: 5072/5932 (85.502365%) -> 5216/5932 (87.92988%) - Exact data: 168/304 (55.263157%), unchanged - Unit fuzzy match: 98.17397% -> 99.44707% - Remaining mismatch: Scroller::calc(), 95.41899% - pool_diff.py: identical up to 2/2 strings - ctxdiff.py: Scroller constructor and HermiteIntp<float> constructor, diffs 0 ## Verification - Full 43U Ninja build passed - DOL SHA1: 26116613f624061ba99c8d1a299aaa6efa85670d - check_decomp_complete.py remains globally failing on unrelated incomplete units No ReAgent/re-agent material was used. <!-- 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] > ### Fix `Scroller` button-down state transition to `SCROLLING_BY_BTN` > - Changes the `Scroller` pointer-event state assigned for the `SCROLL_BTN_DOWN` event from `SCROLL_BTN_DOWN` to `SCROLLING_BY_BTN` in [iplUtility.cpp](https://github.com/coah80/wii-ipl/pull/28/files#diff-65a6158308943e75251bd268b6ddadce777e805ef94a0e799bd6c72a36ea615d). > - Wraps the `Scroller::Scroller` constructor with a compiler directive to prevent inlining, then resets the directive after the constructor. > > <!-- Macroscope's review summary starts here --> > > <sup><a href="https://app.macroscope.com">Macroscope</a> summarized e42af3a.</sup> > <!-- Macroscope's review summary ends here --> > <!-- Macroscope's pull request summary ends here -->
Sign in to join this conversation.