//
// GJLevelList::init from 0x7fe9d0 to 0x7fea60 (144 bytes)
//
// 3 xrefs:
// > GJLevelList::create @ 0x8071f0
// > ??> @ 0x94a80
// > ??> @ 0x1441520
//
// 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 12:54:42 +0000
//
unsigned __int64 __fastcall GJLevelList::init(cocos2d::CCObject **this)
{
unsigned __int64 result; // x0
unsigned int v3; // w19
cocos2d::CCObject *v4; // x0
cocos2d::CCObject *v5; // x21
cocos2d::CCObject *v6; // x1
int v7; // w0
result = (unsigned __int8)cocos2d::CCNode::init((cocos2d::CCNode *)this);
v3 = (unsigned __int8)result;
if ( !(_BYTE)result )
return (unsigned __int8)result;
v4 = (cocos2d::CCObject *)cocos2d::CCDictionary::create((cocos2d::CCDictionary *)result);
v5 = v4;
v6 = *(this + 67);
if ( v6 != v4 )
{
if ( v4 )
{
cocos2d::CCObject::retain(v4);
v6 = *(this + 67);
}
if ( v6 )
cocos2d::CCObject::release(v6);
*(this + 67) = v5;
}
v7 = dword_155C970;
*((_DWORD *)this + 137) = dword_155C970;
dword_155C970 = v7 + 1;
return v3;
}