//
// MPLobbyLayer::onBack from 0x53594a to 0x535976 (44 bytes)
//
// 3 xrefs:
// > MPLobbyLayer::keyBackClicked @ 0x535978
// > MPLobbyLayer::onClosePopup @ 0x5359ae
// > MPLobbyLayer::uploadActionFinished @ 0x535a50
//
// 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 MPLobbyLayer::onBack(MPLobbyLayer *a1, cocos2d::CCObject *a2)
{
cocos2d::CCDirector *v2; // r4
cocos2d::CCScene *v3; // r0
cocos2d::CCTransitionFade *v4; // r1
a1->setKeypadEnabled(a1, 0);
v2 = cocos2d::CCDirector::sharedDirector();
v3 = MultiplayerLayer::scene();
v4 = cocos2d::CCTransitionFade::create(0.5, v3);
cocos2d::CCDirector::replaceScene(v2, v4);
}