mirror of
https://github.com/Druthulu/BFM-decomp
synced 2026-09-29 23:24:32 -04:00
393d34604b
resident-harvest-iterate workflow: 13 agents iterated the 54 hard functions using tools/match_one.py (per-function compile+diff loop), self-correcting against real feedback. Agents reported 34 match_one-MATCHes; the whole-build byte-gate confirmed 13 (func_800D23D0 D1754 CEF5C CF584 D17B8 D2E6C D0588 D2CA8 CFC5C CF3B8 CF104 D20C0 D1BF8). The ~21 standalone-MATCH-but-gate-FAIL are TU-level extern-type conflicts (a draft declares a shared symbol's type to suit its own call site, conflicting with another function's declaration) -> recoverable via a unified extern header (next). Expert idioms found: struct-copy prologue, void-dispatcher-is-actually-s32-returning, *10 -> 2x+8x decomposition, polarity flips. REAL 102 (71.72% byte-identical); both binaries clean. 41 stubs remain (extern-conflict casualties + documented cross-jump/ regalloc residuals = decomp-permuter / cookbook §3a territory, honest P9 deferrals).
2.2 KiB
2.2 KiB
Unmatched difficulty inventory (generated by tools/difficulty.py — harvest queue)
unmatched functions : 41 trivial (<=5 ins) : 1 non-jtbl leaves : 9 (best harvest targets) jump-table funcs : 5 (deferred — need the rodata-island workflow, Task 2')
Easiest 41 unmatched (score asc) — the work queue
| score | name | nins | br | calls | jtbl | leaf |
|---|---|---|---|---|---|---|
| 4 | func_800CFBE8 | 4 | 0 | 0 | - | Y |
| 15 | func_800D1028 | 11 | 0 | 2 | - | - |
| 21 | func_800D2E20 | 19 | 0 | 1 | - | - |
| 23 | func_800D05E8 | 18 | 1 | 1 | - | - |
| 26 | func_800D0EC4 | 18 | 2 | 1 | - | - |
| 29 | func_800D0F8C | 21 | 2 | 1 | - | - |
| 30 | func_800D1984 | 22 | 2 | 1 | - | - |
| 30 | func_800D1B80 | 22 | 2 | 1 | - | - |
| 30 | func_800D2294 | 20 | 2 | 2 | - | - |
| 35 | func_800D185C | 32 | 1 | 0 | - | Y |
| 36 | func_800D21C4 | 26 | 2 | 2 | - | - |
| 43 | func_800D0E30 | 37 | 2 | 0 | - | Y |
| 44 | func_800D302C | 31 | 1 | 5 | - | - |
| 45 | func_800CF8E4 | 26 | 3 | 5 | - | - |
| 46 | func_800D1DB0 | 28 | 4 | 3 | - | - |
| 52 | func_800D0CE0 | 39 | 3 | 2 | - | - |
| 54 | func_800D0214 | 43 | 3 | 1 | - | - |
| 56 | func_800D11F0 | 39 | 3 | 4 | - | - |
| 57 | func_800D0D7C | 45 | 4 | 0 | - | Y |
| 57 | func_800D2D10 | 39 | 6 | 0 | - | Y |
| 59 | func_800CFAD0 | 59 | 0 | 0 | - | Y |
| 68 | func_800D1E28 | 37 | 7 | 5 | - | - |
| 70 | func_800D1EBC | 39 | 7 | 5 | - | - |
| 73 | func_800D1658 | 47 | 6 | 4 | - | - |
| 73 | func_800D1FC8 | 62 | 3 | 1 | - | - |
| 85 | func_800D10EC | 65 | 4 | 4 | - | - |
| 94 | func_800CF628 | 59 | 7 | 7 | - | - |
| 99 | func_800D24A0 | 87 | 2 | 3 | - | - |
| 102 | func_800D19F0 | 72 | 8 | 3 | - | - |
| 109 | func_800CEFD0 | 77 | 6 | 7 | - | - |
| 114 | func_800CF238 | 78 | 6 | 9 | - | - |
| 123 | func_800D0488 | 64 | 10 | 2 | Y | - |
| 136 | func_800CF990 | 80 | 12 | 10 | - | - |
| 141 | func_800D2650 | 99 | 14 | 0 | - | Y |
| 148 | func_800D00E4 | 76 | 15 | 1 | Y | - |
| 162 | func_800D27DC | 135 | 9 | 0 | - | Y |
| 193 | func_800D29F8 | 172 | 7 | 0 | - | Y |
| 234 | func_800CFE60 | 161 | 19 | 8 | - | - |
| 238 | func_800D02D0 | 110 | 33 | 2 | Y | - |
| 446 | func_800D128C | 243 | 40 | 29 | Y | - |
| 637 | func_800D06E8 | 344 | 82 | 11 | Y | - |