//
// LevelListLayer::ownerDelete from 0x591dd6 to 0x591e10 (58 bytes)
//
// 1 xrefs:
// > LevelListLayer::FLAlert_Clicked @ 0x591e56
//
// 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 LevelListLayer::ownerDelete(LevelListLayer *a1)
{
GameLevelManager *v2; // r0
if ( !a1->m_exiting )
{
GameLevelManager::sharedState()->m_levelListDeleteDelegate = &a1->LevelListDeleteDelegate;
v2 = GameLevelManager::sharedState();
GameLevelManager::deleteServerLevelList(v2, a1->m_levelList->m_listID);
a1->m_circle->setVisible(a1->m_circle, 1);
}
}