//
// MPLobbyLayer::create from 0xb05634 to 0xb0573c (264 bytes)
//
// 2 xrefs:
// > MPLobbyLayer::scene @ 0xb05760
// > ??> @ 0xa4cc8
//
// 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::create(MPLobbyLayer *this)
{
__int64 v1; // x19
v1 = operator new(0x1F0u);
cocos2d::CCLayer::CCLayer((cocos2d::CCLayer *)v1);
*(_DWORD *)(v1 + 448) = 0;
*(_QWORD *)v1 = &off_14B0D10;
*(_QWORD *)(v1 + 320) = off_14B1200;
*(_QWORD *)(v1 + 328) = &off_14B1270;
*(_QWORD *)(v1 + 336) = off_14B1288;
*(_QWORD *)(v1 + 344) = off_14B12A8;
*(_QWORD *)(v1 + 352) = off_14B12D0;
*(_QWORD *)(v1 + 408) = &off_14B1300;
*(_QWORD *)(v1 + 416) = &off_14B1330;
*(_QWORD *)(v1 + 424) = off_14B1348;
*(_QWORD *)(v1 + 432) = &off_14B1368;
*(_QWORD *)(v1 + 440) = off_14B1380;
*(_QWORD *)(v1 + 456) = 0;
*(_QWORD *)(v1 + 464) = 0;
*(_QWORD *)(v1 + 472) = 0;
*(_QWORD *)(v1 + 480) = 0;
*(_BYTE *)(v1 + 492) = 0;
*(_BYTE *)(v1 + 493) = 0;
*(_DWORD *)(v1 + 488) = 0;
if ( (unsigned __int8)MPLobbyLayer::init((MPLobbyLayer *)v1) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v1);
return v1;
}
else
{
(*(void (__fastcall **)(__int64))(*(_QWORD *)v1 + 16LL))(v1);
return 0;
}
}