//
// -[CCEventDispatcher scrollWheel:] from 0x1002803b0 to 0x100280446 (150 bytes)
//
// 1 xrefs:
// > ??> @ 0x100bdbfb0
//
// 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 12:27:43 +0000
//
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 );
}
}
}