decomp(keyboard): refine existing animation local order #1074

Merged
coah80 merged 1 commits from agent/bittle/candidate-six-review into main 2026-10-03 07:06:49 +00:00
coah80 commented 2026-10-03 07:06:12 +00:00 (Migrated from github.com)

Small verified declaration-order gain

Reorder only the three existing uninitialized leading declarations from i/j/pane to pane/j/i. Types, lexical scopes, assignments, loop bounds and all executed statements remain unchanged.

  • createAnmPane: 98.37963% → 98.49537%, 216/216 instructions; frame 0x50
  • Unit: 99.50484% → 99.509%; exact functions 109/112 and reported data 4,652/4,652 preserved

One unchanged official declsearch run evaluated all six unique orders. This exhausts this small order space; no second run or other source change.

Independent verification

Rebased and tested on 6f96cb5274d7080cc4c8782677ad7213eb4a38da; tested tree 0de113fbb6.

  • Full 43U build/progress/report/DOL passed; complete 1,027-unit report changes only this function's fuzzy score, zero regressions
  • Source outside the three declaration lines is identical
  • Emitted change is a consistent r21/r23 swap; every fixed ABI argument, operation, address, branch and instruction position remains equivalent
  • All 161 other emitted bodies, allocated nontext payloads and relocation sections byte-identical
  • Pool 57/57 identical; literal audit 111 functions/27 arguments, no candidates/errors; pre-existing create unequal extent skipped
  • DOL SHA1 26116613f624061ba99c8d1a299aaa6efa85670d; worktree/diff checks pass

Partial fuzzy gain using the repository-supported declaration tool. No new exact-function, linking or previously unmatched section-extent claim.

Note

Reorder local declarations in tiCandidateBox::createAnmPane_

Reorders the local variable declarations in the pane-construction loop so the pane pointer comes first, followed by the two loop indices. No statements or control flow change.

Macroscope summarized 64ac4ce.

## Small verified declaration-order gain Reorder only the three existing uninitialized leading declarations from i/j/pane to pane/j/i. Types, lexical scopes, assignments, loop bounds and all executed statements remain unchanged. - createAnmPane: 98.37963% → 98.49537%, 216/216 instructions; frame 0x50 - Unit: 99.50484% → 99.509%; exact functions 109/112 and reported data 4,652/4,652 preserved One unchanged official declsearch run evaluated all six unique orders. This exhausts this small order space; no second run or other source change. ## Independent verification Rebased and tested on 6f96cb5274d7080cc4c8782677ad7213eb4a38da; tested tree 0de113fbb6942e651d37389834c023a664ed4545. - Full 43U build/progress/report/DOL passed; complete 1,027-unit report changes only this function's fuzzy score, zero regressions - Source outside the three declaration lines is identical - Emitted change is a consistent r21/r23 swap; every fixed ABI argument, operation, address, branch and instruction position remains equivalent - All 161 other emitted bodies, allocated nontext payloads and relocation sections byte-identical - Pool 57/57 identical; literal audit 111 functions/27 arguments, no candidates/errors; pre-existing create unequal extent skipped - DOL SHA1 26116613f624061ba99c8d1a299aaa6efa85670d; worktree/diff checks pass Partial fuzzy gain using the repository-supported declaration tool. No new exact-function, linking or previously unmatched section-extent claim. <!-- 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] > ### Reorder local declarations in `tiCandidateBox::createAnmPane_` > Reorders the local variable declarations in the pane-construction loop so the pane pointer comes first, followed by the two loop indices. No statements or control flow change. > > <!-- Macroscope's review summary starts here --> > > <sup><a href="https://app.macroscope.com">Macroscope</a> summarized 64ac4ce.</sup> > <!-- Macroscope's review summary ends here --> > <!-- Macroscope's pull request summary ends here -->
coah80 commented 2026-10-03 07:06:47 +00:00 (Migrated from github.com)

Reviewed and merged: rebased on main, full build ok, DOL sha1 26116613f624061ba99c8d1a299aaa6efa85670d, 0 regressions, 0 forbidden patterns.

Reviewed and merged: rebased on main, full build ok, DOL sha1 26116613f624061ba99c8d1a299aaa6efa85670d, 0 regressions, 0 forbidden patterns.
Sign in to join this conversation.