{"type": "func", "start": 4302592208, "end": 4302592396, "name": "-[EAGLView mouseDownExec:]", "pseudocode": "// \n// -[EAGLView mouseDownExec:] from 0x1007458d0 to 0x10074598c (188 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x100bdd178\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:36:31 +0000\n// \n\nvoid __cdecl -[EAGLView mouseDownExec:](EAGLView *self, SEL a2, id a3)\n{\n  float frameZoomFactor; // xmm1_4\n  float backingScaleFactor; // xmm2_4\n  __int64 v6; // rax\n  unsigned int v7; // [rsp+Ch] [rbp-24h] BYREF\n  float v8; // [rsp+10h] [rbp-20h] BYREF\n  float v9[7]; // [rsp+14h] [rbp-1Ch] BYREF\n\n  objc_msgSend(a3, \"timestamp\");\n  v7 = (unsigned int)objc_msgSend(a3, \"eventNumber\");\n  frameZoomFactor = self->frameZoomFactor_;\n  backingScaleFactor = self->_backingScaleFactor;\n  v8 = (float)(self->_mouseX / frameZoomFactor) / backingScaleFactor;\n  v9[0] = (float)(self->_mouseY / frameZoomFactor) / backingScaleFactor;\n  v6 = cocos2d::CCDirector::sharedDirector();\n  (*(void (__fastcall **)(_QWORD, __int64, unsigned int *, float *, float *))(**(_QWORD **)(v6 + 192) + 144LL))(\n    *(_QWORD *)(v6 + 192),\n    1,\n    &v7,\n    &v8,\n    v9);\n}", "assembly": "; \n; -[EAGLView mouseDownExec:] from 0x1007458d0 to 0x10074598c (188 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x100bdd178\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:36:31 +0000\n; \npush    rbp                                                            ; +0x0, 0x1007458d0\nmov     rbp, rsp                                                       ; +0x1, 0x1007458d1\npush    r15                                                            ; +0x4, 0x1007458d4\npush    r14                                                            ; +0x6, 0x1007458d6\npush    rbx                                                            ; +0x8, 0x1007458d8\nsub     rsp, 18h                                                       ; +0x9, 0x1007458d9\nmov     r14, rdx                                                       ; +0xd, 0x1007458dd\nmov     rbx, rdi                                                       ; +0x10, 0x1007458e0\nmov     rsi, cs:selRef_timestamp; SEL                                  ; +0x13, 0x1007458e3\nmov     r15, cs:_objc_msgSend_ptr                                      ; +0x1a, 0x1007458ea\nmov     rdi, rdx; id                                                   ; +0x21, 0x1007458f1\ncall    r15 ; _objc_msgSend                                            ; +0x24, 0x1007458f4\nmovsd   [rbp+var_30], xmm0                                             ; +0x27, 0x1007458f7\nmov     rsi, cs:selRef_eventNumber; SEL                                ; +0x2c, 0x1007458fc\nmov     rdi, r14; id                                                   ; +0x33, 0x100745903\ncall    r15 ; _objc_msgSend                                            ; +0x36, 0x100745906\nmov     [rbp+var_24], eax                                              ; +0x39, 0x100745909\nmov     rax, cs:_OBJC_IVAR_$_EAGLView__mouseX; float _mouseX;          ; +0x3c, 0x10074590c\nmovss   xmm0, dword ptr [rbx+rax]                                      ; +0x43, 0x100745913\nmov     rax, cs:_OBJC_IVAR_$_EAGLView_frameZoomFactor_; float frameZoomFactor_; ; +0x48, 0x100745918\nmovss   xmm1, dword ptr [rbx+rax]                                      ; +0x4f, 0x10074591f\ndivss   xmm0, xmm1                                                     ; +0x54, 0x100745924\nmov     rax, cs:_OBJC_IVAR_$_EAGLView__backingScaleFactor; float _backingScaleFactor; ; +0x58, 0x100745928\nmovss   xmm2, dword ptr [rbx+rax]                                      ; +0x5f, 0x10074592f\ndivss   xmm0, xmm2                                                     ; +0x64, 0x100745934\nmovss   [rbp+var_20], xmm0                                             ; +0x68, 0x100745938\nmov     rax, cs:_OBJC_IVAR_$_EAGLView__mouseY; float _mouseY;          ; +0x6d, 0x10074593d\nmovss   xmm0, dword ptr [rbx+rax]                                      ; +0x74, 0x100745944\ndivss   xmm0, xmm1                                                     ; +0x79, 0x100745949\ndivss   xmm0, xmm2                                                     ; +0x7d, 0x10074594d\nmovss   [rbp+var_1C], xmm0                                             ; +0x81, 0x100745951\ncall    cocos2d__CCDirector__sharedDirector                            ; +0x86, 0x100745956\nmov     rdi, [rax+0C0h]                                                ; +0x8b, 0x10074595b\nmov     rax, [rdi]                                                     ; +0x92, 0x100745962\nlea     rdx, [rbp+var_24]                                              ; +0x95, 0x100745965\nlea     rcx, [rbp+var_20]                                              ; +0x99, 0x100745969\nlea     r8, [rbp+var_1C]                                               ; +0x9d, 0x10074596d\nmov     esi, 1                                                         ; +0xa1, 0x100745971\nmovsd   xmm0, [rbp+var_30]                                             ; +0xa6, 0x100745976\ncall    qword ptr [rax+90h]                                            ; +0xab, 0x10074597b\nadd     rsp, 18h                                                       ; +0xb1, 0x100745981\npop     rbx                                                            ; +0xb5, 0x100745985\npop     r14                                                            ; +0xb6, 0x100745986\npop     r15                                                            ; +0xb8, 0x100745988\npop     rbp                                                            ; +0xba, 0x10074598a\nretn                                                                   ; +0xbb, 0x10074598b", "xrefs": ["<???> @ 0x100bdd178"], "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"}