//
// cocos2d::CCTouchDispatcher::removeAllDelegates from 0x1004cc280 to 0x1004cc2af (47 bytes)
//
// 1 xrefs:
// > cocos2d::CCDirector::purgeDirector @ 0x10048471f
//
// 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 __fastcall cocos2d::CCTouchDispatcher::removeAllDelegates(cocos2d::CCTouchDispatcher *a1)
{
if ( a1->m_bLocked )
{
a1->m_bToQuit = 1;
}
else
{
sub_100720270(a1->m_pStandardHandlers);
sub_100720270(a1->m_pTargetedHandlers);
}
}