//
// -[EAGLView scrollWheelExec:] from 0x100666b90 to 0x100666c26 (150 bytes)
//
// 1 xrefs:
// > ??> @ 0x10099b240
//
// 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 __cdecl -[EAGLView scrollWheelExec:](EAGLView *self, SEL a2, id a3)
{
double v3; // xmm0_8
float v5; // xmm2_4
cocos2d::CCDirector *v6; // rax
cocos2d::CCMouseDispatcher *v7; // rax
objc_msgSend(a3, "deltaY");
*(float *)&v3 = v3;
objc_msgSend(a3, "deltaX");
v5 = v3;
if ( *(float *)&v3 != 0.0 || v5 != 0.0 )
{
v6 = cocos2d::CCDirector::sharedDirector();
v7 = (cocos2d::CCMouseDispatcher *)((__int64 (__fastcall *)(cocos2d::CCDirector *))v6->getMouseDispatcher)(v6);
cocos2d::CCMouseDispatcher::dispatchScrollMSG(v7, -*(float *)&v3, v5);
}
}