feat(phase-31): propagate func_8018C1E0 (gate lane)

This commit is contained in:
Drew T
2026-08-15 00:24:13 -06:00
parent e438963a00
commit 00e79e7764
4 changed files with 41 additions and 16 deletions
+7
View File
@@ -14817,3 +14817,10 @@ groups:
func: DEFINE_func_8018B614
vram: 0x8018B614
binaries: [ov_SC04_018, ov_SC04_019]
- id: E_func_8018C1E0
tier: h_exact
hash: 5fb4815cc3aa53413cfb656da14781076dd0fb9c
source: src/shared/engine_core.h
func: DEFINE_func_8018C1E0
vram: 0x8018C1E0
binaries: [ov_SC04_018, ov_SC04_019]
+1 -15
View File
@@ -4752,21 +4752,7 @@ INCLUDE_ASM("asm/ov_SC04_018/nonmatchings/ov_SC04_018_jr_80188E1C", func_8018C11
#include "common.h"
extern s32 aF801848DC(void *) __asm__("func_801848DC");
extern s32 func_80178BF8(); /* TU-canonical (ov_SC04_018_jr_8017AE2C.c L2539) */
extern void func_80172710(void); /* TU-canonical (ov_SC04_018_jr_8017AE2C.c L2231) */
s32 func_8018C1E0(void *a0) {
if (*(u16 *)(*(s32 *)((s32)a0 + 0x64) + 0x2) != 3) {
return 0;
}
if (aF801848DC(a0) == 0) {
return 0;
}
*(s16 *)(*(s32 *)((s32)a0 + 0x64) + 0x2) = 4;
func_80178BF8();
return (s32)func_80172710;
}
DEFINE_func_8018C1E0() /* dedup: shared engine-core @0x8018C1E0 (src/shared) */
+1 -1
View File
@@ -4159,7 +4159,7 @@ INCLUDE_ASM("asm/ov_SC04_019/nonmatchings/ov_SC04_019_jr_80188E1C", func_8018C0B
INCLUDE_ASM("asm/ov_SC04_019/nonmatchings/ov_SC04_019_jr_80188E1C", func_8018C114);
INCLUDE_ASM("asm/ov_SC04_019/nonmatchings/ov_SC04_019_jr_80188E1C", func_8018C1E0);
DEFINE_func_8018C1E0() /* dedup: shared engine-core @0x8018C1E0 (src/shared) */
extern void func_80184CB8(s32*, s32);
+32
View File
@@ -61008,6 +61008,22 @@
func_8018B564(a0); \
}
#define DEFINE_func_8018C1E0() \
extern s32 aF801848DC(void *) __asm__("func_801848DC"); \
extern s32 func_80178BF8(); /* TU-canonical (ov_SC04_018_jr_8017AE2C.c L2539) */ \
extern void func_80172710(void); /* TU-canonical (ov_SC04_018_jr_8017AE2C.c L2231) */ \
s32 func_8018C1E0(void *a0) { \
if (*(u16 *)(*(s32 *)((s32)a0 + 0x64) + 0x2) != 3) { \
return 0; \
} \
if (aF801848DC(a0) == 0) { \
return 0; \
} \
*(s16 *)(*(s32 *)((s32)a0 + 0x64) + 0x2) = 4; \
func_80178BF8(); \
return (s32)func_80172710; \
}
#endif
#define DEFINE_func_80128EA8() \
@@ -151421,4 +151437,20 @@
func_8018B564(a0); \
}
#define DEFINE_func_8018C1E0() \
extern s32 aF801848DC(void *) __asm__("func_801848DC"); \
extern s32 func_80178BF8(); /* TU-canonical (ov_SC04_018_jr_8017AE2C.c L2539) */ \
extern void func_80172710(void); /* TU-canonical (ov_SC04_018_jr_8017AE2C.c L2231) */ \
s32 func_8018C1E0(void *a0) { \
if (*(u16 *)(*(s32 *)((s32)a0 + 0x64) + 0x2) != 3) { \
return 0; \
} \
if (aF801848DC(a0) == 0) { \
return 0; \
} \
*(s16 *)(*(s32 *)((s32)a0 + 0x64) + 0x2) = 4; \
func_80178BF8(); \
return (s32)func_80172710; \
}
#endif