// // cocos2d::CCTouchDispatcher::init from 0x1800b2f30 to 0x1800b2fd3 (163 bytes) // // 3 xrefs: // > cocos2d::CCDirector::init @ 0x1800be995 // > @ 0x1801438a8 // > @ 0x1801b867c // // 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 // char __fastcall cocos2d::CCTouchDispatcher::init(cocos2d::CCTouchDispatcher *this) { cocos2d::CCArray *v2; // rax cocos2d::CCArray *v3; // rax cocos2d::CCArray *v4; // rax cocos2d::CCDictionary *v5; // rax this->m_bDispatchEvents = 1; v2 = cocos2d::CCArray::createWithCapacity(8u); this->m_pTargetedHandlers = v2; cocos2d::CCObject::retain(v2); v3 = cocos2d::CCArray::createWithCapacity(4u); this->m_pStandardHandlers = v3; cocos2d::CCObject::retain(v3); v4 = cocos2d::CCArray::createWithCapacity(8u); this->m_pHandlersToAdd = v4; cocos2d::CCObject::retain(v4); this->m_pHandlersToRemove = (cocos2d::_ccCArray *)sub_18009E2A0(8u); v5 = cocos2d::CCDictionary::create(); this->m_pForcePrioDict = v5; cocos2d::CCObject::retain(v5); *(_WORD *)&this->m_bToAdd = 0; this->m_bToQuit = 0; this->m_bLocked = 0; this->m_sHandlerHelperData[0].m_type = 0; this->m_sHandlerHelperData[1].m_type = 1; this->m_sHandlerHelperData[2].m_type = 2; this->m_sHandlerHelperData[3].m_type = 3; return 1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source