{"type": "func", "start": 6442940352, "end": 6442940431, "name": "cocos2d::CCEGLView::onGLFWMouseScrollCallback", "pseudocode": "// \n// cocos2d::CCEGLView::onGLFWMouseScrollCallback from 0x1800777c0 to 0x18007780f (79 bytes)\n// \n// 3 xrefs:\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801b49d4\n// > <???> @ 0x1801b49e0\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 __fastcall cocos2d::CCEGLView::onGLFWMouseScrollCallback(\n        cocos2d::CCEGLView *this,\n        struct GLFWwindow *a2,\n        double a3,\n        double a4)\n{\n  int v4; // ebx\n  struct cocos2d::CCDirector *v5; // rax\n  cocos2d::CCMouseDispatcher *v6; // rax\n\n  v4 = 12;\n  if ( a4 > 0.0 )\n    v4 = -12;\n  v5 = cocos2d::CCDirector::sharedDirector();\n  v6 = (cocos2d::CCMouseDispatcher *)((__int64 (__fastcall *)(struct cocos2d::CCDirector *))v5->getMouseDispatcher)(v5);\n  cocos2d::CCMouseDispatcher::dispatchScrollMSG(v6, (float)v4, 0.0);\n}", "assembly": "; \n; cocos2d::CCEGLView::onGLFWMouseScrollCallback from 0x1800777c0 to 0x18007780f (79 bytes)\n; \n; 3 xrefs:\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801b49d4\n; > <???> @ 0x1801b49e0\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    rbx                                                            ; +0x0, 0x1800777c0\nsub     rsp, 30h                                                       ; +0x2, 0x1800777c2\nxorps   xmm0, xmm0                                                     ; +0x6, 0x1800777c6\nmovaps  [rsp+38h+var_18], xmm6                                         ; +0x9, 0x1800777c9\ncomisd  xmm3, xmm0                                                     ; +0xe, 0x1800777ce\nmov     eax, 0FFFFFFF4h                                                ; +0x12, 0x1800777d2\nmov     ebx, 0Ch                                                       ; +0x17, 0x1800777d7\ncmova   ebx, eax                                                       ; +0x1c, 0x1800777dc\ncall    ?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x1f, 0x1800777df\nmovd    xmm6, ebx                                                      ; +0x24, 0x1800777e4\nmov     rcx, rax                                                       ; +0x28, 0x1800777e8\ncvtdq2ps xmm6, xmm6                                                    ; +0x2b, 0x1800777eb\nmov     rdx, [rax]                                                     ; +0x2e, 0x1800777ee\ncall    qword ptr [rdx+0C0h]                                           ; +0x31, 0x1800777f1\nxorps   xmm2, xmm2; float                                              ; +0x37, 0x1800777f7\nmovaps  xmm1, xmm6; float                                              ; +0x3a, 0x1800777fa\nmov     rcx, rax; this                                                 ; +0x3d, 0x1800777fd\nmovaps  xmm6, [rsp+38h+var_18]                                         ; +0x40, 0x180077800\nadd     rsp, 30h                                                       ; +0x45, 0x180077805\npop     rbx                                                            ; +0x49, 0x180077809\njmp     ?dispatchScrollMSG@CCMouseDispatcher@cocos2d@@QEAA_NMM@Z; cocos2d::CCMouseDispatcher::dispatchScrollMSG(float,float) ; +0x4a, 0x18007780a", "xrefs": ["<???> @ 0x1801438a8", "<???> @ 0x1801b49d4", "<???> @ 0x1801b49e0"], "is_objc": false, "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"}