//
// -[CCEventDispatcher scrollWheel:] from 0x100295d20 to 0x100295db6 (150 bytes)
//
// 1 xrefs:
// > ??> @ 0x100999f28
//
// 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 -[CCEventDispatcher scrollWheel:](CCEventDispatcher *self, SEL a2, id a3)
{
id v4; // rax
_listEntry *mouseDelegates; // rax
_listEntry *var1; // r13
v4 = +[EAGLView sharedEGLView](&OBJC_CLASS___EAGLView, "sharedEGLView");
objc_msgSend(v4, "scrollWheelExec:", a3);
if ( self->dispatchEvents_ )
{
mouseDelegates = self->mouseDelegates_;
if ( mouseDelegates )
{
do
{
var1 = mouseDelegates->var1;
if ( (mouseDelegates->var4 & 0x400) != 0
&& objc_msgSend(mouseDelegates->var2, "performSelector:withObject:", "ccScrollWheel:", a3) )
{
break;
}
mouseDelegates = var1;
}
while ( var1 );
}
}
}