{"type": "func", "start": 4301678448, "end": 4301678636, "name": "-[EAGLView mouseUpExec:]", "pseudocode": "// \n// -[EAGLView mouseUpExec:] from 0x100666770 to 0x10066682c (188 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x10099b150\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 mouseUpExec:](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->handleTouchesEnd)(\n    v6->m_pobOpenGLView,\n    1,\n    &v7,\n    &v8,\n    v9);\n}", "assembly": "; \n; -[EAGLView mouseUpExec:] from 0x100666770 to 0x10066682c (188 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x10099b150\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, 0x100666770\nmov     rbp, rsp                                                       ; +0x1, 0x100666771\npush    r15                                                            ; +0x4, 0x100666774\npush    r14                                                            ; +0x6, 0x100666776\npush    rbx                                                            ; +0x8, 0x100666778\nsub     rsp, 18h                                                       ; +0x9, 0x100666779\nmov     r14, rdx                                                       ; +0xd, 0x10066677d\nmov     rbx, rdi                                                       ; +0x10, 0x100666780\nmov     rsi, cs:selRef_timestamp; SEL                                  ; +0x13, 0x100666783\nmov     r15, cs:_objc_msgSend_ptr                                      ; +0x1a, 0x10066678a\nmov     rdi, rdx; id                                                   ; +0x21, 0x100666791\ncall    r15 ; _objc_msgSend                                            ; +0x24, 0x100666794\nmovsd   [rbp+var_30], xmm0                                             ; +0x27, 0x100666797\nmov     rsi, cs:selRef_eventNumber; SEL                                ; +0x2c, 0x10066679c\nmov     rdi, r14; id                                                   ; +0x33, 0x1006667a3\ncall    r15 ; _objc_msgSend                                            ; +0x36, 0x1006667a6\nmov     [rbp+var_24], eax                                              ; +0x39, 0x1006667a9\nmov     rax, cs:_OBJC_IVAR_$_EAGLView__mouseX; float _mouseX;          ; +0x3c, 0x1006667ac\nmovss   xmm0, dword ptr [rbx+rax]                                      ; +0x43, 0x1006667b3\nmov     rax, cs:_OBJC_IVAR_$_EAGLView_frameZoomFactor_; float frameZoomFactor_; ; +0x48, 0x1006667b8\nmovss   xmm1, dword ptr [rbx+rax]                                      ; +0x4f, 0x1006667bf\ndivss   xmm0, xmm1                                                     ; +0x54, 0x1006667c4\nmov     rax, cs:_OBJC_IVAR_$_EAGLView__backingScaleFactor; float _backingScaleFactor; ; +0x58, 0x1006667c8\nmovss   xmm2, dword ptr [rbx+rax]                                      ; +0x5f, 0x1006667cf\ndivss   xmm0, xmm2                                                     ; +0x64, 0x1006667d4\nmovss   [rbp+var_20], xmm0                                             ; +0x68, 0x1006667d8\nmov     rax, cs:_OBJC_IVAR_$_EAGLView__mouseY; float _mouseY;          ; +0x6d, 0x1006667dd\nmovss   xmm0, dword ptr [rbx+rax]                                      ; +0x74, 0x1006667e4\ndivss   xmm0, xmm1                                                     ; +0x79, 0x1006667e9\ndivss   xmm0, xmm2                                                     ; +0x7d, 0x1006667ed\nmovss   [rbp+var_1C], xmm0                                             ; +0x81, 0x1006667f1\ncall    cocos2d__CCDirector__sharedDirector                            ; +0x86, 0x1006667f6\nmov     rdi, [rax+0B8h]                                                ; +0x8b, 0x1006667fb\nmov     rax, [rdi]                                                     ; +0x92, 0x100666802\nlea     rdx, [rbp+var_24]                                              ; +0x95, 0x100666805\nlea     rcx, [rbp+var_20]                                              ; +0x99, 0x100666809\nlea     r8, [rbp+var_1C]                                               ; +0x9d, 0x10066680d\nmov     esi, 1                                                         ; +0xa1, 0x100666811\nmovsd   xmm0, [rbp+var_30]                                             ; +0xa6, 0x100666816\ncall    qword ptr [rax+0A0h]                                           ; +0xab, 0x10066681b\nadd     rsp, 18h                                                       ; +0xb1, 0x100666821\npop     rbx                                                            ; +0xb5, 0x100666825\npop     r14                                                            ; +0xb6, 0x100666826\npop     r15                                                            ; +0xb8, 0x100666828\npop     rbp                                                            ; +0xba, 0x10066682a\nretn                                                                   ; +0xbb, 0x10066682b", "xrefs": ["<???> @ 0x10099b150"], "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"}