//
// sub_1003927F0 from 0x1003927f0 to 0x1003928a6 (182 bytes)
//
// 1 xrefs:
// > ??> @ 0x100920110
//
// 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_1003927F0(LevelManagerDelegate *a1)
{
cocos2d::CCObject *v2; // rdi
LevelManagerDelegate *v3; // rbx
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 )
goto LABEL_6;
goto LABEL_5;
}
GameLevelManager::sharedState()->m_levelManagerDelegate = nullptr;
v2 = (cocos2d::CCObject *)a1[18].__vftable;
if ( v2 )
LABEL_5:
cocos2d::CCObject::release(v2);
LABEL_6:
v3 = a1 - 40;
cocos2d::CCLayer::dCCLayer(v3);
operator delete(v3);
}