cleanup(iplAOSSThread): name stack sentinel like RakuStack #653

Merged
coah80 merged 1 commits from cleanup/iplAOSSThread-sentinel into main 2026-10-01 23:40:21 +00:00
coah80 commented 2026-10-01 23:37:33 +00:00 (Migrated from github.com)

Matching-only cleanup in src/scene/setting/iplAOSSThread.cpp.

Mirror the NonMatching RakuStack pattern: introduce AOSSStack with storage[4080] + sentinel, rename mpStackBuffer → mpStack, and replace the raw cast write.

Renames / structural

Before After
u8* mpStackBuffer AOSSStack* mpStack
*(u32*)(mpStackBuffer + 0x3FC0) = 0x97654321 mpStack->sentinel = 0x97654321

Added local struct AOSSStack { u32 storage[4080]; u32 sentinel; }; (same layout as RakuStack).

No cross-TU symbol updates (type is file-local).

Objdiff (main/src/scene/setting/iplAOSSThread)

Before After
matched_code 100% 100%
fuzzy_match 100% 100%
functions 10/10 10/10
matched_data 100% 100%

Gate

  • ninja all_source build/43U/ok
  • DOL sha1 26116613f624061ba99c8d1a299aaa6efa85670d
Matching-only cleanup in `src/scene/setting/iplAOSSThread.cpp`. Mirror the NonMatching `RakuStack` pattern: introduce `AOSSStack` with `storage[4080]` + `sentinel`, rename `mpStackBuffer` → `mpStack`, and replace the raw cast write. ## Renames / structural | Before | After | |--------|--------| | `u8* mpStackBuffer` | `AOSSStack* mpStack` | | `*(u32*)(mpStackBuffer + 0x3FC0) = 0x97654321` | `mpStack->sentinel = 0x97654321` | Added local `struct AOSSStack { u32 storage[4080]; u32 sentinel; };` (same layout as `RakuStack`). No cross-TU symbol updates (type is file-local). ## Objdiff (`main/src/scene/setting/iplAOSSThread`) | | Before | After | |--|--------|-------| | matched_code | 100% | 100% | | fuzzy_match | 100% | 100% | | functions | 10/10 | 10/10 | | matched_data | 100% | 100% | ## Gate - `ninja all_source build/43U/ok` - DOL sha1 `26116613f624061ba99c8d1a299aaa6efa85670d`
coah80 commented 2026-10-01 23:40:18 +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.