//
// GJLevelList::init from 0x100561c90 to 0x100561d04 (116 bytes)
//
// 1 xrefs:
// > ??> @ 0x100962860
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
bool __fastcall GJLevelList::init(GJLevelList *a1)
{
bool result; // al
bool v3; // r15
cocos2d::CCDictionary *v4; // rax
cocos2d::CCDictionary *m_levelsDict; // rdi
cocos2d::CCDictionary *v6; // r14
int v7; // eax
result = cocos2d::CCNode::init(a1);
if ( result )
{
v3 = result;
v4 = cocos2d::CCDictionary::create();
m_levelsDict = a1->m_levelsDict;
if ( m_levelsDict != v4 )
{
v6 = v4;
if ( v4 )
{
cocos2d::CCObject::retain(v4);
m_levelsDict = a1->m_levelsDict;
}
if ( m_levelsDict )
cocos2d::CCObject::release(m_levelsDict);
a1->m_levelsDict = v6;
}
v7 = dword_1009A28F0;
a1->m_M_ID = dword_1009A28F0;
dword_1009A28F0 = v7 + 1;
return v3;
}
return result;
}