//
// -[CCEventDispatcher touchesCancelledWithEvent:] from 0x1002808b0 to 0x100280926 (118 bytes)
//
// 1 xrefs:
// > ??> @ 0x100bdc088
//
// 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 touchesCancelledWithEvent:](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 & 0x10000) != 0
&& objc_msgSend(touchDelegates->var2, "performSelector:withObject:", "ccTouchesCancelledWithEvent:", a3) )
{
break;
}
touchDelegates = var1;
}
while ( var1 );
}
}
}