diff options
| author | Alejandro Javier Asenjo Nitti <alejandro.asenjo88@gmail.com> | 2023-10-31 14:48:36 -0300 |
|---|---|---|
| committer | Alejandro Javier Asenjo Nitti <alejandro.asenjo88@gmail.com> | 2023-10-31 14:48:36 -0300 |
| commit | a421f53d014938a5b6508bb77ee4673a8df84276 (patch) | |
| tree | 383970bb499b65975e0ba43f51915d1d54b89fcd | |
| parent | 0df782f68e890d064a94c441f4da6960a5bd5236 (diff) | |
func_80BE9D9C matching
| -rw-r--r-- | src/overlays/actors/ovl_En_Dt/z_en_dt.c | 22 |
1 files changed, 6 insertions, 16 deletions
diff --git a/src/overlays/actors/ovl_En_Dt/z_en_dt.c b/src/overlays/actors/ovl_En_Dt/z_en_dt.c index de5cf5f61..6882e9d3f 100644 --- a/src/overlays/actors/ovl_En_Dt/z_en_dt.c +++ b/src/overlays/actors/ovl_En_Dt/z_en_dt.c @@ -133,26 +133,16 @@ void func_80BE9CE8(EnDt* this, s32 arg1) { var_fv1); } -// Regalloc -// https://decomp.me/scratch/wKYaQ -#ifdef NON_MATCHING void func_80BE9D9C(EnDt* this) { - s32 temp_v0; - s32* temp_v1; + s32 temp_v0 = this->unk_280 * 4; - temp_v0 = this->unk_280 * 4; temp_v0++; - temp_v1 = &D_80BEB2E8[temp_v0]; - func_80BE9CE8(this, *temp_v1); - temp_v0 = 1; - this->unk_24C = temp_v1[temp_v0]; - temp_v1++; - temp_v1++; - this->unk_248 = *temp_v1; + func_80BE9CE8(this, D_80BEB2E8[temp_v0]); + temp_v0++; + this->unk_24C = D_80BEB2E8[temp_v0]; + temp_v0++; + this->unk_248 = D_80BEB2E8[temp_v0]; } -#else -#pragma GLOBAL_ASM("asm/non_matchings/overlays/ovl_En_Dt/func_80BE9D9C.s") -#endif #pragma GLOBAL_ASM("asm/non_matchings/overlays/ovl_En_Dt/func_80BE9DF8.s") |
