//
// sub_10028E1E0 from 0x10028e1e0 to 0x10028e288 (168 bytes)
//
// 1 xrefs:
// > ??> @ 0x1008f5dc0
//
// 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_10028E1E0(__int64 a1)
{
cocos2d::CCDirector *v1; // rax
cocos2d::CCTouchDispatcher *v2; // rax
*(_QWORD *)a1 = off_1008F5DB8;
*(_QWORD *)(a1 + 320) = off_1008F6320;
*(_QWORD *)(a1 + 328) = &off_1008F6390;
*(_QWORD *)(a1 + 336) = off_1008F63A8;
*(_QWORD *)(a1 + 344) = off_1008F63C8;
*(_QWORD *)(a1 + 352) = off_1008F63E8;
*(_QWORD *)(a1 + 408) = off_1008F6410;
*(_QWORD *)(a1 + 432) = off_1008F6490;
if ( *(_BYTE *)(a1 + 601) == 1 )
{
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(a1);
}