diff options
author | Seth Barberee <seth.barberee@gmail.com> | 2020-11-14 17:44:04 -0600 |
---|---|---|
committer | Seth Barberee <seth.barberee@gmail.com> | 2020-11-14 17:44:04 -0600 |
commit | 3b75b10bbbc99fbbba573142a3f027c3c0492593 (patch) | |
tree | a1fef25e1f8be1e59d07a3fcd9d490175384497e /asm | |
parent | 9237db777e49204e8f09ec6607caefedb469da05 (diff) |
more decomping and some data dumping
Diffstat (limited to 'asm')
-rw-r--r-- | asm/code_800D090.s | 104 | ||||
-rw-r--r-- | asm/code_809D148.s | 14 |
2 files changed, 0 insertions, 118 deletions
diff --git a/asm/code_800D090.s b/asm/code_800D090.s index 394944e..691f0f6 100644 --- a/asm/code_800D090.s +++ b/asm/code_800D090.s @@ -5,110 +5,6 @@ .text - thumb_func_start Hang -Hang: - push {lr} -_0800D092: - swi 0x2 - b _0800D092 - thumb_func_end Hang - - thumb_func_start sub_800D098 -sub_800D098: - push {r4-r7,lr} - mov r7, r10 - mov r6, r9 - mov r5, r8 - push {r5-r7} - ldr r1, _0800D138 -_0800D0A4: - ldrh r0, [r1] - cmp r0, 0x9F - bls _0800D0A4 - movs r1, 0x80 - lsls r1, 19 - ldrh r0, [r1] - adds r7, r0, 0 - movs r0, 0 - strh r0, [r1] - movs r1, 0xA0 - lsls r1, 19 - ldr r2, _0800D13C - adds r0, r2, 0 - strh r0, [r1] - ldr r2, _0800D140 - ldrh r0, [r2] - ldr r1, _0800D144 - cmp r0, r1 - beq _0800D0D0 -_0800D0CA: - ldrh r0, [r2] - cmp r0, r1 - bne _0800D0CA -_0800D0D0: - ldr r6, _0800D148 - movs r0, 0 - mov r8, r0 - strh r0, [r6] - ldr r5, _0800D14C - ldrh r4, [r5] - movs r1, 0xC0 - lsls r1, 6 - adds r0, r1, 0 - strh r0, [r5] - ldr r2, _0800D150 - mov r10, r2 - ldr r1, _0800D154 - adds r0, r1, 0 - strh r0, [r2] - movs r2, 0x1 - mov r9, r2 - strh r2, [r6] - bl SoundBiasReset - swi 0x3 - bl SoundBiasSet - mov r0, r8 - strh r0, [r6] - strh r4, [r5] - mov r1, r10 - strh r0, [r1] - mov r2, r9 - strh r2, [r6] - ldr r1, _0800D138 -_0800D10E: - ldrh r0, [r1] - cmp r0, 0x9F - bls _0800D10E - movs r0, 0x80 - lsls r0, 19 - strh r7, [r0] - ldr r2, _0800D140 - ldrh r0, [r2] - ldr r1, _0800D144 - cmp r0, r1 - beq _0800D12A -_0800D124: - ldrh r0, [r2] - cmp r0, r1 - bne _0800D124 -_0800D12A: - pop {r3-r5} - mov r8, r3 - mov r9, r4 - mov r10, r5 - pop {r4-r7} - pop {r0} - bx r0 - .align 2, 0 -_0800D138: .4byte 0x04000006 -_0800D13C: .4byte 0x0000efff -_0800D140: .4byte 0x04000130 -_0800D144: .4byte 0x000003ff -_0800D148: .4byte 0x04000208 -_0800D14C: .4byte 0x04000200 -_0800D150: .4byte 0x04000132 -_0800D154: .4byte 0x0000c304 - thumb_func_end sub_800D098 thumb_func_start sub_800D158 sub_800D158: diff --git a/asm/code_809D148.s b/asm/code_809D148.s index 75bec2b..5571ce2 100644 --- a/asm/code_809D148.s +++ b/asm/code_809D148.s @@ -5,20 +5,6 @@ .text - thumb_func_start sub_809D248 -sub_809D248: - ldr r3, _0809D258 - ldr r1, [r3, 0x3C] - ldr r2, [r3, 0x40] - str r1, [r0] - str r2, [r0, 0x4] - adds r3, 0x44 - ldrb r0, [r3] - bx lr - .align 2, 0 -_0809D258: .4byte gUnknown_20399E8 - thumb_func_end sub_809D248 - thumb_func_start sub_809D25C sub_809D25C: push {r4-r6,lr} |