//
// sub_1005E7E90 from 0x1005e7e90 to 0x1005e7f2c (156 bytes)
//
// 1 xrefs:
// > ??> @ 0x1009786c8
//
// 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_1005E7E90(_QWORD *a1)
{
cocos2d::CCDirector *v1; // rax
cocos2d::CCTouchDispatcher *v2; // rax
*(a1 - 40) = off_100978158;
*a1 = off_1009786C0;
a1[1] = &off_100978730;
a1[2] = off_100978748;
a1[3] = off_100978768;
a1[4] = off_100978788;
a1[11] = off_1009787B0;
a1[14] = off_100978830;
v1 = cocos2d::CCDirector::sharedDirector();
v2 = (cocos2d::CCTouchDispatcher *)((__int64 (__fastcall *)(cocos2d::CCDirector *))v1->getTouchDispatcher)(v1);
cocos2d::CCTouchDispatcher::unregisterForcePrio(v2, (cocos2d::CCObject *)(a1 - 40));
cocos2d::CCLayerColor::dCCLayerColor(a1 - 40);
operator delete(a1 - 40);
}