; ; -[CCEventDispatcher mouseDown:] from 0x1002957a0 to 0x100295836 (150 bytes) ; ; 1 xrefs: ; > @ 0x100999e38 ; ; 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, 0x1002957a0 mov rbp, rsp ; +0x1, 0x1002957a1 push r15 ; +0x4, 0x1002957a4 push r14 ; +0x6, 0x1002957a6 push r13 ; +0x8, 0x1002957a8 push r12 ; +0xa, 0x1002957aa push rbx ; +0xc, 0x1002957ac push rax ; +0xd, 0x1002957ad mov rbx, rdx ; +0xe, 0x1002957ae mov r14, rdi ; +0x11, 0x1002957b1 mov rdi, cs:classRef_EAGLView; id ; +0x14, 0x1002957b4 mov rsi, cs:selRef_sharedEGLView; SEL ; +0x1b, 0x1002957bb mov r12, cs:_objc_msgSend_ptr ; +0x22, 0x1002957c2 call r12 ; _objc_msgSend; +[EAGLView sharedEGLView] ... ; +0x29, 0x1002957c9 mov rsi, cs:selRef_mouseDownExec_; SEL ; +0x2c, 0x1002957cc mov rdi, rax; id ; +0x33, 0x1002957d3 mov rdx, rbx ; +0x36, 0x1002957d6 call r12 ; _objc_msgSend ; +0x39, 0x1002957d9 cmp byte ptr [r14+8], 0 ; +0x3c, 0x1002957dc jz short loc_100295827 ; +0x41, 0x1002957e1 mov rax, [r14+18h] ; +0x43, 0x1002957e3 test rax, rax ; +0x47, 0x1002957e7 jz short loc_100295827 ; +0x4a, 0x1002957ea mov r14, cs:selRef_ccMouseDown_ ; +0x4c, 0x1002957ec mov r15, cs:selRef_performSelector_withObject_ ; +0x53, 0x1002957f3 jmp short loc_100295808 ; +0x5a, 0x1002957fa align 20h ; +0x5c, 0x1002957fc mov rax, r13 ; +0x60, 0x100295800 test r13, r13 ; +0x63, 0x100295803 jz short loc_100295827 ; +0x66, 0x100295806 mov r13, [rax+8] ; +0x68, 0x100295808 test byte ptr [rax+20h], 1 ; +0x6c, 0x10029580c jz short loc_100295800 ; +0x70, 0x100295810 mov rdi, [rax+10h]; id ; +0x72, 0x100295812 mov rsi, r15; SEL ; +0x76, 0x100295816 mov rdx, r14 ; +0x79, 0x100295819 mov rcx, rbx ; +0x7c, 0x10029581c call r12 ; _objc_msgSend ; +0x7f, 0x10029581f test rax, rax ; +0x82, 0x100295822 jz short loc_100295800 ; +0x85, 0x100295825 add rsp, 8 ; +0x87, 0x100295827 pop rbx ; +0x8b, 0x10029582b pop r12 ; +0x8c, 0x10029582c pop r13 ; +0x8e, 0x10029582e pop r14 ; +0x90, 0x100295830 pop r15 ; +0x92, 0x100295832 pop rbp ; +0x94, 0x100295834 retn ; +0x95, 0x100295835