//
// ReportQueuePopup::buildRows from 0xc50864 to 0xc51964 (4352 bytes)
//
// 2 xrefs:
// > ReportQueuePopup::adminReportQueueFinished @ 0xc51abc
// > ??> @ 0xb6188
//
// 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 13:05:09 +0000
//
__int64 __fastcall ReportQueuePopup::buildRows(ReportQueuePopup *this, cocos2d::CCArray *a2)
{
ScrollableContentLayer *v3; // x0
__int64 v4; // x20
float v5; // s9
float v6; // s10
__int64 v7; // x19
void (__fastcall *v8)(__int64, void **); // x2
void (__fastcall *v9)(__int64, void **); // x21
void (__fastcall *v10)(__int64, void **); // x21
const char *v11; // x2
int v12; // w0
cocos2d::CCLabelBMFont *v13; // x0
cocos2d::CCLabelBMFont *v14; // x19
float v15; // s0
float v16; // s8
float v17; // s8
__int64 v18; // x23
float v19; // s9
void (__fastcall *v20)(__int64, void **); // x19
const char *v21; // x6
int v22; // w0
const char *v23; // x1
size_t v24; // x0
const char *v25; // x2
const char *v26; // x1
cocos2d::CCString *v27; // x0
char *CString; // x0
cocos2d::CCLabelBMFont *v29; // x0
__int64 v30; // x21
void (__fastcall *v31)(__int64, void **); // x23
void (__fastcall *v32)(__int64, void **); // x3
void (__fastcall *v33)(__int64, void **); // x23
__int64 v34; // x22
float v35; // s8
__int64 v36; // x22
void (__fastcall *v37)(__int64, void **); // x23
float v38; // s8
cocos2d::CCString *v39; // x0
cocos2d::CCLabelBMFont *v40; // x0
const char *v41; // x2
__int64 v42; // x19
void (__fastcall *v43)(__int64, void **); // x21
void (__fastcall *v44)(__int64, void **); // x2
void (__fastcall *v45)(__int64, void **); // x21
GJAccountManager *v46; // x0
size_t v47; // x2
int v48; // w19
__int64 v49; // x0
size_t v50; // x1
cocos2d::CCLabelBMFont *v51; // x21
void (__fastcall *v52)(cocos2d::CCLabelBMFont *, void **); // x22
float v53; // s9
const char *v54; // x1
cocos2d::CCString *v55; // x0
size_t v56; // x0
__int64 *v57; // x2
__int64 v58; // x1
const char *v59; // x1
char *v60; // x2
cocos2d::CCString *v61; // x0
size_t v62; // x0
const char *v63; // x1
cocos2d::CCString *v64; // x0
char *v65; // x0
__int64 *v66; // x0
size_t v67; // x3
const char *v68; // x1
char *v69; // x2
cocos2d::CCString *v70; // x0
size_t v71; // x0
__int64 *v72; // x2
__int64 v73; // x1
int v74; // w1
char *v75; // x0
__int64 v76; // x0
size_t v77; // x3
__int64 *v78; // x2
size_t v79; // x1
const char *v80; // x1
cocos2d::CCString *v81; // x0
size_t v82; // x0
__int64 *v83; // x2
__int64 v84; // x1
_BYTE *v85; // x22
const char *v86; // x1
unsigned __int64 v87; // x21
__int64 v88; // x20
char *v89; // x1
size_t v90; // x2
char *v91; // x23
size_t v92; // x2
unsigned __int8 v93; // w0
size_t v94; // x22
void *v95; // x1
cocos2d::CCLabelBMFont *v96; // x0
cocos2d::CCLabelBMFont *v97; // x19
void (__fastcall *v98)(cocos2d::CCLabelBMFont *, _BYTE *); // x21
void (__fastcall *v99)(cocos2d::CCLabelBMFont *, _BYTE *); // x2
void (__fastcall *v100)(cocos2d::CCLabelBMFont *, _BYTE *); // x21
__int64 *v101; // x19
char *v102; // x0
const void *v104; // x1
const char *v105; // x2
cocos2d::CCLabelBMFont *v106; // x0
__int64 v107; // x21
void (__fastcall *v108)(__int64, void **); // x19
void (__fastcall *v109)(__int64, void **); // x19
__int64 *v110; // x2
__int64 v111; // x1
int v113; // [xsp+ACh] [xbp+ACh]
unsigned int v115; // [xsp+BCh] [xbp+BCh]
__int64 v116; // [xsp+C0h] [xbp+C0h]
char *v117; // [xsp+C8h] [xbp+C8h]
char *v118; // [xsp+C8h] [xbp+C8h]
char *v119; // [xsp+C8h] [xbp+C8h]
char *v120; // [xsp+C8h] [xbp+C8h]
char *v121; // [xsp+C8h] [xbp+C8h]
const char *v122; // [xsp+C8h] [xbp+C8h]
_BYTE v123[8]; // [xsp+D8h] [xbp+D8h] BYREF
void *v124; // [xsp+E0h] [xbp+E0h] BYREF
__int64 *v125; // [xsp+E8h] [xbp+E8h]
__int64 *v126; // [xsp+F0h] [xbp+F0h]
__int64 v127; // [xsp+F8h] [xbp+F8h] BYREF
__int64 v128; // [xsp+100h] [xbp+100h]
void *v129; // [xsp+108h] [xbp+108h]
__int64 v130; // [xsp+110h] [xbp+110h] BYREF
__int64 v131; // [xsp+118h] [xbp+118h]
void *v132; // [xsp+120h] [xbp+120h]
__int64 v133[2]; // [xsp+128h] [xbp+128h] BYREF
void *v134; // [xsp+138h] [xbp+138h]
__int64 v135; // [xsp+140h] [xbp+140h] BYREF
__int64 v136; // [xsp+148h] [xbp+148h]
void *v137; // [xsp+150h] [xbp+150h]
__int64 v138; // [xsp+158h] [xbp+158h] BYREF
__int64 v139; // [xsp+160h] [xbp+160h]
void *v140; // [xsp+168h] [xbp+168h]
size_t v141; // [xsp+170h] [xbp+170h] BYREF
size_t v142; // [xsp+178h] [xbp+178h]
void *v143; // [xsp+180h] [xbp+180h]
v113 = cocos2d::CCArray::count(a2);
v3 = *((ScrollableContentLayer **)this + 86);
v116 = *((_QWORD *)v3 + 52);
if ( v113 > 0 )
{
v115 = 0;
while ( 1 )
{
v4 = cocos2d::CCArray::objectAtIndex(a2, v115);
v5 = (float)((float)((float)(int)v115 * 43.0) + 6.0) + 20.0;
cocos2d::CCRect::CCRect((cocos2d::CCRect *)&v124, 0.0, 0.0, 40.0, 40.0);
v6 = -v5;
v7 = cocos2d::extension::CCScale9Sprite::create("square02_small.png", &v124);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v7 + 912LL))(v7, 60);
v8 = *(void (__fastcall **)(__int64, void **))(*(_QWORD *)v7 + 960LL);
LOWORD(v124) = 0;
BYTE2(v124) = 0;
v8(v7, &v124);
v9 = *(void (__fastcall **)(__int64, void **))(*(_QWORD *)v7 + 320LL);
cocos2d::CCSize::CCSize((cocos2d::CCSize *)&v124, *((float *)this + 176) - 8.0, 40.0);
v9(v7, &v124);
v10 = *(void (__fastcall **)(__int64, void **))(*(_QWORD *)v7 + 184LL);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v124, *((float *)this + 176) * 0.5, -v5);
v10(v7, &v124);
(*(void (__fastcall **)(__int64, __int64, _QWORD))(*(_QWORD *)v116 + 464LL))(v116, v7, 0);
v12 = *(unsigned __int8 *)(v4 + 64);
if ( (v12 & 1) != 0 )
{
if ( !*(_QWORD *)(v4 + 72) )
goto LABEL_95;
v13 = *(cocos2d::CCLabelBMFont **)(v4 + 80);
}
else
{
if ( !(v12 >> 1) )
{
LABEL_95:
v14 = (cocos2d::CCLabelBMFont *)cocos2d::CCLabelBMFont::create(
(cocos2d::CCLabelBMFont *)"?",
"goldFont.fnt",
v11);
v15 = 130.0;
if ( *(int *)(v4 + 192) > 0 )
goto LABEL_7;
goto LABEL_96;
}
v13 = (cocos2d::CCLabelBMFont *)(v4 + 65);
}
v14 = (cocos2d::CCLabelBMFont *)cocos2d::CCLabelBMFont::create(v13, "goldFont.fnt", v11);
v15 = 130.0;
if ( *(int *)(v4 + 192) > 0 )
goto LABEL_7;
LABEL_96:
v15 = 180.0;
LABEL_7:
cocos2d::CCLabelBMFont::limitLabelWidth(v14, v15, 0.5, 0.2);
v16 = *(float *)(*(__int64 (__fastcall **)(cocos2d::CCLabelBMFont *))(*(_QWORD *)v14 + 328LL))(v14);
v17 = v16 * (*(float (__fastcall **)(cocos2d::CCLabelBMFont *))(*(_QWORD *)v14 + 168LL))(v14);
v18 = CCMenuItemSpriteExtra::create((__int64)v14, 0, (__int64)this, (__int64)ReportQueuePopup::onOpenAuthor, 0);
CCMenuItemSpriteExtra::setSizeMult(v18, 1.3);
(*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v18 + 72LL))(v18, v115);
v19 = 9.0 - v5;
v20 = *(void (__fastcall **)(__int64, void **))(*(_QWORD *)v18 + 184LL);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v124, (float)(v17 * 0.5) + 10.0, v19);
v20(v18, &v124);
(*(void (__fastcall **)(__int64, __int64, __int64))(*(_QWORD *)v116 + 464LL))(v116, v18, 2);
if ( *(int *)(v4 + 192) > 0 )
{
v22 = *(_DWORD *)(v4 + 196);
if ( v22 == 2 )
{
v23 = "PREDATOR";
}
else if ( v22 == 1 )
{
v23 = "AD SPAM";
}
else
{
v23 = "FLAGGED";
}
v117 = (char *)v23;
v141 = 0;
v142 = 0;
v143 = nullptr;
v24 = strlen(v23);
std::string::__init((__int64 *)&v141, v117, v24);
v26 = (const char *)*(unsigned int *)(v4 + 208);
if ( (int)v26 > 1 )
{
v27 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)" x%i", v26);
CString = (char *)cocos2d::CCString::getCString(v27);
std::string::append((__int64)&v141, CString);
}
if ( (v141 & 1) != 0 )
v29 = (cocos2d::CCLabelBMFont *)v143;
else
v29 = (cocos2d::CCLabelBMFont *)((char *)&v141 + 1);
v30 = cocos2d::CCLabelBMFont::create(v29, "bigFont.fnt", v25);
v31 = *(void (__fastcall **)(__int64, void **))(*(_QWORD *)v30 + 296LL);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v124, 0.0, 0.5);
v31(v30, &v124);
(*(void (__fastcall **)(__int64, float))(*(_QWORD *)v30 + 160LL))(v30, 0.32);
v32 = *(void (__fastcall **)(__int64, void **))(*(_QWORD *)v30 + 1072LL);
LOWORD(v124) = 25855;
BYTE2(v124) = 100;
v32(v30, &v124);
v33 = *(void (__fastcall **)(__int64, void **))(*(_QWORD *)v30 + 184LL);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v124, (float)(v17 + 10.0) + 8.0, v19);
v33(v30, &v124);
(*(void (__fastcall **)(__int64, __int64, __int64))(*(_QWORD *)v116 + 464LL))(v116, v30, 1);
if ( (v141 & 1) != 0 )
operator delete(v143);
}
v34 = ButtonSprite::create(
(ButtonSprite *)"Review",
(const char *)&dword_30 + 2,
0,
1,
0.5,
"bigFont.fnt",
"GJ_button_01.png",
v21,
24.0);
(*(void (__fastcall **)(__int64, float))(*(_QWORD *)v34 + 160LL))(v34, 0.8);
v35 = *(float *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v34 + 328LL))(v34) * 0.8;
v36 = CCMenuItemSpriteExtra::create(v34, 0, (__int64)this, (__int64)ReportQueuePopup::onOpenReview, 0);
CCMenuItemSpriteExtra::setSizeMult(v36, 1.2);
(*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v36 + 72LL))(v36, v115);
v37 = *(void (__fastcall **)(__int64, void **))(*(_QWORD *)v36 + 184LL);
cocos2d::CCPoint::CCPoint(
(cocos2d::CCPoint *)&v124,
(float)(*((float *)this + 176) - 10.0) - (float)(v35 * 0.5),
v6);
v37(v36, &v124);
(*(void (__fastcall **)(__int64, __int64, __int64))(*(_QWORD *)v116 + 464LL))(v116, v36, 2);
v38 = (float)((float)(*((float *)this + 176) - 10.0) - v35) - 8.0;
v39 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat(
(cocos2d::CCString *)"%i pts",
(const char *)*(unsigned int *)(v4 + 224));
v40 = (cocos2d::CCLabelBMFont *)cocos2d::CCString::getCString(v39);
v42 = cocos2d::CCLabelBMFont::create(v40, "bigFont.fnt", v41);
v43 = *(void (__fastcall **)(__int64, void **))(*(_QWORD *)v42 + 296LL);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v124, 1.0, 0.5);
v43(v42, &v124);
(*(void (__fastcall **)(__int64, float))(*(_QWORD *)v42 + 160LL))(v42, 0.32);
v44 = *(void (__fastcall **)(__int64, void **))(*(_QWORD *)v42 + 1072LL);
LOWORD(v124) = -11521;
BYTE2(v124) = 60;
v44(v42, &v124);
v45 = *(void (__fastcall **)(__int64, void **))(*(_QWORD *)v42 + 184LL);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v124, v38, v19);
v45(v42, &v124);
(*(void (__fastcall **)(__int64, __int64, __int64))(*(_QWORD *)v116 + 464LL))(v116, v42, 1);
v46 = (GJAccountManager *)*(unsigned __int8 *)(v4 + 112);
if ( ((unsigned __int8)v46 & 1) != 0 )
{
v47 = *(_QWORD *)(v4 + 120);
if ( !v47 )
goto LABEL_19;
v141 = 0;
v142 = 0;
v143 = nullptr;
v104 = *(const void **)(v4 + 128);
}
else
{
v47 = (int)*(unsigned __int8 *)(v4 + 112) >> 1;
if ( !(_DWORD)v47 )
goto LABEL_19;
v141 = 0;
v142 = 0;
v47 = (int)v47;
v143 = nullptr;
v104 = (const void *)(v4 + 113);
}
std::string::__init((__int64 *)&v141, v104, v47, v47 + 4);
std::string::append((__int64)&v141, " ago", 4u);
v106 = (cocos2d::CCLabelBMFont *)((char *)&v141 + 1);
if ( (v141 & 1) != 0 )
v106 = (cocos2d::CCLabelBMFont *)v143;
v107 = cocos2d::CCLabelBMFont::create(v106, "chatFont.fnt", v105);
if ( (v141 & 1) != 0 )
operator delete(v143);
v108 = *(void (__fastcall **)(__int64, void **))(*(_QWORD *)v107 + 296LL);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v124, 1.0, 0.5);
v108(v107, &v124);
(*(void (__fastcall **)(__int64, float))(*(_QWORD *)v107 + 160LL))(v107, 0.4);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v107 + 1024LL))(v107, 4294967190LL);
v109 = *(void (__fastcall **)(__int64, void **))(*(_QWORD *)v107 + 184LL);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v124, v38, v6 - 10.0);
v109(v107, &v124);
(*(void (__fastcall **)(__int64, __int64, __int64))(*(_QWORD *)v116 + 464LL))(v116, v107, 1);
v46 = (GJAccountManager *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v107 + 336LL))(v107);
v38 = v38 - (float)(*(float *)&v124 + 8.0);
LABEL_19:
v48 = *(_DWORD *)(v4 + 140);
if ( v48 > 0 )
{
v49 = GJAccountManager::sharedState(v46);
if ( v48 == *(_DWORD *)(v49 + 352) - *(_DWORD *)(v49 + 356) )
{
v141 = 0;
v142 = 0;
v143 = nullptr;
std::string::__init((__int64 *)&v141, "you", 3u);
}
else
{
v141 = 0;
v142 = 0;
v143 = nullptr;
if ( (*(_BYTE *)(v4 + 144) & 1) != 0 )
{
std::string::__init((__int64 *)&v141, *(void **)(v4 + 160), *(_QWORD *)(v4 + 152));
}
else
{
v50 = *(_QWORD *)(v4 + 152);
v141 = *(_QWORD *)(v4 + 144);
v142 = v50;
v143 = *(void **)(v4 + 160);
}
}
v51 = AccountReviewPopup::viewedByLabel((unsigned __int8 *)&v141, v4 + 168, 0.4);
v52 = *(void (__fastcall **)(cocos2d::CCLabelBMFont *, void **))(*(_QWORD *)v51 + 184LL);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v124, v38, v6 - 10.0);
v52(v51, &v124);
(*(void (__fastcall **)(__int64, cocos2d::CCLabelBMFont *, __int64))(*(_QWORD *)v116 + 464LL))(v116, v51, 1);
v53 = *(float *)(*(__int64 (__fastcall **)(cocos2d::CCLabelBMFont *))(*(_QWORD *)v51 + 328LL))(v51);
v38 = v38
- (float)((float)(v53 * (*(float (__fastcall **)(cocos2d::CCLabelBMFont *))(*(_QWORD *)v51 + 168LL))(v51))
+ 8.0);
if ( (v141 & 1) != 0 )
operator delete(v143);
}
v124 = nullptr;
v125 = nullptr;
v126 = nullptr;
v54 = (const char *)*(unsigned int *)(v4 + 192);
if ( (int)v54 > 0 )
{
v55 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"score %i", v54);
v118 = (char *)cocos2d::CCString::getCString(v55);
v127 = 0;
v128 = 0;
v129 = nullptr;
v56 = strlen(v118);
std::string::__init(&v127, v118, v56);
v57 = v125;
if ( v126 <= v125 )
{
std::vector::__push_back_slow_path((void ***)&v124, &v127);
}
else
{
if ( v125 )
{
v58 = v128;
*v125 = v127;
v57[1] = v58;
v57[2] = (__int64)v129;
v127 = 0;
v57 = v125;
v128 = 0;
v129 = nullptr;
}
v47 = (size_t)(v57 + 3);
v125 = (__int64 *)v47;
}
if ( (v127 & 1) != 0 )
operator delete(v129);
}
v59 = (const char *)*(unsigned int *)(v4 + 228);
if ( (int)v59 <= 0 )
{
if ( *(int *)(v4 + 96) <= 0 )
goto LABEL_45;
}
else if ( (_DWORD)v59 == 1 )
{
v60 = &byte_11B8890;
goto LABEL_35;
}
v60 = "s";
LABEL_35:
v61 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"%i reporter%s", v59, v60);
v119 = (char *)cocos2d::CCString::getCString(v61);
v141 = 0;
v142 = 0;
v143 = nullptr;
v62 = strlen(v119);
std::string::__init((__int64 *)&v141, v119, v62);
v63 = (const char *)*(unsigned int *)(v4 + 96);
if ( (int)v63 > 0 )
{
v64 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)" +%i anonymous", v63);
v65 = (char *)cocos2d::CCString::getCString(v64);
std::string::append((__int64)&v141, v65);
}
v66 = v125;
if ( v125 == v126 )
{
std::vector::__push_back_slow_path((__int64 *)&v124, &v141);
}
else
{
if ( v125 )
{
*v125 = 0;
v66[1] = 0;
v66[2] = 0;
if ( (v141 & 1) != 0 )
{
std::string::__init(v66, v143, v142);
}
else
{
v47 = v141;
v67 = v142;
*v66 = v141;
v66[1] = v67;
v66[2] = (__int64)v143;
}
v66 = v125;
}
v125 = v66 + 3;
}
if ( (v141 & 1) != 0 )
operator delete(v143);
LABEL_45:
v68 = (const char *)*(unsigned int *)(v4 + 88);
if ( (int)v68 <= 0 )
goto LABEL_52;
if ( (_DWORD)v68 == 1 )
v69 = &byte_11B8890;
else
v69 = "s";
v70 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"%i item%s", v68, v69);
v120 = (char *)cocos2d::CCString::getCString(v70);
v130 = 0;
v131 = 0;
v132 = nullptr;
v71 = strlen(v120);
std::string::__init(&v130, v120, v71);
v72 = v125;
if ( v125 >= v126 )
{
std::vector::__push_back_slow_path((void ***)&v124, &v130);
if ( (v130 & 1) == 0 )
goto LABEL_52;
LABEL_114:
operator delete(v132);
goto LABEL_52;
}
if ( v125 )
{
v73 = v131;
*v125 = v130;
v72[1] = v73;
v72[2] = (__int64)v132;
v130 = 0;
v72 = v125;
v131 = 0;
v132 = nullptr;
}
v47 = (size_t)(v72 + 3);
v125 = (__int64 *)v47;
if ( (v130 & 1) != 0 )
goto LABEL_114;
LABEL_52:
if ( (*(_DWORD *)(v4 + 100) & 0x80000000) == 0 )
{
v133[0] = 0;
v133[1] = 0;
v134 = nullptr;
std::string::__init(v133, "top: ", 5u);
v75 = (char *)ReportPopup::reasonShortLabel((ReportPopup *)*(unsigned int *)(v4 + 100), v74);
v76 = std::string::append((__int64)v133, v75);
v77 = *(_QWORD *)(v76 + 8);
v141 = *(_QWORD *)v76;
v142 = v77;
v143 = *(void **)(v76 + 16);
*(_QWORD *)v76 = 0;
*(_QWORD *)(v76 + 8) = 0;
*(_QWORD *)(v76 + 16) = 0;
v78 = v125;
if ( v125 >= v126 )
{
std::vector::__push_back_slow_path((void ***)&v124, &v141);
}
else
{
if ( v125 )
{
v79 = v142;
*v125 = v141;
v78[1] = v79;
v78[2] = (__int64)v143;
v141 = 0;
v78 = v125;
v142 = 0;
v143 = nullptr;
}
v47 = (size_t)(v78 + 3);
v125 = (__int64 *)v47;
}
if ( (v141 & 1) != 0 )
operator delete(v143);
if ( (v133[0] & 1) != 0 )
operator delete(v134);
}
v80 = (const char *)*(unsigned int *)(v4 + 136);
if ( (int)v80 <= 0 )
goto LABEL_66;
v81 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"reported directly x%i", v80);
v121 = (char *)cocos2d::CCString::getCString(v81);
v135 = 0;
v136 = 0;
v137 = nullptr;
v82 = strlen(v121);
std::string::__init(&v135, v121, v82);
v83 = v125;
if ( v125 >= v126 )
{
std::vector::__push_back_slow_path((void ***)&v124, &v135);
if ( (v135 & 1) == 0 )
goto LABEL_66;
}
else
{
if ( v125 )
{
v84 = v136;
*v125 = v135;
v83[1] = v84;
v83[2] = (__int64)v137;
v135 = 0;
v83 = v125;
v136 = 0;
v137 = nullptr;
}
v47 = (size_t)(v83 + 3);
v125 = (__int64 *)v47;
if ( (v135 & 1) == 0 )
goto LABEL_66;
}
operator delete(v137);
LABEL_66:
if ( !*(_DWORD *)(v4 + 88) && !*(_DWORD *)(v4 + 136) )
{
v138 = 0;
v139 = 0;
v140 = nullptr;
std::string::__init(&v138, "no reports", 0xAu);
v110 = v125;
if ( v125 >= v126 )
{
std::vector::__push_back_slow_path((void ***)&v124, &v138);
}
else
{
if ( v125 )
{
v111 = v139;
*v125 = v138;
v110[1] = v111;
v110[2] = (__int64)v140;
v138 = 0;
v110 = v125;
v139 = 0;
v140 = nullptr;
}
v47 = (size_t)(v110 + 3);
v125 = (__int64 *)v47;
}
if ( (v138 & 1) != 0 )
operator delete(v140);
}
v85 = v124;
v138 = 0;
v139 = 0;
v140 = nullptr;
if ( 0xAAAAAAAAAAAAAAABLL * (((char *)v125 - (_BYTE *)v124) >> 3) )
{
v86 = &byte_11B8890;
v87 = 0;
v88 = 0;
while ( 1 )
{
v141 = 0;
v142 = 0;
v91 = &v85[v88];
v143 = nullptr;
v122 = v86;
v92 = strlen(v86);
v93 = v85[v88];
v94 = v93 >> 1;
if ( (v93 & 1) != 0 )
v94 = *((_QWORD *)v91 + 1);
std::string::__init((__int64 *)&v141, v122, v92, v94 + v92);
v95 = v91 + 1;
if ( (*v91 & 1) != 0 )
v95 = *((void **)v91 + 2);
std::string::append((__int64)&v141, v95, v94);
if ( (v141 & 1) != 0 )
{
v89 = (char *)v143;
v90 = v142;
}
else
{
v90 = (unsigned __int8)v141 >> 1;
v89 = (char *)&v141 + 1;
}
std::string::append((__int64)&v138, v89, v90);
if ( (v141 & 1) != 0 )
operator delete(v143);
v85 = v124;
++v87;
v88 += 24;
if ( v87 >= 0xAAAAAAAAAAAAAAABLL * (((char *)v125 - (_BYTE *)v124) >> 3) )
break;
if ( v87 )
v86 = " - ";
else
v86 = &byte_11B8890;
}
}
if ( (v138 & 1) != 0 )
v96 = (cocos2d::CCLabelBMFont *)v140;
else
v96 = (cocos2d::CCLabelBMFont *)((char *)&v138 + 1);
v97 = (cocos2d::CCLabelBMFont *)cocos2d::CCLabelBMFont::create(v96, "chatFont.fnt", (const char *)v47);
v98 = *(void (__fastcall **)(cocos2d::CCLabelBMFont *, _BYTE *))(*(_QWORD *)v97 + 296LL);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v123, 0.0, 0.5);
v98(v97, v123);
cocos2d::CCLabelBMFont::limitLabelWidth(v97, v38 - 10.0, 0.45, 0.2);
v99 = *(void (__fastcall **)(cocos2d::CCLabelBMFont *, _BYTE *))(*(_QWORD *)v97 + 1072LL);
v123[0] = -1;
v123[1] = -46;
v123[2] = 60;
v99(v97, v123);
v100 = *(void (__fastcall **)(cocos2d::CCLabelBMFont *, _BYTE *))(*(_QWORD *)v97 + 184LL);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v123, 10.0, v6 - 10.0);
v100(v97, v123);
(*(void (__fastcall **)(__int64, cocos2d::CCLabelBMFont *, __int64))(*(_QWORD *)v116 + 464LL))(v116, v97, 1);
if ( (v138 & 1) != 0 )
operator delete(v140);
v101 = (__int64 *)v124;
if ( v124 )
{
v102 = (char *)v125;
if ( v124 != v125 )
{
do
{
v125 = (__int64 *)(v102 - 24);
std::string::~string((__int64)(v102 - 24));
v102 = (char *)v125;
}
while ( v101 != v125 );
v102 = (char *)v124;
}
operator delete(v102);
}
if ( v113 == ++v115 )
{
v3 = *((ScrollableContentLayer **)this + 86);
break;
}
}
}
ScrollableContentLayer::setContentHeight(v3, (float)((float)v113 * 43.0) + 12.0);
return _stack_chk_guard;
}