summaryrefslogtreecommitdiff
path: root/asm/input.s
diff options
context:
space:
mode:
Diffstat (limited to 'asm/input.s')
-rw-r--r--asm/input.s193
1 files changed, 0 insertions, 193 deletions
diff --git a/asm/input.s b/asm/input.s
index d439867..5ebe3dc 100644
--- a/asm/input.s
+++ b/asm/input.s
@@ -5,199 +5,6 @@
.text
- thumb_func_start InitInput
-InitInput:
- ldr r0, =gUnknown_20255F0
- movs r3, 0
- movs r2, 0
- strh r2, [r0]
- strh r2, [r0, 0x2]
- strh r2, [r0, 0x4]
- strh r2, [r0, 0x6]
- ldr r0, =gUnknown_2025638
- strh r2, [r0]
- strh r2, [r0, 0x2]
- strh r2, [r0, 0x4]
- strh r2, [r0, 0x6]
- ldr r1, =gUnknown_202562C
- ldr r0, =0x4a14c1
- str r0, [r1]
- ldr r0, =gUnknown_2025600
- str r2, [r0, 0x20]
- ldr r1, =0xffff
- strh r1, [r0]
- movs r1, 0x1
- negs r1, r1
- strh r1, [r0, 0x2]
- strh r1, [r0, 0x4]
- strh r1, [r0, 0x6]
- strh r1, [r0, 0x1C]
- strh r1, [r0, 0x1E]
- strh r1, [r0, 0x8]
- strh r1, [r0, 0xA]
- strh r1, [r0, 0xC]
- strh r1, [r0, 0xE]
- strh r1, [r0, 0x10]
- strh r1, [r0, 0x12]
- strh r1, [r0, 0x14]
- strh r1, [r0, 0x16]
- adds r1, r0, 0
- adds r1, 0x28
- strb r3, [r1]
- adds r0, 0x29
- strb r3, [r0]
- ldr r0, =gUnknown_2025668
- strh r2, [r0]
- strh r2, [r0, 0x2]
- bx lr
- .align 2, 0
- .pool
- thumb_func_end InitInput
-
- thumb_func_start sub_800485C
-sub_800485C:
- push {r4,r5,lr}
- ldr r2, =gUnknown_2025638
- ldr r1, =gUnknown_20255F0
- adds r0, r2, 0
- ldm r0!, {r3-r5}
- stm r1!, {r3-r5}
- ldr r0, [r0]
- str r0, [r1]
- movs r3, 0
- movs r0, 0
- strh r0, [r2]
- strh r0, [r2, 0x2]
- strh r0, [r2, 0x4]
- strh r0, [r2, 0x6]
- ldr r0, =gUnknown_2025600
- ldr r1, =0xffff
- strh r1, [r0]
- movs r1, 0x1
- negs r1, r1
- strh r1, [r0, 0x2]
- strh r1, [r0, 0x4]
- strh r1, [r0, 0x6]
- strh r1, [r0, 0x8]
- strh r1, [r0, 0xA]
- strh r1, [r0, 0xC]
- strh r1, [r0, 0xE]
- strh r1, [r0, 0x10]
- strh r1, [r0, 0x12]
- strh r1, [r0, 0x14]
- strh r1, [r0, 0x16]
- adds r1, r0, 0
- adds r1, 0x28
- strb r3, [r1]
- adds r0, 0x29
- strb r3, [r0]
- pop {r4,r5}
- pop {r0}
- bx r0
- .align 2, 0
- .pool
- thumb_func_end sub_800485C
-
- thumb_func_start sub_80048B8
-sub_80048B8:
- movs r0, 0
- bx lr
- thumb_func_end sub_80048B8
-
- thumb_func_start sub_80048BC
-sub_80048BC:
- movs r0, 0
- bx lr
- thumb_func_end sub_80048BC
-
- thumb_func_start sub_80048C0
-sub_80048C0:
- movs r0, 0
- bx lr
- thumb_func_end sub_80048C0
-
- thumb_func_start sub_80048C4
-sub_80048C4:
- movs r0, 0
- bx lr
- thumb_func_end sub_80048C4
-
- thumb_func_start sub_80048C8
-sub_80048C8:
- movs r0, 0
- bx lr
- thumb_func_end sub_80048C8
-
- thumb_func_start sub_80048CC
-sub_80048CC:
- movs r0, 0
- bx lr
- thumb_func_end sub_80048CC
-
- thumb_func_start sub_80048D0
-sub_80048D0:
- ldr r1, =gUnknown_20255F0
- movs r0, 0
- strh r0, [r1, 0x4]
- ldr r1, =gUnknown_2025648
- str r0, [r1, 0xC]
- strh r0, [r1, 0x8]
- ldr r1, =gUnknown_2025668
- ldr r0, =0x3e7
- strh r0, [r1]
- strh r0, [r1, 0x2]
- bx lr
- .align 2, 0
- .pool
- thumb_func_end sub_80048D0
-
- thumb_func_start sub_80048F8
-sub_80048F8:
- ldr r0, =gUnknown_20255F0
- movs r1, 0
- strh r1, [r0, 0x2]
- ldr r0, =gUnknown_2025638
- strh r1, [r0, 0x2]
- ldr r0, =gUnknown_2025648
- strh r1, [r0, 0x2]
- bx lr
- .align 2, 0
- .pool
- thumb_func_end sub_80048F8
-
- thumb_func_start sub_8004914
-sub_8004914:
- ldr r0, =gUnknown_2025600
- movs r1, 0x5
- str r1, [r0, 0x20]
- movs r2, 0
- movs r1, 0
- strh r1, [r0, 0x24]
- ldr r1, =0xffff
- strh r1, [r0]
- movs r1, 0x1
- negs r1, r1
- strh r1, [r0, 0x2]
- strh r1, [r0, 0x4]
- strh r1, [r0, 0x6]
- strh r1, [r0, 0x8]
- strh r1, [r0, 0xA]
- strh r1, [r0, 0xC]
- strh r1, [r0, 0xE]
- strh r1, [r0, 0x10]
- strh r1, [r0, 0x12]
- strh r1, [r0, 0x14]
- strh r1, [r0, 0x16]
- adds r1, r0, 0
- adds r1, 0x28
- strb r2, [r1]
- adds r0, 0x29
- strb r2, [r0]
- bx lr
- .align 2, 0
- .pool
- thumb_func_end sub_8004914
-
thumb_func_start UpdateInput
UpdateInput:
push {r4-r6,lr}