//
// LevelBrowserLayer::onBack from 0x100418f34 to 0x100418f68 (52 bytes)
//
// 2 xrefs:
// > LevelListLayer::onBack @ 0x10024685c
// > ??> @ 0x100823150
//
// 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 LevelBrowserLayer::onBack(LevelBrowserLayer *a1, cocos2d::CCObject *a2)
{
GameManager *v2; // x0
if ( a1->m_isOverlay )
{
LevelBrowserLayer::exitLayer(a1, a2);
}
else
{
((void (__fastcall *)(LevelBrowserLayer *, _QWORD))a1->setKeypadEnabled)(a1, 0);
v2 = GameManager::sharedState();
GameManager::safePopScene(v2);
}
}