//
// cocos2d::CCTouchDispatcher::removeAllDelegates from 0x5fa902 to 0x5fa914 (18 bytes)
//
// 1 xrefs:
// > cocos2d::CCDirector::purgeDirector @ 0x5c38ca
//
// 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 cocos2d::CCTouchDispatcher::removeAllDelegates(cocos2d::CCTouchDispatcher *a1)
{
if ( a1->m_bLocked )
a1->m_bToQuit = 1;
else
cocos2d::CCTouchDispatcher::forceRemoveAllDelegates(a1);
}