//
// cocos2d::CCTouchDispatcher::removeAllDelegates from 0x1800b30c0 to 0x1800b30f0 (48 bytes)
//
// 3 xrefs:
// > cocos2d::CCDirector::purgeDirector @ 0x1800bee6f
// > ??> @ 0x1801438a8
// > ??> @ 0x1801b86a0
//
// 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 *this)
{
if ( this->m_bLocked )
{
this->m_bToQuit = 1;
}
else
{
cocos2d::CCArray::removeAllObjects(this->m_pStandardHandlers);
cocos2d::CCArray::removeAllObjects(this->m_pTargetedHandlers);
}
}