; ; -[AppController leftMouseDown] from 0x100004b00 to 0x100004b71 (113 bytes) ; ; 1 xrefs: ; > @ 0x100bdb258 ; ; 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:18:45 +0000 ; push rbp ; +0x0, 0x100004b00 mov rbp, rsp ; +0x1, 0x100004b01 push rbx ; +0x4, 0x100004b04 sub rsp, 18h ; +0x5, 0x100004b05 mov byte ptr [rdi+1Dh], 1 ; +0x9, 0x100004b09 xor edi, edi; source ; +0xd, 0x100004b0d call _CGEventCreate ; +0xf, 0x100004b0f mov rbx, rax ; +0x14, 0x100004b14 mov rdi, rax; event ; +0x17, 0x100004b17 call _CGEventGetLocation ; +0x1a, 0x100004b1a movsd [rbp+mouseCursorPosition.x], xmm0 ; +0x1f, 0x100004b1f movsd [rbp+mouseCursorPosition.y], xmm1 ; +0x24, 0x100004b24 mov rdi, rbx; cf ; +0x29, 0x100004b29 call _CFRelease ; +0x2c, 0x100004b2c xor edi, edi; source ; +0x31, 0x100004b31 mov esi, 1; mouseType ; +0x33, 0x100004b33 movsd xmm0, [rbp+mouseCursorPosition.x]; mouseCursorPosition ; +0x38, 0x100004b38 movsd xmm1, [rbp+mouseCursorPosition.y]; mouseCursorPosition ; +0x3d, 0x100004b3d xor edx, edx; mouseButton ; +0x42, 0x100004b42 call _CGEventCreateMouseEvent ; +0x44, 0x100004b44 mov rbx, rax ; +0x49, 0x100004b49 mov rdi, rax; event ; +0x4c, 0x100004b4c mov esi, 1; type ; +0x4f, 0x100004b4f call _CGEventSetType ; +0x54, 0x100004b54 xor edi, edi; tap ; +0x59, 0x100004b59 mov rsi, rbx; event ; +0x5b, 0x100004b5b call _CGEventPost ; +0x5e, 0x100004b5e mov rdi, rbx; cf ; +0x63, 0x100004b63 add rsp, 18h ; +0x66, 0x100004b66 pop rbx ; +0x6a, 0x100004b6a pop rbp ; +0x6b, 0x100004b6b jmp _CFRelease ; +0x6c, 0x100004b6c