{"type": "func", "start": 4301678176, "end": 4301678364, "name": "-[EAGLView mouseDraggedExec:]", "pseudocode": "// \n// -[EAGLView mouseDraggedExec:] from 0x100666660 to 0x10066671c (188 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x10099b120\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nvoid __cdecl -[EAGLView mouseDraggedExec:](EAGLView *self, SEL a2, id a3)\n{\n  float frameZoomFactor; // xmm1_4\n  float backingScaleFactor; // xmm2_4\n  cocos2d::CCDirector *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 *)(cocos2d::CCEGLView *, __int64, unsigned int *, float *, float *))v6->m_pobOpenGLView->handleTouchesMove)(\n    v6->m_pobOpenGLView,\n    1,\n    &v7,\n    &v8,\n    v9);\n}", "assembly": "; \n; -[EAGLView mouseDraggedExec:] from 0x100666660 to 0x10066671c (188 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x10099b120\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\npush    rbp                                                            ; +0x0, 0x100666660\nmov     rbp, rsp                                                       ; +0x1, 0x100666661\npush    r15                                                            ; +0x4, 0x100666664\npush    r14                                                            ; +0x6, 0x100666666\npush    rbx                                                            ; +0x8, 0x100666668\nsub     rsp, 18h                                                       ; +0x9, 0x100666669\nmov     r14, rdx                                                       ; +0xd, 0x10066666d\nmov     rbx, rdi                                                       ; +0x10, 0x100666670\nmov     rsi, cs:selRef_timestamp; SEL                                  ; +0x13, 0x100666673\nmov     r15, cs:_objc_msgSend_ptr                                      ; +0x1a, 0x10066667a\nmov     rdi, rdx; id                                                   ; +0x21, 0x100666681\ncall    r15 ; _objc_msgSend                                            ; +0x24, 0x100666684\nmovsd   [rbp+var_30], xmm0                                             ; +0x27, 0x100666687\nmov     rsi, cs:selRef_eventNumber; SEL                                ; +0x2c, 0x10066668c\nmov     rdi, r14; id                                                   ; +0x33, 0x100666693\ncall    r15 ; _objc_msgSend                                            ; +0x36, 0x100666696\nmov     [rbp+var_24], eax                                              ; +0x39, 0x100666699\nmov     rax, cs:_OBJC_IVAR_$_EAGLView__mouseX; float _mouseX;          ; +0x3c, 0x10066669c\nmovss   xmm0, dword ptr [rbx+rax]                                      ; +0x43, 0x1006666a3\nmov     rax, cs:_OBJC_IVAR_$_EAGLView_frameZoomFactor_; float frameZoomFactor_; ; +0x48, 0x1006666a8\nmovss   xmm1, dword ptr [rbx+rax]                                      ; +0x4f, 0x1006666af\ndivss   xmm0, xmm1                                                     ; +0x54, 0x1006666b4\nmov     rax, cs:_OBJC_IVAR_$_EAGLView__backingScaleFactor; float _backingScaleFactor; ; +0x58, 0x1006666b8\nmovss   xmm2, dword ptr [rbx+rax]                                      ; +0x5f, 0x1006666bf\ndivss   xmm0, xmm2                                                     ; +0x64, 0x1006666c4\nmovss   [rbp+var_20], xmm0                                             ; +0x68, 0x1006666c8\nmov     rax, cs:_OBJC_IVAR_$_EAGLView__mouseY; float _mouseY;          ; +0x6d, 0x1006666cd\nmovss   xmm0, dword ptr [rbx+rax]                                      ; +0x74, 0x1006666d4\ndivss   xmm0, xmm1                                                     ; +0x79, 0x1006666d9\ndivss   xmm0, xmm2                                                     ; +0x7d, 0x1006666dd\nmovss   [rbp+var_1C], xmm0                                             ; +0x81, 0x1006666e1\ncall    cocos2d__CCDirector__sharedDirector                            ; +0x86, 0x1006666e6\nmov     rdi, [rax+0B8h]                                                ; +0x8b, 0x1006666eb\nmov     rax, [rdi]                                                     ; +0x92, 0x1006666f2\nlea     rdx, [rbp+var_24]                                              ; +0x95, 0x1006666f5\nlea     rcx, [rbp+var_20]                                              ; +0x99, 0x1006666f9\nlea     r8, [rbp+var_1C]                                               ; +0x9d, 0x1006666fd\nmov     esi, 1                                                         ; +0xa1, 0x100666701\nmovsd   xmm0, [rbp+var_30]                                             ; +0xa6, 0x100666706\ncall    qword ptr [rax+98h]                                            ; +0xab, 0x10066670b\nadd     rsp, 18h                                                       ; +0xb1, 0x100666711\npop     rbx                                                            ; +0xb5, 0x100666715\npop     r14                                                            ; +0xb6, 0x100666716\npop     r15                                                            ; +0xb8, 0x100666718\npop     rbp                                                            ; +0xba, 0x10066671a\nretn                                                                   ; +0xbb, 0x10066671b", "xrefs": ["<???> @ 0x10099b120"], "is_objc": true, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}