{"type": "func", "start": 4294986496, "end": 4294986609, "name": "-[AppController leftMouseDown]", "pseudocode": "// \n// -[AppController leftMouseDown] from 0x100004b00 to 0x100004b71 (113 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x100bdb258\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 12:18:45 +0000\n// \n\nvoid __cdecl -[AppController leftMouseDown](AppController *self, SEL a2)\n{\n  __CGEvent *v2; // rbx\n  CGPoint Location; // kr00_16\n  __CGEvent *MouseEvent; // rbx\n\n  self->_mouseDown = 1;\n  v2 = CGEventCreate(nullptr);\n  Location = CGEventGetLocation(v2);\n  CFRelease(v2);\n  MouseEvent = CGEventCreateMouseEvent(nullptr, kCGEventLeftMouseDown, Location, kCGMouseButtonLeft);\n  CGEventSetType(MouseEvent, kCGEventLeftMouseDown);\n  CGEventPost(kCGHIDEventTap, MouseEvent);\n  CFRelease(MouseEvent);\n}", "assembly": "; \n; -[AppController leftMouseDown] from 0x100004b00 to 0x100004b71 (113 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x100bdb258\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 12:18:45 +0000\n; \npush    rbp                                                            ; +0x0, 0x100004b00\nmov     rbp, rsp                                                       ; +0x1, 0x100004b01\npush    rbx                                                            ; +0x4, 0x100004b04\nsub     rsp, 18h                                                       ; +0x5, 0x100004b05\nmov     byte ptr [rdi+1Dh], 1                                          ; +0x9, 0x100004b09\nxor     edi, edi; source                                               ; +0xd, 0x100004b0d\ncall    _CGEventCreate                                                 ; +0xf, 0x100004b0f\nmov     rbx, rax                                                       ; +0x14, 0x100004b14\nmov     rdi, rax; event                                                ; +0x17, 0x100004b17\ncall    _CGEventGetLocation                                            ; +0x1a, 0x100004b1a\nmovsd   [rbp+mouseCursorPosition.x], xmm0                              ; +0x1f, 0x100004b1f\nmovsd   [rbp+mouseCursorPosition.y], xmm1                              ; +0x24, 0x100004b24\nmov     rdi, rbx; cf                                                   ; +0x29, 0x100004b29\ncall    _CFRelease                                                     ; +0x2c, 0x100004b2c\nxor     edi, edi; source                                               ; +0x31, 0x100004b31\nmov     esi, 1; mouseType                                              ; +0x33, 0x100004b33\nmovsd   xmm0, [rbp+mouseCursorPosition.x]; mouseCursorPosition         ; +0x38, 0x100004b38\nmovsd   xmm1, [rbp+mouseCursorPosition.y]; mouseCursorPosition         ; +0x3d, 0x100004b3d\nxor     edx, edx; mouseButton                                          ; +0x42, 0x100004b42\ncall    _CGEventCreateMouseEvent                                       ; +0x44, 0x100004b44\nmov     rbx, rax                                                       ; +0x49, 0x100004b49\nmov     rdi, rax; event                                                ; +0x4c, 0x100004b4c\nmov     esi, 1; type                                                   ; +0x4f, 0x100004b4f\ncall    _CGEventSetType                                                ; +0x54, 0x100004b54\nxor     edi, edi; tap                                                  ; +0x59, 0x100004b59\nmov     rsi, rbx; event                                                ; +0x5b, 0x100004b5b\ncall    _CGEventPost                                                   ; +0x5e, 0x100004b5e\nmov     rdi, rbx; cf                                                   ; +0x63, 0x100004b63\nadd     rsp, 18h                                                       ; +0x66, 0x100004b66\npop     rbx                                                            ; +0x6a, 0x100004b6a\npop     rbp                                                            ; +0x6b, 0x100004b6b\njmp     _CFRelease                                                     ; +0x6c, 0x100004b6c", "xrefs": ["<???> @ 0x100bdb258"], "is_objc": true, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}