//
// cocos2d::CCTouchDispatcher::CCTouchDispatcher from 0x1800ca7d0 to 0x1800ca8a6 (214 bytes)
//
// 1 xrefs:
// > ??> @ 0x1801438a8
//
// 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
//
cocos2d::CCTouchDispatcher *__fastcall cocos2d::CCTouchDispatcher::CCTouchDispatcher(
cocos2d::CCTouchDispatcher *this,
const struct cocos2d::CCTouchDispatcher *a2)
{
this->cocos2d::CCObject::cocos2d::CCCopying::__vftable = (cocos2d::CCTouchDispatcher_vtbl *)&cocos2d::CCObject::`vftable';
this->m_uID = a2->m_uID;
this->m_nLuaID = a2->m_nLuaID;
this->m_nTag = a2->m_nTag;
this->m_uReference = a2->m_uReference;
this->m_uAutoReleaseCount = a2->m_uAutoReleaseCount;
this->m_eObjType = a2->m_eObjType;
this->m_uIndexInArray = a2->m_uIndexInArray;
this->m_uUnknown = a2->m_uUnknown;
this->m_unknown2 = a2->m_unknown2;
this->m_nZOrder = a2->m_nZOrder;
this->m_uOrderOfArrival = a2->m_uOrderOfArrival;
this->m_unknown5 = a2->m_unknown5;
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'};
this->m_pTargetedHandlers = a2->m_pTargetedHandlers;
this->m_pStandardHandlers = a2->m_pStandardHandlers;
this->m_bLocked = a2->m_bLocked;
this->m_bToAdd = a2->m_bToAdd;
this->m_bToRemove = a2->m_bToRemove;
this->m_pHandlersToAdd = a2->m_pHandlersToAdd;
this->m_pHandlersToRemove = a2->m_pHandlersToRemove;
this->m_bToQuit = a2->m_bToQuit;
this->m_bDispatchEvents = a2->m_bDispatchEvents;
*(_OWORD *)&this->m_sHandlerHelperData[0].m_type = *(_OWORD *)&a2->m_sHandlerHelperData[0].m_type;
this->m_targetPrio = a2->m_targetPrio;
this->m_pForcePrioDict = a2->m_pForcePrioDict;
this->m_forcePrio = a2->m_forcePrio;
return this;
}