//
// LevelBrowserLayer::onBack from 0x6ed974 to 0x6ed9ac (56 bytes)
//
// 3 xrefs:
// > LevelListLayer::onBack @ 0xa78320
// > ??> @ 0x82620
// > ??> @ 0x115db70
//
// 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; // x0
if ( a1->m_isOverlay )
{
LevelBrowserLayer::exitLayer(a1, nullptr);
}
else
{
a1->setKeypadEnabled(a1, 0);
v2 = GameManager::sharedState();
GameManager::safePopScene(v2);
}
}