//
// MPLobbyLayer::create from 0x53545c to 0x53551a (190 bytes)
//
// 1 xrefs:
// > MPLobbyLayer::scene @ 0x535532
//
// 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
//
MPLobbyLayer *MPLobbyLayer::create(int a1)
{
MPLobbyLayer *v2; // r4
MPLobbyLayer_vtbl *v3; // r3
int *v4; // r0
v2 = (MPLobbyLayer *)operator new(0x16Cu);
cocos2d::CCLayer::CCLayer(v2);
v2->cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (MPLobbyLayer_vtbl *)&off_A85D30;
v2->cocos2d::CCLayer::cocos2d::CCTouchDelegate::__vftable = (cocos2d::CCTouchDelegate_vtbl *)&off_A85FA0;
v2->cocos2d::CCLayer::cocos2d::CCAccelerometerDelegate::__vftable = (cocos2d::CCAccelerometerDelegate_vtbl *)&off_A85FD8;
v2->cocos2d::CCLayer::cocos2d::CCKeypadDelegate::__vftable = (cocos2d::CCKeypadDelegate_vtbl *)&off_A85FE4;
v2->cocos2d::CCLayer::cocos2d::CCKeyboardDelegate::__vftable = (cocos2d::CCKeyboardDelegate_vtbl *)&off_A85FF4;
v2->cocos2d::CCLayer::cocos2d::CCMouseDelegate::__vftable = (cocos2d::CCMouseDelegate_vtbl *)&off_A86004;
v2->GJMPDelegate::__vftable = (GJMPDelegate_vtbl *)&off_A86018;
v2->UploadPopupDelegate::__vftable = (UploadPopupDelegate_vtbl *)&off_A86030;
v2->UploadActionDelegate::__vftable = (UploadActionDelegate_vtbl *)&off_A8603C;
v2->FLAlertLayerProtocol::__vftable = (FLAlertLayerProtocol_vtbl *)&off_A8604C;
v2->TextInputDelegate::__vftable = (TextInputDelegate_vtbl *)&off_A86058;
v2->m_lobbyDelay = 0.0;
v2->m_lobbyID = 0;
v2->m_lobbyLabel = nullptr;
v2->m_uploadPopup = nullptr;
v2->m_listLayer = nullptr;
v2->m_commentInput = nullptr;
v2->m_awaitingLobby = 0;
v2->m_lobbyJoined = 0;
if ( MPLobbyLayer::init(v2, a1) )
{
cocos2d::CCObject::autorelease(v2);
}
else
{
v3 = v2->cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;
v4 = (int *)v2;
v2 = nullptr;
v3->~MPLobbyLayer_0((MPLobbyLayer *)v4);
}
return v2;
}