//
// GJGameLevel::create from 0x10052efa0 to 0x100530d02 (7522 bytes)
//
// 2 xrefs:
// > GameLevelManager::createAndGetLevels @ 0x10052ef07
// > GameLevelManager::processOnDownloadLevelCompleted @ 0x100544d50
//
// 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
//
GJGameLevel *__fastcall GJGameLevel::create(cocos2d::CCDictionary *a1, bool a2)
{
double v2; // xmm0_8
cocos2d::CCDictionary *v3; // rbx
cocos2d::CCString *v4; // rax
cocos2d::CCString *v5; // rax
const char *CString; // r14
size_t v7; // rax
size_t v8; // r15
char *v9; // r12
cocos2d::CCString *v10; // rax
const char *v11; // r14
size_t v12; // rax
size_t v13; // r15
char *v14; // r12
cocos2d::CCString *v15; // rax
const char *v16; // r14
size_t v17; // rax
size_t v18; // r15
char *v19; // r12
cocos2d::CCString *v20; // rax
int v21; // r14d
cocos2d::CCString *v22; // rax
cocos2d::CCString *v23; // rax
const char *v24; // r14
size_t v25; // rax
size_t v26; // r15
char *v27; // r12
cocos2d::CCString *v28; // rax
const char *v29; // r14
size_t v30; // rax
size_t v31; // r15
char *v32; // r12
cocos2d::CCString *v33; // rax
cocos2d::CCString *v34; // rax
cocos2d::CCString *v35; // rax
cocos2d::CCString *v36; // rax
cocos2d::CCString *v37; // rax
cocos2d::CCString *v38; // rax
cocos2d::CCString *v39; // rax
cocos2d::CCString *v40; // rax
cocos2d::CCString *v41; // rax
cocos2d::CCString *v42; // rax
cocos2d::CCString *v43; // rax
cocos2d::CCString *v44; // rax
cocos2d::CCString *v45; // rax
cocos2d::CCString *v46; // rax
cocos2d::CCString *v47; // rax
cocos2d::CCString *v48; // rax
cocos2d::CCString *v49; // rax
cocos2d::CCString *v50; // rax
bool v51; // zf
cocos2d::CCString *v52; // rax
const char *v53; // r14
size_t v54; // rax
size_t v55; // r15
char *v56; // r12
unsigned __int64 v57; // rcx
size_t v58; // r13
size_t v59; // r13
size_t v60; // r13
size_t v61; // r13
size_t v62; // r13
cocos2d::CCString *v63; // rax
int v64; // r14d
size_t v65; // r13
std::string::pointer data; // rbx
std::string::pointer v67; // rdi
cocos2d::CCString *v68; // rax
cocos2d::CCString *v69; // rax
bool v70; // r15
cocos2d::CCString *v71; // rax
int v72; // eax
cocos2d::CCString *v73; // rax
const char *v74; // r15
size_t v75; // rax
size_t v76; // r12
char *v77; // r13
char *v78; // r13
__int64 v79; // rax
size_t v80; // r14
char *v81; // r12
cocos2d::CCString *v82; // rax
int v83; // r12d
__int64 v84; // rsi
char *v85; // r15
std::string::__short::$7162EEB0FEF29CC674EFA33D0008C7E0 v86; // bl
__int64 v87; // rsi
char *v88; // r15
int v89; // ebx
double v90; // xmm0_8
double v91; // xmm0_8
double v92; // xmm0_8
cocos2d::CCString *v93; // rax
const char *v94; // r15
size_t v95; // rax
std::string::size_type v96; // r12
char *v97; // r14
size_t v98; // rbx
bool v99; // bl
_BOOL4 v100; // ebx
float v101; // xmm0_4
float v102; // xmm0_4
float v103; // xmm0_4
float v104; // xmm0_4
_BOOL4 v105; // ebx
double v106; // xmm0_8
cocos2d::CCDictionary *v107; // rbx
cocos2d::CCString *v108; // rax
cocos2d::CCString *v109; // rax
int v110; // r14d
int v111; // eax
cocos2d::CCString *v112; // rax
double v113; // xmm0_8
cocos2d::CCDictionary *v114; // rbx
cocos2d::CCString *v115; // rax
cocos2d::CCString *v116; // rax
cocos2d::CCString *v117; // rax
cocos2d::CCDictionary *v118; // rbx
cocos2d::CCString *v119; // rax
const char *v120; // r14
size_t v121; // rax
size_t v122; // r15
char *v123; // r12
cocos2d::CCDictionary *v124; // rbx
cocos2d::CCString *v125; // rax
const char *v126; // rax
cocos2d::CCString *v127; // rax
const char *v128; // rax
cocos2d::CCString *v129; // rax
char v130; // r14
__int64 v131; // rax
size_t v132; // rbx
void *v133; // rbx
_QWORD v135[2]; // [rsp+0h] [rbp-280h] BYREF
void *v136; // [rsp+10h] [rbp-270h]
__int128 v137; // [rsp+18h] [rbp-268h] BYREF
void *v138; // [rsp+28h] [rbp-258h]
std::string __str; // [rsp+30h] [rbp-250h] BYREF
std::string v140; // [rsp+50h] [rbp-230h] BYREF
std::string v141; // [rsp+70h] [rbp-210h] BYREF
std::string v142; // [rsp+90h] [rbp-1F0h] BYREF
std::string v143; // [rsp+B0h] [rbp-1D0h] BYREF
std::string v144; // [rsp+D0h] [rbp-1B0h] BYREF
std::string v145; // [rsp+F0h] [rbp-190h] BYREF
std::string v146; // [rsp+110h] [rbp-170h] BYREF
int v147; // [rsp+128h] [rbp-158h]
int v148; // [rsp+12Ch] [rbp-154h]
int v149; // [rsp+130h] [rbp-150h]
int v150; // [rsp+134h] [rbp-14Ch]
int v151; // [rsp+138h] [rbp-148h]
int v152; // [rsp+13Ch] [rbp-144h]
int v153; // [rsp+140h] [rbp-140h]
int v154; // [rsp+144h] [rbp-13Ch]
int v155; // [rsp+148h] [rbp-138h]
int v156; // [rsp+14Ch] [rbp-134h]
int v157; // [rsp+150h] [rbp-130h]
int v158; // [rsp+154h] [rbp-12Ch]
int v159; // [rsp+158h] [rbp-128h]
int v160; // [rsp+15Ch] [rbp-124h]
int v161; // [rsp+160h] [rbp-120h]
int v162; // [rsp+164h] [rbp-11Ch]
int v163; // [rsp+168h] [rbp-118h]
int v164; // [rsp+16Ch] [rbp-114h]
int v165; // [rsp+170h] [rbp-110h]
int v166; // [rsp+174h] [rbp-10Ch]
__int128 __dst; // [rsp+178h] [rbp-108h] BYREF
void *__p; // [rsp+188h] [rbp-F8h]
__int128 v169; // [rsp+190h] [rbp-F0h] BYREF
void *v170; // [rsp+1A0h] [rbp-E0h]
__int128 v171; // [rsp+1A8h] [rbp-D8h] BYREF
void *v172; // [rsp+1B8h] [rbp-C8h]
__int128 v173; // [rsp+1C0h] [rbp-C0h] BYREF
void *v174; // [rsp+1D0h] [rbp-B0h]
cocos2d::CCDictionary *v175; // [rsp+1D8h] [rbp-A8h]
int v176; // [rsp+1E4h] [rbp-9Ch]
__int128 v177; // [rsp+1E8h] [rbp-98h] BYREF
void *v178; // [rsp+1F8h] [rbp-88h]
std::string v179; // [rsp+200h] [rbp-80h] BYREF
bool v180; // [rsp+224h] [rbp-5Ch]
bool v181; // [rsp+225h] [rbp-5Bh]
bool v182; // [rsp+226h] [rbp-5Ah]
bool v183; // [rsp+227h] [rbp-59h]
std::string v184; // [rsp+228h] [rbp-58h] BYREF
__int128 v185; // [rsp+240h] [rbp-40h] BYREF
void *v186; // [rsp+250h] [rbp-30h]
LODWORD(v175) = a2;
v3 = a1;
LOWORD(__dst) = 12546;
BYTE2(__dst) = 0;
v4 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey_1((__int64)a1, (__int64)&__dst);
v147 = cocos2d::CCString::intValue(v4);
if ( (__dst & 1) != 0 )
operator delete(__p);
LOWORD(v169) = 12802;
BYTE2(v169) = 0;
v5 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey_1((__int64)a1, (__int64)&v169);
CString = cocos2d::CCString::getCString(v5);
v7 = strlen(CString);
if ( v7 >= 0xFFFFFFFFFFFFFFF8LL )
sub_100006BF0(v2);
v8 = v7;
if ( v7 >= 0x17 )
{
v58 = 26;
if ( (v7 | 7) != 0x17 )
v58 = (v7 | 7) + 1;
v9 = (char *)operator new(v58);
__p = v9;
*(_QWORD *)&__dst = v58 | 1;
*((_QWORD *)&__dst + 1) = v8;
}
else
{
LOBYTE(__dst) = 2 * v7;
v9 = (char *)&__dst + 1;
if ( !v7 )
{
BYTE1(__dst) = 0;
if ( (v169 & 1) == 0 )
goto LABEL_8;
goto LABEL_7;
}
}
memmove(v9, CString, v8);
v9[v8] = 0;
if ( (v169 & 1) != 0 )
LABEL_7:
operator delete(v170);
LABEL_8:
LOWORD(v171) = 13058;
BYTE2(v171) = 0;
v10 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey_1((__int64)a1, (__int64)&v171);
v11 = cocos2d::CCString::getCString(v10);
v12 = strlen(v11);
if ( v12 >= 0xFFFFFFFFFFFFFFF8LL )
sub_100006BF0(v2);
v13 = v12;
if ( v12 >= 0x17 )
{
v59 = 26;
if ( (v12 | 7) != 0x17 )
v59 = (v12 | 7) + 1;
v14 = (char *)operator new(v59);
v170 = v14;
*(_QWORD *)&v169 = v59 | 1;
*((_QWORD *)&v169 + 1) = v13;
}
else
{
LOBYTE(v169) = 2 * v12;
v14 = (char *)&v169 + 1;
if ( !v12 )
{
BYTE1(v169) = 0;
if ( (v171 & 1) == 0 )
goto LABEL_13;
goto LABEL_12;
}
}
memmove(v14, v11, v13);
v14[v13] = 0;
if ( (v171 & 1) != 0 )
LABEL_12:
operator delete(v172);
LABEL_13:
LOWORD(v177) = 13314;
BYTE2(v177) = 0;
v15 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey_1((__int64)a1, (__int64)&v177);
v16 = cocos2d::CCString::getCString(v15);
v17 = strlen(v16);
if ( v17 >= 0xFFFFFFFFFFFFFFF8LL )
sub_100006BF0(v2);
v18 = v17;
if ( v17 >= 0x17 )
{
v60 = 26;
if ( (v17 | 7) != 0x17 )
v60 = (v17 | 7) + 1;
v19 = (char *)operator new(v60);
v172 = v19;
*(_QWORD *)&v171 = v60 | 1;
*((_QWORD *)&v171 + 1) = v18;
}
else
{
LOBYTE(v171) = 2 * v17;
v19 = (char *)&v171 + 1;
if ( !v17 )
{
BYTE1(v171) = 0;
if ( (v177 & 1) == 0 )
goto LABEL_18;
goto LABEL_17;
}
}
memmove(v19, v16, v18);
v19[v18] = 0;
if ( (v177 & 1) != 0 )
LABEL_17:
operator delete(v178);
LABEL_18:
LOWORD(v177) = 13570;
BYTE2(v177) = 0;
v20 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey_1((__int64)a1, (__int64)&v177);
v21 = cocos2d::CCString::intValue(v20);
if ( (v177 & 1) != 0 )
operator delete(v178);
LOWORD(v177) = 13826;
BYTE2(v177) = 0;
v22 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey_1((__int64)a1, (__int64)&v177);
v176 = cocos2d::CCString::intValue(v22);
v148 = v21;
if ( (v177 & 1) != 0 )
operator delete(v178);
LOBYTE(v173) = 4;
*(_WORD *)((char *)&v173 + 1) = 14386;
BYTE3(v173) = 0;
v23 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey_1((__int64)a1, (__int64)&v173);
v24 = cocos2d::CCString::getCString(v23);
v25 = strlen(v24);
if ( v25 >= 0xFFFFFFFFFFFFFFF8LL )
sub_100006BF0(v2);
v26 = v25;
if ( v25 >= 0x17 )
{
v61 = 26;
if ( (v25 | 7) != 0x17 )
v61 = (v25 | 7) + 1;
v27 = (char *)operator new(v61);
v178 = v27;
*(_QWORD *)&v177 = v61 | 1;
*((_QWORD *)&v177 + 1) = v26;
}
else
{
LOBYTE(v177) = 2 * v25;
v27 = (char *)&v177 + 1;
if ( !v25 )
{
BYTE1(v177) = 0;
if ( (v173 & 1) == 0 )
goto LABEL_27;
goto LABEL_26;
}
}
memmove(v27, v24, v26);
v27[v26] = 0;
if ( (v173 & 1) != 0 )
LABEL_26:
operator delete(v174);
LABEL_27:
LOBYTE(v185) = 4;
*(_WORD *)((char *)&v185 + 1) = 14642;
BYTE3(v185) = 0;
v28 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey_1((__int64)a1, (__int64)&v185);
v29 = cocos2d::CCString::getCString(v28);
v30 = strlen(v29);
if ( v30 >= 0xFFFFFFFFFFFFFFF8LL )
sub_100006BF0(v2);
v31 = v30;
if ( v30 >= 0x17 )
{
v62 = 26;
if ( (v30 | 7) != 0x17 )
v62 = (v30 | 7) + 1;
v32 = (char *)operator new(v62);
v174 = v32;
*(_QWORD *)&v173 = v62 | 1;
*((_QWORD *)&v173 + 1) = v31;
}
else
{
LOBYTE(v173) = 2 * v30;
v32 = (char *)&v173 + 1;
if ( !v30 )
{
BYTE1(v173) = 0;
if ( (v185 & 1) == 0 )
goto LABEL_32;
goto LABEL_31;
}
}
memmove(v32, v29, v31);
v32[v31] = 0;
if ( (v185 & 1) != 0 )
LABEL_31:
operator delete(v186);
LABEL_32:
LOWORD(v185) = 14338;
BYTE2(v185) = 0;
v33 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey_1((__int64)a1, (__int64)&v185);
v149 = cocos2d::CCString::intValue(v33);
if ( (v185 & 1) != 0 )
operator delete(v186);
LOWORD(v185) = 14594;
BYTE2(v185) = 0;
v34 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey_1((__int64)a1, (__int64)&v185);
v150 = cocos2d::CCString::intValue(v34);
if ( (v185 & 1) != 0 )
operator delete(v186);
LOBYTE(v185) = 4;
*(_WORD *)((char *)&v185 + 1) = 12337;
BYTE3(v185) = 0;
v35 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey_1((__int64)a1, (__int64)&v185);
v151 = cocos2d::CCString::intValue(v35);
if ( (v185 & 1) != 0 )
operator delete(v186);
LOBYTE(v185) = 4;
*(_WORD *)((char *)&v185 + 1) = 12849;
BYTE3(v185) = 0;
v36 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey_1((__int64)a1, (__int64)&v185);
v152 = cocos2d::CCString::intValue(v36);
if ( (v185 & 1) != 0 )
operator delete(v186);
LOBYTE(v185) = 4;
*(_WORD *)((char *)&v185 + 1) = 13105;
BYTE3(v185) = 0;
v37 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey_1((__int64)a1, (__int64)&v185);
v153 = cocos2d::CCString::intValue(v37);
if ( (v185 & 1) != 0 )
operator delete(v186);
LOBYTE(v185) = 4;
*(_WORD *)((char *)&v185 + 1) = 13361;
BYTE3(v185) = 0;
v38 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey_1((__int64)a1, (__int64)&v185);
v154 = cocos2d::CCString::intValue(v38);
if ( (v185 & 1) != 0 )
operator delete(v186);
LOBYTE(v185) = 4;
*(_WORD *)((char *)&v185 + 1) = 13873;
BYTE3(v185) = 0;
v39 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey_1((__int64)a1, (__int64)&v185);
v155 = cocos2d::CCString::intValue(v39);
if ( (v185 & 1) != 0 )
operator delete(v186);
LOBYTE(v185) = 4;
*(_WORD *)((char *)&v185 + 1) = 13617;
BYTE3(v185) = 0;
v40 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey_1((__int64)a1, (__int64)&v185);
v156 = cocos2d::CCString::intValue(v40);
if ( (v185 & 1) != 0 )
operator delete(v186);
LOBYTE(v185) = 4;
*(_WORD *)((char *)&v185 + 1) = 14129;
BYTE3(v185) = 0;
v41 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey_1((__int64)a1, (__int64)&v185);
v180 = cocos2d::CCString::boolValue(v41);
if ( (v185 & 1) != 0 )
operator delete(v186);
LOBYTE(v185) = 4;
*(_WORD *)((char *)&v185 + 1) = 13108;
BYTE3(v185) = 0;
v42 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey_1((__int64)a1, (__int64)&v185);
v157 = cocos2d::CCString::intValue(v42);
if ( (v185 & 1) != 0 )
operator delete(v186);
LOBYTE(v185) = 4;
*(_WORD *)((char *)&v185 + 1) = 14385;
BYTE3(v185) = 0;
v43 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey_1((__int64)a1, (__int64)&v185);
v164 = cocos2d::CCString::intValue(v43);
if ( (v185 & 1) != 0 )
operator delete(v186);
LOBYTE(v185) = 4;
*(_WORD *)((char *)&v185 + 1) = 14131;
BYTE3(v185) = 0;
v44 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey_1((__int64)a1, (__int64)&v185);
v158 = cocos2d::CCString::intValue(v44);
if ( (v185 & 1) != 0 )
operator delete(v186);
LOBYTE(v185) = 4;
*(_WORD *)((char *)&v185 + 1) = 14387;
BYTE3(v185) = 0;
v45 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey_1((__int64)a1, (__int64)&v185);
v181 = cocos2d::CCString::boolValue(v45);
if ( (v185 & 1) != 0 )
operator delete(v186);
LOBYTE(v185) = 4;
*(_WORD *)((char *)&v185 + 1) = 14641;
BYTE3(v185) = 0;
v46 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey_1((__int64)a1, (__int64)&v185);
v159 = cocos2d::CCString::intValue(v46);
if ( (v185 & 1) != 0 )
operator delete(v186);
LOBYTE(v185) = 4;
*(_WORD *)((char *)&v185 + 1) = 12852;
BYTE3(v185) = 0;
v47 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey_1((__int64)a1, (__int64)&v185);
v160 = cocos2d::CCString::intValue(v47);
if ( (v185 & 1) != 0 )
operator delete(v186);
LOBYTE(v185) = 4;
*(_WORD *)((char *)&v185 + 1) = 13620;
BYTE3(v185) = 0;
v48 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey_1((__int64)a1, (__int64)&v185);
v166 = cocos2d::CCString::intValue(v48);
if ( (v185 & 1) != 0 )
operator delete(v186);
LOBYTE(v185) = 4;
*(_WORD *)((char *)&v185 + 1) = 13618;
BYTE3(v185) = 0;
v49 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey_1((__int64)a1, (__int64)&v185);
v182 = cocos2d::CCString::boolValue(v49);
if ( (v185 & 1) != 0 )
operator delete(v186);
LOBYTE(v185) = 4;
*(_WORD *)((char *)&v185 + 1) = 14643;
BYTE3(v185) = 0;
v50 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey_1((__int64)a1, (__int64)&v185);
v161 = cocos2d::CCString::intValue(v50);
if ( (v185 & 1) != 0 )
operator delete(v186);
v51 = (_BYTE)v175 == 0;
v175 = a1;
if ( !v51 )
{
v179.__r_.__value_.__s.0 = (std::string::__short::$7162EEB0FEF29CC674EFA33D0008C7E0)4;
strcpy(v179.__r_.__value_.__s.__data_, "27");
v52 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey_1((__int64)a1, (__int64)&v179);
v53 = cocos2d::CCString::getCString(v52);
v54 = strlen(v53);
if ( v54 >= 0xFFFFFFFFFFFFFFF8LL )
sub_100006BF0(v2);
v55 = v54;
if ( v54 >= 0x17 )
{
v65 = 26;
if ( (v54 | 7) != 0x17 )
v65 = (v54 | 7) + 1;
v56 = (char *)operator new(v65);
v186 = v56;
*(_QWORD *)&v185 = v65 | 1;
*((_QWORD *)&v185 + 1) = v55;
}
else
{
LOBYTE(v185) = 2 * v54;
v56 = (char *)&v185 + 1;
if ( !v54 )
{
BYTE1(v185) = 0;
if ( (*(_BYTE *)&v179.__r_.__value_.__s.0 & 1) == 0 )
goto LABEL_74;
goto LABEL_73;
}
}
memmove(v56, v53, v55);
v56[v55] = 0;
if ( (*(_BYTE *)&v179.__r_.__value_.__s.0 & 1) == 0 )
{
LABEL_74:
if ( (v185 & 1) != 0 )
{
v57 = *((_QWORD *)&v185 + 1);
if ( !*((_QWORD *)&v185 + 1) )
goto LABEL_115;
}
else
{
if ( !(_BYTE)v185 )
{
v64 = 0;
goto LABEL_121;
}
v57 = (unsigned __int8)v185 >> 1;
}
if ( v57 >= 2 )
{
strcpy((char *)&v137, "\n26364");
cocos2d::ZipUtils::base64DecodeEnc(&v179, (unsigned __int8 *)&v185, &v137, v2);
if ( (v137 & 1) != 0 )
operator delete(v138);
if ( (*(_BYTE *)&v179.__r_.__value_.__s.0 & 1) != 0 )
{
data = v179.__r_.__value_.__l.__data_;
v64 = atoi(v179.__r_.__value_.__l.__data_);
v67 = data;
v3 = v175;
operator delete(v67);
}
else
{
v64 = atoi(v179.__r_.__value_.__s.__data_);
}
if ( (v185 & 1) != 0 )
goto LABEL_120;
goto LABEL_121;
}
LABEL_115:
v64 = 0;
if ( (v185 & 1) == 0 )
goto LABEL_121;
goto LABEL_120;
}
LABEL_73:
operator delete(v179.__r_.__value_.__l.__data_);
goto LABEL_74;
}
LOBYTE(v185) = 4;
*(_WORD *)((char *)&v185 + 1) = 14130;
BYTE3(v185) = 0;
v63 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey_1((__int64)a1, (__int64)&v185);
v64 = cocos2d::CCString::intValue(v63);
if ( (v185 & 1) != 0 )
LABEL_120:
operator delete(v186);
LABEL_121:
LOBYTE(v185) = 4;
*(_WORD *)((char *)&v185 + 1) = 12339;
BYTE3(v185) = 0;
v68 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey_1((__int64)v3, (__int64)&v185);
v165 = cocos2d::CCString::intValue(v68);
if ( (v185 & 1) != 0 )
operator delete(v186);
LOBYTE(v185) = 4;
*(_WORD *)((char *)&v185 + 1) = 12595;
BYTE3(v185) = 0;
v69 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey_1((__int64)v3, (__int64)&v185);
v70 = cocos2d::CCString::boolValue(v69);
if ( (v185 & 1) != 0 )
operator delete(v186);
LOBYTE(v185) = 4;
*(_WORD *)((char *)&v185 + 1) = 13619;
BYTE3(v185) = 0;
v71 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey_1((__int64)v3, (__int64)&v185);
v72 = cocos2d::CCString::intValue(v71);
v183 = v70;
v163 = v72;
v162 = v64;
if ( (v185 & 1) != 0 )
operator delete(v186);
v179.__r_.__value_.__s.0 = (std::string::__short::$7162EEB0FEF29CC674EFA33D0008C7E0)4;
strcpy(v179.__r_.__value_.__s.__data_, "36");
v73 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey_1((__int64)v3, (__int64)&v179);
v74 = cocos2d::CCString::getCString(v73);
v75 = strlen(v74);
if ( v75 >= 0xFFFFFFFFFFFFFFF8LL )
sub_100006BF0(v2);
v76 = v75;
if ( v75 >= 0x17 )
{
v80 = 26;
if ( (v75 | 7) != 0x17 )
v80 = (v75 | 7) + 1;
v77 = (char *)operator new(v80);
v186 = v77;
*(_QWORD *)&v185 = v80 | 1;
*((_QWORD *)&v185 + 1) = v76;
}
else
{
LOBYTE(v185) = 2 * v75;
v77 = (char *)&v185 + 1;
if ( !v75 )
{
BYTE1(v185) = 0;
if ( (*(_BYTE *)&v179.__r_.__value_.__s.0 & 1) == 0 )
goto LABEL_132;
goto LABEL_131;
}
}
memmove(v77, v74, v76);
v77[v76] = 0;
if ( (*(_BYTE *)&v179.__r_.__value_.__s.0 & 1) != 0 )
LABEL_131:
operator delete(v179.__r_.__value_.__l.__data_);
LABEL_132:
v78 = (char *)operator new(0x530u);
GJGameLevel::GJGameLevel((GJGameLevel *)v78);
if ( (*(unsigned __int8 (__fastcall **)(char *))(*(_QWORD *)v78 + 80LL))(v78) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v78);
v79 = qword_1009A28E0;
if ( qword_1009A28E0 )
goto LABEL_142;
}
else
{
(*(void (__fastcall **)(char *))(*(_QWORD *)v78 + 16LL))(v78);
v78 = nullptr;
v79 = qword_1009A28E0;
if ( qword_1009A28E0 )
goto LABEL_142;
}
v81 = (char *)operator new(0x3C8u);
cocos2d::CCNode::CCNode((__int64)v81);
*(_QWORD *)v81 = off_100960890;
v2 = 0.0;
*(_OWORD *)(v81 + 328) = 0;
*((_QWORD *)v81 + 40) = v81 + 328;
*((_QWORD *)v81 + 62) = 0;
*((_OWORD *)v81 + 32) = 0;
*(_OWORD *)(v81 + 344) = 0;
*(_OWORD *)(v81 + 360) = 0;
*(_OWORD *)(v81 + 376) = 0;
*(_OWORD *)(v81 + 392) = 0;
*(_OWORD *)(v81 + 408) = 0;
*(_OWORD *)(v81 + 424) = 0;
*(_OWORD *)(v81 + 440) = 0;
*(_OWORD *)(v81 + 456) = 0;
*(_OWORD *)(v81 + 472) = 0;
*((_DWORD *)v81 + 122) = 0;
*((_QWORD *)v81 + 63) = v81 + 512;
*((_OWORD *)v81 + 33) = 0;
*((_OWORD *)v81 + 34) = 0;
*((_OWORD *)v81 + 35) = 0;
*((_OWORD *)v81 + 36) = 0;
*(_OWORD *)(v81 + 696) = 0;
*(_OWORD *)(v81 + 680) = 0;
*(_OWORD *)(v81 + 664) = 0;
*(_OWORD *)(v81 + 648) = 0;
*(_OWORD *)(v81 + 632) = 0;
*(_OWORD *)(v81 + 616) = 0;
*(_OWORD *)(v81 + 600) = 0;
v81[712] = 0;
*((_OWORD *)v81 + 48) = 0;
*((_OWORD *)v81 + 47) = 0;
*((_OWORD *)v81 + 46) = 0;
*((_OWORD *)v81 + 45) = 0;
*(_OWORD *)(v81 + 945) = 0;
*(_OWORD *)(v81 + 936) = 0;
*(_OWORD *)(v81 + 920) = 0;
*(_OWORD *)(v81 + 904) = 0;
*(_OWORD *)(v81 + 888) = 0;
*(_OWORD *)(v81 + 872) = 0;
*(_OWORD *)(v81 + 856) = 0;
*(_OWORD *)(v81 + 840) = 0;
*(_OWORD *)(v81 + 824) = 0;
*(_OWORD *)(v81 + 808) = 0;
*(_OWORD *)(v81 + 792) = 0;
qword_1009A28E0 = (__int64)v81;
GameLevelManager::init((GameLevelManager *)v81);
v79 = qword_1009A28E0;
LABEL_142:
v82 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(*(cocos2d::CCDictionary **)(v79 + 552), v176);
v83 = cocos2d::CCString::intValue(v82);
v84 = qword_1009A28E0;
if ( !qword_1009A28E0 )
{
v85 = (char *)operator new(0x3C8u);
cocos2d::CCNode::CCNode((__int64)v85);
*(_QWORD *)v85 = off_100960890;
v2 = 0.0;
*(_OWORD *)(v85 + 328) = 0;
*((_QWORD *)v85 + 40) = v85 + 328;
*((_QWORD *)v85 + 62) = 0;
*((_OWORD *)v85 + 32) = 0;
*(_OWORD *)(v85 + 344) = 0;
*(_OWORD *)(v85 + 360) = 0;
*(_OWORD *)(v85 + 376) = 0;
*(_OWORD *)(v85 + 392) = 0;
*(_OWORD *)(v85 + 408) = 0;
*(_OWORD *)(v85 + 424) = 0;
*(_OWORD *)(v85 + 440) = 0;
*(_OWORD *)(v85 + 456) = 0;
*(_OWORD *)(v85 + 472) = 0;
*((_DWORD *)v85 + 122) = 0;
*((_QWORD *)v85 + 63) = v85 + 512;
*((_OWORD *)v85 + 33) = 0;
*((_OWORD *)v85 + 34) = 0;
*((_OWORD *)v85 + 35) = 0;
*((_OWORD *)v85 + 36) = 0;
*(_OWORD *)(v85 + 696) = 0;
*(_OWORD *)(v85 + 680) = 0;
*(_OWORD *)(v85 + 664) = 0;
*(_OWORD *)(v85 + 648) = 0;
*(_OWORD *)(v85 + 632) = 0;
*(_OWORD *)(v85 + 616) = 0;
*(_OWORD *)(v85 + 600) = 0;
v85[712] = 0;
*((_OWORD *)v85 + 48) = 0;
*((_OWORD *)v85 + 47) = 0;
*((_OWORD *)v85 + 46) = 0;
*((_OWORD *)v85 + 45) = 0;
*(_OWORD *)(v85 + 945) = 0;
*(_OWORD *)(v85 + 936) = 0;
*(_OWORD *)(v85 + 920) = 0;
*(_OWORD *)(v85 + 904) = 0;
*(_OWORD *)(v85 + 888) = 0;
*(_OWORD *)(v85 + 872) = 0;
*(_OWORD *)(v85 + 856) = 0;
*(_OWORD *)(v85 + 840) = 0;
*(_OWORD *)(v85 + 824) = 0;
*(_OWORD *)(v85 + 808) = 0;
*(_OWORD *)(v85 + 792) = 0;
qword_1009A28E0 = (__int64)v85;
GameLevelManager::init((GameLevelManager *)v85);
v84 = qword_1009A28E0;
}
GameLevelManager::userNameForUserID(&v179, v84, v176, v2);
v86 = v179.__r_.__value_.__s.0;
if ( (*(_BYTE *)&v179.__r_.__value_.__s.0 & 1) != 0 )
{
if ( v179.__r_.__value_.__l.__size_ > 1 )
goto LABEL_153;
}
else if ( *(_BYTE *)&v179.__r_.__value_.__l.0 >> 1 > 1uLL )
{
goto LABEL_153;
}
v87 = qword_1009A28E0;
if ( !qword_1009A28E0 )
{
v88 = (char *)operator new(0x3C8u);
cocos2d::CCNode::CCNode((__int64)v88);
*(_QWORD *)v88 = off_100960890;
v2 = 0.0;
*(_OWORD *)(v88 + 328) = 0;
*((_QWORD *)v88 + 40) = v88 + 328;
*((_QWORD *)v88 + 62) = 0;
*((_OWORD *)v88 + 32) = 0;
*(_OWORD *)(v88 + 344) = 0;
*(_OWORD *)(v88 + 360) = 0;
*(_OWORD *)(v88 + 376) = 0;
*(_OWORD *)(v88 + 392) = 0;
*(_OWORD *)(v88 + 408) = 0;
*(_OWORD *)(v88 + 424) = 0;
*(_OWORD *)(v88 + 440) = 0;
*(_OWORD *)(v88 + 456) = 0;
*(_OWORD *)(v88 + 472) = 0;
*((_DWORD *)v88 + 122) = 0;
*((_QWORD *)v88 + 63) = v88 + 512;
*((_OWORD *)v88 + 33) = 0;
*((_OWORD *)v88 + 34) = 0;
*((_OWORD *)v88 + 35) = 0;
*((_OWORD *)v88 + 36) = 0;
*(_OWORD *)(v88 + 696) = 0;
*(_OWORD *)(v88 + 680) = 0;
*(_OWORD *)(v88 + 664) = 0;
*(_OWORD *)(v88 + 648) = 0;
*(_OWORD *)(v88 + 632) = 0;
*(_OWORD *)(v88 + 616) = 0;
*(_OWORD *)(v88 + 600) = 0;
v88[712] = 0;
*((_OWORD *)v88 + 48) = 0;
*((_OWORD *)v88 + 47) = 0;
*((_OWORD *)v88 + 46) = 0;
*((_OWORD *)v88 + 45) = 0;
*(_OWORD *)(v88 + 945) = 0;
*(_OWORD *)(v88 + 936) = 0;
*(_OWORD *)(v88 + 920) = 0;
*(_OWORD *)(v88 + 904) = 0;
*(_OWORD *)(v88 + 888) = 0;
*(_OWORD *)(v88 + 872) = 0;
*(_OWORD *)(v88 + 856) = 0;
*(_OWORD *)(v88 + 840) = 0;
*(_OWORD *)(v88 + 824) = 0;
*(_OWORD *)(v88 + 808) = 0;
*(_OWORD *)(v88 + 792) = 0;
qword_1009A28E0 = (__int64)v88;
GameLevelManager::init((GameLevelManager *)v88);
v87 = qword_1009A28E0;
}
GameLevelManager::tryGetUsername(&v184, v87, v83, v2);
if ( (*(_BYTE *)&v86 & 1) != 0 )
operator delete(v179.__r_.__value_.__l.__data_);
v179 = v184;
LABEL_153:
v89 = v147;
*((_DWORD *)v78 + 84) = v147;
HIDWORD(v90) = 0;
*(float *)&v90 = (float)((float)rand() * 4.6566129e-10) * 1000.0;
*((_DWORD *)v78 + 83) = (int)*(float *)&v90;
*((_DWORD *)v78 + 82) = (int)*(float *)&v90 + v89;
if ( (__dst & 1) != 0 )
{
sub_100006B70(&__str, __p, *((unsigned __int64 *)&__dst + 1), v90);
}
else
{
__str.__r_.__value_.__r.__words[2] = (std::string::size_type)__p;
v90 = *(double *)&__dst;
*(_OWORD *)&__str.__r_.__value_.__l.0 = __dst;
}
std::string::operator=((std::string *)(v78 + 344), &__str);
if ( (*(_BYTE *)&__str.__r_.__value_.__s.0 & 1) != 0 )
operator delete(__str.__r_.__value_.__l.__data_);
*((_DWORD *)v78 + 168) = v148;
if ( (v169 & 1) != 0 )
{
sub_100006B70(&v140, v170, *((unsigned __int64 *)&v169 + 1), v90);
}
else
{
v140.__r_.__value_.__r.__words[2] = (std::string::size_type)v170;
v90 = *(double *)&v169;
*(_OWORD *)&v140.__r_.__value_.__l.0 = v169;
}
std::string::operator=((std::string *)(v78 + 368), &v140);
if ( (*(_BYTE *)&v140.__r_.__value_.__s.0 & 1) != 0 )
operator delete(v140.__r_.__value_.__l.__data_);
if ( (v171 & 1) != 0 )
{
sub_100006B70(&v141, v172, *((unsigned __int64 *)&v171 + 1), v90);
}
else
{
v141.__r_.__value_.__r.__words[2] = (std::string::size_type)v172;
*(_OWORD *)&v141.__r_.__value_.__l.0 = v171;
}
std::string::operator=((std::string *)(v78 + 392), &v141);
if ( (*(_BYTE *)&v141.__r_.__value_.__s.0 & 1) != 0 )
operator delete(v141.__r_.__value_.__l.__data_);
*((_DWORD *)v78 + 144) = v176;
HIDWORD(v91) = 0;
*(float *)&v91 = (float)((float)rand() * 4.6566129e-10) * 1000.0;
*((_DWORD *)v78 + 143) = (int)*(float *)&v91;
*((_DWORD *)v78 + 142) = (int)*(float *)&v91 + v176;
if ( (*(_BYTE *)&v179.__r_.__value_.__s.0 & 1) != 0 )
sub_100006B70(&v142, v179.__r_.__value_.__l.__data_, v179.__r_.__value_.__l.__size_, v91);
else
v142 = v179;
std::string::operator=((std::string *)(v78 + 416), &v142);
if ( (*(_BYTE *)&v142.__r_.__value_.__s.0 & 1) != 0 )
operator delete(v142.__r_.__value_.__l.__data_);
*((_DWORD *)v78 + 147) = v83;
HIDWORD(v92) = 0;
*(float *)&v92 = (float)((float)rand() * 4.6566129e-10) * 1000.0;
*((_DWORD *)v78 + 146) = (int)*(float *)&v92;
*((_DWORD *)v78 + 145) = (int)*(float *)&v92 + v83;
v184.__r_.__value_.__s.0 = (std::string::__short::$7162EEB0FEF29CC674EFA33D0008C7E0)4;
strcpy(v184.__r_.__value_.__s.__data_, "58");
v93 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey_1((__int64)v175, (__int64)&v184);
v94 = cocos2d::CCString::getCString(v93);
v95 = strlen(v94);
if ( v95 >= 0xFFFFFFFFFFFFFFF8LL )
sub_100006BF0(v92);
v96 = v95;
if ( v95 >= 0x17 )
{
v98 = 26;
if ( (v95 | 7) != 0x17 )
v98 = (v95 | 7) + 1;
v97 = (char *)operator new(v98);
v146.__r_.__value_.__r.__words[2] = (std::string::size_type)v97;
v146.__r_.__value_.__r.__words[0] = v98 | 1;
v146.__r_.__value_.__l.__size_ = v96;
goto LABEL_180;
}
v146.__r_.__value_.__s.0 = (std::string::__short::$7162EEB0FEF29CC674EFA33D0008C7E0)(2 * v95);
v97 = v146.__r_.__value_.__s.__data_;
if ( v95 )
LABEL_180:
memmove(v97, v94, v96);
v97[v96] = 0;
std::string::operator=((std::string *)(v78 + 440), &v146);
v99 = v183;
if ( (*(_BYTE *)&v146.__r_.__value_.__s.0 & 1) != 0 )
operator delete(v146.__r_.__value_.__l.__data_);
if ( (*(_BYTE *)&v184.__r_.__value_.__s.0 & 1) != 0 )
operator delete(v184.__r_.__value_.__l.__data_);
*((_DWORD *)v78 + 157) = v149;
*((_DWORD *)v78 + 158) = v150;
*((_DWORD *)v78 + 159) = v151;
*((_DWORD *)v78 + 149) = v152;
v78[884] = v99;
*((_DWORD *)v78 + 169) = v153;
*((_DWORD *)v78 + 194) = v154;
*((_DWORD *)v78 + 195) = v155;
*((_DWORD *)v78 + 196) = v156;
v100 = v180;
*((_DWORD *)v78 + 206) = v180;
v101 = (float)((float)rand() * 4.6566129e-10) * 1000.0;
*((_DWORD *)v78 + 205) = (int)v101;
*((_DWORD *)v78 + 204) = (int)v101 + v100;
*((_DWORD *)v78 + 207) = v157;
*((_DWORD *)v78 + 210) = v164;
v102 = (float)((float)rand() * 4.6566129e-10) * 1000.0;
*((_DWORD *)v78 + 209) = (int)v102;
*((_DWORD *)v78 + 208) = (int)v102 + v164;
*((_DWORD *)v78 + 197) = v159;
*((_DWORD *)v78 + 198) = v160;
v78[844] = v182;
v103 = (float)((float)rand() * 4.6566129e-10) * 1000.0;
*((_DWORD *)v78 + 217) = (int)v103;
*((_DWORD *)v78 + 216) = (int)v103 + v162;
*((_DWORD *)v78 + 220) = v165;
v104 = (float)((float)rand() * 4.6566129e-10) * 1000.0;
*((_DWORD *)v78 + 219) = (int)v104;
*((_DWORD *)v78 + 218) = (int)v104 + v165;
*((_DWORD *)v78 + 150) = v163;
*((_DWORD *)v78 + 212) = v158;
v105 = v181;
*((_DWORD *)v78 + 215) = v181;
HIDWORD(v106) = 0;
*(float *)&v106 = (float)((float)rand() * 4.6566129e-10) * 1000.0;
*((_DWORD *)v78 + 214) = (int)*(float *)&v106;
*((_DWORD *)v78 + 213) = (int)*(float *)&v106 + v105;
*((_DWORD *)v78 + 232) = v161;
if ( (v185 & 1) != 0 )
{
sub_100006B70(&v143, v186, *((unsigned __int64 *)&v185 + 1), v106);
}
else
{
v143.__r_.__value_.__r.__words[2] = (std::string::size_type)v186;
*(_OWORD *)&v143.__r_.__value_.__l.0 = v185;
}
std::string::operator=((std::string *)(v78 + 1064), &v143);
v107 = v175;
if ( (*(_BYTE *)&v143.__r_.__value_.__s.0 & 1) != 0 )
operator delete(v143.__r_.__value_.__l.__data_);
v184.__r_.__value_.__s.0 = (std::string::__short::$7162EEB0FEF29CC674EFA33D0008C7E0)4;
strcpy(v184.__r_.__value_.__s.__data_, "40");
v108 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey_1((__int64)v107, (__int64)&v184);
v78[652] = cocos2d::CCString::boolValue(v108);
if ( (*(_BYTE *)&v184.__r_.__value_.__s.0 & 1) != 0 )
operator delete(v184.__r_.__value_.__l.__data_);
v184.__r_.__value_.__s.0 = (std::string::__short::$7162EEB0FEF29CC674EFA33D0008C7E0)4;
strcpy(v184.__r_.__value_.__s.__data_, "41");
v109 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey_1((__int64)v107, (__int64)&v184);
v110 = cocos2d::CCString::intValue(v109);
*((_DWORD *)v78 + 203) = v110;
v111 = (int)(float)((float)((float)rand() * 4.6566129e-10) * 1000.0);
*((_DWORD *)v78 + 202) = v111;
*((_DWORD *)v78 + 201) = v111 + v110;
if ( (*(_BYTE *)&v184.__r_.__value_.__s.0 & 1) != 0 )
operator delete(v184.__r_.__value_.__l.__data_);
v184.__r_.__value_.__s.0 = (std::string::__short::$7162EEB0FEF29CC674EFA33D0008C7E0)4;
strcpy(v184.__r_.__value_.__s.__data_, "44");
v112 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey_1((__int64)v107, (__int64)&v184);
v78[641] = cocos2d::CCString::boolValue(v112);
if ( (*(_BYTE *)&v184.__r_.__value_.__s.0 & 1) != 0 )
operator delete(v184.__r_.__value_.__l.__data_);
*((_DWORD *)v78 + 155) = v166;
HIDWORD(v113) = 0;
*(float *)&v113 = (float)((float)rand() * 4.6566129e-10) * 1000.0;
*((_DWORD *)v78 + 154) = (int)*(float *)&v113;
*((_DWORD *)v78 + 153) = (int)*(float *)&v113 + v166;
v184.__r_.__value_.__s.0 = (std::string::__short::$7162EEB0FEF29CC674EFA33D0008C7E0)4;
strcpy(v184.__r_.__value_.__s.__data_, "46");
v114 = v175;
v115 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey_1((__int64)v175, (__int64)&v184);
*((_DWORD *)v78 + 161) = cocos2d::CCString::intValue(v115);
if ( (*(_BYTE *)&v184.__r_.__value_.__s.0 & 1) != 0 )
operator delete(v184.__r_.__value_.__l.__data_);
v184.__r_.__value_.__s.0 = (std::string::__short::$7162EEB0FEF29CC674EFA33D0008C7E0)4;
strcpy(v184.__r_.__value_.__s.__data_, "47");
v116 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey_1((__int64)v114, (__int64)&v184);
*((_DWORD *)v78 + 162) = cocos2d::CCString::intValue(v116);
if ( (*(_BYTE *)&v184.__r_.__value_.__s.0 & 1) != 0 )
operator delete(v184.__r_.__value_.__l.__data_);
v184.__r_.__value_.__s.0 = (std::string::__short::$7162EEB0FEF29CC674EFA33D0008C7E0)4;
strcpy(v184.__r_.__value_.__s.__data_, "57");
v117 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey_1((__int64)v114, (__int64)&v184);
*((_DWORD *)v78 + 280) = cocos2d::CCString::intValue(v117);
if ( (*(_BYTE *)&v184.__r_.__value_.__s.0 & 1) != 0 )
operator delete(v184.__r_.__value_.__l.__data_);
if ( (v177 & 1) != 0 )
{
sub_100006B70(&v144, v178, *((unsigned __int64 *)&v177 + 1), v113);
}
else
{
v144.__r_.__value_.__r.__words[2] = (std::string::size_type)v178;
v113 = *(double *)&v177;
*(_OWORD *)&v144.__r_.__value_.__l.0 = v177;
}
std::string::operator=((std::string *)(v78 + 464), &v144);
if ( (*(_BYTE *)&v144.__r_.__value_.__s.0 & 1) != 0 )
operator delete(v144.__r_.__value_.__l.__data_);
if ( (v173 & 1) != 0 )
{
sub_100006B70(&v145, v174, *((unsigned __int64 *)&v173 + 1), v113);
}
else
{
v145.__r_.__value_.__r.__words[2] = (std::string::size_type)v174;
v113 = *(double *)&v173;
*(_OWORD *)&v145.__r_.__value_.__l.0 = v173;
}
std::string::operator=((std::string *)(v78 + 488), &v145);
v118 = v175;
if ( (*(_BYTE *)&v145.__r_.__value_.__s.0 & 1) != 0 )
operator delete(v145.__r_.__value_.__l.__data_);
v184.__r_.__value_.__s.0 = (std::string::__short::$7162EEB0FEF29CC674EFA33D0008C7E0)4;
strcpy(v184.__r_.__value_.__s.__data_, "48");
v119 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey_1((__int64)v118, (__int64)&v184);
v120 = cocos2d::CCString::getCString(v119);
v121 = strlen(v120);
if ( v121 >= 0xFFFFFFFFFFFFFFF8LL )
sub_100006BF0(v113);
v122 = v121;
if ( v121 >= 0x17 )
{
v132 = 26;
if ( (v121 | 7) != 0x17 )
v132 = (v121 | 7) + 1;
v123 = (char *)operator new(v132);
v136 = v123;
v135[0] = v132 | 1;
v135[1] = v122;
}
else
{
LOBYTE(v135[0]) = 2 * v121;
v123 = (char *)v135 + 1;
if ( !v121 )
{
BYTE1(v135[0]) = 0;
if ( (v135[0] & 1) == 0 )
goto LABEL_217;
goto LABEL_216;
}
}
memmove(v123, v120, v122);
v123[v122] = 0;
if ( (v135[0] & 1) != 0 )
LABEL_216:
operator delete(v136);
LABEL_217:
v124 = v175;
if ( (*(_BYTE *)&v184.__r_.__value_.__s.0 & 1) != 0 )
operator delete(v184.__r_.__value_.__l.__data_);
v184.__r_.__value_.__s.0 = (std::string::__short::$7162EEB0FEF29CC674EFA33D0008C7E0)4;
strcpy(v184.__r_.__value_.__s.__data_, "52");
v125 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey_1((__int64)v124, (__int64)&v184);
v126 = cocos2d::CCString::getCString(v125);
std::string::assign((std::string *)v78 + 47, v126);
if ( (*(_BYTE *)&v184.__r_.__value_.__s.0 & 1) != 0 )
operator delete(v184.__r_.__value_.__l.__data_);
v184.__r_.__value_.__s.0 = (std::string::__short::$7162EEB0FEF29CC674EFA33D0008C7E0)4;
strcpy(v184.__r_.__value_.__s.__data_, "53");
v127 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey_1((__int64)v124, (__int64)&v184);
v128 = cocos2d::CCString::getCString(v127);
std::string::assign((std::string *)v78 + 48, v128);
if ( (*(_BYTE *)&v184.__r_.__value_.__s.0 & 1) != 0 )
operator delete(v184.__r_.__value_.__l.__data_);
v184.__r_.__value_.__s.0 = (std::string::__short::$7162EEB0FEF29CC674EFA33D0008C7E0)4;
strcpy(v184.__r_.__value_.__s.__data_, "54");
v129 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey_1((__int64)v124, (__int64)&v184);
*((_DWORD *)v78 + 294) = cocos2d::CCString::intValue(v129);
if ( (*(_BYTE *)&v184.__r_.__value_.__s.0 & 1) != 0 )
operator delete(v184.__r_.__value_.__l.__data_);
v130 = v171;
if ( (v171 & 1) != 0 )
v131 = *((_QWORD *)&v171 + 1);
else
v131 = (unsigned __int8)v171 >> 1;
v133 = v172;
*((_DWORD *)v78 + 257) = (v131 == 0) + 3;
if ( (*(_BYTE *)&v179.__r_.__value_.__s.0 & 1) != 0 )
{
operator delete(v179.__r_.__value_.__l.__data_);
if ( (v185 & 1) == 0 )
{
LABEL_235:
if ( (v173 & 1) == 0 )
goto LABEL_236;
goto LABEL_244;
}
}
else if ( (v185 & 1) == 0 )
{
goto LABEL_235;
}
operator delete(v186);
if ( (v173 & 1) == 0 )
{
LABEL_236:
if ( (v177 & 1) == 0 )
goto LABEL_237;
goto LABEL_245;
}
LABEL_244:
operator delete(v174);
if ( (v177 & 1) == 0 )
{
LABEL_237:
if ( (v130 & 1) == 0 )
goto LABEL_238;
goto LABEL_246;
}
LABEL_245:
operator delete(v178);
if ( (v130 & 1) == 0 )
{
LABEL_238:
if ( (v169 & 1) == 0 )
goto LABEL_239;
LABEL_247:
operator delete(v170);
if ( (__dst & 1) == 0 )
return (GJGameLevel *)v78;
goto LABEL_240;
}
LABEL_246:
operator delete(v133);
if ( (v169 & 1) != 0 )
goto LABEL_247;
LABEL_239:
if ( (__dst & 1) != 0 )
LABEL_240:
operator delete(__p);
return (GJGameLevel *)v78;
}