//
// MPLobbyLayer::onBack from 0xb05a80 to 0xb05ac4 (68 bytes)
//
// 4 xrefs:
// > MPLobbyLayer::keyBackClicked @ 0xb05ac8
// > MPLobbyLayer::onClosePopup @ 0xb05b4c
// > MPLobbyLayer::uploadActionFinished @ 0xb062ac
// > ??> @ 0xba4c0
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 13:01:23 +0000
//
__int64 __fastcall MPLobbyLayer::onBack(MPLobbyLayer *this, cocos2d::CCObject *a2)
{
cocos2d::CCDirector *v2; // x0
MultiplayerLayer *v3; // x19
AppDelegate *v4; // x0
cocos2d::CCScene *v5; // x1
cocos2d::CCScene *v6; // x0
v2 = (cocos2d::CCDirector *)(*(__int64 (__fastcall **)(MPLobbyLayer *, _QWORD))(*(_QWORD *)this + 1072LL))(this, 0);
v3 = (MultiplayerLayer *)cocos2d::CCDirector::sharedDirector(v2);
v4 = MultiplayerLayer::scene(v3);
v6 = (cocos2d::CCScene *)cocos2d::CCTransitionFade::create(v4, 0.5, v5);
return cocos2d::CCDirector::replaceScene(v3, v6);
}