mirror of
https://github.com/Druthulu/BFM-decomp
synced 2026-10-03 16:16:50 -04:00
feat(decomp): free A-prop sibling lane (maintenance pass) — zero model tokens
This commit is contained in:
@@ -72,7 +72,32 @@ void func_800CB510(void *arg0) {
|
||||
|
||||
INCLUDE_ASM("asm/md_MAIN_013/nonmatchings/md_MAIN_013", func_800CB56C);
|
||||
|
||||
INCLUDE_ASM("asm/md_MAIN_013/nonmatchings/md_MAIN_013", func_800CB6E4);
|
||||
void func_800CB6E4(void *arg0) {
|
||||
extern s32 func_80146A6C(s32, void *, s32, s32, s32, s32, s32);
|
||||
extern void func_80146C3C();
|
||||
u8 *a0 = *(u8 **)((s32)arg0 + 0x34);
|
||||
if (*(s32 *)((s32)arg0 + 0x30) == *(s16 *)(a0 + 0x36)) {
|
||||
s16 var;
|
||||
if (*(s32 *)(a0 + 0x58) < 0) {
|
||||
u8 *p = (u8 *)(*(s32 *)(a0 + 0x58) & (s32)0x8FFFFFFF);
|
||||
var = ((*(s16 *)(p + 8) + *(s16 *)(p + 0xA)) >> 1) - 0x10;
|
||||
} else {
|
||||
var = -0x30;
|
||||
}
|
||||
*(s32 *)((s32)arg0 + 0x4C) = *(s16 *)(a0 + 6);
|
||||
*(s32 *)((s32)arg0 + 0x50) = *(s16 *)(a0 + 0xA) + (s16)var;
|
||||
*(s32 *)((s32)arg0 + 0x54) = *(s16 *)(a0 + 0xE);
|
||||
}
|
||||
if (*(s32 *)((s32)arg0 + 0x1C) < 0x18 && *(u16 *)a0 != 0) {
|
||||
if (*(s32 *)((s32)arg0 + 0x1C) < 0xE) {
|
||||
func_80146A6C(0x15, arg0, 0, 0, 0, 0x8000, *(s32 *)((s32)arg0 + 0x1C));
|
||||
}
|
||||
*(s32 *)((s32)arg0 + 0x1C) = *(s32 *)((s32)arg0 + 0x1C) + 1;
|
||||
} else {
|
||||
func_80146C3C(arg0);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
extern s32 func_80128ED8(s32 param_1, s32 *param_2);
|
||||
extern void func_80146C3C();
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user