//
// cocos2d::CCEGLView::onGLFWMouseScrollCallback from 0x18007a550 to 0x18007a5a2 (82 bytes)
//
// 2 xrefs:
// > ??> @ 0x18014cf68
// > ??> @ 0x1801becec
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 11:21:59 +0000
//
void __fastcall cocos2d::CCEGLView::onGLFWMouseScrollCallback(
cocos2d::CCEGLView *this,
struct GLFWwindow *a2,
double a3,
double a4)
{
int v4; // ebx
struct cocos2d::CCDirector *v5; // rax
cocos2d::CCMouseDispatcher *v6; // rax
v4 = 12;
if ( a4 > 0.0 )
v4 = -12;
v5 = cocos2d::CCDirector::sharedDirector();
v6 = (cocos2d::CCMouseDispatcher *)(*(__int64 (__fastcall **)(struct cocos2d::CCDirector *))(*(_QWORD *)v5 + 192LL))(v5);
cocos2d::CCMouseDispatcher::dispatchScrollMSG(v6, (float)v4, 0.0);
}