//
// cocos2d::CCEGLView::onGLFWMouseScrollCallback from 0x1800777c0 to 0x18007780f (79 bytes)
//
// 3 xrefs:
// > ??> @ 0x1801438a8
// > ??> @ 0x1801b49d4
// > ??> @ 0x1801b49e0
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
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 *))v5->getMouseDispatcher)(v5);
cocos2d::CCMouseDispatcher::dispatchScrollMSG(v6, (float)v4, 0.0);
}