Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- .text
- .align 4
- .global ModifySpikeShit_LoadAsm
- ModifySpikeShit_LoadAsm:
- LDR R0, [R4,#0x17C]
- AND R0, R0, #0xF @ nybble 7
- CMP R0, #0x01
- BEQ SpawnBigThing
- CMP R0, #0x02
- BEQ SpawnHugeMotherFucker
- CMP R0, #0x03
- BEQ SpawnIcyThing
- CMP R0, #0x04
- BEQ SpawnBiggerIcyThing
- B WeDone @ None of these matched so we just use the retail r6
- SpawnBiggerThing:
- LDR R6, =0x587206 @ Bigger spiked balls
- B WeDone
- SpawnHugeMotherFucker:
- LDR R6, =0x587208 @ Mega spiked balls
- B WeDone
- SpawnIcyThing:
- LDR R6, =0x587214 @ Icy Spiked Balls
- B WeDone
- SpawnBiggerIcyThing:
- LDR R6, =0x587216 @ Bigger Icy Spiked Balls
- B WeDone
- WeDone:
- LDMFD SP!, {R4-R6, PC}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement