//
// LevelListLayer::onDelete from 0x591da4 to 0x591dd6 (50 bytes)
//
// 1 xrefs:
// > LevelListLayer::FLAlert_Clicked @ 0x591e3e
//
// 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::onDelete(LevelListLayer *a1)
{
GameLevelManager *v2; // r0
a1->m_buttonMenu->setEnabled(a1->m_buttonMenu, 0);
v2 = GameLevelManager::sharedState();
GameLevelManager::deleteLevelList(v2, a1->m_levelList);
a1->onBack(a1, nullptr);
a1->m_exiting = 1;
}