mirror of
https://github.com/Druthulu/BFM-decomp
synced 2026-09-28 06:49:47 -04:00
feat(phase-31): propagate func_8018B614 (gate lane)
This commit is contained in:
@@ -14810,3 +14810,10 @@ groups:
|
||||
func: DEFINE_func_8018B660
|
||||
vram: 0x8018B660
|
||||
binaries: [ov_SC04_018, ov_SC04_019]
|
||||
- id: E_func_8018B614
|
||||
tier: h_exact
|
||||
hash: d4ff463109b6d059c80c32b101403d1379882232
|
||||
source: src/shared/engine_core.h
|
||||
func: DEFINE_func_8018B614
|
||||
vram: 0x8018B614
|
||||
binaries: [ov_SC04_018, ov_SC04_019]
|
||||
|
||||
@@ -4573,21 +4573,7 @@ INCLUDE_ASM("asm/ov_SC04_018/nonmatchings/ov_SC04_018_jr_80188E1C", func_8018B5A
|
||||
|
||||
#include "common.h"
|
||||
|
||||
extern s32 func_8018B5AC(void);
|
||||
extern void func_8018B564(void *a0);
|
||||
|
||||
void func_8018B614(void *a0) {
|
||||
s32 s0;
|
||||
|
||||
s0 = 1;
|
||||
*(s32 *)(*(s32 *)((char *)a0 + 0xCC) + 0xB0) = s0;
|
||||
|
||||
if (func_8018B5AC() != s0) {
|
||||
return;
|
||||
}
|
||||
|
||||
func_8018B564(a0);
|
||||
}
|
||||
DEFINE_func_8018B614() /* dedup: shared engine-core @0x8018B614 (src/shared) */
|
||||
|
||||
|
||||
#include "common.h"
|
||||
|
||||
@@ -3996,7 +3996,7 @@ void func_8018B570(void *a0) {
|
||||
|
||||
INCLUDE_ASM("asm/ov_SC04_019/nonmatchings/ov_SC04_019_jr_80188E1C", func_8018B5AC);
|
||||
|
||||
INCLUDE_ASM("asm/ov_SC04_019/nonmatchings/ov_SC04_019_jr_80188E1C", func_8018B614);
|
||||
DEFINE_func_8018B614() /* dedup: shared engine-core @0x8018B614 (src/shared) */
|
||||
|
||||
DEFINE_func_8018B660() /* dedup: shared engine-core @0x8018B660 (src/shared) */
|
||||
|
||||
|
||||
@@ -60995,6 +60995,19 @@
|
||||
} \
|
||||
}
|
||||
|
||||
#define DEFINE_func_8018B614() \
|
||||
extern s32 func_8018B5AC(void); \
|
||||
extern void func_8018B564(void *a0); \
|
||||
void func_8018B614(void *a0) { \
|
||||
s32 s0; \
|
||||
s0 = 1; \
|
||||
*(s32 *)(*(s32 *)((char *)a0 + 0xCC) + 0xB0) = s0; \
|
||||
if (func_8018B5AC() != s0) { \
|
||||
return; \
|
||||
} \
|
||||
func_8018B564(a0); \
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
#define DEFINE_func_80128EA8() \
|
||||
@@ -151395,4 +151408,17 @@
|
||||
} \
|
||||
}
|
||||
|
||||
#define DEFINE_func_8018B614() \
|
||||
extern s32 func_8018B5AC(void); \
|
||||
extern void func_8018B564(void *a0); \
|
||||
void func_8018B614(void *a0) { \
|
||||
s32 s0; \
|
||||
s0 = 1; \
|
||||
*(s32 *)(*(s32 *)((char *)a0 + 0xCC) + 0xB0) = s0; \
|
||||
if (func_8018B5AC() != s0) { \
|
||||
return; \
|
||||
} \
|
||||
func_8018B564(a0); \
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user