//
// cocos2d::CCTouchDispatcher::~CCTouchDispatcher from 0x1800b2890 to 0x1800b2912 (130 bytes)
//
// 4 xrefs:
// > sub_1800B2930 @ 0x1800b2992
// > sub_1800B2930 @ 0x1800b294c
// > ??> @ 0x1801438a8
// > ??> @ 0x1801b8604
//
// 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::~CCTouchDispatcher(cocos2d::CCTouchDispatcher *this)
{
cocos2d::CCArray *m_pTargetedHandlers; // rcx
cocos2d::CCArray *m_pStandardHandlers; // rcx
cocos2d::CCArray *m_pHandlersToAdd; // rcx
cocos2d::CCDictionary *m_pForcePrioDict; // rcx
this->cocos2d::CCObject::cocos2d::CCCopying::__vftable = (cocos2d::CCTouchDispatcher_vtbl *)&cocos2d::CCTouchDispatcher::`vftable'{for `cocos2d::CCObject'};
this->cocos2d::EGLTouchDelegate::__vftable = (cocos2d::EGLTouchDelegate_vtbl *)&cocos2d::CCTouchDispatcher::`vftable'{for `cocos2d::EGLTouchDelegate'};
m_pTargetedHandlers = this->m_pTargetedHandlers;
if ( m_pTargetedHandlers )
cocos2d::CCObject::release(m_pTargetedHandlers);
m_pStandardHandlers = this->m_pStandardHandlers;
if ( m_pStandardHandlers )
cocos2d::CCObject::release(m_pStandardHandlers);
m_pHandlersToAdd = this->m_pHandlersToAdd;
if ( m_pHandlersToAdd )
cocos2d::CCObject::release(m_pHandlersToAdd);
m_pForcePrioDict = this->m_pForcePrioDict;
if ( m_pForcePrioDict )
cocos2d::CCObject::release(m_pForcePrioDict);
sub_18009E1E0((void **)this->m_pHandlersToRemove);
this->m_pHandlersToRemove = nullptr;
this->cocos2d::EGLTouchDelegate::__vftable = (cocos2d::EGLTouchDelegate_vtbl *)&cocos2d::EGLTouchDelegate::`vftable';
cocos2d::CCObject::~CCObject(this);
}