decomp(bs2): match CheckBS2CommandStatus, BS2Tick 57 -> 4 (local statics, u64 globals, proven volatile flags) #1308
Reference in New Issue
Block a user
Delete Branch "agent/w0929/o2-bs2mach-land"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
worker dc077f2a. instruction-exact functions: 28/29 gate: 0 regressions, 0 forbidden, 0 readability, dol sha1 26116613f624061ba99c8d1a299aaa6efa85670d
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
Moves
CacheCommandCompleteintoCheckBS2CommandStatusandAudioBufferUnconfiguredintoBS2Tickas function-local statics, and re-declares the remaining.sbssglobals as tentative definitions in reverse order so the compiler emits the target layout. Also merges the split high/low words into 64-bitRequiredIosandCoverOpenTime, and makesRestartRequested,PartitionOpen,LoadingTitle,FatalErrorFlagandAbortFlagvolatile. Records the matching attempts for both functions in a new decomp-assist notes file.No blocking issues surfaced. 3 lower-confidence candidates did not survive cross-model review.
Analysis details — impact, health, verification
Impact & health
Graphify review
Impact — 42 functions depend on the 35 functions this change touches.
Health — grade C; 10 existing hotspot(s) in the area this change touches (pre-existing, not introduced here):
BS2Tick()— 1 callers, 36 callees (high)BS2StartGame()— 1 callers, 30 callees (high)BS2StartGCGame()— 1 callers, 29 callees (high)BS2SelectUpdateEntries()— 1 callers, 19 callees (high)BS2BootIRD()— 1 callers, 13 callees (high)BS2TickIRD()— 1 callers, 13 callees (high)UpdateStateFlagsAndBootCache()— 1 callers, 12 callees (high)BS2Reboot()— 1 callers, 7 callees (medium)Verification — 42 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):