{"type": "func", "start": 6442952016, "end": 6442952098, "name": "cocos2d::CCEGLView::onGLFWMouseScrollCallback", "pseudocode": "// \n// cocos2d::CCEGLView::onGLFWMouseScrollCallback from 0x18007a550 to 0x18007a5a2 (82 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801becec\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 11:21:59 +0000\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 *))(*(_QWORD *)v5 + 192LL))(v5);\n  cocos2d::CCMouseDispatcher::dispatchScrollMSG(v6, (float)v4, 0.0);\n}", "assembly": "; \n; cocos2d::CCEGLView::onGLFWMouseScrollCallback from 0x18007a550 to 0x18007a5a2 (82 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801becec\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 11:21:59 +0000\n; \npush    rbx                                                            ; +0x0, 0x18007a550\nsub     rsp, 30h                                                       ; +0x2, 0x18007a552\nxorps   xmm0, xmm0                                                     ; +0x6, 0x18007a556\nmovaps  [rsp+38h+var_18], xmm6                                         ; +0x9, 0x18007a559\ncomisd  xmm3, xmm0                                                     ; +0xe, 0x18007a55e\nmov     eax, 0FFFFFFF4h                                                ; +0x12, 0x18007a562\nmov     ebx, 0Ch                                                       ; +0x17, 0x18007a567\ncmova   ebx, eax                                                       ; +0x1c, 0x18007a56c\ncall    ?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x1f, 0x18007a56f\nmovd    xmm6, ebx                                                      ; +0x24, 0x18007a574\ncvtdq2ps xmm6, xmm6                                                    ; +0x28, 0x18007a578\nmov     rcx, [rax]                                                     ; +0x2b, 0x18007a57b\nmov     rdx, [rcx+0C0h]                                                ; +0x2e, 0x18007a57e\nmov     rcx, rax                                                       ; +0x35, 0x18007a585\ncall    rdx                                                            ; +0x38, 0x18007a588\nmov     rcx, rax; this                                                 ; +0x3a, 0x18007a58a\nxorps   xmm2, xmm2; float                                              ; +0x3d, 0x18007a58d\nmovaps  xmm1, xmm6; float                                              ; +0x40, 0x18007a590\nmovaps  xmm6, [rsp+38h+var_18]                                         ; +0x43, 0x18007a593\nadd     rsp, 30h                                                       ; +0x48, 0x18007a598\npop     rbx                                                            ; +0x4c, 0x18007a59c\njmp     ?dispatchScrollMSG@CCMouseDispatcher@cocos2d@@QEAA_NMM@Z; cocos2d::CCMouseDispatcher::dispatchScrollMSG(float,float) ; +0x4d, 0x18007a59d", "xrefs": ["<???> @ 0x18014cf68", "<???> @ 0x1801becec"], "is_objc": false, "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"}