//
// sub_10049AF80 from 0x10049af80 to 0x10049b030 (176 bytes)
//
// 1 xrefs:
// > ??> @ 0x100944ec8
//
// 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 sub_10049AF80(cocos2d::CCObject *__p)
{
cocos2d::CCDirector *v1; // rax
cocos2d::CCTouchDispatcher *v2; // rax
__p->__vftable = (cocos2d::CCObject_vtbl *)off_100944EB8;
*(_QWORD *)&__p[5].m_unknown2 = off_1009453D8;
*(_QWORD *)&__p[5].m_uOrderOfArrival = &off_100945448;
__p[6].__vftable = (cocos2d::CCObject_vtbl *)off_100945460;
*(_QWORD *)&__p[6].m_uID = off_100945480;
*(_QWORD *)&__p[6].m_nTag = off_1009454A0;
*(_QWORD *)&__p[7].m_nTag = off_1009454C8;
*(_QWORD *)&__p[7].m_unknown2 = off_100945548;
if ( LOBYTE(__p[11].m_nLuaID) == 1 )
{
v1 = cocos2d::CCDirector::sharedDirector();
v2 = (cocos2d::CCTouchDispatcher *)((__int64 (__fastcall *)(cocos2d::CCDirector *))v1->getTouchDispatcher)(v1);
cocos2d::CCTouchDispatcher::unregisterForcePrio(v2, __p);
}
cocos2d::CCLayerColor::dCCLayerColor(__p);
operator delete(__p);
}