Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ROM:080007CC ; =============== S U B R O U T I N E =======================================
- ROM:080007CC
- ROM:080007CC
- ROM:080007CC speedModifierEnabler ; CODE XREF: sub_8000F50:loc_800105Cp
- ROM:080007CC ; sub_8000F50+134p ...
- ROM:080007CC PUSH {R4-R6,LR}
- ROM:080007CE LDR R0, =byte_2000014 ; Speed Modifier (Set to non-zero value)
- ROM:080007D0 LDRB R0, [R0] ; Speed Modifier (Set to non-zero value)
- ROM:080007D2 CMP R0, #0 ; Checks 0x02000014 and sees if it equals zero
- ROM:080007D4 BEQ loc_8000804 ; Checks if previous statement returned true or false
- ROM:080007D4 ;
- ROM:080007D4 ; True: disable speed modifier, jump to 08000804.
- ROM:080007D4 ; False: enable speed modifier, go to instructions below [Otherwise unused].
- ROM:080007D6 LDR R5, =dword_2000010 ; Timer (Goes up once per frame)
- ROM:080007D8 LDR R4, =dword_2000608
- ROM:080007DA LDR R6, =unk_200060C
- ROM:080007DC B loc_80007F4 ; This will shortly return to the code from when the check made previously returned 'true' and will jump to 08000804.
- ROM:080007DC ; ---------------------------------------------------------------------------
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement