mirror of https://github.com/zeldaret/tmc.git
37 lines
488 B
PHP
37 lines
488 B
PHP
|
|
.syntax unified
|
|
|
|
.text
|
|
|
|
push {r4, r5, r6, lr}
|
|
adds r5, r0, #0
|
|
adds r6, r1, #0
|
|
lsrs r4, r2, #3
|
|
adds r0, r4, #0
|
|
lsrs r5, r5, #3
|
|
b _0807D200
|
|
_0807D1E6:
|
|
lsls r0, r5, #0x10
|
|
lsrs r0, r0, #0x10
|
|
adds r1, r6, #0
|
|
bl sub_080B15E8
|
|
lsls r0, r0, #0x10
|
|
cmp r0, #0
|
|
beq _0807D1FA
|
|
movs r0, #0
|
|
b _0807D208
|
|
_0807D1FA:
|
|
adds r5, #1
|
|
adds r6, #8
|
|
adds r0, r4, #0
|
|
_0807D200:
|
|
subs r4, #1
|
|
cmp r0, #0
|
|
bne _0807D1E6
|
|
movs r0, #1
|
|
_0807D208:
|
|
pop {r4, r5, r6, pc}
|
|
.align 2, 0
|
|
|
|
.syntax divided
|