feat(phase-21): grinder gate — +1 fns x0 propagated (fleet 61.73%)

This commit is contained in:
Drew T
2026-06-23 12:19:06 -06:00
parent 296d834467
commit c9e7c26af4
+38 -1
View File
@@ -59,7 +59,44 @@ void func_8013C9C4(void * arg0)
}
}
INCLUDE_ASM("asm/ov_SC01_077/nonmatchings/ov_SC01_077", func_8013CA14);
extern s32 D_801D9568;
extern s8 D_801D956C;
extern s8 D_801D956D;
extern s32 D_801269C8;
extern s32 D_801269D4;
void func_8013CA14(void)
{
int *base = &D_801D9568;
signed char *p;
unsigned char c;
int t;
if ((*base) != 0)
{
c = D_801D956D;
if (c == 0)
{
p = (signed char *) ((((unsigned int) ((unsigned char) D_801D956C)) * 2) + D_801D9568);
t = (int) (*p);
D_801269D4 = t;
D_801269C8 = t;
D_801D956D = (unsigned char) p[1];
D_801D956C = D_801D956C + 1;
if (D_801D956D == 0)
{
D_801269D4 = 0;
D_801269C8 = 0;
D_801D956C = 0;
*base = 0;
}
}
else
{
D_801D956D = c - 1;
}
}
return;
}
extern s32 D_801D958C;
extern s32 D_801D9580;