//
// sub_100392720 from 0x100392720 to 0x1003927e1 (193 bytes)
//
// 1 xrefs:
// > ??> @ 0x10091fc88
//
// 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_100392720(_QWORD *__p)
{
cocos2d::CCObject *v2; // rdi
*__p = off_10091FC78;
__p[40] = off_100920108;
__p[41] = &off_100920178;
__p[42] = off_100920190;
__p[43] = off_1009201B0;
__p[44] = off_1009201D0;
__p[51] = off_1009201F8;
if ( GameLevelManager::sharedState()->m_levelManagerDelegate != (LevelManagerDelegate *)(__p + 51) )
{
v2 = (cocos2d::CCObject *)__p[58];
if ( !v2 )
goto LABEL_6;
goto LABEL_5;
}
GameLevelManager::sharedState()->m_levelManagerDelegate = nullptr;
v2 = (cocos2d::CCObject *)__p[58];
if ( v2 )
LABEL_5:
cocos2d::CCObject::release(v2);
LABEL_6:
cocos2d::CCLayer::dCCLayer(__p);
operator delete(__p);
}