//
// sub_1003C6FE0 from 0x1003c6fe0 to 0x1003c7092 (178 bytes)
//
// 1 xrefs:
// > ??> @ 0x10092e890
//
// 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
//
__int64 __fastcall sub_1003C6FE0(_QWORD *a1)
{
cocos2d::CCDirector *v2; // rax
cocos2d::CCTouchDispatcher *v3; // rax
cocos2d::CCObject *v4; // rdi
*(a1 - 40) = off_10092E370;
*a1 = off_10092E890;
a1[1] = &off_10092E900;
a1[2] = off_10092E918;
a1[3] = off_10092E938;
a1[4] = off_10092E958;
a1[11] = off_10092E980;
a1[14] = off_10092EA00;
a1[28] = &off_10092EA20;
v2 = cocos2d::CCDirector::sharedDirector();
v3 = (cocos2d::CCTouchDispatcher *)((__int64 (__fastcall *)(cocos2d::CCDirector *))v2->getTouchDispatcher)(v2);
cocos2d::CCTouchDispatcher::unregisterForcePrio(v3, (cocos2d::CCObject *)(a1 - 40));
v4 = (cocos2d::CCObject *)a1[34];
if ( v4 )
cocos2d::CCObject::release(v4);
return cocos2d::CCLayerColor::dCCLayerColor(a1 - 40);
}