decomp(mcm): match _create_icon and link iplMemoryCardManager; pdm MBR reads #1312

Merged
coah80 merged 1 commits from agent/w0929/o2-small-land into main 2026-10-09 08:12:25 +00:00
coah80 commented 2026-10-09 08:12:22 +00:00 (Migrated from github.com)

worker a7a698b7. instruction-exact functions: 26/26 instruction-exact functions: 19/20 gate: 0 regressions, 0 forbidden, 0 readability, dol sha1 26116613f624061ba99c8d1a299aaa6efa85670d

worker a7a698b7. instruction-exact functions: 26/26 instruction-exact functions: 19/20 gate: 0 regressions, 0 forbidden, 0 readability, dol sha1 26116613f624061ba99c8d1a299aaa6efa85670d
graphify-labs[bot] (Migrated from github.com) reviewed 2026-10-09 08:16:46 +00:00
graphify-labs[bot] (Migrated from github.com) left a comment

Graphify reviewed this change.

Looks safe to merge — no coupling regressions and no blocking issues, checked against the code graph (not a self-assessment).


Graphify review — findings

Marks iplMemoryCardManager.cpp as Matching by routing _create_icon through new inline initIconTexture/initIconTextureCI/initIconPalette helpers (mirroring the banner path) and making create_icon/create_banner return const GXTexObj*, while GXInitTexObj now takes a non-const GXTexObj*. pdm_part_is_master_boot_sector reads partition entries via MBR_WORD and bounds-checks start[index]/count[index] directly instead of re-walking pointers. Adds o2-small.attempts.md recording a compiler/-proc sweep showing GC/3.0a5.2 remains the best fit for the pdm, nup, and memory-card units.

No blocking issues surfaced. 8 lower-confidence candidates did not survive cross-model review.

Analysis details — impact, health, verification

Impact & health

Graphify review

Impact — 581 functions depend on the 246 functions this change touches.

Health — grade B; 10 existing hotspot(s) in the area this change touches (pre-existing, not introduced here):

  • PFFAT_FreeChain() — 11 callers, 9 callees (high)
  • RFLiMakeIcon() — 3 callers, 30 callees (high)
  • __GXInitGX() — 1 callers, 73 callees (high)
  • pfstub_call_function_standard() — 1 callers, 65 callees (high)
  • PFDIR_p_mkdir() — 2 callers, 30 callees (high)
  • check_driver_requests() — 6 callers, 9 callees (high)
  • __GXSetDirtyState() — 4 callers, 12 callees (high)
  • PFENT_ITER_DoFindEntry() — 3 callers, 12 callees (high)
  • …and 2 more

Verification — 581 functions in the blast radius were not formally verified this run (proofs are advisory here).

Gate & verification

graphify gate

PASS — objectively clean (no health regressions, tests not run — proofs not run this pass (advisory)). Grounded, not self-assessed.

Advisory (not blocking):

  • verification_scope: 326 function(s) in the blast radius were not formally verified this run
<!-- graphify-inline:4dab538dfdff74bb281231a555d87a6731dbf643 --> **Graphify reviewed this change.** **Looks safe to merge** — no coupling regressions and no blocking issues, checked against the code graph (not a self-assessment). --- ## Graphify review — findings Marks `iplMemoryCardManager.cpp` as `Matching` by routing `_create_icon` through new inline `initIconTexture`/`initIconTextureCI`/`initIconPalette` helpers (mirroring the banner path) and making `create_icon`/`create_banner` return `const GXTexObj*`, while `GXInitTexObj` now takes a non-const `GXTexObj*`. `pdm_part_is_master_boot_sector` reads partition entries via `MBR_WORD` and bounds-checks `start[index]`/`count[index]` directly instead of re-walking pointers. Adds `o2-small.attempts.md` recording a compiler/`-proc` sweep showing GC/3.0a5.2 remains the best fit for the pdm, nup, and memory-card units. _No blocking issues surfaced. 8 lower-confidence candidates did not survive cross-model review._ <details> <summary>Analysis details — impact, health, verification</summary> ### Impact & health ## Graphify review **Impact** — 581 functions depend on the 246 functions this change touches. **Health** — grade B; 10 existing hotspot(s) in the area this change touches (pre-existing, not introduced here): - `PFFAT_FreeChain()` — 11 callers, 9 callees (high) - `RFLiMakeIcon()` — 3 callers, 30 callees (high) - `__GXInitGX()` — 1 callers, 73 callees (high) - `pfstub_call_function_standard()` — 1 callers, 65 callees (high) - `PFDIR_p_mkdir()` — 2 callers, 30 callees (high) - `check_driver_requests()` — 6 callers, 9 callees (high) - `__GXSetDirtyState()` — 4 callers, 12 callees (high) - `PFENT_ITER_DoFindEntry()` — 3 callers, 12 callees (high) - …and 2 more **Verification** — 581 functions in the blast radius were not formally verified this run (proofs are advisory here). ### Gate & verification ## graphify gate **PASS** — objectively clean (no health regressions, tests not run — proofs not run this pass (advisory)). Grounded, not self-assessed. Advisory (not blocking): - verification_scope: 326 function(s) in the blast radius were not formally verified this run </details>
Sign in to join this conversation.