//
// GJLevelList::create from 0x1000a9474 to 0x1000a9840 (972 bytes)
//
// 1 xrefs:
// > sub_1000A9314 @ 0x1000a93d0
//
// 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 10:58:35 +0000
//
char *__fastcall GJLevelList::create(__int64 a1)
{
char *v2; // x19
__int64 v3; // x0
__int64 v4; // x0
char *CString; // x0
__int64 v6; // x0
char *v7; // x0
__int64 v8; // x0
__int64 v9; // x0
__int64 v10; // x0
char *v11; // x0
__int64 v12; // x0
__int64 v13; // x0
__int64 v14; // x0
__int64 v15; // x0
__int64 v16; // x0
__int64 v17; // x0
__int64 v18; // x0
__int64 v19; // x0
__int64 v20; // x0
char *v21; // x0
void *__p[2]; // [xsp+8h] [xbp-88h] BYREF
char v24; // [xsp+1Fh] [xbp-71h]
std::string v25; // [xsp+20h] [xbp-70h] BYREF
std::string v26; // [xsp+38h] [xbp-58h] BYREF
std::string __str; // [xsp+50h] [xbp-40h] BYREF
void *v28[2]; // [xsp+68h] [xbp-28h] BYREF
char v29; // [xsp+7Fh] [xbp-11h]
v2 = GJLevelList::create_1();
sub_100009900(v28, "1");
v3 = cocos2d::CCDictionary::valueForKey(a1, v28);
*((_DWORD *)v2 + 86) = cocos2d::CCString::intValue(v3);
if ( v29 < 0 )
operator delete(v28[0]);
sub_100009900(v28, "2");
v4 = cocos2d::CCDictionary::valueForKey(a1, v28);
CString = (char *)cocos2d::CCString::getCString(v4);
sub_100009900(&__str, CString);
std::string::operator=((std::string *)v2 + 18, &__str);
if ( SHIBYTE(__str.__r_.__value_.__r.__words[2]) < 0 )
operator delete(__str.__r_.__value_.__l.__data_);
if ( v29 < 0 )
operator delete(v28[0]);
sub_100009900(v28, "3");
v6 = cocos2d::CCDictionary::valueForKey(a1, v28);
v7 = (char *)cocos2d::CCString::getCString(v6);
sub_100009900(&v26, v7);
std::string::operator=((std::string *)v2 + 21, &v26);
if ( SHIBYTE(v26.__r_.__value_.__r.__words[2]) < 0 )
operator delete(v26.__r_.__value_.__l.__data_);
if ( v29 < 0 )
operator delete(v28[0]);
sub_100009900(v28, "5");
v8 = cocos2d::CCDictionary::valueForKey(a1, v28);
*((_DWORD *)v2 + 87) = cocos2d::CCString::intValue(v8);
if ( v29 < 0 )
operator delete(v28[0]);
sub_100009900(v28, "49");
v9 = cocos2d::CCDictionary::valueForKey(a1, v28);
*((_DWORD *)v2 + 91) = cocos2d::CCString::intValue(v9);
if ( v29 < 0 )
operator delete(v28[0]);
sub_100009900(v28, "50");
v10 = cocos2d::CCDictionary::valueForKey(a1, v28);
v11 = (char *)cocos2d::CCString::getCString(v10);
sub_100009900(&v25, v11);
std::string::operator=((std::string *)v2 + 17, &v25);
if ( SHIBYTE(v25.__r_.__value_.__r.__words[2]) < 0 )
operator delete(v25.__r_.__value_.__l.__data_);
if ( v29 < 0 )
operator delete(v28[0]);
sub_100009900(v28, "10");
v12 = cocos2d::CCDictionary::valueForKey(a1, v28);
*((_DWORD *)v2 + 88) = cocos2d::CCString::intValue(v12);
if ( v29 < 0 )
operator delete(v28[0]);
sub_100009900(v28, "14");
v13 = cocos2d::CCDictionary::valueForKey(a1, v28);
*((_DWORD *)v2 + 89) = cocos2d::CCString::intValue(v13);
if ( v29 < 0 )
operator delete(v28[0]);
sub_100009900(v28, "7");
v14 = cocos2d::CCDictionary::valueForKey(a1, v28);
*((_DWORD *)v2 + 90) = cocos2d::CCString::intValue(v14);
if ( v29 < 0 )
operator delete(v28[0]);
sub_100009900(v28, "28");
v15 = cocos2d::CCDictionary::valueForKey(a1, v28);
*((_DWORD *)v2 + 132) = cocos2d::CCString::intValue(v15);
if ( v29 < 0 )
operator delete(v28[0]);
sub_100009900(v28, "29");
v16 = cocos2d::CCDictionary::valueForKey(a1, v28);
*((_DWORD *)v2 + 133) = cocos2d::CCString::intValue(v16);
if ( v29 < 0 )
operator delete(v28[0]);
sub_100009900(v28, "55");
v17 = cocos2d::CCDictionary::valueForKey(a1, v28);
*((_DWORD *)v2 + 96) = cocos2d::CCString::intValue(v17);
if ( v29 < 0 )
operator delete(v28[0]);
sub_100009900(v28, "56");
v18 = cocos2d::CCDictionary::valueForKey(a1, v28);
*((_DWORD *)v2 + 97) = cocos2d::CCString::intValue(v18);
if ( v29 < 0 )
operator delete(v28[0]);
sub_100009900(v28, "19");
v19 = cocos2d::CCDictionary::valueForKey(a1, v28);
v2[397] = cocos2d::CCString::boolValue(v19);
if ( v29 < 0 )
operator delete(v28[0]);
sub_100009900(v28, "51");
v20 = cocos2d::CCDictionary::valueForKey(a1, v28);
v21 = (char *)cocos2d::CCString::getCString(v20);
sub_100009900(__p, v21);
sub_1000B8968(v2, __p);
if ( v24 < 0 )
operator delete(__p[0]);
if ( v29 < 0 )
operator delete(v28[0]);
return v2;
}