//
// sub_10038FEC0 from 0x10038fec0 to 0x10038ff8c (204 bytes)
//
// 2 xrefs:
// > sub_10038FFA0 @ 0x10038ffac
// > ??> @ 0x10091f680
//
// 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_10038FEC0(_QWORD *__p)
{
*__p = off_10091F670;
__p[40] = off_10091FB00;
__p[41] = &off_10091FB70;
__p[42] = off_10091FB88;
__p[43] = off_10091FBA8;
__p[44] = off_10091FBC8;
__p[51] = &off_10091FBF0;
__p[52] = &off_10091FC08;
GameManager::sharedState()->m_menuLayer = nullptr;
if ( GooglePlayManager::sharedState()->m_delegate1 == (GooglePlayDelegate *)(__p + 52) )
GooglePlayManager::sharedState()->m_delegate1 = nullptr;
GameManager::sharedState()->m_inMenuLayer = 0;
cocos2d::CCLayer::dCCLayer(__p);
operator delete(__p);
}