//
// sub_100392660 from 0x100392660 to 0x10039270e (174 bytes)
//
// 1 xrefs:
// > ??> @ 0x100920108
//
// 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_100392660(LevelManagerDelegate *a1)
{
cocos2d::CCObject *v2; // rdi
a1[-40].__vftable = (LevelManagerDelegate_vtbl *)off_10091FC78;
a1->__vftable = (LevelManagerDelegate_vtbl *)off_100920108;
a1[1].__vftable = (LevelManagerDelegate_vtbl *)&off_100920178;
a1[2].__vftable = (LevelManagerDelegate_vtbl *)off_100920190;
a1[3].__vftable = (LevelManagerDelegate_vtbl *)off_1009201B0;
a1[4].__vftable = (LevelManagerDelegate_vtbl *)off_1009201D0;
a1[11].__vftable = (LevelManagerDelegate_vtbl *)off_1009201F8;
if ( GameLevelManager::sharedState()->m_levelManagerDelegate != &a1[11] )
{
v2 = (cocos2d::CCObject *)a1[18].__vftable;
if ( !v2 )
return cocos2d::CCLayer::dCCLayer(&a1[-40]);
goto LABEL_5;
}
GameLevelManager::sharedState()->m_levelManagerDelegate = nullptr;
v2 = (cocos2d::CCObject *)a1[18].__vftable;
if ( v2 )
LABEL_5:
cocos2d::CCObject::release(v2);
return cocos2d::CCLayer::dCCLayer(&a1[-40]);
}