{"type": "func", "start": 4301679504, "end": 4301679654, "name": "-[EAGLView scrollWheelExec:]", "pseudocode": "// \n// -[EAGLView scrollWheelExec:] from 0x100666b90 to 0x100666c26 (150 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x10099b240\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 scrollWheelExec:](EAGLView *self, SEL a2, id a3)\n{\n  double v3; // xmm0_8\n  float v5; // xmm2_4\n  cocos2d::CCDirector *v6; // rax\n  cocos2d::CCMouseDispatcher *v7; // rax\n\n  objc_msgSend(a3, \"deltaY\");\n  *(float *)&v3 = v3;\n  objc_msgSend(a3, \"deltaX\");\n  v5 = v3;\n  if ( *(float *)&v3 != 0.0 || v5 != 0.0 )\n  {\n    v6 = cocos2d::CCDirector::sharedDirector();\n    v7 = (cocos2d::CCMouseDispatcher *)((__int64 (__fastcall *)(cocos2d::CCDirector *))v6->getMouseDispatcher)(v6);\n    cocos2d::CCMouseDispatcher::dispatchScrollMSG(v7, -*(float *)&v3, v5);\n  }\n}", "assembly": "; \n; -[EAGLView scrollWheelExec:] from 0x100666b90 to 0x100666c26 (150 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x10099b240\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, 0x100666b90\nmov     rbp, rsp                                                       ; +0x1, 0x100666b91\npush    r14                                                            ; +0x4, 0x100666b94\npush    rbx                                                            ; +0x6, 0x100666b96\nsub     rsp, 20h                                                       ; +0x7, 0x100666b97\nmov     rbx, rdx                                                       ; +0xb, 0x100666b9b\nmov     rsi, cs:selRef_deltaY; SEL                                     ; +0xe, 0x100666b9e\nmov     r14, cs:_objc_msgSend_ptr                                      ; +0x15, 0x100666ba5\nmov     rdi, rdx; id                                                   ; +0x1c, 0x100666bac\ncall    r14 ; _objc_msgSend                                            ; +0x1f, 0x100666baf\ncvtsd2ss xmm0, xmm0                                                    ; +0x22, 0x100666bb2\nmovaps  [rbp+var_30], xmm0                                             ; +0x26, 0x100666bb6\nmov     rsi, cs:selRef_deltaX; SEL                                     ; +0x2a, 0x100666bba\nmov     rdi, rbx; id                                                   ; +0x31, 0x100666bc1\ncall    r14 ; _objc_msgSend                                            ; +0x34, 0x100666bc4\ncvtsd2ss xmm2, xmm0                                                    ; +0x37, 0x100666bc7\nxorps   xmm0, xmm0                                                     ; +0x3b, 0x100666bcb\nmovaps  xmm3, [rbp+var_30]                                             ; +0x3e, 0x100666bce\nmovaps  xmm1, xmm3                                                     ; +0x42, 0x100666bd2\nucomiss xmm3, xmm0                                                     ; +0x45, 0x100666bd5\njnz     short loc_100666BEC                                            ; +0x48, 0x100666bd8\njp      short loc_100666BEC                                            ; +0x4a, 0x100666bda\nucomiss xmm2, xmm0                                                     ; +0x4c, 0x100666bdc\njnz     short loc_100666BEC                                            ; +0x4f, 0x100666bdf\njp      short loc_100666BEC                                            ; +0x51, 0x100666be1\nadd     rsp, 20h                                                       ; +0x53, 0x100666be3\npop     rbx                                                            ; +0x57, 0x100666be7\npop     r14                                                            ; +0x58, 0x100666be8\npop     rbp                                                            ; +0x5a, 0x100666bea\nretn                                                                   ; +0x5b, 0x100666beb\nxorps   xmm1, cs:xmmword_1008150B0                                     ; +0x5c, 0x100666bec\nmovaps  [rbp+var_30], xmm1                                             ; +0x63, 0x100666bf3\nmovss   [rbp+var_14], xmm2                                             ; +0x67, 0x100666bf7\ncall    cocos2d__CCDirector__sharedDirector                            ; +0x6c, 0x100666bfc\nmov     rcx, [rax]                                                     ; +0x71, 0x100666c01\nmov     rdi, rax                                                       ; +0x74, 0x100666c04\ncall    qword ptr [rcx+0D0h]                                           ; +0x77, 0x100666c07\nmov     rdi, rax                                                       ; +0x7d, 0x100666c0d\nmovaps  xmm0, [rbp+var_30]                                             ; +0x80, 0x100666c10\nmovss   xmm1, [rbp+var_14]                                             ; +0x84, 0x100666c14\nadd     rsp, 20h                                                       ; +0x89, 0x100666c19\npop     rbx                                                            ; +0x8d, 0x100666c1d\npop     r14                                                            ; +0x8e, 0x100666c1e\npop     rbp                                                            ; +0x90, 0x100666c20\njmp     cocos2d__CCMouseDispatcher__dispatchScrollMSG                  ; +0x91, 0x100666c21", "xrefs": ["<???> @ 0x10099b240"], "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"}