//
// sub_1005E7C90 from 0x1005e7c90 to 0x1005e7d2f (159 bytes)
//
// 1 xrefs:
// > ??> @ 0x100978160
//
// 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_1005E7C90(__int64 a1)
{
cocos2d::CCDirector *v1; // rax
cocos2d::CCTouchDispatcher *v2; // rax
*(_QWORD *)a1 = off_100978158;
*(_QWORD *)(a1 + 320) = off_1009786C0;
*(_QWORD *)(a1 + 328) = &off_100978730;
*(_QWORD *)(a1 + 336) = off_100978748;
*(_QWORD *)(a1 + 344) = off_100978768;
*(_QWORD *)(a1 + 352) = off_100978788;
*(_QWORD *)(a1 + 408) = off_1009787B0;
*(_QWORD *)(a1 + 432) = off_100978830;
v1 = cocos2d::CCDirector::sharedDirector();
v2 = (cocos2d::CCTouchDispatcher *)((__int64 (__fastcall *)(cocos2d::CCDirector *))v1->getTouchDispatcher)(v1);
cocos2d::CCTouchDispatcher::unregisterForcePrio(v2, (cocos2d::CCObject *)a1);
return cocos2d::CCLayerColor::dCCLayerColor((_QWORD *)a1);
}