//
// LevelInfoLayer::onDelete from 0x3b2920 to 0x3b294e (46 bytes)
//
// 1 xrefs:
// > LevelInfoLayer::FLAlert_Clicked @ 0x3b2a82
//
// 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 LevelInfoLayer::onDelete(LevelInfoLayer *a1, cocos2d::CCObject *a2)
{
GameLevelManager *v3; // r0
a1->m_playBtnMenu->setEnabled(a1->m_playBtnMenu, 0);
v3 = GameLevelManager::sharedState();
GameLevelManager::deleteLevel(v3, a1->m_level);
LevelInfoLayer::onBack(a1, nullptr);
a1->m_isBusy = 1;
}