//
// GJLevelList::init from 0x10058e940 to 0x10058e9b4 (116 bytes)
//
// 1 xrefs:
// > ??> @ 0x100b6f740
//
// 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:32:25 +0000
//
char __fastcall GJLevelList::init(__int64 a1)
{
char result; // al
char v3; // r15
_QWORD *v4; // rax
_DWORD *v5; // rdi
_QWORD *v6; // r14
int v7; // eax
result = cocos2d::CCNode::init();
if ( result )
{
v3 = result;
v4 = cocos2d::CCDictionary::create();
v5 = *(_DWORD **)(a1 + 536);
if ( v5 != (_DWORD *)v4 )
{
v6 = v4;
if ( v4 )
{
cocos2d::CCObject::retain((__int64)v4);
v5 = *(_DWORD **)(a1 + 536);
}
if ( v5 )
cocos2d::CCObject::release(v5);
*(_QWORD *)(a1 + 536) = v6;
}
v7 = dword_100BE55A8;
*(_DWORD *)(a1 + 548) = dword_100BE55A8;
dword_100BE55A8 = v7 + 1;
return v3;
}
return result;
}