; ; -[CCEventDispatcher keyDown:] from 0x100295ec0 to 0x100295f56 (150 bytes) ; ; 1 xrefs: ; > @ 0x100999f70 ; ; This function is hookable on this platform! ; ; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA ; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings ; push rbp ; +0x0, 0x100295ec0 mov rbp, rsp ; +0x1, 0x100295ec1 push r15 ; +0x4, 0x100295ec4 push r14 ; +0x6, 0x100295ec6 push r13 ; +0x8, 0x100295ec8 push r12 ; +0xa, 0x100295eca push rbx ; +0xc, 0x100295ecc push rax ; +0xd, 0x100295ecd mov rbx, rdx ; +0xe, 0x100295ece mov r14, rdi ; +0x11, 0x100295ed1 mov rdi, cs:classRef_EAGLView; id ; +0x14, 0x100295ed4 mov rsi, cs:selRef_sharedEGLView; SEL ; +0x1b, 0x100295edb mov r12, cs:_objc_msgSend_ptr ; +0x22, 0x100295ee2 call r12 ; _objc_msgSend; +[EAGLView sharedEGLView] ... ; +0x29, 0x100295ee9 mov rsi, cs:selRef_keyDownExec_; SEL ; +0x2c, 0x100295eec mov rdi, rax; id ; +0x33, 0x100295ef3 mov rdx, rbx ; +0x36, 0x100295ef6 call r12 ; _objc_msgSend ; +0x39, 0x100295ef9 cmp byte ptr [r14+8], 0 ; +0x3c, 0x100295efc jz short loc_100295F47 ; +0x41, 0x100295f01 mov rax, [r14+10h] ; +0x43, 0x100295f03 test rax, rax ; +0x47, 0x100295f07 jz short loc_100295F47 ; +0x4a, 0x100295f0a mov r14, cs:selRef_ccKeyDown_ ; +0x4c, 0x100295f0c mov r15, cs:selRef_performSelector_withObject_ ; +0x53, 0x100295f13 jmp short loc_100295F28 ; +0x5a, 0x100295f1a align 20h ; +0x5c, 0x100295f1c mov rax, r13 ; +0x60, 0x100295f20 test r13, r13 ; +0x63, 0x100295f23 jz short loc_100295F47 ; +0x66, 0x100295f26 mov r13, [rax+8] ; +0x68, 0x100295f28 test byte ptr [rax+20h], 2 ; +0x6c, 0x100295f2c jz short loc_100295F20 ; +0x70, 0x100295f30 mov rdi, [rax+10h]; id ; +0x72, 0x100295f32 mov rsi, r15; SEL ; +0x76, 0x100295f36 mov rdx, r14 ; +0x79, 0x100295f39 mov rcx, rbx ; +0x7c, 0x100295f3c call r12 ; _objc_msgSend ; +0x7f, 0x100295f3f test rax, rax ; +0x82, 0x100295f42 jz short loc_100295F20 ; +0x85, 0x100295f45 add rsp, 8 ; +0x87, 0x100295f47 pop rbx ; +0x8b, 0x100295f4b pop r12 ; +0x8c, 0x100295f4c pop r13 ; +0x8e, 0x100295f4e pop r14 ; +0x90, 0x100295f50 pop r15 ; +0x92, 0x100295f52 pop rbp ; +0x94, 0x100295f54 retn ; +0x95, 0x100295f55