//
// -[CCEventDispatcher dispatchQueuedEvents] from 0x100296320 to 0x1002963a5 (133 bytes)
//
// 1 xrefs:
// > ??> @ 0x10099a030
//
// 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 dispatchQueuedEvents](CCEventDispatcher *self, SEL a2)
{
_QWORD *v2; // r12
__int64 v3; // r13
void *v4; // r15
objc_sync_enter(self);
if ( dword_10099F9E8 > 0 )
{
v2 = &unk_10099F9F8;
v3 = 0;
do
{
v4 = (void *)*v2;
-[CCEventDispatcher performSelector:withObject:](self, "performSelector:withObject:", *(v2 - 1), *v2);
objc_release(v4);
++v3;
v2 += 2;
}
while ( v3 < dword_10099F9E8 );
}
dword_10099F9E8 = 0;
objc_sync_exit(self);
}