mirror of
https://github.com/Druthulu/BFM-decomp
synced 2026-09-26 21:36:06 -04:00
feat(phase-23): lora-grind gate — +3 fns x0 propagated (fleet 64.17%)
This commit is contained in:
@@ -73,7 +73,15 @@ DEFINE_func_80128D60() /* dedup: shared engine-core @0x80128D60 (src/shared) */
|
||||
|
||||
DEFINE_func_80128DB4() /* dedup: shared engine-core @0x80128DB4 (src/shared) */
|
||||
|
||||
INCLUDE_ASM("asm/ov_SC01_074/nonmatchings/ov_SC01_074", func_80128EA8);
|
||||
void func_80128EA8(s32 a0, s32 a1, s32 a2)
|
||||
{
|
||||
*(s32 *)((s32)a1 + 0x0) = a2;
|
||||
*(s16 *)((s32)a1 + 0x4) = 0;
|
||||
*(s16 *)((s32)a1 + 0x6) = (*(s32 *)((s32)a2 + 0x4)) & 0x3F;
|
||||
*(s16 *)((s32)a0 + 0x28) = *(s16 *)((s32)a2 + 0x0);
|
||||
*(s16 *)((s32)a0 + 0x2A) = *(s16 *)((s32)a2 + 0x2);
|
||||
}
|
||||
|
||||
|
||||
INCLUDE_ASM("asm/ov_SC01_074/nonmatchings/ov_SC01_074", func_80128ED8);
|
||||
|
||||
@@ -149,7 +157,12 @@ INCLUDE_ASM("asm/ov_SC01_074/nonmatchings/ov_SC01_074", func_8012A464);
|
||||
|
||||
DEFINE_func_8012A4BC() /* dedup: shared engine-core @0x8012A4BC (src/shared) */
|
||||
|
||||
INCLUDE_ASM("asm/ov_SC01_074/nonmatchings/ov_SC01_074", func_8012A568);
|
||||
extern void func_8012A598(void *a0);
|
||||
void func_8012A568(void (*a0)(void)) {
|
||||
((void (*)(void))func_8012A598)();
|
||||
a0();
|
||||
}
|
||||
|
||||
|
||||
INCLUDE_ASM("asm/ov_SC01_074/nonmatchings/ov_SC01_074", func_8012A598);
|
||||
|
||||
@@ -4854,7 +4867,14 @@ INCLUDE_ASM("asm/ov_SC01_074/nonmatchings/ov_SC01_074", func_8017D7A4);
|
||||
|
||||
INCLUDE_ASM("asm/ov_SC01_074/nonmatchings/ov_SC01_074", func_8017D80C);
|
||||
|
||||
INCLUDE_ASM("asm/ov_SC01_074/nonmatchings/ov_SC01_074", func_8017D8A8);
|
||||
extern s32 func_80171990(u8 *a0);
|
||||
s32 func_8017D8A8(s32 arg0) {
|
||||
*(s32 *)(arg0 + 0x200) = *(s32 *)(arg0 + 0x200) - 1;
|
||||
if (*(s32 *)(arg0 + 0x200) == -1) {
|
||||
((void (*)(void))func_80171990)();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
INCLUDE_ASM("asm/ov_SC01_074/nonmatchings/ov_SC01_074", func_8017D8DC);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user