//
// cocos2d::CCTouchDispatcher::removeAllDelegates from 0x1001cdd68 to 0x1001cddac (68 bytes)
//
// 1 xrefs:
// > cocos2d::CCDirector::purgeDirector @ 0x100207928
//
// This function is hookable on this platform (idp: arm, 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 11:00:21 +0000
//
double __fastcall cocos2d::CCTouchDispatcher::removeAllDelegates(__int64 a1)
{
double result; // d0
if ( (*(_BYTE *)(a1 + 80) & 1) != 0 )
{
*(_BYTE *)(a1 + 104) = 1;
}
else
{
sub_1002E7674(*(_QWORD *)(a1 + 72));
*(_QWORD *)&result = sub_1002E7674(*(_QWORD *)(a1 + 64)).n128_u64[0];
}
return result;
}