//
// EditLevelLayer::onDelete from 0x6e2df8 to 0x6e2e40 (72 bytes)
//
// 2 xrefs:
// > EditLevelLayer::FLAlert_Clicked @ 0x6e2f8c
// > ??> @ 0xab180
//
// 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 EditLevelLayer::onDelete(EditLevelLayer *a1)
{
GameLevelManager *v2; // x0
a1->m_buttonMenu->setEnabled(a1->m_buttonMenu, 0);
v2 = GameLevelManager::sharedState();
GameLevelManager::deleteLevel(v2, a1->m_level);
EditLevelLayer::onBack(a1, nullptr);
}