sub_800C744
This commit is contained in:
@@ -5,70 +5,6 @@
|
||||
|
||||
.text
|
||||
|
||||
thumb_func_start sub_800C744
|
||||
sub_800C744: @ 800C744
|
||||
push {r4,lr}
|
||||
adds r3, r0, 0
|
||||
ldr r0, =gUnknown_03004140
|
||||
ldrb r1, [r0, 0x7]
|
||||
adds r4, r0, 0
|
||||
cmp r1, 0x5
|
||||
bne _0800C76E
|
||||
movs r2, 0x1
|
||||
strb r2, [r4, 0x6]
|
||||
strb r1, [r4, 0x4]
|
||||
ldrh r0, [r4, 0x1C]
|
||||
strh r0, [r4, 0x1A]
|
||||
lsls r0, 16
|
||||
cmp r0, 0
|
||||
beq _0800C76C
|
||||
movs r0, 0x6
|
||||
strb r0, [r4, 0x7]
|
||||
b _0800C76E
|
||||
.pool
|
||||
_0800C76C:
|
||||
strb r2, [r4, 0x7]
|
||||
_0800C76E:
|
||||
ldrb r0, [r4, 0x7]
|
||||
cmp r0, 0x1
|
||||
bne _0800C798
|
||||
strb r0, [r4, 0x6]
|
||||
movs r0, 0x5
|
||||
strb r0, [r4, 0x4]
|
||||
adds r0, r3, 0
|
||||
movs r1, 0x8C
|
||||
bl __umodsi3
|
||||
strh r0, [r4, 0x1A]
|
||||
movs r1, 0x8C
|
||||
subs r1, r0
|
||||
strh r1, [r4, 0x1C]
|
||||
lsls r0, 16
|
||||
cmp r0, 0
|
||||
beq _0800C794
|
||||
movs r0, 0x2
|
||||
b _0800C796
|
||||
_0800C794:
|
||||
movs r0, 0x3
|
||||
_0800C796:
|
||||
strb r0, [r4, 0x7]
|
||||
_0800C798:
|
||||
ldrb r0, [r4, 0x7]
|
||||
cmp r0, 0x3
|
||||
bne _0800C7AE
|
||||
movs r0, 0
|
||||
strb r0, [r4, 0x6]
|
||||
movs r0, 0x28
|
||||
strh r0, [r4, 0x1A]
|
||||
movs r0, 0x4
|
||||
strb r0, [r4, 0x7]
|
||||
movs r0, 0x9
|
||||
strb r0, [r4, 0x4]
|
||||
_0800C7AE:
|
||||
pop {r4}
|
||||
pop {r0}
|
||||
bx r0
|
||||
thumb_func_end sub_800C744
|
||||
|
||||
thumb_func_start sub_800C7B4
|
||||
sub_800C7B4: @ 800C7B4
|
||||
push {r4-r7,lr}
|
||||
|
||||
Reference in New Issue
Block a user