Files
BFM-decomp/src/shared
Drew T f3e8317bd1 feat(phase-29): T49 — func_80135260 x4 siblings + the 3,744-site decl conform
The §53 carve path banked only 4 of 137 siblings, ALL of them SC07 — the exact signature
func_80177DA8 showed before its §99 fix, so the same lever applies.

- jtbl_family_bank func_80135260: 4 BANKED / 133 gate-fail. The 4 are SC07 overlays.
- conform_decls dry run confirmed the class: byte-true def is
  `s32 func_80135260(s32, s32, s16 *, s16 *)` but 3,744 declaration sites say
  `(s32, s32, s32, s32)` — params 3 and 4 declared s32 where the byte truth is s16 *.
  Return type agrees, so the §85 return-axis precondition does not fire.
- Applied: 3,744 sites rewritten across 2,021 files; the tool's R32 assertion reports
  "non-canonical declarations remaining: 0  OK (axis complete)". It correctly SKIPPED the 5
  DEFINING TUs (the 4 SC07 banks + ov_SC01_077) — a defining TU owns its own declarations, since
  per-overlay byte-true signatures legitimately differ under §16 loose typing.
- This touches src/shared/engine_core.h, so it is FLEET-SHARED and R22 was mandatory (§61/§63):
  R22 clean-fleet 140 passed, 0 failed of 140.

Also recorded: jtbl_family_bank's [gather_externs] warning named func_80135D20 as an undeclared
referenced symbol, but that symbol appears ONLY in the draft's header COMMENTS (lines 3 and 29) —
a comment-scanning false positive, same class as the Phase-19 gen_harvest_targets garbled-hint bug.
It was not the cause of the 133 failures.

Next: re-run the carve path for the remaining 133 siblings now that the decl axis is conformed.
2026-07-28 15:47:52 -06:00
..