//
// GJGameLevel::create from 0x14016ae30 to 0x14016c693 (6243 bytes)
//
// 3 xrefs:
// > GameLevelManager::createAndGetLevels @ 0x1401468e7
// > GameLevelManager::processOnDownloadLevelCompleted @ 0x140152b0a
// > ??> @ 0x1406cad88
//
// 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=36
GJGameLevel *GJGameLevel::create(cocos2d::CCDictionary *a1, bool a2)
{
cocos2d::CCString *v3; // rax
void *v4; // rcx
cocos2d::CCString *v5; // rax
const char *CString; // rax
size_t v7; // rdi
size_t v8; // r8
void *v9; // rcx
cocos2d::CCString *v10; // rax
const char *v11; // rax
size_t v12; // r8
void *v13; // rcx
cocos2d::CCString *v14; // rax
const char *v15; // rax
size_t v16; // r8
void *v17; // rcx
cocos2d::CCString *v18; // rax
void *v19; // rcx
cocos2d::CCString *v20; // rax
__int64 v21; // r13
void *v22; // rcx
cocos2d::CCString *v23; // rax
const char *v24; // rax
size_t v25; // r8
void *v26; // rcx
cocos2d::CCString *v27; // rax
const char *v28; // rax
size_t v29; // r8
void *v30; // rcx
cocos2d::CCString *v31; // rax
void *v32; // rcx
cocos2d::CCString *v33; // rax
void *v34; // rcx
cocos2d::CCString *v35; // rax
void *v36; // rcx
cocos2d::CCString *v37; // rax
void *v38; // rcx
cocos2d::CCString *v39; // rax
void *v40; // rcx
cocos2d::CCString *v41; // rax
void *v42; // rcx
cocos2d::CCString *v43; // rax
void *v44; // rcx
cocos2d::CCString *v45; // rax
void *v46; // rcx
cocos2d::CCString *v47; // rax
void *v48; // rcx
cocos2d::CCString *v49; // rax
void *v50; // rcx
cocos2d::CCString *v51; // rax
void *v52; // rcx
cocos2d::CCString *v53; // rax
void *v54; // rcx
cocos2d::CCString *v55; // rax
void *v56; // rcx
cocos2d::CCString *v57; // rax
void *v58; // rcx
cocos2d::CCString *v59; // rax
void *v60; // rcx
cocos2d::CCString *v61; // rax
void *v62; // rcx
cocos2d::CCString *v63; // rax
void *v64; // rcx
cocos2d::CCString *v65; // rax
void *v66; // rcx
int v67; // r15d
cocos2d::CCString *v68; // rax
const char *v69; // rax
__int64 v70; // rax
const char *v71; // rax
cocos2d::CCString *v72; // rax
void *v73; // rcx
cocos2d::CCString *v74; // rax
void *v75; // rcx
cocos2d::CCString *v76; // rax
int v77; // r12d
void *v78; // rcx
cocos2d::CCString *v79; // rax
const char *v80; // rax
size_t v81; // r8
void *v82; // rcx
GJGameLevel *v83; // rax
__int64 v84; // rsi
__int64 v85; // rcx
cocos2d::CCString *v86; // rax
int v87; // r14d
__int64 v88; // rcx
GameLevelManager *v89; // rax
__int64 Username; // rax
void **v91; // rax
void **v92; // rax
void **v93; // rax
void **v94; // rax
cocos2d::CCString *v95; // rax
const char *v96; // rax
void **v97; // rax
void **v98; // rax
cocos2d::CCString *v99; // rax
cocos2d::CCString *v100; // rax
int v101; // eax
cocos2d::CCString *v102; // rax
cocos2d::CCString *v103; // rax
cocos2d::CCString *v104; // rax
cocos2d::CCString *v105; // rax
void **v106; // rax
void **v107; // rax
cocos2d::CCString *v108; // rax
const char *v109; // rax
__int64 v110; // rax
cocos2d::CCString *v111; // rax
char *v112; // rax
cocos2d::CCString *v113; // rax
char *v114; // rax
cocos2d::CCString *v115; // rax
void *v116; // rcx
void **v117; // rcx
char *v118; // rbx
unsigned __int64 v119; // rdi
size_t v120; // r14
size_t v121; // r8
int v122; // eax
void *v123; // rcx
void *v124; // rcx
char *v125; // rax
void *v126; // rcx
void *v127; // rcx
bool v129; // [rsp+20h] [rbp-E0h]
bool v130; // [rsp+21h] [rbp-DFh]
bool v131; // [rsp+22h] [rbp-DEh]
bool v132; // [rsp+23h] [rbp-DDh]
GJGameLevel *v133; // [rsp+28h] [rbp-D8h]
void *v134; // [rsp+28h] [rbp-D8h]
void *v135; // [rsp+28h] [rbp-D8h]
int v136; // [rsp+30h] [rbp-D0h]
int v137; // [rsp+34h] [rbp-CCh]
int v138; // [rsp+38h] [rbp-C8h]
int v139; // [rsp+3Ch] [rbp-C4h]
int v140; // [rsp+40h] [rbp-C0h]
int v141; // [rsp+44h] [rbp-BCh]
int v142; // [rsp+48h] [rbp-B8h]
int v143; // [rsp+4Ch] [rbp-B4h]
int v144; // [rsp+50h] [rbp-B0h]
int v145; // [rsp+54h] [rbp-ACh]
int v146; // [rsp+58h] [rbp-A8h]
int v147; // [rsp+5Ch] [rbp-A4h]
int v148; // [rsp+60h] [rbp-A0h]
int v149; // [rsp+64h] [rbp-9Ch]
int v150; // [rsp+68h] [rbp-98h]
int v151; // [rsp+6Ch] [rbp-94h]
int v152; // [rsp+70h] [rbp-90h]
int v153; // [rsp+78h] [rbp-88h]
void *Buf2[2]; // [rsp+80h] [rbp-80h] BYREF
unsigned __int64 v155; // [rsp+90h] [rbp-70h]
unsigned __int64 v156; // [rsp+98h] [rbp-68h]
void *Block[2]; // [rsp+A0h] [rbp-60h] BYREF
__int64 v158; // [rsp+B0h] [rbp-50h]
unsigned __int64 v159; // [rsp+B8h] [rbp-48h]
_BYTE v160[32]; // [rsp+C0h] [rbp-40h] BYREF
_BYTE v161[32]; // [rsp+E0h] [rbp-20h] BYREF
void *Buf1[2]; // [rsp+100h] [rbp+0h] BYREF
size_t v163; // [rsp+110h] [rbp+10h]
unsigned __int64 v164; // [rsp+118h] [rbp+18h]
void *v165[2]; // [rsp+120h] [rbp+20h] BYREF
__int64 v166; // [rsp+130h] [rbp+30h]
unsigned __int64 v167; // [rsp+138h] [rbp+38h]
void *v168[2]; // [rsp+140h] [rbp+40h] BYREF
__int64 v169; // [rsp+150h] [rbp+50h]
unsigned __int64 v170; // [rsp+158h] [rbp+58h]
void *v171[2]; // [rsp+160h] [rbp+60h] BYREF
__int64 v172; // [rsp+170h] [rbp+70h]
unsigned __int64 v173; // [rsp+178h] [rbp+78h]
void *v174[2]; // [rsp+180h] [rbp+80h] BYREF
__int64 v175; // [rsp+190h] [rbp+90h]
unsigned __int64 v176; // [rsp+198h] [rbp+98h]
__int128 v177; // [rsp+1A0h] [rbp+A0h] BYREF
__int64 v178; // [rsp+1B0h] [rbp+B0h]
__int64 v179; // [rsp+1B8h] [rbp+B8h]
_QWORD v180[4]; // [rsp+1C0h] [rbp+C0h] BYREF
*(_OWORD *)Block = 0;
v158 = 1;
v159 = 15;
LOWORD(Block[0]) = 49;
v3 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(a1, Block);
v152 = cocos2d::CCString::intValue(v3);
if ( v159 > 0xF )
{
v4 = Block[0];
if ( v159 + 1 >= 0x1000 )
{
v4 = *((void **)Block[0] - 1);
if ( (unsigned __int64)((char *)Block[0] - (char *)v4 - 8) > 0x1F )
invalid_parameter_noinfo_noreturn();
}
j_j_free(v4);
}
*(_OWORD *)Block = 0;
v158 = 1;
v159 = 15;
LOWORD(Block[0]) = 50;
v5 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(a1, Block);
CString = cocos2d::CCString::getCString(v5);
*(_OWORD *)v174 = 0;
v175 = 0;
v176 = 0;
v7 = -1;
v8 = -1;
do
++v8;
while ( CString[v8] );
sub_14003A930(v174, CString, v8);
if ( v159 > 0xF )
{
v9 = Block[0];
if ( v159 + 1 >= 0x1000 )
{
v9 = *((void **)Block[0] - 1);
if ( (unsigned __int64)((char *)Block[0] - (char *)v9 - 8) > 0x1F )
invalid_parameter_noinfo_noreturn();
}
j_j_free(v9);
}
*(_OWORD *)Block = 0;
v158 = 1;
v159 = 15;
LOWORD(Block[0]) = 51;
v10 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(a1, Block);
v11 = cocos2d::CCString::getCString(v10);
*(_OWORD *)v171 = 0;
v172 = 0;
v173 = 0;
v12 = -1;
do
++v12;
while ( v11[v12] );
sub_14003A930(v171, v11, v12);
if ( v159 > 0xF )
{
v13 = Block[0];
if ( v159 + 1 >= 0x1000 )
{
v13 = *((void **)Block[0] - 1);
if ( (unsigned __int64)((char *)Block[0] - (char *)v13 - 8) > 0x1F )
invalid_parameter_noinfo_noreturn();
}
j_j_free(v13);
}
*(_OWORD *)Block = 0;
v158 = 1;
v159 = 15;
LOWORD(Block[0]) = 52;
v14 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(a1, Block);
v15 = cocos2d::CCString::getCString(v14);
*(_OWORD *)Buf1 = 0;
v163 = 0;
v164 = 0;
v16 = -1;
do
++v16;
while ( v15[v16] );
sub_14003A930(Buf1, v15, v16);
if ( v159 > 0xF )
{
v17 = Block[0];
if ( v159 + 1 >= 0x1000 )
{
v17 = *((void **)Block[0] - 1);
if ( (unsigned __int64)((char *)Block[0] - (char *)v17 - 8) > 0x1F )
invalid_parameter_noinfo_noreturn();
}
j_j_free(v17);
}
*(_OWORD *)Block = 0;
v158 = 1;
v159 = 15;
LOWORD(Block[0]) = 53;
v18 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(a1, Block);
v136 = cocos2d::CCString::intValue(v18);
if ( v159 > 0xF )
{
v19 = Block[0];
if ( v159 + 1 >= 0x1000 )
{
v19 = *((void **)Block[0] - 1);
if ( (unsigned __int64)((char *)Block[0] - (char *)v19 - 8) > 0x1F )
invalid_parameter_noinfo_noreturn();
}
j_j_free(v19);
}
*(_OWORD *)Block = 0;
v158 = 1;
v159 = 15;
LOWORD(Block[0]) = (unsigned __int8)a6[0];
v20 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(a1, Block);
v21 = (int)cocos2d::CCString::intValue(v20);
if ( v159 > 0xF )
{
v22 = Block[0];
if ( v159 + 1 >= 0x1000 )
{
v22 = *((void **)Block[0] - 1);
if ( (unsigned __int64)((char *)Block[0] - (char *)v22 - 8) > 0x1F )
invalid_parameter_noinfo_noreturn();
}
j_j_free(v22);
}
*(_OWORD *)Block = 0;
v158 = 2;
v159 = 15;
strcpy((char *)Block, "28");
v23 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(a1, Block);
v24 = cocos2d::CCString::getCString(v23);
*(_OWORD *)v168 = 0;
v169 = 0;
v170 = 0;
v25 = -1;
do
++v25;
while ( v24[v25] );
sub_14003A930(v168, v24, v25);
if ( v159 > 0xF )
{
v26 = Block[0];
if ( v159 + 1 >= 0x1000 )
{
v26 = *((void **)Block[0] - 1);
if ( (unsigned __int64)((char *)Block[0] - (char *)v26 - 8) > 0x1F )
invalid_parameter_noinfo_noreturn();
}
j_j_free(v26);
}
*(_OWORD *)Block = 0;
v158 = 2;
v159 = 15;
strcpy((char *)Block, "29");
v27 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(a1, Block);
v28 = cocos2d::CCString::getCString(v27);
*(_OWORD *)v165 = 0;
v166 = 0;
v167 = 0;
v29 = -1;
do
++v29;
while ( v28[v29] );
sub_14003A930(v165, v28, v29);
if ( v159 > 0xF )
{
v30 = Block[0];
if ( v159 + 1 >= 0x1000 )
{
v30 = *((void **)Block[0] - 1);
if ( (unsigned __int64)((char *)Block[0] - (char *)v30 - 8) > 0x1F )
invalid_parameter_noinfo_noreturn();
}
j_j_free(v30);
}
v158 = 0;
v159 = 15;
LOBYTE(Block[0]) = 0;
*(_OWORD *)Buf2 = 0;
v155 = 1;
v156 = 15;
LOWORD(Buf2[0]) = (unsigned __int8)a8[0];
v31 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(a1, Buf2);
v137 = cocos2d::CCString::intValue(v31);
if ( v156 > 0xF )
{
v32 = Buf2[0];
if ( v156 + 1 >= 0x1000 )
{
v32 = *((void **)Buf2[0] - 1);
if ( (unsigned __int64)((char *)Buf2[0] - (char *)v32 - 8) > 0x1F )
invalid_parameter_noinfo_noreturn();
}
j_j_free(v32);
}
*(_OWORD *)Buf2 = 0;
v155 = 1;
v156 = 15;
LOWORD(Buf2[0]) = (unsigned __int8)a9[0];
v33 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(a1, Buf2);
v138 = cocos2d::CCString::intValue(v33);
if ( v156 > 0xF )
{
v34 = Buf2[0];
if ( v156 + 1 >= 0x1000 )
{
v34 = *((void **)Buf2[0] - 1);
if ( (unsigned __int64)((char *)Buf2[0] - (char *)v34 - 8) > 0x1F )
invalid_parameter_noinfo_noreturn();
}
j_j_free(v34);
}
*(_OWORD *)Buf2 = 0;
v155 = 2;
v156 = 15;
strcpy((char *)Buf2, "10");
v35 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(a1, Buf2);
v139 = cocos2d::CCString::intValue(v35);
if ( v156 > 0xF )
{
v36 = Buf2[0];
if ( v156 + 1 >= 0x1000 )
{
v36 = *((void **)Buf2[0] - 1);
if ( (unsigned __int64)((char *)Buf2[0] - (char *)v36 - 8) > 0x1F )
invalid_parameter_noinfo_noreturn();
}
j_j_free(v36);
}
*(_OWORD *)Buf2 = 0;
v155 = 2;
v156 = 15;
strcpy((char *)Buf2, "12");
v37 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(a1, Buf2);
v140 = cocos2d::CCString::intValue(v37);
if ( v156 > 0xF )
{
v38 = Buf2[0];
if ( v156 + 1 >= 0x1000 )
{
v38 = *((void **)Buf2[0] - 1);
if ( (unsigned __int64)((char *)Buf2[0] - (char *)v38 - 8) > 0x1F )
invalid_parameter_noinfo_noreturn();
}
j_j_free(v38);
}
*(_OWORD *)Buf2 = 0;
v155 = 2;
v156 = 15;
strcpy((char *)Buf2, "13");
v39 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(a1, Buf2);
v141 = cocos2d::CCString::intValue(v39);
if ( v156 > 0xF )
{
v40 = Buf2[0];
if ( v156 + 1 >= 0x1000 )
{
v40 = *((void **)Buf2[0] - 1);
if ( (unsigned __int64)((char *)Buf2[0] - (char *)v40 - 8) > 0x1F )
invalid_parameter_noinfo_noreturn();
}
j_j_free(v40);
}
*(_OWORD *)Buf2 = 0;
v155 = 2;
v156 = 15;
strcpy((char *)Buf2, "14");
v41 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(a1, Buf2);
v142 = cocos2d::CCString::intValue(v41);
if ( v156 > 0xF )
{
v42 = Buf2[0];
if ( v156 + 1 >= 0x1000 )
{
v42 = *((void **)Buf2[0] - 1);
if ( (unsigned __int64)((char *)Buf2[0] - (char *)v42 - 8) > 0x1F )
invalid_parameter_noinfo_noreturn();
}
j_j_free(v42);
}
*(_OWORD *)Buf2 = 0;
v155 = 2;
v156 = 15;
strcpy((char *)Buf2, "16");
v43 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(a1, Buf2);
v143 = cocos2d::CCString::intValue(v43);
if ( v156 > 0xF )
{
v44 = Buf2[0];
if ( v156 + 1 >= 0x1000 )
{
v44 = *((void **)Buf2[0] - 1);
if ( (unsigned __int64)((char *)Buf2[0] - (char *)v44 - 8) > 0x1F )
invalid_parameter_noinfo_noreturn();
}
j_j_free(v44);
}
*(_OWORD *)Buf2 = 0;
v155 = 2;
v156 = 15;
strcpy((char *)Buf2, "15");
v45 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(a1, Buf2);
v144 = cocos2d::CCString::intValue(v45);
if ( v156 > 0xF )
{
v46 = Buf2[0];
if ( v156 + 1 >= 0x1000 )
{
v46 = *((void **)Buf2[0] - 1);
if ( (unsigned __int64)((char *)Buf2[0] - (char *)v46 - 8) > 0x1F )
invalid_parameter_noinfo_noreturn();
}
j_j_free(v46);
}
*(_OWORD *)Buf2 = 0;
v155 = 2;
v156 = 15;
strcpy((char *)Buf2, "17");
v47 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(a1, Buf2);
v130 = cocos2d::CCString::boolValue(v47);
if ( v156 > 0xF )
{
v48 = Buf2[0];
if ( v156 + 1 >= 0x1000 )
{
v48 = *((void **)Buf2[0] - 1);
if ( (unsigned __int64)((char *)Buf2[0] - (char *)v48 - 8) > 0x1F )
invalid_parameter_noinfo_noreturn();
}
j_j_free(v48);
}
*(_OWORD *)Buf2 = 0;
v155 = 2;
v156 = 15;
strcpy((char *)Buf2, "43");
v49 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(a1, Buf2);
v145 = cocos2d::CCString::intValue(v49);
if ( v156 > 0xF )
{
v50 = Buf2[0];
if ( v156 + 1 >= 0x1000 )
{
v50 = *((void **)Buf2[0] - 1);
if ( (unsigned __int64)((char *)Buf2[0] - (char *)v50 - 8) > 0x1F )
invalid_parameter_noinfo_noreturn();
}
j_j_free(v50);
}
*(_OWORD *)Buf2 = 0;
v155 = 2;
v156 = 15;
strcpy((char *)Buf2, "18");
v51 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(a1, Buf2);
v146 = cocos2d::CCString::intValue(v51);
if ( v156 > 0xF )
{
v52 = Buf2[0];
if ( v156 + 1 >= 0x1000 )
{
v52 = *((void **)Buf2[0] - 1);
if ( (unsigned __int64)((char *)Buf2[0] - (char *)v52 - 8) > 0x1F )
invalid_parameter_noinfo_noreturn();
}
j_j_free(v52);
}
*(_OWORD *)Buf2 = 0;
v155 = 2;
v156 = 15;
strcpy((char *)Buf2, "37");
v53 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(a1, Buf2);
v149 = cocos2d::CCString::intValue(v53);
if ( v156 > 0xF )
{
v54 = Buf2[0];
if ( v156 + 1 >= 0x1000 )
{
v54 = *((void **)Buf2[0] - 1);
if ( (unsigned __int64)((char *)Buf2[0] - (char *)v54 - 8) > 0x1F )
invalid_parameter_noinfo_noreturn();
}
j_j_free(v54);
}
*(_OWORD *)Buf2 = 0;
v155 = 2;
v156 = 15;
strcpy((char *)Buf2, "38");
v55 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(a1, Buf2);
v132 = cocos2d::CCString::boolValue(v55);
if ( v156 > 0xF )
{
v56 = Buf2[0];
if ( v156 + 1 >= 0x1000 )
{
v56 = *((void **)Buf2[0] - 1);
if ( (unsigned __int64)((char *)Buf2[0] - (char *)v56 - 8) > 0x1F )
invalid_parameter_noinfo_noreturn();
}
j_j_free(v56);
}
*(_OWORD *)Buf2 = 0;
v155 = 2;
v156 = 15;
strcpy((char *)Buf2, "19");
v57 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(a1, Buf2);
v147 = cocos2d::CCString::intValue(v57);
if ( v156 > 0xF )
{
v58 = Buf2[0];
if ( v156 + 1 >= 0x1000 )
{
v58 = *((void **)Buf2[0] - 1);
if ( (unsigned __int64)((char *)Buf2[0] - (char *)v58 - 8) > 0x1F )
invalid_parameter_noinfo_noreturn();
}
j_j_free(v58);
}
*(_OWORD *)Buf2 = 0;
v155 = 2;
v156 = 15;
strcpy((char *)Buf2, "42");
v59 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(a1, Buf2);
v148 = cocos2d::CCString::intValue(v59);
if ( v156 > 0xF )
{
v60 = Buf2[0];
if ( v156 + 1 >= 0x1000 )
{
v60 = *((void **)Buf2[0] - 1);
if ( (unsigned __int64)((char *)Buf2[0] - (char *)v60 - 8) > 0x1F )
invalid_parameter_noinfo_noreturn();
}
j_j_free(v60);
}
*(_OWORD *)Buf2 = 0;
v155 = 2;
v156 = 15;
strcpy((char *)Buf2, "45");
v61 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(a1, Buf2);
v151 = cocos2d::CCString::intValue(v61);
if ( v156 > 0xF )
{
v62 = Buf2[0];
if ( v156 + 1 >= 0x1000 )
{
v62 = *((void **)Buf2[0] - 1);
if ( (unsigned __int64)((char *)Buf2[0] - (char *)v62 - 8) > 0x1F )
invalid_parameter_noinfo_noreturn();
}
j_j_free(v62);
}
*(_OWORD *)Buf2 = 0;
v155 = 2;
v156 = 15;
strcpy((char *)Buf2, "25");
v63 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(a1, Buf2);
v131 = cocos2d::CCString::boolValue(v63);
if ( v156 > 0xF )
{
v64 = Buf2[0];
if ( v156 + 1 >= 0x1000 )
{
v64 = *((void **)Buf2[0] - 1);
if ( (unsigned __int64)((char *)Buf2[0] - (char *)v64 - 8) > 0x1F )
invalid_parameter_noinfo_noreturn();
}
j_j_free(v64);
}
*(_OWORD *)Buf2 = 0;
v155 = 2;
v156 = 15;
strcpy((char *)Buf2, "39");
v65 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(a1, Buf2);
v150 = cocos2d::CCString::intValue(v65);
if ( v156 > 0xF )
{
v66 = Buf2[0];
if ( v156 + 1 >= 0x1000 )
{
v66 = *((void **)Buf2[0] - 1);
if ( (unsigned __int64)((char *)Buf2[0] - (char *)v66 - 8) > 0x1F )
invalid_parameter_noinfo_noreturn();
}
j_j_free(v66);
}
v67 = 0;
sub_14003A7F0((__int64)v160, (__int64)"27");
v68 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(a1, v160);
v69 = cocos2d::CCString::getCString(v68);
sub_14003A7F0((__int64)Buf2, (__int64)v69);
sub_14003A830((__int64)v160);
if ( v155 >= 2 )
{
v70 = sub_14003A7F0((__int64)v161, (__int64)"26364");
cocos2d::ZipUtils::base64DecodeEnc(Block, Buf2, v70);
v71 = (const char *)sub_14003A7D0(Block);
v67 = atoi(v71);
sub_14003A830((__int64)Block);
}
sub_14003A830((__int64)Buf2);
*(_OWORD *)Buf2 = 0;
v155 = 2;
v156 = 15;
strcpy((char *)Buf2, "30");
v72 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(a1, Buf2);
v153 = cocos2d::CCString::intValue(v72);
if ( v156 > 0xF )
{
v73 = Buf2[0];
if ( v156 + 1 >= 0x1000 )
{
v73 = *((void **)Buf2[0] - 1);
if ( (unsigned __int64)((char *)Buf2[0] - (char *)v73 - 8) > 0x1F )
invalid_parameter_noinfo_noreturn();
}
j_j_free(v73);
}
*(_OWORD *)Buf2 = 0;
v155 = 2;
v156 = 15;
strcpy((char *)Buf2, "31");
v74 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(a1, Buf2);
v129 = cocos2d::CCString::boolValue(v74);
if ( v156 > 0xF )
{
v75 = Buf2[0];
if ( v156 + 1 >= 0x1000 )
{
v75 = *((void **)Buf2[0] - 1);
if ( (unsigned __int64)((char *)Buf2[0] - (char *)v75 - 8) > 0x1F )
invalid_parameter_noinfo_noreturn();
}
j_j_free(v75);
}
*(_OWORD *)Buf2 = 0;
v155 = 2;
v156 = 15;
strcpy((char *)Buf2, "35");
v76 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(a1, Buf2);
v77 = cocos2d::CCString::intValue(v76);
if ( v156 > 0xF )
{
v78 = Buf2[0];
if ( v156 + 1 >= 0x1000 )
{
v78 = *((void **)Buf2[0] - 1);
if ( (unsigned __int64)((char *)Buf2[0] - (char *)v78 - 8) > 0x1F )
invalid_parameter_noinfo_noreturn();
}
j_j_free(v78);
}
*(_OWORD *)Block = 0;
v158 = 2;
v159 = 15;
strcpy((char *)Block, "36");
v79 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(a1, Block);
v80 = cocos2d::CCString::getCString(v79);
v177 = 0;
v178 = 0;
v179 = 0;
v81 = -1;
do
++v81;
while ( v80[v81] );
sub_14003A930(&v177, v80, v81);
if ( v159 > 0xF )
{
v82 = Block[0];
if ( v159 + 1 >= 0x1000 )
{
v82 = *((void **)Block[0] - 1);
if ( (unsigned __int64)((char *)Block[0] - (char *)v82 - 8) > 0x1F )
invalid_parameter_noinfo_noreturn();
}
j_j_free(v82);
}
v158 = 0;
v159 = 15;
LOBYTE(Block[0]) = 0;
v133 = (GJGameLevel *)operator new(0x5C8u);
v83 = GJGameLevel::GJGameLevel(v133);
v84 = (__int64)v83;
if ( v83 )
{
if ( v83->init(v83) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v84);
}
else
{
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v84 + 8LL))(v84, 1);
v84 = 0;
}
}
v85 = qword_1406C2EC0;
if ( !qword_1406C2EC0 )
{
v134 = operator new(0x3D0u);
qword_1406C2EC0 = sub_140141280((__int64)v134);
(*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2EC0 + 72LL))(qword_1406C2EC0);
v85 = qword_1406C2EC0;
}
v86 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(*(cocos2d::CCDictionary **)(v85 + 536), v21);
v87 = cocos2d::CCString::intValue(v86);
v88 = qword_1406C2EC0;
if ( !qword_1406C2EC0 )
{
v135 = operator new(0x3D0u);
qword_1406C2EC0 = sub_140141280((__int64)v135);
(*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2EC0 + 72LL))(qword_1406C2EC0);
v88 = qword_1406C2EC0;
}
GameLevelManager::userNameForUserID(v88, v180, v21);
if ( v180[2] < 2u )
{
v89 = GameLevelManager::sharedState();
Username = GameLevelManager::tryGetUsername((__int64)v89, (__int64)v161, v87);
sub_140051590((__int64)v180, Username);
sub_14003A830((__int64)v161);
}
sub_140141A60((_DWORD *)v84, v152);
v91 = (void **)sub_14003BDB0((__int64)v161, (__int64)v174);
sub_1400D5030(v84, v91);
*(_DWORD *)(v84 + 744) = v136;
v92 = (void **)sub_14003BDB0((__int64)v161, (__int64)v171);
sub_1400D5090(v84, v92);
v93 = (void **)sub_14003BDB0((__int64)v161, (__int64)Buf1);
sub_1400D9E10(v84, v93);
sub_140141C30((_DWORD *)v84, v21);
v94 = (void **)sub_14003BDB0((__int64)v161, (__int64)v180);
sub_140141AB0(v84, v94);
sub_140141C80((_DWORD *)v84, v87);
sub_14003A7F0((__int64)v160, (__int64)&word_14055A668);
v95 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(a1, v160);
v96 = cocos2d::CCString::getCString(v95);
v97 = (void **)sub_14003A7F0((__int64)v161, (__int64)v96);
sub_140141B10(v84, v97);
sub_14003A830((__int64)v160);
*(_DWORD *)(v84 + 700) = v137;
*(_DWORD *)(v84 + 704) = v138;
*(_DWORD *)(v84 + 708) = v139;
*(_DWORD *)(v84 + 668) = v140;
*(_BYTE *)(v84 + 956) = v129;
*(_DWORD *)(v84 + 748) = v141;
*(_DWORD *)(v84 + 848) = v142;
*(_DWORD *)(v84 + 852) = v143;
*(_DWORD *)(v84 + 856) = v144;
sub_140141D20((_DWORD *)v84, v130);
*(_DWORD *)(v84 + 900) = v145;
sub_140141D70((_DWORD *)v84, v146);
*(_DWORD *)(v84 + 860) = v147;
*(_DWORD *)(v84 + 864) = v148;
*(_BYTE *)(v84 + 916) = v131;
sub_140141E10(v84, v67);
sub_1400D50F0((_DWORD *)v84, v153);
*(_DWORD *)(v84 + 672) = v77;
*(_DWORD *)(v84 + 920) = v149;
sub_140141DC0((_DWORD *)v84, v132);
*(_DWORD *)(v84 + 1000) = v150;
v98 = (void **)sub_14003BDB0((__int64)v161, (__int64)&v177);
sub_140141E60(v84, v98);
sub_14003A7F0((__int64)v160, (__int64)"40");
v99 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(a1, v160);
*(_BYTE *)(v84 + 724) = cocos2d::CCString::boolValue(v99);
sub_14003A830((__int64)v160);
sub_14003A7F0((__int64)v160, (__int64)"41");
v100 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(a1, v160);
v101 = cocos2d::CCString::intValue(v100);
sub_140141CD0((_DWORD *)v84, v101);
sub_14003A830((__int64)v160);
sub_14003A7F0((__int64)v160, (__int64)"44");
v102 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(a1, v160);
*(_BYTE *)(v84 + 713) = cocos2d::CCString::boolValue(v102);
sub_14003A830((__int64)v160);
sub_1400D9E70((_DWORD *)v84, v151);
sub_14003A7F0((__int64)v160, (__int64)"46");
v103 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(a1, v160);
*(_DWORD *)(v84 + 716) = cocos2d::CCString::intValue(v103);
sub_14003A830((__int64)v160);
sub_14003A7F0((__int64)v160, (__int64)"47");
v104 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(a1, v160);
*(_DWORD *)(v84 + 720) = cocos2d::CCString::intValue(v104);
sub_14003A830((__int64)v160);
sub_14003A7F0((__int64)v160, (__int64)"57");
v105 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(a1, v160);
*(_DWORD *)(v84 + 1224) = cocos2d::CCString::intValue(v105);
sub_14003A830((__int64)v160);
v106 = (void **)sub_14003BDB0((__int64)v161, (__int64)v168);
sub_140141B70(v84, v106);
v107 = (void **)sub_14003BDB0((__int64)v161, (__int64)v165);
sub_140141BD0(v84, v107);
sub_14003A7F0((__int64)v160, (__int64)"48");
v108 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(a1, v160);
v109 = cocos2d::CCString::getCString(v108);
v110 = sub_14003A7F0((__int64)v161, (__int64)v109);
sub_14003A830(v110);
sub_14003A830((__int64)v160);
sub_14003A7F0((__int64)v160, (__int64)"52");
v111 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(a1, v160);
v112 = (char *)cocos2d::CCString::getCString(v111);
sub_14003CCC0((void *)(v84 + 1232), v112);
sub_14003A830((__int64)v160);
sub_14003A7F0((__int64)v160, (__int64)&word_14055A640);
v113 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(a1, v160);
v114 = (char *)cocos2d::CCString::getCString(v113);
do
++v7;
while ( v114[v7] );
sub_14003CCE0((void **)(v84 + 1264), v114, v7);
sub_14003A830((__int64)v160);
*(_OWORD *)Buf2 = 0;
v155 = 2;
v156 = 15;
strcpy((char *)Buf2, "54");
v115 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(a1, Buf2);
*(_DWORD *)(v84 + 1296) = cocos2d::CCString::intValue(v115);
if ( v156 > 0xF )
{
v116 = Buf2[0];
if ( v156 + 1 >= 0x1000 )
{
v116 = *((void **)Buf2[0] - 1);
if ( (unsigned __int64)((char *)Buf2[0] - (char *)v116 - 8) > 0x1F )
invalid_parameter_noinfo_noreturn();
}
j_j_free(v116);
}
*(_OWORD *)Buf2 = 0;
v155 = 0;
v156 = 15;
LOBYTE(Buf2[0]) = 0;
v117 = Buf1;
v118 = (char *)Buf1[0];
v119 = v164;
if ( v164 > 0xF )
v117 = (void **)Buf1[0];
v120 = v163;
v121 = v163;
if ( v163 )
v121 = 0;
if ( !memcmp(v117, Buf2, v121) && !v120 )
v122 = 4;
else
v122 = 3;
*(_DWORD *)(v84 + 1108) = v122;
sub_14003A830((__int64)v180);
sub_14003A830((__int64)&v177);
if ( v167 > 0xF )
{
v123 = v165[0];
if ( v167 + 1 >= 0x1000 )
{
v123 = *((void **)v165[0] - 1);
if ( (unsigned __int64)((char *)v165[0] - (char *)v123 - 8) > 0x1F )
invalid_parameter_noinfo_noreturn();
}
j_j_free(v123);
}
if ( v170 > 0xF )
{
v124 = v168[0];
if ( v170 + 1 >= 0x1000 )
{
v124 = *((void **)v168[0] - 1);
if ( (unsigned __int64)((char *)v168[0] - (char *)v124 - 8) > 0x1F )
invalid_parameter_noinfo_noreturn();
}
j_j_free(v124);
}
if ( v119 > 0xF )
{
v125 = v118;
if ( v119 + 1 >= 0x1000 )
{
v118 = *((char **)v118 - 1);
if ( (unsigned __int64)(v125 - v118 - 8) > 0x1F )
invalid_parameter_noinfo_noreturn();
}
j_j_free(v118);
}
if ( v173 > 0xF )
{
v126 = v171[0];
if ( v173 + 1 >= 0x1000 )
{
v126 = *((void **)v171[0] - 1);
if ( (unsigned __int64)((char *)v171[0] - (char *)v126 - 8) > 0x1F )
invalid_parameter_noinfo_noreturn();
}
j_j_free(v126);
}
if ( v176 > 0xF )
{
v127 = v174[0];
if ( v176 + 1 >= 0x1000 )
{
v127 = *((void **)v174[0] - 1);
if ( (unsigned __int64)((char *)v174[0] - (char *)v127 - 8) > 0x1F )
invalid_parameter_noinfo_noreturn();
}
j_j_free(v127);
}
return (GJGameLevel *)v84;
}