mirror of
https://github.com/Druthulu/BFM-decomp
synced 2026-09-27 22:45:39 -04:00
379b7eb1a0
SaveLoadRoutine (1139 ins) and func_8002B0B4 (76) are ONE 0x40 frame split across two symbols, byte-verified: func_8002B0B4's jtbl_80072E44 points at SaveLoadRoutine and at labels INSIDE its body, and SaveLoadRoutine has no prologue while owning the epilogue. gcc-2.7.2 has no sibcall/tail-merge pass, so any C body for either gains a synthesized prologue/epilogue the target lacks. An agent reported SaveLoadRoutine as MATCH closeness 0; its own note says 'NOT a C decompile' — it wrapped verbatim asm. gate_main would refuse it (contains its own INCLUDE_ASM). NOT counted as a bank. Both now excluded. This shrinks main's honest matchable frontier by 1,215 instructions (11%). The real fix is a RESEGMENTATION merging the two symbols, not a draft. Adds the 3-step frame check to run BEFORE drafting anything large; not running it cost 70k + 134k tokens this session. Also notes that the agent invented its §265 citation while reaching a correct conclusion (R14: check both).