//
// WorldSelectLayer::create from 0xaa862c to 0xaa8708 (220 bytes)
//
// 2 xrefs:
// > WorldSelectLayer::scene @ 0xaa872c
// > ??> @ 0xccf40
//
// 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:00:52 +0000
//
__int64 __fastcall WorldSelectLayer::create(WorldSelectLayer *this)
{
int v1; // w20
__int64 v2; // x19
v1 = (int)this;
v2 = operator new(0x1D8u);
cocos2d::CCLayer::CCLayer((cocos2d::CCLayer *)v2);
*(_QWORD *)(v2 + 416) = 0;
*(_QWORD *)v2 = &off_14A2E20;
*(_QWORD *)(v2 + 320) = off_14A32C8;
*(_QWORD *)(v2 + 328) = &off_14A3338;
*(_QWORD *)(v2 + 336) = off_14A3350;
*(_QWORD *)(v2 + 344) = off_14A3370;
*(_QWORD *)(v2 + 352) = off_14A3398;
*(_QWORD *)(v2 + 408) = &off_14A33C8;
*(_QWORD *)(v2 + 424) = 0;
*(_BYTE *)(v2 + 448) = 0;
*(_BYTE *)(v2 + 449) = 0;
*(_QWORD *)(v2 + 456) = 0;
*(_BYTE *)(v2 + 464) = 0;
if ( (unsigned __int8)WorldSelectLayer::init((WorldSelectLayer *)v2, v1) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v2);
return v2;
}
else
{
(*(void (__fastcall **)(__int64))(*(_QWORD *)v2 + 16LL))(v2);
return 0;
}
}