//
// LevelSelectLayer::onBack from 0x79b1dc to 0x79b224 (72 bytes)
//
// 4 xrefs:
// > LevelSelectLayer::keyBackClicked @ 0x79b228
// > ??> @ 0x7dd48
// > LevelSelectLayer::init @ 0x79e338
// > ??> @ 0x122c3d8
//
// 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 LevelSelectLayer::onBack(LevelSelectLayer *a1, cocos2d::CCObject *a2)
{
cocos2d::CCDirector *v2; // x19
cocos2d::CCScene *v3; // x0
cocos2d::CCTransitionFade *v4; // x0
a1->setKeypadEnabled(a1, 0);
v2 = cocos2d::CCDirector::sharedDirector();
v3 = MenuLayer::scene(0);
v4 = cocos2d::CCTransitionFade::create(0.5, v3);
cocos2d::CCDirector::replaceScene(v2, v4);
}