//
// MultiplayerLayer::onBack from 0xaf1364 to 0xaf13a8 (68 bytes)
//
// 2 xrefs:
// > MultiplayerLayer::keyBackClicked @ 0xaf13ac
// > ??> @ 0xd6d50
//
// 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:12 +0000
//
__int64 __fastcall MultiplayerLayer::onBack(MultiplayerLayer *this, cocos2d::CCObject *a2)
{
cocos2d::CCDirector *v2; // x0
CreatorLayer *v3; // x19
AppDelegate *v4; // x0
cocos2d::CCScene *v5; // x1
cocos2d::CCScene *v6; // x0
v2 = (cocos2d::CCDirector *)(*(__int64 (__fastcall **)(MultiplayerLayer *, _QWORD))(*(_QWORD *)this + 1072LL))(
this,
0);
v3 = (CreatorLayer *)cocos2d::CCDirector::sharedDirector(v2);
v4 = CreatorLayer::scene(v3);
v6 = (cocos2d::CCScene *)cocos2d::CCTransitionFade::create(v4, 0.5, v5);
return cocos2d::CCDirector::replaceScene(v3, v6);
}