; ; -[CCEventDispatcher addKeyboardDelegate:priority:] from 0x10027fc40 to 0x10027fcc2 (130 bytes) ; ; 1 xrefs: ; > @ 0x100bdbe30 ; ; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! ; ; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA ; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings ; Generated at Fri, 27 Nov 2026 12:27:43 +0000 ; push rbp ; +0x0, 0x10027fc40 mov rbp, rsp ; +0x1, 0x10027fc41 push r15 ; +0x4, 0x10027fc44 push r14 ; +0x6, 0x10027fc46 push r12 ; +0x8, 0x10027fc48 push rbx ; +0xa, 0x10027fc4a mov rbx, rcx ; +0xb, 0x10027fc4b mov r14, rdx ; +0xe, 0x10027fc4e mov r15, rdi ; +0x11, 0x10027fc51 mov rsi, cs:selRef_ccKeyUp_ ; +0x14, 0x10027fc54 mov rdi, rdx ; +0x1b, 0x10027fc5b call _objc_opt_respondsToSelector ; +0x1e, 0x10027fc5e xor r12d, r12d ; +0x23, 0x10027fc63 test al, al ; +0x26, 0x10027fc66 setnz r12b ; +0x28, 0x10027fc68 mov rsi, cs:selRef_ccKeyDown_ ; +0x2c, 0x10027fc6c mov rdi, r14 ; +0x33, 0x10027fc73 call _objc_opt_respondsToSelector ; +0x36, 0x10027fc76 xor ecx, ecx ; +0x3b, 0x10027fc7b test al, al ; +0x3d, 0x10027fc7d setnz cl ; +0x3f, 0x10027fc7f lea r12, [r12+rcx*2] ; +0x42, 0x10027fc82 mov rsi, cs:selRef_ccFlagsChanged_ ; +0x46, 0x10027fc86 mov rdi, r14 ; +0x4d, 0x10027fc8d call _objc_opt_respondsToSelector ; +0x50, 0x10027fc90 xor ecx, ecx ; +0x55, 0x10027fc95 test al, al ; +0x57, 0x10027fc97 setnz cl ; +0x59, 0x10027fc99 lea r8, [r12+rcx*4] ; +0x5c, 0x10027fc9c lea r9, [r15+10h] ; +0x60, 0x10027fca0 mov rsi, cs:selRef_addDelegate_priority_flags_list_ ; +0x64, 0x10027fca4 mov rdi, r15 ; +0x6b, 0x10027fcab mov rdx, r14 ; +0x6e, 0x10027fcae mov rcx, rbx ; +0x71, 0x10027fcb1 pop rbx ; +0x74, 0x10027fcb4 pop r12 ; +0x75, 0x10027fcb5 pop r14 ; +0x77, 0x10027fcb7 pop r15 ; +0x79, 0x10027fcb9 pop rbp ; +0x7b, 0x10027fcbb jmp cs:_objc_msgSend_ptr; -[CCEventDispatcher addDelegate:priority:flags:list:] ... ; +0x7c, 0x10027fcbc