Created
February 11, 2017 19:56
-
-
Save hexkyz/6786ef77d9155b5910e7f7b20f256c49 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ROM:005161C0 ANDEQ R0, R0, R0 | |
ROM:005161C4 ANDEQ R0, R0, R0 | |
ROM:005161C8 CLREX | |
ROM:005161CC STR LR, [SP,#-8] | |
ROM:005161D0 MRS LR, SPSR | |
ROM:005161D4 STR LR, [SP,#-4] | |
ROM:005161D8 SUB SP, SP, #8 | |
ROM:005161DC CMP R12, #0x500 -> Max R12 value is 0x500 :( | |
ROM:005161E0 BCS loc_516208 | |
ROM:005161E4 CMP R12, #0x100 | |
ROM:005161E8 BCS loc_516214 | |
ROM:005161EC MOV LR, #0x5482C0 | |
ROM:005161F4 ADD LR, LR, R12,LSL#2 | |
ROM:005161F8 LDR R12, [LR] | |
ROM:005161FC CMP R12, #0 | |
ROM:00516200 BEQ loc_516208 | |
ROM:00516204 BLX R12 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment