//
// GJLevelList::create_1 from 0x10053f550 to 0x10053f675 (293 bytes)
//
// 3 xrefs:
// > GameLevelManager::createNewLevelList @ 0x10053f154
// > GJLevelList::create @ 0x100543177
// > GJLevelList::createWithCoder @ 0x10058fd6a
//
// This function is hookable on this platform (idp: pc, 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 12:31:56 +0000
//
__int64 GJLevelList::create_1()
{
char *v0; // r14
__int64 v1; // rbx
_DWORD **v2; // r14
_QWORD *v3; // rax
_DWORD *v4; // rdi
_DWORD *v5; // r15
int v6; // eax
v0 = (char *)operator new(0x228u);
v1 = (__int64)v0;
cocos2d::CCNode::CCNode((__int64)v0);
*(_QWORD *)v0 = off_100B6F6F0;
*((_OWORD *)v0 + 20) = 0;
*((_OWORD *)v0 + 21) = 0;
*((_QWORD *)v0 + 44) = 0;
*((_DWORD *)v0 + 90) = -1;
*(_OWORD *)(v0 + 364) = 0;
*(_OWORD *)(v0 + 380) = 0;
*(_QWORD *)(v0 + 394) = 0;
*(_OWORD *)(v0 + 408) = 0;
*(_OWORD *)(v0 + 424) = 0;
*(_OWORD *)(v0 + 440) = 0;
*(_OWORD *)(v0 + 456) = 0;
*(_OWORD *)(v0 + 472) = 0;
*(_OWORD *)(v0 + 488) = 0;
*(_OWORD *)(v0 + 504) = 0;
*((_QWORD *)v0 + 65) = 0;
*(_OWORD *)(v0 + 536) = 0;
if ( cocos2d::CCNode::init() )
{
v2 = (_DWORD **)(v0 + 536);
v3 = cocos2d::CCDictionary::create();
v4 = *v2;
if ( *v2 != (_DWORD *)v3 )
{
v5 = v3;
if ( v3 )
{
cocos2d::CCObject::retain((__int64)v3);
v4 = *v2;
}
if ( v4 )
cocos2d::CCObject::release(v4);
*v2 = v5;
}
v6 = dword_100BE55A8;
*(_DWORD *)(v1 + 548) = dword_100BE55A8;
dword_100BE55A8 = v6 + 1;
cocos2d::CCObject::autorelease(v1);
}
else
{
(*(void (__fastcall **)(char *))(*(_QWORD *)v0 + 16LL))(v0);
return 0;
}
return v1;
}