//
// GJLevelList::create from 0x3d6928 to 0x3d6bf2 (714 bytes)
//
// 1 xrefs:
// > GameLevelManager::createAndGetLevelLists @ 0x3d6ca0
//
// 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
//
GJLevelList *GJLevelList::create()
{
GJLevelList *v0; // r0
cocos2d::CCDictionary *v1; // r7
GJLevelList *v2; // r6
cocos2d::CCString *v3; // r0
cocos2d::CCString *v4; // r0
char *CString; // r0
cocos2d::CCString *v6; // r0
char *v7; // r0
cocos2d::CCString *v8; // r0
cocos2d::CCString *v9; // r0
cocos2d::CCString *v10; // r0
char *v11; // r0
cocos2d::CCString *v12; // r0
cocos2d::CCString *v13; // r0
cocos2d::CCString *v14; // r0
cocos2d::CCString *v15; // r0
cocos2d::CCString *v16; // r0
cocos2d::CCString *v17; // r0
cocos2d::CCString *v18; // r0
cocos2d::CCString *v19; // r0
cocos2d::CCString *v20; // r0
char *v21; // r0
std::string v23; // [sp+Ch] [bp-10h] BYREF
std::string v24; // [sp+10h] [bp-Ch] BYREF
v1 = (cocos2d::CCDictionary *)v0;
v2 = GJLevelList::create(v0);
sub_776584((int)&v24, (char *)&aO1i2r3e45s7t89[1]);
v3 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(v1, &v24);
v2->m_listID = cocos2d::CCString::intValue(v3);
sub_774008(&v24);
sub_776584((int)&v23, (char *)&aO1i2r3e45s7t89[3]);
v4 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(v1, &v23);
CString = (char *)cocos2d::CCString::getCString(v4);
sub_776584((int)&v24, CString);
sub_775D40(&v2->m_listName, &v24);
sub_774008(&v24);
sub_774008(&v23);
sub_776584((int)&v23, (char *)&aO1i2r3e45s7t89[5]);
v6 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(v1, &v23);
v7 = (char *)cocos2d::CCString::getCString(v6);
sub_776584((int)&v24, v7);
sub_775D40(&v2->m_listDesc, &v24);
sub_774008(&v24);
sub_774008(&v23);
sub_776584((int)&v24, (char *)&aO1i2r3e45s7t89[8]);
v8 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(v1, &v24);
v2->m_listVersion = cocos2d::CCString::intValue(v8);
sub_774008(&v24);
sub_776584((int)&v24, "49");
v9 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(v1, &v24);
v2->m_accountID = cocos2d::CCString::intValue(v9);
sub_774008(&v24);
sub_776584((int)&v23, "50");
v10 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(v1, &v23);
v11 = (char *)cocos2d::CCString::getCString(v10);
sub_776584((int)&v24, v11);
sub_775D40(&v2->m_creatorName, &v24);
sub_774008(&v24);
sub_774008(&v23);
sub_776584((int)&v24, "10");
v12 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(v1, &v24);
v2->m_downloads = cocos2d::CCString::intValue(v12);
sub_774008(&v24);
sub_776584((int)&v24, "14");
v13 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(v1, &v24);
v2->m_likes = cocos2d::CCString::intValue(v13);
sub_774008(&v24);
sub_776584((int)&v24, (char *)&aO1i2r3e45s7t89[10]);
v14 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(v1, &v24);
v2->m_difficulty = cocos2d::CCString::intValue(v14);
sub_774008(&v24);
sub_776584((int)&v24, "28");
v15 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(v1, &v24);
v2->m_uploadDate = cocos2d::CCString::intValue(v15);
sub_774008(&v24);
sub_776584((int)&v24, "29");
v16 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(v1, &v24);
v2->m_updateDate = cocos2d::CCString::intValue(v16);
sub_774008(&v24);
sub_776584((int)&v24, "55");
v17 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(v1, &v24);
v2->m_diamonds = cocos2d::CCString::intValue(v17);
sub_774008(&v24);
sub_776584((int)&v24, "56");
v18 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(v1, &v24);
v2->m_levelsToClaim = cocos2d::CCString::intValue(v18);
sub_774008(&v24);
sub_776584((int)&v24, "19");
v19 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(v1, &v24);
v2->m_featured = cocos2d::CCString::boolValue(v19);
sub_774008(&v24);
sub_776584((int)&v23, "51");
v20 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(v1, &v23);
v21 = (char *)cocos2d::CCString::getCString(v20);
sub_776584((int)&v24, v21);
GJLevelList::parseListLevels((int)v2, &v24);
sub_774008(&v24);
sub_774008(&v23);
return v2;
}