//
// GJLevelList::init from 0x140272610 to 0x140272688 (120 bytes)
//
// 4 xrefs:
// > GJLevelList::create_1 @ 0x1402725be
// > GJLevelList::create_1 @ 0x1402725af
// > ??> @ 0x14075baa8
// > ??> @ 0x14091cb2c
//
// 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 11:28:54 +0000
//
bool __fastcall GJLevelList::init(__int64 a1)
{
bool result; // al
cocos2d::CCObject *v3; // rax
cocos2d::CCObject *v4; // rdi
cocos2d::CCObject *v5; // rcx
int v6; // eax
result = cocos2d::CCNode::init((cocos2d::CCNode *)a1);
if ( result )
{
v3 = (cocos2d::CCObject *)cocos2d::CCDictionary::create();
v4 = v3;
if ( *(cocos2d::CCObject **)(a1 + 576) != v3 )
{
if ( v3 )
cocos2d::CCObject::retain(v3);
v5 = *(cocos2d::CCObject **)(a1 + 576);
if ( v5 )
cocos2d::CCObject::release(v5);
*(_QWORD *)(a1 + 576) = v4;
}
v6 = dword_14090BFB8;
*(_DWORD *)(a1 + 588) = dword_14090BFB8;
dword_14090BFB8 = v6 + 1;
return 1;
}
return result;
}