through sub_812DB64

This commit is contained in:
PikalaxALT
2018-11-25 21:58:52 -05:00
parent 5c013a0897
commit 82c7bd49aa
3 changed files with 57 additions and 112 deletions
-91
View File
@@ -5,97 +5,6 @@
.text
thumb_func_start sub_812DB10
sub_812DB10: @ 812DB10
push {lr}
movs r0, 0
bl sub_812E094
ldr r1, _0812DB24 @ =gUnknown_3005EC8
movs r0, 0xFF
strb r0, [r1]
pop {r0}
bx r0
.align 2, 0
_0812DB24: .4byte gUnknown_3005EC8
thumb_func_end sub_812DB10
thumb_func_start sub_812DB28
sub_812DB28: @ 812DB28
push {r4,lr}
bl sub_812DB64
bl sub_812DEF0
ldr r4, _0812DB5C @ =gUnknown_203B0FC
ldr r3, [r4]
lsls r0, 2
ldrb r2, [r3, 0x7]
movs r1, 0x3
ands r1, r2
orrs r1, r0
strb r1, [r3, 0x7]
ldr r0, _0812DB60 @ =gUnknown_3005EB0
movs r1, 0
movs r2, 0
bl ListMenuInit
ldr r1, [r4]
strb r0, [r1, 0x8]
movs r0, 0
bl sub_812DFE4
pop {r4}
pop {r0}
bx r0
.align 2, 0
_0812DB5C: .4byte gUnknown_203B0FC
_0812DB60: .4byte gUnknown_3005EB0
thumb_func_end sub_812DB28
thumb_func_start sub_812DB64
sub_812DB64: @ 812DB64
ldr r2, _0812DBB4 @ =gUnknown_3005EB0
ldr r0, _0812DBB8 @ =gUnknown_203B100
ldr r0, [r0]
str r0, [r2]
ldr r0, _0812DBBC @ =sub_812DBC0
str r0, [r2, 0x4]
movs r0, 0
str r0, [r2, 0x8]
movs r1, 0
movs r0, 0x1
strh r0, [r2, 0xC]
strh r0, [r2, 0xE]
strb r1, [r2, 0x10]
strb r1, [r2, 0x11]
movs r0, 0x8
strb r0, [r2, 0x12]
strb r1, [r2, 0x13]
ldrb r1, [r2, 0x14]
subs r0, 0x18
ands r0, r1
movs r1, 0x4
orrs r0, r1
movs r1, 0xF
ands r0, r1
movs r1, 0x20
orrs r0, r1
strb r0, [r2, 0x14]
movs r0, 0x30
strb r0, [r2, 0x15]
movs r3, 0x3F
movs r0, 0
strb r0, [r2, 0x16]
ldrb r1, [r2, 0x17]
subs r0, 0x40
ands r0, r1
movs r1, 0x2
orrs r0, r1
ands r0, r3
strb r0, [r2, 0x17]
bx lr
.align 2, 0
_0812DBB4: .4byte gUnknown_3005EB0
_0812DBB8: .4byte gUnknown_203B100
_0812DBBC: .4byte sub_812DBC0
thumb_func_end sub_812DB64
thumb_func_start sub_812DBC0
sub_812DBC0: @ 812DBC0
push {r4-r7,lr}