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