//
// GJLevelList::create_1 from 0x140176770 to 0x1401768f5 (389 bytes)
//
// 4 xrefs:
// > GameLevelManager::createNewLevelList @ 0x14014535b
// > GJLevelList::create @ 0x140175eab
// > GJObjectDecoder::getDecodedObject @ 0x140284495
// > ??> @ 0x1406caf68
//
// 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
//
// Hidden C++ exception states: #wind=1
GJLevelList *GJLevelList::create_1()
{
char *v0; // rbx
bool (*v1)(GJLevelList *); // rdx
bool v2; // al
v0 = (char *)operator new(0x248u);
cocos2d::CCNode::CCNode((cocos2d::CCNode *)v0);
*(_QWORD *)v0 = &GJLevelList::`vftable';
*((_QWORD *)v0 + 40) = 0;
*((_QWORD *)v0 + 41) = 0;
*((_QWORD *)v0 + 42) = 0;
*((_QWORD *)v0 + 43) = 0;
*((_QWORD *)v0 + 44) = 0;
*((_DWORD *)v0 + 90) = -1;
*(_QWORD *)(v0 + 364) = 0;
*(_QWORD *)(v0 + 372) = 0;
*(_QWORD *)(v0 + 380) = 0;
*(_QWORD *)(v0 + 388) = 0;
*((_DWORD *)v0 + 99) = 0;
*((_OWORD *)v0 + 25) = 0;
*((_QWORD *)v0 + 52) = 0;
*((_QWORD *)v0 + 53) = 15;
v0[400] = 0;
*((_OWORD *)v0 + 27) = 0;
*((_QWORD *)v0 + 56) = 0;
*((_QWORD *)v0 + 57) = 15;
v0[432] = 0;
*((_OWORD *)v0 + 29) = 0;
*((_QWORD *)v0 + 60) = 0;
*((_QWORD *)v0 + 61) = 15;
v0[464] = 0;
*((_OWORD *)v0 + 31) = 0;
*((_QWORD *)v0 + 64) = 0;
*((_QWORD *)v0 + 65) = 15;
v0[496] = 0;
*((_OWORD *)v0 + 33) = 0;
*((_QWORD *)v0 + 68) = 0;
*((_QWORD *)v0 + 69) = 15;
v0[528] = 0;
*((_QWORD *)v0 + 71) = 0;
*((_QWORD *)v0 + 72) = 0;
v1 = *(bool (**)(GJLevelList *))(*(_QWORD *)v0 + 72LL);
if ( v1 == GJLevelList::init )
v2 = GJLevelList::init((GJLevelList *)v0);
else
v2 = v1((GJLevelList *)v0);
if ( v2 )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v0);
return (GJLevelList *)v0;
}
else
{
(*(void (__fastcall **)(char *, __int64))(*(_QWORD *)v0 + 8LL))(v0, 1);
return nullptr;
}
}