//
// GameLevelManager::onAdminGetReportedContentCompleted from 0x140243180 to 0x14024435e (4574 bytes)
//
// 2 xrefs:
// > GameLevelManager::handleIt @ 0x14021ad8a
// > ??> @ 0x14091c268
//
// This function is hookable on this platform (idp: pc, 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 11:28:37 +0000
//
// Hidden C++ exception states: #wind=19
void __fastcall GameLevelManager::onAdminGetReportedContentCompleted(__int64 a1, const void **a2, __int64 a3)
{
const char *v3; // r14
const void **v4; // r13
_BYTE *v6; // rdx
size_t v7; // r8
__int64 v8; // r8
__int64 v9; // rdx
void *v10; // rcx
unsigned int v11; // r12d
const void *v12; // rcx
unsigned __int64 v13; // rsi
size_t v14; // r8
int v15; // ebx
__int64 v16; // r8
const void **v17; // rsi
const void *v18; // rax
char *v19; // rbx
__int64 v20; // rax
__int64 v21; // r8
size_t v22; // rdi
size_t v23; // rax
const void **v24; // r14
const void *v25; // rcx
char *v26; // rbx
__int64 v27; // rax
__int64 v28; // rsi
unsigned int v29; // r14d
size_t v30; // r8
const void *v31; // rdx
__int64 v32; // r8
__int64 v33; // r9
size_t v34; // rdx
unsigned __int64 v35; // rcx
size_t v36; // r8
size_t v37; // rcx
const void **v38; // rax
__int64 v39; // rdx
__int64 v40; // rcx
__int64 v41; // r8
__int64 v42; // r9
unsigned __int64 v43; // rsi
const void *v44; // rax
size_t v45; // rax
size_t v46; // r8
const void **v47; // rax
cocos2d::CCArray *v48; // r12
cocos2d::CCString *v49; // rax
cocos2d::CCString *v50; // rax
cocos2d::CCString *v51; // rax
cocos2d::CCString *v52; // rax
const char *CString; // rax
size_t v54; // r8
cocos2d::CCArray *v55; // r15
cocos2d::CCString *v56; // rax
const char *v57; // rax
size_t v58; // r8
__int64 v59; // r8
__int128 *v60; // rsi
char *v61; // rcx
unsigned __int64 v62; // rdx
char *v63; // rbx
__int64 v64; // rax
__int64 v65; // rdx
__int64 v66; // r8
__int64 v67; // r9
size_t v68; // rdi
size_t v69; // rcx
size_t v70; // r8
__int128 *v71; // rdx
const char *v72; // rcx
int v73; // ebx
__int128 *v74; // rdx
const char *v75; // rcx
char *v76; // rax
cocos2d::CCString *v77; // rax
cocos2d::CCString *v78; // rax
cocos2d::CCString *v79; // rax
cocos2d::CCString *v80; // rax
cocos2d::CCString *v81; // rax
const char *v82; // rax
size_t v83; // r8
void *v84; // rcx
cocos2d::CCString *v85; // rax
char *v86; // rax
size_t v87; // r8
cocos2d::CCArray *v88; // rbx
__int64 v89; // rcx
cocos2d::CCString *v90; // rax
cocos2d::CCString *v91; // rax
cocos2d::CCArray *v92; // rsi
cocos2d::CCArray *v93; // rdi
unsigned int v94; // ebx
cocos2d::CCString *v95; // rax
const char *v96; // rax
size_t v97; // r8
cocos2d::CCArray *v98; // r12
char *v99; // rcx
char *v100; // r13
cocos2d::CCString *v101; // rax
cocos2d::CCString *v102; // rax
cocos2d::CCString *v103; // rax
cocos2d::CCString *v104; // rax
cocos2d::CCString *v105; // rax
cocos2d::CCString *v106; // rax
const char *v107; // rax
size_t v108; // r8
cocos2d::CCArray *v109; // r15
cocos2d::CCString *v110; // rax
const char *v111; // rax
size_t v112; // r8
__int64 v113; // r8
__int128 *v114; // rsi
char *v115; // rcx
unsigned __int64 v116; // rdx
char *v117; // rbx
__int64 v118; // rax
__int64 v119; // rdx
__int64 v120; // r8
__int64 v121; // r9
size_t v122; // rdi
size_t v123; // rcx
size_t v124; // r8
__int128 *v125; // rdx
const char *v126; // rcx
int v127; // ebx
__int128 *v128; // rdx
void **v129; // rcx
char *v130; // rcx
char *v131; // rax
cocos2d::CCString *v132; // rax
cocos2d::CCString *v133; // rax
const char *v134; // rax
size_t v135; // r8
void *v136; // rcx
cocos2d::CCString *v137; // rax
const char *v138; // rax
size_t v139; // r8
cocos2d::CCString *v140; // rax
const char *v141; // rax
cocos2d::CCString *v142; // rax
const char *v143; // rax
cocos2d::CCString *v144; // rax
cocos2d::CCString *v145; // rax
char *v146; // rax
size_t v147; // r8
cocos2d::CCString *v148; // rax
const char *v149; // rax
cocos2d::CCString *v150; // rax
__int64 v151; // rcx
__int64 v152; // rcx
__int64 v153; // rcx
char **v154; // [rsp+30h] [rbp-D0h] BYREF
unsigned int v155; // [rsp+38h] [rbp-C8h]
const char *v156; // [rsp+40h] [rbp-C0h]
char **v157; // [rsp+48h] [rbp-B8h]
unsigned __int64 v158; // [rsp+50h] [rbp-B0h] BYREF
cocos2d::CCArray *v159; // [rsp+58h] [rbp-A8h]
const void **v160; // [rsp+60h] [rbp-A0h]
__int64 v161; // [rsp+68h] [rbp-98h]
char *v162; // [rsp+70h] [rbp-90h]
const void **v163; // [rsp+78h] [rbp-88h]
__int64 v164; // [rsp+80h] [rbp-80h]
char *String[2]; // [rsp+88h] [rbp-78h] BYREF
__int128 v166; // [rsp+98h] [rbp-68h]
void *Block[2]; // [rsp+A8h] [rbp-58h] BYREF
__int128 v168; // [rsp+B8h] [rbp-48h]
char *v169[2]; // [rsp+C8h] [rbp-38h] BYREF
__int128 v170; // [rsp+D8h] [rbp-28h]
__int128 v171; // [rsp+E8h] [rbp-18h] BYREF
unsigned __int64 v172; // [rsp+F8h] [rbp-8h]
unsigned __int64 v173; // [rsp+100h] [rbp+0h]
__int128 v174; // [rsp+108h] [rbp+8h] BYREF
unsigned __int64 v175; // [rsp+118h] [rbp+18h]
unsigned __int64 v176; // [rsp+120h] [rbp+20h]
__int64 v177; // [rsp+130h] [rbp+30h] BYREF
int v178; // [rsp+138h] [rbp+38h]
__int128 v179; // [rsp+140h] [rbp+40h] BYREF
__int64 v180; // [rsp+150h] [rbp+50h]
__int64 v181; // [rsp+158h] [rbp+58h]
int v182; // [rsp+160h] [rbp+60h]
int v183; // [rsp+164h] [rbp+64h]
void *v184[2]; // [rsp+168h] [rbp+68h] BYREF
__int128 v185; // [rsp+178h] [rbp+78h]
__int128 v186; // [rsp+188h] [rbp+88h] BYREF
__int64 v187; // [rsp+198h] [rbp+98h]
__int64 v188; // [rsp+1A0h] [rbp+A0h]
int v189; // [rsp+1A8h] [rbp+A8h]
int v190; // [rsp+1ACh] [rbp+ACh]
__int128 v191; // [rsp+1B0h] [rbp+B0h] BYREF
__int64 v192; // [rsp+1C0h] [rbp+C0h]
__int64 v193; // [rsp+1C8h] [rbp+C8h]
__int128 v194; // [rsp+1D0h] [rbp+D0h] BYREF
__int64 v195; // [rsp+1E0h] [rbp+E0h]
__int64 v196; // [rsp+1E8h] [rbp+E8h]
__int128 v197; // [rsp+1F0h] [rbp+F0h] BYREF
__int64 v198; // [rsp+200h] [rbp+100h]
__int64 v199; // [rsp+208h] [rbp+108h]
__int128 v200; // [rsp+210h] [rbp+110h] BYREF
__int64 v201; // [rsp+220h] [rbp+120h]
__int64 v202; // [rsp+228h] [rbp+128h]
v3 = (const char *)a3;
v156 = (const char *)a3;
v4 = a2;
v160 = a2;
v161 = a1;
v163 = a2;
v164 = a3;
v6 = (_BYTE *)a3;
if ( *(_QWORD *)(a3 + 24) > 0xFu )
v6 = *(_BYTE **)a3;
*(_OWORD *)Block = 0;
v168 = 0u;
v7 = -1;
do
++v7;
while ( v6[v7] );
sub_14003D230(Block, v6, v7);
cocos2d::CCDictionary::removeObjectForKey(*(_QWORD *)(a1 + 1200), Block);
v9 = *((_QWORD *)&v168 + 1);
if ( *((_QWORD *)&v168 + 1) > 0xFu )
{
v10 = Block[0];
if ( (unsigned __int64)(*((_QWORD *)&v168 + 1) + 1LL) >= 0x1000 )
{
v10 = *((void **)Block[0] - 1);
if ( (unsigned __int64)((char *)Block[0] - (char *)v10 - 8) > 0x1F )
invoke_watson(nullptr, nullptr, nullptr, 0, 0);
}
j_j_free(v10);
}
v11 = sub_140241F40(v3, v9, v8);
v155 = v11;
*(_OWORD *)Block = 0;
*(_QWORD *)&v168 = 2;
*((_QWORD *)&v168 + 1) = 15;
strcpy((char *)Block, "-1");
v12 = v4;
if ( (unsigned __int64)v4[3] > 0xF )
v12 = *v4;
v13 = (unsigned __int64)v4[2];
v14 = v13;
if ( v13 > 2 )
v14 = 2;
v15 = memcmp(v12, Block, v14);
if ( !v15 )
{
if ( v13 >= 2 )
v15 = v13 > 2;
else
v15 = -1;
}
if ( !v15 )
goto LABEL_179;
v17 = v4;
if ( (unsigned __int64)v4[3] > 0xF )
v17 = (const void **)*v4;
v18 = v4[2];
if ( !v18 )
goto LABEL_179;
v19 = (char *)v17 + (_QWORD)v18;
LOBYTE(v16) = 35;
v20 = sub_140677120(v17, (char *)v17 + (_QWORD)v18, v16);
if ( (char *)v20 == v19 )
goto LABEL_179;
v22 = v20 - (_QWORD)v17;
if ( v20 - (_QWORD)v17 == -1 )
goto LABEL_179;
v23 = v22 + 1;
v24 = v4;
if ( (unsigned __int64)v4[3] > 0xF )
v24 = (const void **)*v4;
v25 = v4[2];
if ( v23 >= (unsigned __int64)v25
|| (v26 = (char *)v24 + (_QWORD)v25,
LOBYTE(v21) = 35,
v27 = sub_140677120((char *)v24 + v23, (char *)v24 + (_QWORD)v25, v21),
(char *)v27 == v26)
|| (v28 = v27 - (_QWORD)v24, v27 - (_QWORD)v24 == -1) )
{
v3 = v156;
LABEL_179:
v153 = *(_QWORD *)(a1 + 1384);
if ( v153 )
(*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v153 + 264LL))(v153, v11);
sub_14003D310((__int64)v4);
v152 = (__int64)v3;
goto LABEL_182;
}
v200 = 0;
v29 = 0;
v201 = 0;
v202 = 0;
v30 = v22;
if ( (unsigned __int64)v4[2] < v22 )
v30 = (size_t)v4[2];
v31 = v4;
if ( (unsigned __int64)v4[3] > 0xF )
v31 = *v4;
sub_14003D230(&v200, v31, v30);
v34 = v22 + 1;
v194 = 0;
v195 = 0;
v196 = 0;
v35 = (unsigned __int64)v4[2];
if ( v35 < v22 + 1 )
sub_14003F4D0(v35, v34, v32, v33);
v36 = v28 - v22 - 1;
v37 = v35 - v34;
if ( v37 < v36 )
v36 = v37;
v38 = v4;
if ( (unsigned __int64)v4[3] > 0xF )
v38 = (const void **)*v4;
sub_14003D230(&v194, (char *)v38 + v34, v36);
v43 = v28 + 1;
v197 = 0;
v198 = 0;
v199 = 0;
v44 = v4[2];
if ( (unsigned __int64)v44 < v43 )
sub_14003F4D0(v40, v39, v41, v42);
v45 = (size_t)v44 - v43;
v46 = -1;
if ( v45 != -1 )
v46 = v45;
v47 = v4;
if ( (unsigned __int64)v4[3] > 0xF )
v47 = (const void **)*v4;
sub_14003D230(&v197, (char *)v47 + v43, v46);
v177 = 0;
v178 = 0;
v179 = 0;
v180 = 0;
v181 = 0;
v182 = -1;
v183 = 0;
*(_OWORD *)v184 = 0;
*(_QWORD *)&v185 = 0;
*((_QWORD *)&v185 + 1) = 15;
LOBYTE(v184[0]) = 0;
v186 = 0;
v187 = 0;
v188 = 15;
LOBYTE(v186) = 0;
v189 = 0;
v190 = 20;
v48 = sub_1400D2840((__int64 *)&v200, ":");
if ( cocos2d::CCArray::count(v48) >= 7 )
{
v49 = cocos2d::CCArray::stringAtIndex(v48, 0);
LODWORD(v177) = cocos2d::CCString::intValue(v49);
v50 = cocos2d::CCArray::stringAtIndex(v48, 1u);
HIDWORD(v177) = cocos2d::CCString::intValue(v50);
v51 = cocos2d::CCArray::stringAtIndex(v48, 2u);
v178 = cocos2d::CCString::intValue(v51);
v52 = cocos2d::CCArray::stringAtIndex(v48, 3u);
CString = cocos2d::CCString::getCString(v52);
*(_OWORD *)Block = 0;
v168 = 0u;
v54 = -1;
do
++v54;
while ( CString[v54] );
sub_14003D230(Block, CString, v54);
if ( (_QWORD)v168 )
{
v55 = sub_1400D2840((__int64 *)Block, byte_14070ECF8);
if ( cocos2d::CCArray::count(v55) )
{
do
{
v56 = cocos2d::CCArray::stringAtIndex(v55, v29);
v57 = cocos2d::CCString::getCString(v56);
v171 = 0;
v172 = 0;
v173 = 0;
v58 = -1;
do
++v58;
while ( v57[v58] );
sub_14003D230(&v171, v57, v58);
v60 = &v171;
v61 = (char *)v171;
v62 = v173;
if ( v173 > 0xF )
v60 = (__int128 *)v171;
if ( v172 )
{
v63 = (char *)v60 + v172;
LOBYTE(v59) = 45;
v64 = sub_140677120(v60, (char *)v60 + v172, v59);
if ( (char *)v64 != v63 )
{
v68 = v64 - (_QWORD)v60;
if ( v64 - (_QWORD)v60 != -1 )
{
v69 = v68 + 1;
*(_OWORD *)String = 0;
v166 = 0u;
if ( v172 < v68 + 1 )
sub_14003F4D0(v69, v65, v66, v67);
v70 = -1;
if ( v172 - v69 != -1 )
v70 = v172 - v69;
v71 = &v171;
if ( v173 > 0xF )
v71 = (__int128 *)v171;
sub_14003D230(String, (char *)v71 + v69, v70);
v72 = (const char *)String;
if ( *((_QWORD *)&v166 + 1) > 0xFu )
v72 = String[0];
v73 = atoi(v72);
*(_OWORD *)v169 = 0;
v170 = 0u;
if ( v172 < v68 )
v68 = v172;
v74 = &v171;
if ( v173 > 0xF )
v74 = (__int128 *)v171;
sub_14003D230(v169, v74, v68);
v75 = (const char *)v169;
if ( *((_QWORD *)&v170 + 1) > 0xFu )
v75 = v169[0];
v154 = (char **)__PAIR64__(v73, atoi(v75));
sub_1400BD3C0((const void **)&v179, (__int64 *)&v154);
sub_14003D310((__int64)v169);
sub_14003D310((__int64)String);
if ( v173 <= 0xF )
goto LABEL_77;
v61 = (char *)v171;
if ( v173 + 1 >= 0x1000 )
{
v61 = *(char **)(v171 - 8);
if ( (unsigned __int64)(v171 - (_QWORD)v61 - 8) > 0x1F )
goto LABEL_84;
}
goto LABEL_76;
}
}
v62 = v173;
v61 = (char *)v171;
}
if ( v62 > 0xF )
{
v76 = v61;
if ( v62 + 1 >= 0x1000 )
{
v61 = *((char **)v61 - 1);
if ( (unsigned __int64)(v76 - v61 - 8) > 0x1F )
LABEL_84:
invoke_watson(nullptr, nullptr, nullptr, 0, 0);
}
LABEL_76:
j_j_free(v61);
}
LABEL_77:
++v29;
}
while ( v29 < cocos2d::CCArray::count(v55) );
}
v29 = 0;
}
v77 = cocos2d::CCArray::stringAtIndex(v48, 4u);
LODWORD(v181) = cocos2d::CCString::intValue(v77);
v78 = cocos2d::CCArray::stringAtIndex(v48, 5u);
HIDWORD(v181) = cocos2d::CCString::intValue(v78);
v79 = cocos2d::CCArray::stringAtIndex(v48, 6u);
v182 = cocos2d::CCString::intValue(v79);
if ( cocos2d::CCArray::count(v48) >= 0xA )
{
v80 = cocos2d::CCArray::stringAtIndex(v48, 7u);
v183 = cocos2d::CCString::intValue(v80);
v81 = cocos2d::CCArray::stringAtIndex(v48, 8u);
v82 = cocos2d::CCString::getCString(v81);
*(_OWORD *)String = 0;
v166 = 0u;
v83 = -1;
do
++v83;
while ( v82[v83] );
sub_14003D230(String, v82, v83);
v157 = String;
if ( (_QWORD)v166 )
{
cocos2d::ZipUtils::base64URLDecode(v169, String);
}
else
{
*(_OWORD *)v169 = *(_OWORD *)String;
v170 = v166;
*(_QWORD *)&v166 = 0;
*((_QWORD *)&v166 + 1) = 15;
LOBYTE(String[0]) = 0;
}
sub_14003D310((__int64)String);
if ( *((_QWORD *)&v185 + 1) > 0xFu )
{
v84 = v184[0];
if ( (unsigned __int64)(*((_QWORD *)&v185 + 1) + 1LL) >= 0x1000 )
{
v84 = *((void **)v184[0] - 1);
if ( (unsigned __int64)((char *)v184[0] - (char *)v84 - 8) > 0x1F )
invoke_watson(nullptr, nullptr, nullptr, 0, 0);
}
j_j_free(v84);
}
*(_OWORD *)v184 = *(_OWORD *)v169;
v185 = v170;
*(_QWORD *)&v170 = 0;
*((_QWORD *)&v170 + 1) = 15;
LOBYTE(v169[0]) = 0;
sub_14003D310((__int64)v169);
v85 = cocos2d::CCArray::stringAtIndex(v48, 9u);
v86 = (char *)cocos2d::CCString::getCString(v85);
v87 = -1;
do
++v87;
while ( v86[v87] );
sub_1400405A0((void **)&v186, v86, v87);
}
sub_14003D310((__int64)Block);
}
v88 = sub_1400D2840((__int64 *)&v197, ":");
if ( cocos2d::CCArray::count(v88) >= 3 )
{
v90 = cocos2d::CCArray::stringAtIndex(v88, 1u);
v189 = cocos2d::CCString::intValue(v90);
v91 = cocos2d::CCArray::stringAtIndex(v88, 2u);
v190 = cocos2d::CCString::intValue(v91);
}
v92 = (cocos2d::CCArray *)cocos2d::CCArray::create(v89);
v157 = (char **)v92;
if ( v195 )
{
v93 = sub_1400D2840((__int64 *)&v194, (unsigned __int8 *)&word_14070D07C);
v159 = v93;
v94 = 0;
LODWORD(v154) = 0;
if ( cocos2d::CCArray::count(v93) )
{
LABEL_99:
v95 = cocos2d::CCArray::stringAtIndex(v93, v94);
v96 = cocos2d::CCString::getCString(v95);
*(_OWORD *)v169 = 0;
v170 = 0u;
v97 = -1;
do
++v97;
while ( v96[v97] );
sub_14003D230(v169, v96, v97);
v98 = sub_1400D2840((__int64 *)v169, ":");
if ( *((_QWORD *)&v170 + 1) > 0xFu )
{
v99 = v169[0];
if ( (unsigned __int64)(*((_QWORD *)&v170 + 1) + 1LL) >= 0x1000 )
{
v99 = *((char **)v169[0] - 1);
if ( (unsigned __int64)(v169[0] - v99 - 8) > 0x1F )
invoke_watson(nullptr, nullptr, nullptr, 0, 0);
}
j_j_free(v99);
}
*(_QWORD *)&v170 = 0;
*((_QWORD *)&v170 + 1) = 15;
LOBYTE(v169[0]) = 0;
if ( cocos2d::CCArray::count(v98) < 0xA )
goto LABEL_169;
v100 = (char *)operator new(0xF8u);
v162 = v100;
cocos2d::CCObject::CCObject((cocos2d::CCObject *)v100);
*(_QWORD *)v100 = &AdminReportedEntry::`vftable';
*((_QWORD *)v100 + 7) = 0;
*((_QWORD *)v100 + 8) = 0;
*((_DWORD *)v100 + 18) = 0;
*((_QWORD *)v100 + 10) = 0;
*((_QWORD *)v100 + 11) = 0;
*((_QWORD *)v100 + 12) = 0;
v100[104] = 0;
*((_OWORD *)v100 + 7) = 0;
*((_QWORD *)v100 + 16) = 0;
*((_QWORD *)v100 + 17) = 15;
v100[112] = 0;
*((_OWORD *)v100 + 9) = 0;
*((_QWORD *)v100 + 20) = 0;
*((_QWORD *)v100 + 21) = 15;
v100[144] = 0;
*((_QWORD *)v100 + 22) = 0;
*((_QWORD *)v100 + 23) = 0;
v100[192] = 1;
*((_QWORD *)v100 + 25) = 0;
*((_DWORD *)v100 + 52) = 0;
*(_OWORD *)(v100 + 216) = 0;
*((_QWORD *)v100 + 29) = 0;
*((_QWORD *)v100 + 30) = 15;
v100[216] = 0;
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v100);
v101 = cocos2d::CCArray::stringAtIndex(v98, 0);
*((_DWORD *)v100 + 14) = cocos2d::CCString::intValue(v101);
v102 = cocos2d::CCArray::stringAtIndex(v98, 1u);
*((_DWORD *)v100 + 15) = cocos2d::CCString::intValue(v102);
v103 = cocos2d::CCArray::stringAtIndex(v98, 2u);
*((_DWORD *)v100 + 16) = cocos2d::CCString::intValue(v103);
v104 = cocos2d::CCArray::stringAtIndex(v98, 3u);
*((_DWORD *)v100 + 17) = cocos2d::CCString::intValue(v104);
v105 = cocos2d::CCArray::stringAtIndex(v98, 4u);
*((_DWORD *)v100 + 18) = cocos2d::CCString::intValue(v105);
v106 = cocos2d::CCArray::stringAtIndex(v98, 5u);
v107 = cocos2d::CCString::getCString(v106);
v191 = 0;
v192 = 0;
v193 = 0;
v108 = -1;
do
++v108;
while ( v107[v108] );
sub_14003D230(&v191, v107, v108);
if ( !v192 )
goto LABEL_146;
v109 = sub_1400D2840((__int64 *)&v191, byte_14070ECF8);
if ( !cocos2d::CCArray::count(v109) )
goto LABEL_145;
while ( 1 )
{
v110 = cocos2d::CCArray::stringAtIndex(v109, v29);
v111 = cocos2d::CCString::getCString(v110);
v174 = 0;
v175 = 0;
v176 = 0;
v112 = -1;
do
++v112;
while ( v111[v112] );
sub_14003D230(&v174, v111, v112);
v114 = &v174;
v115 = (char *)v174;
v116 = v176;
if ( v176 > 0xF )
v114 = (__int128 *)v174;
if ( v175 )
{
v117 = (char *)v114 + v175;
LOBYTE(v113) = 45;
v118 = sub_140677120(v114, (char *)v114 + v175, v113);
if ( (char *)v118 != v117 )
{
v122 = v118 - (_QWORD)v114;
if ( v118 - (_QWORD)v114 != -1 )
{
v123 = v122 + 1;
*(_OWORD *)String = 0;
v166 = 0u;
if ( v175 < v122 + 1 )
sub_14003F4D0(v123, v119, v120, v121);
v124 = -1;
if ( v175 - v123 != -1 )
v124 = v175 - v123;
v125 = &v174;
if ( v176 > 0xF )
v125 = (__int128 *)v174;
sub_14003D230(String, (char *)v125 + v123, v124);
v126 = (const char *)String;
if ( *((_QWORD *)&v166 + 1) > 0xFu )
v126 = String[0];
v127 = atoi(v126);
*(_OWORD *)Block = 0;
v168 = 0u;
if ( v175 < v122 )
v122 = v175;
v128 = &v174;
if ( v176 > 0xF )
v128 = (__int128 *)v174;
sub_14003D230(Block, v128, v122);
v129 = Block;
if ( *((_QWORD *)&v168 + 1) > 0xFu )
v129 = (void **)Block[0];
v158 = __PAIR64__(v127, atoi((const char *)v129));
sub_1400BD3C0((const void **)v100 + 10, (__int64 *)&v158);
sub_14003D310((__int64)Block);
if ( *((_QWORD *)&v166 + 1) > 0xFu )
{
v130 = String[0];
if ( (unsigned __int64)(*((_QWORD *)&v166 + 1) + 1LL) >= 0x1000 )
{
v130 = *((char **)String[0] - 1);
if ( (unsigned __int64)(String[0] - v130 - 8) > 0x1F )
invoke_watson(nullptr, nullptr, nullptr, 0, 0);
}
j_j_free(v130);
}
if ( v176 <= 0xF )
goto LABEL_143;
v115 = (char *)v174;
if ( v176 + 1 >= 0x1000 )
{
v115 = *(char **)(v174 - 8);
if ( (unsigned __int64)(v174 - (_QWORD)v115 - 8) > 0x1F )
goto LABEL_176;
}
goto LABEL_142;
}
}
v116 = v176;
v115 = (char *)v174;
}
if ( v116 > 0xF )
{
v131 = v115;
if ( v116 + 1 >= 0x1000 )
{
v115 = *((char **)v115 - 1);
if ( (unsigned __int64)(v131 - v115 - 8) > 0x1F )
LABEL_176:
invoke_watson(nullptr, nullptr, nullptr, 0, 0);
}
LABEL_142:
j_j_free(v115);
}
LABEL_143:
if ( ++v29 >= cocos2d::CCArray::count(v109) )
{
v94 = (unsigned int)v154;
v93 = v159;
v92 = (cocos2d::CCArray *)v157;
LABEL_145:
v29 = 0;
LABEL_146:
v132 = cocos2d::CCArray::stringAtIndex(v98, 6u);
v100[104] = cocos2d::CCString::intValue(v132) != 0;
v133 = cocos2d::CCArray::stringAtIndex(v98, 7u);
v134 = cocos2d::CCString::getCString(v133);
*(_OWORD *)String = 0;
v166 = 0u;
v135 = -1;
do
++v135;
while ( v134[v135] );
sub_14003D230(String, v134, v135);
v154 = String;
if ( (_QWORD)v166 )
{
cocos2d::ZipUtils::base64URLDecode(Block, String);
}
else
{
*(_OWORD *)Block = *(_OWORD *)String;
v168 = v166;
*(_QWORD *)&v166 = 0;
*((_QWORD *)&v166 + 1) = 15;
LOBYTE(String[0]) = 0;
}
sub_14003D310((__int64)String);
sub_140059C40((__int64)(v100 + 112), (__int64)Block);
if ( *((_QWORD *)&v168 + 1) > 0xFu )
{
v136 = Block[0];
if ( (unsigned __int64)(*((_QWORD *)&v168 + 1) + 1LL) >= 0x1000 )
{
v136 = *((void **)Block[0] - 1);
if ( (unsigned __int64)((char *)Block[0] - (char *)v136 - 8) > 0x1F )
invoke_watson(nullptr, nullptr, nullptr, 0, 0);
}
j_j_free(v136);
}
v137 = cocos2d::CCArray::stringAtIndex(v98, 8u);
v138 = cocos2d::CCString::getCString(v137);
*(_OWORD *)String = 0;
v166 = 0u;
v139 = -1;
do
++v139;
while ( v138[v139] );
sub_14003D230(String, v138, v139);
v154 = String;
if ( (_QWORD)v166 )
{
cocos2d::ZipUtils::base64URLDecode(Block, String);
}
else
{
*(_OWORD *)Block = *(_OWORD *)String;
v168 = v166;
*(_QWORD *)&v166 = 0;
*((_QWORD *)&v166 + 1) = 15;
LOBYTE(String[0]) = 0;
}
sub_14003D310((__int64)String);
sub_140059C40((__int64)(v100 + 144), (__int64)Block);
sub_14003D310((__int64)Block);
v140 = cocos2d::CCArray::stringAtIndex(v98, 9u);
v141 = cocos2d::CCString::getCString(v140);
*((_QWORD *)v100 + 22) = atoll(v141);
if ( cocos2d::CCArray::count(v98) >= 0xD )
{
v142 = cocos2d::CCArray::stringAtIndex(v98, 0xAu);
v143 = cocos2d::CCString::getCString(v142);
*((_QWORD *)v100 + 25) = atoll(v143);
v144 = cocos2d::CCArray::stringAtIndex(v98, 0xBu);
*((_DWORD *)v100 + 52) = cocos2d::CCString::intValue(v144);
v145 = cocos2d::CCArray::stringAtIndex(v98, 0xCu);
v146 = (char *)cocos2d::CCString::getCString(v145);
v147 = -1;
do
++v147;
while ( v146[v147] );
sub_1400405A0((void **)v100 + 27, v146, v147);
}
if ( cocos2d::CCArray::count(v98) >= 0xE )
{
v148 = cocos2d::CCArray::stringAtIndex(v98, 0xDu);
v149 = cocos2d::CCString::getCString(v148);
*((_QWORD *)v100 + 23) = atoll(v149);
}
if ( cocos2d::CCArray::count(v98) >= 0xF )
{
v150 = cocos2d::CCArray::stringAtIndex(v98, 0xEu);
v100[192] = cocos2d::CCString::intValue(v150) != 0;
}
cocos2d::CCArray::addObject(v92, (struct cocos2d::CCObject *)v100);
sub_14003D310((__int64)&v191);
LABEL_169:
LODWORD(v154) = ++v94;
if ( v94 >= cocos2d::CCArray::count(v93) )
{
v4 = v160;
break;
}
goto LABEL_99;
}
}
}
}
v151 = *(_QWORD *)(v161 + 1384);
if ( v151 )
(*(void (__fastcall **)(__int64, _QWORD, cocos2d::CCArray *, __int64 *))(*(_QWORD *)v151 + 256LL))(
v151,
v155,
v92,
&v177);
sub_14003D310((__int64)&v186);
sub_14003D310((__int64)v184);
sub_14003EA90(&v179);
sub_14003D310((__int64)&v197);
sub_14003D310((__int64)&v194);
sub_14003D310((__int64)&v200);
sub_14003D310((__int64)v4);
v152 = (__int64)v156;
LABEL_182:
sub_14003D310(v152);
}