//
// MultiplayerLayer::scene from 0x10039ae20 to 0x10039aed6 (182 bytes)
//
// 6 xrefs:
// > MPLobbyLayer::onBack @ 0x100494009
// > MPLobbyLayer::keyBackClicked @ 0x100494049
// > sub_100494070 @ 0x100494094
// > MPLobbyLayer::uploadActionFinished @ 0x100494a07
// > MPLobbyLayer::onClosePopup @ 0x100494cb1
// > sub_100494D00 @ 0x100494d52
//
// 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
//
cocos2d::CCScene *__fastcall MultiplayerLayer::scene()
{
cocos2d::CCScene *v0; // rbx
cocos2d::CCLayer *v1; // r14
v0 = cocos2d::CCScene::create();
AppDelegate::get()->m_runningScene = v0;
v1 = (cocos2d::CCLayer *)operator new(0x198u);
cocos2d::CCLayer::CCLayer(v1);
v1->cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (cocos2d::CCLayer_vtbl *)off_1009225B8;
v1->cocos2d::CCTouchDelegate::__vftable = (cocos2d::CCTouchDelegate_vtbl *)off_100922A38;
v1->cocos2d::CCAccelerometerDelegate::__vftable = (cocos2d::CCAccelerometerDelegate_vtbl *)&off_100922AA8;
v1->cocos2d::CCKeypadDelegate::__vftable = (cocos2d::CCKeypadDelegate_vtbl *)off_100922AC0;
v1->cocos2d::CCKeyboardDelegate::__vftable = (cocos2d::CCKeyboardDelegate_vtbl *)off_100922AE0;
v1->cocos2d::CCMouseDelegate::__vftable = (cocos2d::CCMouseDelegate_vtbl *)off_100922B00;
if ( cocos2d::CCLayer::init(v1) )
{
cocos2d::CCObject::autorelease(v1);
}
else
{
((void (__fastcall *)(cocos2d::CCLayer *))v1->~CCLayer_0)(v1);
v1 = nullptr;
}
((void (__fastcall *)(cocos2d::CCScene *, cocos2d::CCLayer *))v0->addChild)(v0, v1);
return v0;
}