{"type": "func", "start": 4302593296, "end": 4302593410, "name": "-[EAGLView rightMouseDownExec:]", "pseudocode": "// \n// -[EAGLView rightMouseDownExec:] from 0x100745d10 to 0x100745d82 (114 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x100bdd238\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 rightMouseDownExec:](EAGLView *self, SEL a2, id a3)\n{\n  float frameZoomFactor; // xmm0_4\n  float backingScaleFactor; // xmm1_4\n  __int64 v5; // rax\n  float v6; // [rsp+8h] [rbp-8h]\n  float v7; // [rsp+Ch] [rbp-4h]\n\n  frameZoomFactor = self->frameZoomFactor_;\n  backingScaleFactor = self->_backingScaleFactor;\n  v6 = (float)(self->_mouseX / frameZoomFactor) / backingScaleFactor;\n  v7 = (float)(self->_mouseY / frameZoomFactor) / backingScaleFactor;\n  v5 = cocos2d::CCDirector::sharedDirector();\n  cocos2d::CCEGLViewProtocol::handleRightClick(*(float **)(v5 + 192), v6, v7);\n}", "assembly": "; \n; -[EAGLView rightMouseDownExec:] from 0x100745d10 to 0x100745d82 (114 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x100bdd238\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, 0x100745d10\nmov     rbp, rsp                                                       ; +0x1, 0x100745d11\nsub     rsp, 10h                                                       ; +0x4, 0x100745d14\nmov     rax, cs:_OBJC_IVAR_$_EAGLView__mouseX; float _mouseX;          ; +0x8, 0x100745d18\nmovss   xmm2, dword ptr [rdi+rax]                                      ; +0xf, 0x100745d1f\nmov     rax, cs:_OBJC_IVAR_$_EAGLView_frameZoomFactor_; float frameZoomFactor_; ; +0x14, 0x100745d24\nmovss   xmm0, dword ptr [rdi+rax]                                      ; +0x1b, 0x100745d2b\ndivss   xmm2, xmm0                                                     ; +0x20, 0x100745d30\nmov     rax, cs:_OBJC_IVAR_$_EAGLView__backingScaleFactor; float _backingScaleFactor; ; +0x24, 0x100745d34\nmovss   xmm1, dword ptr [rdi+rax]                                      ; +0x2b, 0x100745d3b\ndivss   xmm2, xmm1                                                     ; +0x30, 0x100745d40\nmovss   [rbp+var_8], xmm2                                              ; +0x34, 0x100745d44\nmov     rax, cs:_OBJC_IVAR_$_EAGLView__mouseY; float _mouseY;          ; +0x39, 0x100745d49\nmovss   xmm2, dword ptr [rdi+rax]                                      ; +0x40, 0x100745d50\ndivss   xmm2, xmm0                                                     ; +0x45, 0x100745d55\ndivss   xmm2, xmm1                                                     ; +0x49, 0x100745d59\nmovss   [rbp+var_4], xmm2                                              ; +0x4d, 0x100745d5d\ncall    cocos2d__CCDirector__sharedDirector                            ; +0x52, 0x100745d62\nmov     rdi, [rax+0C0h]                                                ; +0x57, 0x100745d67\nmovss   xmm0, [rbp+var_8]                                              ; +0x5e, 0x100745d6e\nmovss   xmm1, [rbp+var_4]                                              ; +0x63, 0x100745d73\nadd     rsp, 10h                                                       ; +0x68, 0x100745d78\npop     rbp                                                            ; +0x6c, 0x100745d7c\njmp     cocos2d__CCEGLViewProtocol__handleRightClick                   ; +0x6d, 0x100745d7d", "xrefs": ["<???> @ 0x100bdd238"], "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"}