decomp(bs2): BS2Tick data TOC and banner locals (71 -> 57) #1295
Reference in New Issue
Block a user
Delete Branch "agent/w0929/sol-m7b-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 3aedfb87. instruction-exact functions: 27/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
Refactors
BS2Tickfor codegen matching without changing behaviour. The data TOC pointer and aligned banner address now go through the new localsdataTocandbannerAddressbefore being stored toDataTocandBannerBuffer, andreadInterruptsEnabledis scoped to the two apploader-main cases. Addssol-m7.attempts.md, which logs the baseline, every trial with per-function difference counts (BS2Tickgoing from 71 to 60 differing instructions), and the source shapes ruled out forCheckBS2CommandStatus.No blocking issues surfaced.
Analysis details — impact, health, verification
Impact & health
Graphify review
Impact — 50 functions depend on the 43 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 — 50 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):