feat(decomp): bank main:func_8002C410 (299 ins) — the first -O0 island in main

The body was MATCH 299/299 from the S77w wave and could not bank for want of an
-O0 object. With the 3-way carve in place it gated first try.

gate_main: BANKED 1, 143dbb89f34491258bbc27810d0a12ec8b43a8dd BYTE-IDENTICAL.
This commit is contained in:
Drew T
2026-09-03 22:21:24 -06:00
parent a13b2a5c38
commit f4ff8267a5
+75 -1
View File
@@ -89,4 +89,78 @@ extern u16 func_8002B08C(s32 a0);
extern u32 func_8002C320(void);
extern s32 func_8002C3B0(s32 count, u8 *arr);
INCLUDE_ASM("asm/nonmatchings/800_b", func_8002C410);
extern void PushMatrix();
extern void PopMatrix();
extern s32 rand();
extern s32 getchar();
void func_8002C410(void)
{
func_80059888(0, 0, 0, 0);
func_800596F4(0);
func_800599B8(0, 0);
MoveImage(0, 0, 0);
GetClut(0, 0);
GetTPage(0, 0, 0, 0);
AddPrim(0, 0);
func_8005A600(0, 0, 0, 0, 0);
SetLineF2(0);
SetLineG2(0);
SetPolyF3(0);
SetPolyFT4(0);
SetSemiTrans(0, 0);
MulMatrix0(0, 0, 0);
func_80048D9C(0, 0);
func_80048EAC(0, 0);
MulRotMatrix(0);
SetMulMatrix(0, 0);
SetMulRotMatrix(0);
ApplyRotMatrix(0, 0);
ApplyRotMatrixLV(0, 0);
func_800484EC(0, 0, 0);
ApplyMatrixSV(0, 0, 0);
ApplyTransposeMatrixLV(0, 0, 0);
func_8004978C(0, 0);
RotMatrixYXZ(0, 0);
func_80049CAC(0, 0);
RotMatrixX(0, 0);
RotMatrixY(0, 0);
RotMatrixZ(0, 0);
func_8004901C(0, 0);
func_8004974C(0, 0);
CompMatrix(0, 0, 0);
CompMatrixLV(0, 0, 0);
func_8004914C(0);
func_800491AC(0);
PushMatrix(0);
PopMatrix(0);
ReadRotMatrix(0);
func_8004921C(0, 0);
ReadGeomOffset(0, 0);
func_800491EC(0);
RotTransPers(0, 0, 0, 0);
RotTransSV(0, 0, 0);
Square12(0, 0);
Square0(0, 0);
func_800495EC(0, 0, 0);
RotTransPers4(0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
RotNclip4(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
VectorNormalSS(0, 0);
func_80047D3C(0);
SquareRoot12(0);
gteMIMefunc(0, 0, 0, 0);
func_80047948(0);
func_8004787C(0);
csqrt(0);
ratan2(0, 0);
SsUtKeyOnV(0, 0, 0, 0, 0, 0, 0, 0);
SsUtKeyOffV(0);
SsGetCurrentPoint(0, 0);
func_8005C324(0, 0, 0);
func_8005C2C8(0, 0);
rand(0);
func_8005C4CC(0);
getchar(0);
func_8005C388(0);
strcpy(0, 0);
}