diff options
Diffstat (limited to 'asm/code_800B5F0.s')
-rw-r--r-- | asm/code_800B5F0.s | 222 |
1 files changed, 0 insertions, 222 deletions
diff --git a/asm/code_800B5F0.s b/asm/code_800B5F0.s index b30e371..fd2f643 100644 --- a/asm/code_800B5F0.s +++ b/asm/code_800B5F0.s @@ -429,226 +429,4 @@ _0800BA54: .4byte gUnknown_202D648 _0800BA58: .4byte 0x04000004 thumb_func_end VCountIntr - thumb_func_start sub_800BA5C -sub_800BA5C: - push {r4,lr} - ldr r4, _0800BAA4 - ldrb r0, [r4] - cmp r0, 0 - beq _0800BA72 - ldr r1, _0800BAA8 - ldr r0, [r1] - adds r0, 0x1 - str r0, [r1] - bl xxx_update_bg_sound_input -_0800BA72: - movs r0, 0x1 - strb r0, [r4] - ldr r1, _0800BAAC - movs r0, 0 - strb r0, [r1] - ldr r1, _0800BAA8 - movs r0, 0 - str r0, [r1] - bl nullsub_25 - ldr r1, _0800BAB0 -_0800BA88: - ldrh r0, [r1] - cmp r0, 0x9F - bhi _0800BA88 - ldr r1, _0800BAB4 - movs r0, 0x1 - strb r0, [r1] - bl VBlankIntrWait - bl nullsub_18 - pop {r4} - pop {r0} - bx r0 - .align 2, 0 -_0800BAA4: .4byte gUnknown_203B09A -_0800BAA8: .4byte gUnknown_203B09C -_0800BAAC: .4byte gUnknown_203B09B -_0800BAB0: .4byte 0x04000006 -_0800BAB4: .4byte gUnknown_203B099 - thumb_func_end sub_800BA5C - - thumb_func_start xxx_update_bg_sound_input -xxx_update_bg_sound_input: - push {r4,r5,lr} - ldr r1, _0800BACC - ldrb r4, [r1] - cmp r4, 0 - beq _0800BAD4 - ldr r1, _0800BAD0 - ldr r0, [r1] - adds r0, 0x1 - str r0, [r1] - b _0800BAFE - .align 2, 0 -_0800BACC: .4byte gUnknown_203B09B -_0800BAD0: .4byte gUnknown_203B09C -_0800BAD4: - movs r0, 0x1 - strb r0, [r1] - ldr r0, _0800BB04 - strb r4, [r0] - ldr r0, _0800BB08 - str r4, [r0] - bl UpdateBGControlRegisters - ldr r5, _0800BB0C - ldrb r0, [r5] - cmp r0, 0 - beq _0800BAF0 - bl UpdateSound -_0800BAF0: - bl UpdateInput - strb r4, [r5] - ldr r0, _0800BB10 - ldr r1, _0800BB14 - ldr r1, [r1] - str r1, [r0] -_0800BAFE: - pop {r4,r5} - pop {r0} - bx r0 - .align 2, 0 -_0800BB04: .4byte gUnknown_203B09A -_0800BB08: .4byte gUnknown_203B09C -_0800BB0C: .4byte gUnknown_203B099 -_0800BB10: .4byte gUnknown_203B0A4 -_0800BB14: .4byte gUnknown_203B0A0 - thumb_func_end xxx_update_bg_sound_input - - thumb_func_start Timer3Intr -Timer3Intr: - push {lr} - ldr r0, _0800BB30 - ldr r0, [r0, 0x10] - cmp r0, 0 - beq _0800BB26 - bl _call_via_r0 -_0800BB26: - movs r0, 0x40 - bl SetInterruptFlag - pop {r0} - bx r0 - .align 2, 0 -_0800BB30: .4byte gUnknown_202D5F0 - thumb_func_end Timer3Intr - - thumb_func_start sub_800BB34 -sub_800BB34: - ldr r0, _0800BB3C - ldr r0, [r0] - bx lr - .align 2, 0 -_0800BB3C: .4byte gUnknown_203B0A0 - thumb_func_end sub_800BB34 - - thumb_func_start nullsub_178 -nullsub_178: - bx lr - thumb_func_end nullsub_178 - - thumb_func_start sub_800BB44 -sub_800BB44: - push {r4-r7,lr} - mov r7, r10 - mov r6, r9 - mov r5, r8 - push {r5-r7} - sub sp, 0x4 - ldr r2, _0800BBF0 - ldrh r0, [r2] - ldr r1, _0800BBF4 - cmp r0, r1 - beq _0800BB60 -_0800BB5A: - ldrh r0, [r2] - cmp r0, r1 - bne _0800BB5A -_0800BB60: - bl DisableInterrupts - lsls r0, 24 - lsrs r0, 24 - str r0, [sp] - ldr r1, _0800BBF8 -_0800BB6C: - ldrh r0, [r1] - cmp r0, 0x9F - bls _0800BB6C - movs r0, 0x80 - lsls r0, 19 - mov r9, r0 - ldrh r1, [r0] - mov r8, r1 - movs r0, 0x80 - mov r2, r9 - strh r0, [r2] - movs r7, 0xA0 - lsls r7, 19 - ldr r1, _0800BBFC - adds r0, r1, 0 - strh r0, [r7] - ldr r5, _0800BC00 - ldrh r4, [r5] - movs r2, 0xC0 - lsls r2, 6 - adds r0, r2, 0 - strh r0, [r5] - ldr r0, _0800BC04 - mov r10, r0 - ldr r1, _0800BC08 - adds r0, r1, 0 - mov r2, r10 - strh r0, [r2] - ldr r6, _0800BC0C - movs r0, 0x1 - strh r0, [r6] - bl SoundBiasReset - swi 0x3 - bl SoundBiasSet - movs r0, 0 - strh r0, [r6] - strh r4, [r5] - mov r1, r10 - strh r0, [r1] - mov r1, r8 - mov r2, r9 - strh r1, [r2] - strh r0, [r7] - ldr r2, [sp] - cmp r2, 0 - beq _0800BBD0 - bl EnableInterrupts -_0800BBD0: - ldr r2, _0800BBF0 - ldrh r0, [r2] - ldr r1, _0800BBF4 - cmp r0, r1 - beq _0800BBE0 -_0800BBDA: - ldrh r0, [r2] - cmp r0, r1 - bne _0800BBDA -_0800BBE0: - add sp, 0x4 - pop {r3-r5} - mov r8, r3 - mov r9, r4 - mov r10, r5 - pop {r4-r7} - pop {r0} - bx r0 - .align 2, 0 -_0800BBF0: .4byte 0x04000130 -_0800BBF4: .4byte 0x000003ff -_0800BBF8: .4byte 0x04000006 -_0800BBFC: .4byte 0x00007fff -_0800BC00: .4byte 0x04000200 -_0800BC04: .4byte 0x04000132 -_0800BC08: .4byte 0x00008304 -_0800BC0C: .4byte 0x04000208 - thumb_func_end sub_800BB44 - .align 2, 0 @ Don't pad with nop. |