diff options
author | scnorton <scnorton@biociphers.org> | 2017-10-15 14:03:33 -0400 |
---|---|---|
committer | scnorton <scnorton@biociphers.org> | 2017-10-15 14:03:33 -0400 |
commit | 958a2b9a4028d974a8cbd906368340d2c2641adc (patch) | |
tree | a234f11dffe0bdbeb9499a6ea8258ebe057b2db5 /asm | |
parent | 270ed12126feb679f5fc818d33da56f65ae9fa98 (diff) |
sub_8123F44
Diffstat (limited to 'asm')
-rw-r--r-- | asm/cable_car.s | 69 |
1 files changed, 0 insertions, 69 deletions
diff --git a/asm/cable_car.s b/asm/cable_car.s index 7a6da9e00..fc8a22052 100644 --- a/asm/cable_car.s +++ b/asm/cable_car.s @@ -6,75 +6,6 @@ .text - thumb_func_start sub_8123F44 -sub_8123F44: @ 8123F44 - push {lr} - adds r2, r0, 0 - movs r1, 0x2E - ldrsh r0, [r2, r1] - cmp r0, 0 - bne _08123F62 - ldrh r1, [r2, 0x22] - adds r1, 0x10 - adds r0, r2, 0 - adds r0, 0x29 - ldrb r0, [r0] - lsls r0, 24 - asrs r0, 24 - adds r0, r1 - strh r0, [r2, 0x22] -_08123F62: - ldrh r0, [r2, 0x2E] - adds r0, 0x1 - strh r0, [r2, 0x2E] - lsls r0, 16 - asrs r0, 16 - movs r3, 0x32 - ldrsh r1, [r2, r3] - cmp r0, r1 - blt _08123FB8 - movs r0, 0x30 - ldrsh r1, [r2, r0] - cmp r1, 0 - beq _08123F82 - cmp r1, 0x1 - beq _08123F8C - b _08123FAA -_08123F82: - ldrh r0, [r2, 0x20] - subs r0, 0x1 - strh r0, [r2, 0x20] - ldrh r0, [r2, 0x2E] - b _08123F9C -_08123F8C: - ldrh r0, [r2, 0x2E] - ands r0, r1 - cmp r0, 0 - beq _08123FAA - ldrh r0, [r2, 0x20] - subs r0, 0x1 - strh r0, [r2, 0x20] - ldrh r0, [r2, 0x20] -_08123F9C: - movs r1, 0x3 - ands r0, r1 - cmp r0, 0 - bne _08123FAA - ldrh r0, [r2, 0x22] - subs r0, 0x1 - strh r0, [r2, 0x22] -_08123FAA: - movs r1, 0x22 - ldrsh r0, [r2, r1] - cmp r0, 0x4F - bgt _08123FB8 - adds r0, r2, 0 - bl DestroySprite -_08123FB8: - pop {r0} - bx r0 - thumb_func_end sub_8123F44 - thumb_func_start sub_8123FBC sub_8123FBC: @ 8123FBC push {lr} |