//
// MultiplayerLayer::create from 0xaf13bc to 0xaf1470 (180 bytes)
//
// 2 xrefs:
// > MultiplayerLayer::scene @ 0xaf148c
// > ??> @ 0xd2a78
//
// 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
//
cocos2d::CCLayer *__fastcall MultiplayerLayer::create(MultiplayerLayer *this)
{
cocos2d::CCLayer *v1; // x19
v1 = (cocos2d::CCLayer *)operator new(0x198u);
cocos2d::CCLayer::CCLayer(v1);
*(_QWORD *)v1 = &off_14AF000;
*((_QWORD *)v1 + 40) = off_14AF490;
*((_QWORD *)v1 + 41) = &off_14AF500;
*((_QWORD *)v1 + 42) = off_14AF518;
*((_QWORD *)v1 + 43) = off_14AF538;
*((_QWORD *)v1 + 44) = off_14AF560;
if ( (unsigned __int8)MultiplayerLayer::init(v1) )
{
cocos2d::CCObject::autorelease(v1);
return v1;
}
else
{
(*(void (__fastcall **)(cocos2d::CCLayer *))(*(_QWORD *)v1 + 16LL))(v1);
return nullptr;
}
}