//
// LevelBrowserLayer::onBack from 0x3bdd9a to 0x3bddc0 (38 bytes)
//
// 1 xrefs:
// > LevelListLayer::onBack @ 0x591fd0
//
// 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 LevelBrowserLayer::onBack(LevelBrowserLayer *a1, cocos2d::CCObject *a2)
{
GameManager *v2; // r0
if ( a1->m_isOverlay )
{
LevelBrowserLayer::exitLayer(a1, nullptr);
}
else
{
((void (__fastcall *)(LevelBrowserLayer *))a1->setKeypadEnabled)(a1);
v2 = GameManager::sharedState();
GameManager::safePopScene(v2);
}
}