-
-
Save dweinstein/ca41e2d6dedc142dcfee 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
function sym.subsystem_control_shutdown () { | |
loc_0x8d4: | |
push (r4, r5, r6, r7, r8, sb, lr) | |
r4 = r0 | |
r7 = [pc + 0x240] | |
sp -= 0x44 | |
r2 = [pc + 0x240] | |
r0 = 4 | |
r7 += pc | |
r6 = [pc + 0x23c] | |
r2 += pc | |
r1 = r7 | |
r6 += pc | |
sym.imp.__android_log_print() | |
if !r4 jmp 0x902 { | |
loc_0x902: | |
r3 = [pc + 0x228] | |
r0 = 1 | |
dmb sy | |
r3 += pc do { | |
loc_0x90c: | |
ldrex r2,[r3] | |
if (r2 == 0) | |
bne 0x91c | |
} else { | |
goto loc_0x90c | |
} | |
loc_0x90c: | |
ldrex r2,[r3] | |
if (r2 == 0) | |
bne 0x91c | |
} else { | |
goto loc_0x8f2 | |
loc_0x8f2: | |
r2 = [pc + 0x234] | |
r0 = 6 | |
r1 = r7 | |
r3 = r4 | |
r2 += pc | |
sym.imp.__android_log_print() | |
jmp 0x92e | |
} | |
return; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment