//
// LevelListLayer::onDelete from 0x10035ffb0 to 0x10035fffb (75 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 LevelListLayer::onDelete(LevelListLayer *a1)
{
GameLevelManager *v1; // rax
((void (__fastcall *)(cocos2d::CCMenu *, _QWORD))a1->m_buttonMenu->setEnabled)(a1->m_buttonMenu, 0);
v1 = GameLevelManager::sharedState();
GameLevelManager::deleteLevelList(v1, a1->m_levelList);
((void (__fastcall *)(LevelListLayer *, _QWORD))a1->onBack)(a1, 0);
a1->m_exiting = 1;
}