//
// sub_1003C6F10 from 0x1003c6f10 to 0x1003c6fce (190 bytes)
//
// 1 xrefs:
// > ??> @ 0x10092e378
//
// 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_1003C6F10(__int64 a1)
{
cocos2d::CCDirector *v2; // rax
cocos2d::CCTouchDispatcher *v3; // rax
cocos2d::CCObject *v4; // rdi
*(_QWORD *)a1 = off_10092E370;
*(_QWORD *)(a1 + 320) = off_10092E890;
*(_QWORD *)(a1 + 328) = &off_10092E900;
*(_QWORD *)(a1 + 336) = off_10092E918;
*(_QWORD *)(a1 + 344) = off_10092E938;
*(_QWORD *)(a1 + 352) = off_10092E958;
*(_QWORD *)(a1 + 408) = off_10092E980;
*(_QWORD *)(a1 + 432) = off_10092EA00;
*(_QWORD *)(a1 + 544) = &off_10092EA20;
v2 = cocos2d::CCDirector::sharedDirector();
v3 = (cocos2d::CCTouchDispatcher *)((__int64 (__fastcall *)(cocos2d::CCDirector *))v2->getTouchDispatcher)(v2);
cocos2d::CCTouchDispatcher::unregisterForcePrio(v3, (cocos2d::CCObject *)a1);
v4 = *(cocos2d::CCObject **)(a1 + 592);
if ( v4 )
cocos2d::CCObject::release(v4);
return cocos2d::CCLayerColor::dCCLayerColor(a1);
}