Decompiled sub_81C7334

This commit is contained in:
Phlosioneer 2019-02-12 02:28:46 -05:00
parent d52cbe6bcb
commit aa61e105e0
2 changed files with 12 additions and 22 deletions

View File

@ -5,28 +5,6 @@
.text
thumb_func_start sub_81C7334
sub_81C7334: @ 81C7334
push {r4,lr}
movs r4, 0
_081C7338:
adds r0, r4, 0
bl sub_81C7650
adds r4, 0x1
cmp r4, 0x12
ble _081C7338
ldr r4, =gUnknown_0203CF40
ldr r0, [r4]
bl Free
movs r0, 0
str r0, [r4]
bl InitKeys
pop {r4}
pop {r0}
bx r0
.pool
thumb_func_end sub_81C7334
thumb_func_start sub_81C7360
sub_81C7360: @ 81C7360
push {r4,r5,lr}

View File

@ -23,6 +23,7 @@ extern void sub_81C7400(void);
extern void sub_81C7418(void);
extern void sub_81C7170(u8 a0);
extern void sub_81C71E4(u8 a0);
extern void sub_81C7650(s32 a0);
void sub_81C72BC(void);
@ -172,3 +173,14 @@ void sub_81C72BC() {
}
}
}
void sub_81C7334() {
s32 i;
for (i = 0; i < 19; i++) {
sub_81C7650(i);
}
Free(gUnknown_0203CF40);
gUnknown_0203CF40 = NULL;
InitKeys();
}