Skip to content

Instantly share code, notes, and snippets.

@xingrz
Last active August 29, 2015 13:56
Show Gist options
  • Save xingrz/9115622 to your computer and use it in GitHub Desktop.
Save xingrz/9115622 to your computer and use it in GitHub Desktop.
glass::NativeEyeGestureService::isGestureSupported(int) const
; glass::NativeEyeGestureService::isGestureSupported(int) const
push {r4, r5, r6, lr} ; XREF=0x483c
mov r4, r0
ldr r0, = 0x2bb4
mov r5, r1
add r0, pc
ldr r0, [r0]
blx 0x38ac
ldr r4, [r4, #0xc]
cbz r4, 0x4808
mov r0, r5
blx 0x38f4
mov r1, r0
mov r0, r4
blx 0x3990
mov r4, r0
ldr r0, = 0x2b96 ; XREF=0x47f6
add r0, pc
ldr r0, [r0]
blx 0x38d0
mov r0, r4
pop {r4, r5, r6, pc}
nop
dd 0x00002bb4 ; XREF=0x47e8
dd 0x00002b96 ; XREF=0x4808
push {r4, r5, r6, lr}
ldr r1, = 0x12f9
mov r5, r2
mov r4, r3
ldr r2, = 0x1678
add r1, pc
ldr r3, = 0x2122
movs r0, #0x2
add r2, pc
add r3, pc
blx 0x3864
mov r0, r5
mov r1, r4
bl _ZNK5glass23NativeEyeGestureService18isGestureSupportedEi ; glass::NativeEyeGestureService::isGestureSupported(int) const
pop {r4, r5, r6, pc}
nop
dd 0x000012f9 ; XREF=0x4822
dd 0x00001678 ; XREF=0x4828
dd 0x00002122 ; XREF=0x482c
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment