//
// EditLevelLayer::onDelete from 0x1001fe0e0 to 0x1001fe11d (61 bytes)
//
// 0 xrefs:
//
// 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 EditLevelLayer::onDelete(EditLevelLayer *a1)
{
GameLevelManager *v1; // rax
GJGameLevel *m_level; // rsi
((void (__fastcall *)(cocos2d::CCMenu *, _QWORD))a1->m_buttonMenu->setEnabled)(a1->m_buttonMenu, 0);
v1 = GameLevelManager::sharedState();
m_level = a1->m_level;
GameLevelManager::deleteLevel(v1, m_level);
EditLevelLayer::onBack(a1, m_level);
}