//
// -[CCEventDispatcher touchesEndedWithEvent:] from 0x1002961a0 to 0x100296216 (118 bytes)
//
// 1 xrefs:
// > ??> @ 0x100999fe8
//
// 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 touchesEndedWithEvent:](CCEventDispatcher *self, SEL a2, id a3)
{
_listEntry *touchDelegates; // rax
_listEntry *var1; // r13
if ( self->dispatchEvents_ )
{
touchDelegates = self->touchDelegates_;
if ( touchDelegates )
{
do
{
var1 = touchDelegates->var1;
if ( (touchDelegates->var4 & 0x8000) != 0
&& objc_msgSend(touchDelegates->var2, "performSelector:withObject:", "ccTouchesEndedWithEvent:", a3) )
{
break;
}
touchDelegates = var1;
}
while ( var1 );
}
}
}