//
// sub_100392590 from 0x100392590 to 0x100392649 (185 bytes)
//
// 1 xrefs:
// > ??> @ 0x10091fc80
//
// 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_100392590(LevelManagerDelegate *a1)
{
cocos2d::CCObject *v2; // rdi
a1->__vftable = (LevelManagerDelegate_vtbl *)off_10091FC78;
a1[40].__vftable = (LevelManagerDelegate_vtbl *)off_100920108;
a1[41].__vftable = (LevelManagerDelegate_vtbl *)&off_100920178;
a1[42].__vftable = (LevelManagerDelegate_vtbl *)off_100920190;
a1[43].__vftable = (LevelManagerDelegate_vtbl *)off_1009201B0;
a1[44].__vftable = (LevelManagerDelegate_vtbl *)off_1009201D0;
a1[51].__vftable = (LevelManagerDelegate_vtbl *)off_1009201F8;
if ( GameLevelManager::sharedState()->m_levelManagerDelegate != &a1[51] )
{
v2 = (cocos2d::CCObject *)a1[58].__vftable;
if ( !v2 )
return cocos2d::CCLayer::dCCLayer(a1);
goto LABEL_5;
}
GameLevelManager::sharedState()->m_levelManagerDelegate = nullptr;
v2 = (cocos2d::CCObject *)a1[58].__vftable;
if ( v2 )
LABEL_5:
cocos2d::CCObject::release(v2);
return cocos2d::CCLayer::dCCLayer(a1);
}