feat(decomp): -O0 U2 — the 4 SC07 whale members bank, 4/4, zero model tokens

rollout_o0 hardcoded `<ov>_o0b.c` as the whale object and listed SC07_006/007/010/011 as
OUT-OF-SCOPE. They were never out of scope structurally — the suffix letter just drifts:
_o0b across the fleet, _o0c in SC07_010, _o0d in SC07_006/007/011. The invariant that
actually identifies the object is that it ENDS at the whale and therefore includes
shared/func_80144B9C.h.

whale_file_of() resolves on that content, and refuses (never guesses) when two -O0 files in
one overlay match, or none do.

NEGATIVE CONTROL (R39) over the already-succeeding population: across all 134 overlays that
bank through the legacy `_o0b.c` path, content resolution returns EXACTLY that file — 134
agree, 0 disagree. The four SC07 overlays resolve to their _o0c/_o0d objects, and overlays
with no -O0 object at all (ov_MAIN_012, ov_SC02_037, ov_SC03_107 — the U3 carve group) are
still refused with `no-o0b`.

Result: func_801457A4 BANKED in all four, each proven by `make build BINARY=<ov>` matching
config/check.<ov>.sha. 4 functions / 316 instructions, no splat change, no drafting.

Also: build_ok() now takes `.run/auto/gate.<bin>.lock`, the same per-binary lock the gater,
sweep_parallel and the maintenance sweep take. This driver was written to be run by hand
between waves; with six lanes live, two processes in one build/<ov> tree would produce a
verdict about neither.
This commit is contained in:
Drew T
2026-08-25 02:06:20 -06:00
parent 4b7ebe7954
commit 2de4ef722a
9 changed files with 161 additions and 18 deletions
+2 -2
View File
@@ -1021,8 +1021,8 @@ extern unsigned short D_80126B66;
extern int func_80144B14(int param_1);
/* ==== end §8b carried decl layer ==== */
INCLUDE_ASM("asm/ov_SC07_006/nonmatchings/ov_SC07_006_jr_801457A4", func_801457A4);
/* func_801457A4 (@0x801457A4) is an -O0 function; its definition lives in ov_SC07_006_o0d.c (the -O0
* whale object). Mirrors ov_SC01_077 (rollout_o0, generalizing §116/T85). */
void func_801458E0(void) {
}
+28
View File
@@ -1012,3 +1012,31 @@ extern int func_80144B14(int param_1);
#include "../shared/func_80144B9C.h"
/* func_801457A4 @ 0x801457A4 — an -O0 function stranded at the whale's end boundary (it is the
* FIRST fn of the -O2 "after" segment, but its target is -O0: frame-pointer + per-case stack
* reloads). It can only bank in an -O0 object, so it lives here: _o0b is already -O0-compiled and
* its .text ends exactly at 0x801457A4 (right after func_80144B9C), placing this fn at its true
* address with no linker/Makefile change. Its stub was removed from ov_SC01_077_after.c. Def sig
* conformed byte-neutrally to func_80144B9C.h's decl `void *func_801457A4(s32)` (the whale calls it
* that way); byte-proven at -O0 (match_one --o0 79/79) and by the whole-binary gate. Phase-29 bank. */
extern int D_8018A3C0;
void *func_801457A4(s32 param_1) {
switch (param_1) {
case 0x1010:
case 0x1052:
case 0x1077:
case 0x1094:
case 0x2013:
case 0x2015 ... 0x201a:
case 0x2055 ... 0x205b:
case 0x207a ... 0x2080:
case 0x2097 ... 0x209d:
return (void *)(&D_8018A3C0)[param_1 & 0xffff0fff];
default:
return (void *)D_8018A3C0;
break;
}
}
+2 -2
View File
@@ -1017,8 +1017,8 @@ extern void func_80144AEC(s32 *a0);
extern int func_80013294(void *a0, void *a1);
/* ==== end §8b carried decl layer ==== */
INCLUDE_ASM("asm/ov_SC07_007/nonmatchings/ov_SC07_007_jr_801457A4", func_801457A4);
/* func_801457A4 (@0x801457A4) is an -O0 function; its definition lives in ov_SC07_007_o0d.c (the -O0
* whale object). Mirrors ov_SC01_077 (rollout_o0, generalizing §116/T85). */
void func_801458E0(void) {
}
+28
View File
@@ -1007,3 +1007,31 @@ extern int func_80013294(void *a0, void *a1);
#include "../shared/func_80144B9C.h"
/* func_801457A4 @ 0x801457A4 — an -O0 function stranded at the whale's end boundary (it is the
* FIRST fn of the -O2 "after" segment, but its target is -O0: frame-pointer + per-case stack
* reloads). It can only bank in an -O0 object, so it lives here: _o0b is already -O0-compiled and
* its .text ends exactly at 0x801457A4 (right after func_80144B9C), placing this fn at its true
* address with no linker/Makefile change. Its stub was removed from ov_SC01_077_after.c. Def sig
* conformed byte-neutrally to func_80144B9C.h's decl `void *func_801457A4(s32)` (the whale calls it
* that way); byte-proven at -O0 (match_one --o0 79/79) and by the whole-binary gate. Phase-29 bank. */
extern int D_80182EE4;
void *func_801457A4(s32 param_1) {
switch (param_1) {
case 0x1010:
case 0x1052:
case 0x1077:
case 0x1094:
case 0x2013:
case 0x2015 ... 0x201a:
case 0x2055 ... 0x205b:
case 0x207a ... 0x2080:
case 0x2097 ... 0x209d:
return (void *)(&D_80182EE4)[param_1 & 0xffff0fff];
default:
return (void *)D_80182EE4;
break;
}
}
+2 -2
View File
@@ -430,8 +430,8 @@ extern void func_80144AEC(s32 *a0);
extern int func_80013294(void *a0, void *a1);
/* ==== end §8b carried decl layer ==== */
INCLUDE_ASM("asm/ov_SC07_010/nonmatchings/ov_SC07_010_jr_801457A4", func_801457A4);
/* func_801457A4 (@0x801457A4) is an -O0 function; its definition lives in ov_SC07_010_o0c.c (the -O0
* whale object). Mirrors ov_SC01_077 (rollout_o0, generalizing §116/T85). */
void func_801458E0(void) {
}
+28
View File
@@ -438,3 +438,31 @@ extern int func_80013294(void *a0, void *a1);
#include "../shared/func_80144B9C.h"
/* func_801457A4 @ 0x801457A4 — an -O0 function stranded at the whale's end boundary (it is the
* FIRST fn of the -O2 "after" segment, but its target is -O0: frame-pointer + per-case stack
* reloads). It can only bank in an -O0 object, so it lives here: _o0b is already -O0-compiled and
* its .text ends exactly at 0x801457A4 (right after func_80144B9C), placing this fn at its true
* address with no linker/Makefile change. Its stub was removed from ov_SC01_077_after.c. Def sig
* conformed byte-neutrally to func_80144B9C.h's decl `void *func_801457A4(s32)` (the whale calls it
* that way); byte-proven at -O0 (match_one --o0 79/79) and by the whole-binary gate. Phase-29 bank. */
extern int D_80181F74;
void *func_801457A4(s32 param_1) {
switch (param_1) {
case 0x1010:
case 0x1052:
case 0x1077:
case 0x1094:
case 0x2013:
case 0x2015 ... 0x201a:
case 0x2055 ... 0x205b:
case 0x207a ... 0x2080:
case 0x2097 ... 0x209d:
return (void *)(&D_80181F74)[param_1 & 0xffff0fff];
default:
return (void *)D_80181F74;
break;
}
}
+2 -2
View File
@@ -1018,8 +1018,8 @@ extern void func_80144AEC(s32 *a0);
extern int func_80013294(void *a0, void *a1);
/* ==== end §8b carried decl layer ==== */
INCLUDE_ASM("asm/ov_SC07_011/nonmatchings/ov_SC07_011_jr_801457A4", func_801457A4);
/* func_801457A4 (@0x801457A4) is an -O0 function; its definition lives in ov_SC07_011_o0d.c (the -O0
* whale object). Mirrors ov_SC01_077 (rollout_o0, generalizing §116/T85). */
void func_801458E0(void) {
}
+28
View File
@@ -1008,3 +1008,31 @@ extern int func_80013294(void *a0, void *a1);
#include "../shared/func_80144B9C.h"
/* func_801457A4 @ 0x801457A4 — an -O0 function stranded at the whale's end boundary (it is the
* FIRST fn of the -O2 "after" segment, but its target is -O0: frame-pointer + per-case stack
* reloads). It can only bank in an -O0 object, so it lives here: _o0b is already -O0-compiled and
* its .text ends exactly at 0x801457A4 (right after func_80144B9C), placing this fn at its true
* address with no linker/Makefile change. Its stub was removed from ov_SC01_077_after.c. Def sig
* conformed byte-neutrally to func_80144B9C.h's decl `void *func_801457A4(s32)` (the whale calls it
* that way); byte-proven at -O0 (match_one --o0 79/79) and by the whole-binary gate. Phase-29 bank. */
extern int D_8017E634;
void *func_801457A4(s32 param_1) {
switch (param_1) {
case 0x1010:
case 0x1052:
case 0x1077:
case 0x1094:
case 0x2013:
case 0x2015 ... 0x201a:
case 0x2055 ... 0x205b:
case 0x207a ... 0x2080:
case 0x2097 ... 0x209d:
return (void *)(&D_8017E634)[param_1 & 0xffff0fff];
default:
return (void *)D_8017E634;
break;
}
}