//
// AccountReviewPopup::buildFilterRows from 0xc4650c to 0xc47754 (4680 bytes)
//
// 3 xrefs:
// > AccountReviewPopup::adminAbuseInfoFinished @ 0xc478bc
// > AccountReviewPopup::rebuildRows @ 0xc4e8fc
// > ??> @ 0x6cdf0
//
// 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:00 +0000
//
__int64 __fastcall AccountReviewPopup::buildFilterRows(AccountReviewPopup *this, cocos2d::CCArray *a2)
{
ScrollableContentLayer *v3; // x0
__int64 v4; // x21
__int64 v5; // x20
float v6; // s8
float v7; // s15
float v8; // s8
float v9; // s9
unsigned int v10; // w28
__int64 v11; // x23
void (__fastcall *v12)(__int64, _QWORD *); // x2
void (__fastcall *v13)(__int64, _QWORD *); // x24
void (__fastcall *v14)(__int64, _QWORD *); // x24
char *v15; // x2
CCMenuItemToggler **v16; // x0
int v17; // w1
cocos2d::CCLabelBMFont *v18; // x0
const char *v19; // x2
__int64 v20; // x27
void (__fastcall *v21)(__int64, _QWORD *); // x23
void (__fastcall *v22)(__int64, _QWORD *); // x23
int v23; // w0
void (__fastcall *v24)(__int64, _QWORD *); // x23
const char *v25; // x2
int v26; // w1
char *v27; // x0
__int64 v28; // x26
void (__fastcall *v29)(__int64, _QWORD *); // x23
int v30; // w0
void (__fastcall *v31)(__int64, _QWORD *); // x3
int v32; // w1
char v33; // w2
char v34; // w5
char v35; // w4
void (__fastcall *v36)(__int64, _QWORD *); // x23
const char *v37; // x2
cocos2d::CCLabelBMFont *v38; // x0
__int64 v39; // x27
void (__fastcall *v40)(__int64, _QWORD *); // x23
void (__fastcall *v41)(__int64, _QWORD *); // x23
const char *v42; // x2
char *v43; // x0
__int64 v44; // x23
void (__fastcall *v45)(__int64, _QWORD *); // x24
void (__fastcall *v46)(__int64, _QWORD *); // x24
float v47; // s8
__int64 v48; // x1
char v49; // w0
__int64 v50; // x26
__int64 v51; // x1
void *v52; // x2
size_t v53; // x2
int v54; // w3
__int64 v55; // x1
__int64 v56; // x1
char v57; // w0
size_t v58; // x1
void *v59; // x2
__int64 v60; // x0
size_t v61; // x3
char *v62; // x1
size_t v63; // x2
int v64; // w1
const char *v65; // x0
char *v66; // x2
cocos2d::CCString *v67; // x0
size_t v68; // x0
__int64 v69; // x26
size_t v70; // x1
bool v71; // cc
__int64 v72; // x1
char v73; // w2
void (__fastcall *v74)(__int64, _QWORD *); // x28
const char *v75; // x1
int v76; // w0
cocos2d::CCSprite *v77; // x27
__int64 v78; // x27
void (__fastcall *v79)(__int64, _QWORD *); // x26
const char *v80; // x2
cocos2d::CCLabelBMFont *v81; // x0
__int64 v82; // x27
void (__fastcall *v83)(__int64, _QWORD *); // x26
__int64 v84; // x1
void (__fastcall *v85)(__int64, _QWORD *); // x26
float v86; // s15
cocos2d::CCLabelBMFont *v87; // x0
cocos2d::CCLabelBMFont *v88; // x28
void (__fastcall *v89)(cocos2d::CCLabelBMFont *, _QWORD *); // x27
void (__fastcall *v90)(cocos2d::CCLabelBMFont *, _QWORD *); // x20
void *v92; // x1
size_t v93; // x2
__int64 v94; // x0
__int64 v95; // x3
int v96; // w26
int v97; // w0
const char *v98; // x1
__int64 v99; // x23
__int64 v100; // x23
void (__fastcall *v101)(__int64, _QWORD *); // x24
int v102; // w0
const char *v103; // x1
__int64 v104; // x23
const char *v105; // x1
__int64 v106; // x0
CCMenuItemToggler *v107; // x0
__int64 v108; // x3
CCMenuItemToggler *v109; // x23
void (__fastcall *v110)(CCMenuItemToggler *, _QWORD *); // x24
char *v111; // x1
void *v112; // x1
size_t v113; // x2
__int64 v114; // x0
size_t v115; // x3
char v116; // w1
_BYTE *v117; // x0
unsigned __int8 *v118; // x1
unsigned __int8 *v119; // x2
int v120; // t1
__int64 v121; // x23
void (__fastcall *v122)(__int64, _QWORD *); // x24
void (__fastcall *v123)(__int64, _QWORD *); // x3
void (__fastcall *v124)(__int64, _QWORD *); // x24
int v126; // [xsp+ACh] [xbp+ACh]
float v127; // [xsp+B0h] [xbp+B0h]
char *CString; // [xsp+B0h] [xbp+B0h]
float v129; // [xsp+B0h] [xbp+B0h]
unsigned __int8 v130; // [xsp+D8h] [xbp+D8h]
unsigned int v131; // [xsp+DCh] [xbp+DCh]
CCMenuItemToggler *v132; // [xsp+E8h] [xbp+E8h] BYREF
float v133; // [xsp+F0h] [xbp+F0h]
_QWORD v134[2]; // [xsp+F8h] [xbp+F8h] BYREF
__int64 v135; // [xsp+108h] [xbp+108h] BYREF
__int64 v136; // [xsp+110h] [xbp+110h]
void *v137; // [xsp+118h] [xbp+118h]
unsigned __int8 v138; // [xsp+120h] [xbp+120h] BYREF
char v139; // [xsp+121h] [xbp+121h] BYREF
_BYTE v140[14]; // [xsp+122h] [xbp+122h] BYREF
void *v141; // [xsp+130h] [xbp+130h]
__int64 v142; // [xsp+138h] [xbp+138h] BYREF
size_t v143; // [xsp+140h] [xbp+140h]
void *v144; // [xsp+148h] [xbp+148h]
unsigned __int64 v145[3]; // [xsp+150h] [xbp+150h] BYREF
unsigned __int64 v146[3]; // [xsp+168h] [xbp+168h] BYREF
__int64 v147[2]; // [xsp+180h] [xbp+180h] BYREF
void *v148; // [xsp+190h] [xbp+190h]
__int64 v149; // [xsp+198h] [xbp+198h] BYREF
size_t v150; // [xsp+1A0h] [xbp+1A0h]
void *v151; // [xsp+1A8h] [xbp+1A8h]
__int64 v152; // [xsp+1B0h] [xbp+1B0h] BYREF
size_t v153; // [xsp+1B8h] [xbp+1B8h]
void *v154; // [xsp+1C0h] [xbp+1C0h]
v126 = cocos2d::CCArray::count(a2);
v3 = *((ScrollableContentLayer **)this + 86);
v4 = *((_QWORD *)v3 + 52);
if ( v126 <= 0 )
goto LABEL_83;
v131 = 0;
while ( 2 )
{
v5 = cocos2d::CCArray::objectAtIndex(a2, v131);
v6 = (float)((float)((float)(int)v131 * 43.0) + 6.0) + 20.0;
v7 = -v6;
v8 = 10.0 - v6;
v9 = v7 - 10.0;
if ( *(_BYTE *)(v5 + 160) )
{
v10 = 150;
v130 = -1;
}
else
{
v130 = 120;
v10 = 120;
}
cocos2d::CCRect::CCRect((cocos2d::CCRect *)v134, 0.0, 0.0, 40.0, 40.0);
v11 = cocos2d::extension::CCScale9Sprite::create("square02_small.png", v134);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v11 + 912LL))(v11, 60);
v12 = *(void (__fastcall **)(__int64, _QWORD *))(*(_QWORD *)v11 + 960LL);
LOWORD(v134[0]) = 0;
BYTE2(v134[0]) = 0;
v12(v11, v134);
v13 = *(void (__fastcall **)(__int64, _QWORD *))(*(_QWORD *)v11 + 320LL);
cocos2d::CCSize::CCSize((cocos2d::CCSize *)v134, *((float *)this + 176) - 8.0, 40.0);
v13(v11, v134);
v14 = *(void (__fastcall **)(__int64, _QWORD *))(*(_QWORD *)v11 + 184LL);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v134, *((float *)this + 176) * 0.5, v7);
v14(v11, v134);
(*(void (__fastcall **)(__int64, __int64, _QWORD))(*(_QWORD *)v4 + 464LL))(v4, v11, 0);
v132 = nullptr;
if ( *(_DWORD *)(v5 + 60) == 3
&& *(int *)(v5 + 164) > 0
&& *(_BYTE *)(v5 + 172)
&& ((v102 = *(_DWORD *)(v5 + 56), v103 = (const char *)(unsigned int)(v102 - 3), (unsigned int)v103 <= 1)
|| v102 == 7) )
{
v104 = cocos2d::CCSprite::createWithSpriteFrameName((cocos2d::CCSprite *)"GJ_checkOff_001.png", v103);
v106 = cocos2d::CCSprite::createWithSpriteFrameName((cocos2d::CCSprite *)"GJ_checkOn_001.png", v105);
v132 = (CCMenuItemToggler *)CCMenuItemToggler::create(
v104,
v106,
(__int64)this,
(__int64)AccountReviewPopup::onToggleRow,
0);
(*(void (__fastcall **)(CCMenuItemToggler *, float))(*(_QWORD *)v132 + 160LL))(v132, 0.55);
CCMenuItemToggler::setSizeMult(v132, 1.4);
v107 = v132;
v108 = *(_QWORD *)v132;
*((_BYTE *)v132 + 393) = 1;
(*(void (__fastcall **)(CCMenuItemToggler *, _QWORD))(v108 + 72))(v107, v131);
v109 = v132;
v110 = *(void (__fastcall **)(CCMenuItemToggler *, _QWORD *))(*(_QWORD *)v132 + 184LL);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v134, 16.0, v7);
v110(v109, v134);
(*(void (__fastcall **)(__int64, CCMenuItemToggler *, __int64))(*(_QWORD *)v4 + 464LL))(v4, v132, 2);
v15 = (char *)this + 1320;
v16 = *((CCMenuItemToggler ***)this + 166);
if ( v16 == *((CCMenuItemToggler ***)this + 167) )
goto LABEL_117;
}
else
{
v15 = (char *)this + 1320;
v16 = *((CCMenuItemToggler ***)this + 166);
if ( v16 == *((CCMenuItemToggler ***)this + 167) )
{
LABEL_117:
std::vector::__push_back_slow_path((__int64)this + 1320, &v132);
goto LABEL_10;
}
}
if ( v16 )
{
*v16 = v132;
v16 = *((CCMenuItemToggler ***)v15 + 1);
}
v17 = (_DWORD)this + 1320;
*((_QWORD *)this + 166) = v16 + 1;
LABEL_10:
v18 = (cocos2d::CCLabelBMFont *)ReportPopup::surfaceName((ReportPopup *)*(unsigned int *)(v5 + 56), v17);
v20 = cocos2d::CCLabelBMFont::create(v18, "bigFont.fnt", v19);
v21 = *(void (__fastcall **)(__int64, _QWORD *))(*(_QWORD *)v20 + 296LL);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v134, 0.0, 0.5);
v21(v20, v134);
(*(void (__fastcall **)(__int64, float))(*(_QWORD *)v20 + 160LL))(v20, 0.32);
v22 = *(void (__fastcall **)(__int64, _QWORD *))(*(_QWORD *)v20 + 1072LL);
v23 = ReportPopup::contentTypeColor((ReportPopup *)*(unsigned int *)(v5 + 56), *(_QWORD *)v20);
BYTE2(v134[0]) = BYTE2(v23);
LOWORD(v134[0]) = v23;
v22(v20, v134);
(*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v20 + 1024LL))(v20, v130);
v24 = *(void (__fastcall **)(__int64, _QWORD *))(*(_QWORD *)v20 + 184LL);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v134, 32.0, v8);
v24(v20, v134);
(*(void (__fastcall **)(__int64, __int64, __int64))(*(_QWORD *)v4 + 464LL))(v4, v20, 1);
v26 = *(_DWORD *)(v5 + 60);
switch ( *(_DWORD *)(v5 + 68) )
{
case 1:
v27 = "Noted";
goto LABEL_14;
case 2:
goto LABEL_95;
case 3:
v27 = "Restricted";
goto LABEL_14;
case 4:
v27 = "Removed";
goto LABEL_14;
case 5:
goto LABEL_13;
default:
if ( v26 )
{
if ( v26 == 3 )
LABEL_95:
v27 = "Censored";
else
LABEL_13:
v27 = "Blocked";
}
else
{
v27 = "Malformed";
}
LABEL_14:
v28 = cocos2d::CCLabelBMFont::create((cocos2d::CCLabelBMFont *)v27, "chatFont.fnt", v25);
v29 = *(void (__fastcall **)(__int64, _QWORD *))(*(_QWORD *)v28 + 296LL);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v134, 0.0, 0.5);
v29(v28, v134);
(*(void (__fastcall **)(__int64, float))(*(_QWORD *)v28 + 160LL))(v28, 0.45);
v30 = *(_DWORD *)(v5 + 60);
v31 = *(void (__fastcall **)(__int64, _QWORD *))(*(_QWORD *)v28 + 1072LL);
if ( v30 )
{
v32 = *(_DWORD *)(v5 + 68);
if ( v32 == 1 )
{
v33 = -1;
v35 = -36;
v34 = -106;
}
else if ( v30 == 3 || v32 == 2 )
{
v33 = 60;
v35 = -46;
v34 = -1;
}
else if ( v32 == 4 )
{
v33 = 80;
v35 = -86;
v34 = -1;
}
else
{
v33 = 100;
v34 = -1;
v35 = 100;
}
}
else
{
v33 = -86;
v35 = -86;
v34 = -86;
}
BYTE1(v134[0]) = v35;
LOBYTE(v134[0]) = v34;
BYTE2(v134[0]) = v33;
v31(v28, v134);
(*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v28 + 1024LL))(v28, v130);
v36 = *(void (__fastcall **)(__int64, _QWORD *))(*(_QWORD *)v28 + 184LL);
(*(void (__fastcall **)(__int64))(*(_QWORD *)v20 + 336LL))(v20);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v134, (float)(v133 + 32.0) + 8.0, v8);
v36(v28, v134);
(*(void (__fastcall **)(__int64, __int64, __int64))(*(_QWORD *)v4 + 464LL))(v4, v28, 1);
std::operator+(" ago", v5 + 136, (unsigned __int64 *)&v152);
v38 = (cocos2d::CCLabelBMFont *)((char *)&v152 + 1);
if ( (v152 & 1) != 0 )
v38 = (cocos2d::CCLabelBMFont *)v154;
v39 = cocos2d::CCLabelBMFont::create(v38, "chatFont.fnt", v37);
if ( (v152 & 1) != 0 )
operator delete(v154);
v40 = *(void (__fastcall **)(__int64, _QWORD *))(*(_QWORD *)v39 + 296LL);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v134, 1.0, 0.5);
v40(v39, v134);
(*(void (__fastcall **)(__int64, float))(*(_QWORD *)v39 + 160LL))(v39, 0.4);
(*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v39 + 1024LL))(v39, v10);
v41 = *(void (__fastcall **)(__int64, _QWORD *))(*(_QWORD *)v39 + 184LL);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v134, *((float *)this + 176) - 10.0, v8);
v41(v39, v134);
(*(void (__fastcall **)(__int64, __int64, __int64))(*(_QWORD *)v4 + 464LL))(v4, v39, 1);
switch ( *(_DWORD *)(v5 + 72) )
{
case 1:
v43 = "Ad";
goto LABEL_26;
case 2:
v43 = "Link";
goto LABEL_26;
case 4:
v43 = "Slur";
goto LABEL_26;
case 5:
v43 = "Phrase list";
goto LABEL_26;
case 6:
v43 = "Predator";
goto LABEL_26;
case 7:
v43 = "Targeting";
goto LABEL_26;
case 9:
v43 = "Hidden chars";
LABEL_26:
v44 = cocos2d::CCLabelBMFont::create((cocos2d::CCLabelBMFont *)v43, "chatFont.fnt", v42);
v45 = *(void (__fastcall **)(__int64, _QWORD *))(*(_QWORD *)v44 + 296LL);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v134, 0.0, 0.5);
v45(v44, v134);
(*(void (__fastcall **)(__int64, float))(*(_QWORD *)v44 + 160LL))(v44, 0.4);
(*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v44 + 1024LL))(v44, v10);
v46 = *(void (__fastcall **)(__int64, _QWORD *))(*(_QWORD *)v44 + 184LL);
v127 = COERCE_FLOAT(COERCE_UNSIGNED_INT128(((long double (__fastcall *)(__int64))*(_QWORD *)(*(_QWORD *)v28 + 224LL))(v28)));
(*(void (__fastcall **)(__int64))(*(_QWORD *)v28 + 336LL))(v28);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v134, (float)(v127 + v133) + 8.0, v8);
v46(v44, v134);
(*(void (__fastcall **)(__int64, __int64, __int64))(*(_QWORD *)v4 + 464LL))(v4, v44, 1);
break;
default:
break;
}
if ( *(_DWORD *)(v5 + 60) != 3 )
{
v47 = *((float *)this + 176) - 18.0;
goto LABEL_29;
}
v96 = *(_DWORD *)(v5 + 164);
if ( v96 <= 0 || *(_BYTE *)(v5 + 172) )
{
v47 = *((float *)this + 176) - 18.0;
}
else
{
v121 = cocos2d::CCLabelBMFont::create((cocos2d::CCLabelBMFont *)"content deleted", "chatFont.fnt", v42);
v122 = *(void (__fastcall **)(__int64, _QWORD *))(*(_QWORD *)v121 + 296LL);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v134, 1.0, 0.5);
v122(v121, v134);
(*(void (__fastcall **)(__int64, float))(*(_QWORD *)v121 + 160LL))(v121, 0.4);
v123 = *(void (__fastcall **)(__int64, _QWORD *))(*(_QWORD *)v121 + 1072LL);
LOWORD(v134[0]) = 25855;
BYTE2(v134[0]) = 100;
v123(v121, v134);
v124 = *(void (__fastcall **)(__int64, _QWORD *))(*(_QWORD *)v121 + 184LL);
v129 = *((float *)this + 176) - 18.0;
(*(void (__fastcall **)(__int64))(*(_QWORD *)v39 + 336LL))(v39);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v134, v129 - v133, v8);
v124(v121, v134);
(*(void (__fastcall **)(__int64, __int64, __int64))(*(_QWORD *)v4 + 464LL))(v4, v121, 1);
v47 = *((float *)this + 176) - 18.0;
if ( *(_DWORD *)(v5 + 60) != 3 )
goto LABEL_29;
v96 = *(_DWORD *)(v5 + 164);
}
if ( v96 > 0 )
{
if ( *(_BYTE *)(v5 + 172) )
{
v97 = *(_DWORD *)(v5 + 56);
v98 = (const char *)(unsigned int)(v97 - 3);
if ( (unsigned int)v98 <= 1 || v97 == 7 )
{
v99 = cocos2d::CCSprite::createWithSpriteFrameName((cocos2d::CCSprite *)"GJ_deleteIcon_001.png", v98);
(*(void (__fastcall **)(__int64, float))(*(_QWORD *)v99 + 160LL))(v99, 0.5);
v100 = CCMenuItemSpriteExtra::create(
v99,
0,
(__int64)this,
(__int64)AccountReviewPopup::onDeleteFilterRow,
0);
CCMenuItemSpriteExtra::setSizeMult(v100, 1.3);
(*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v100 + 72LL))(v100, v131);
v101 = *(void (__fastcall **)(__int64, _QWORD *))(*(_QWORD *)v100 + 184LL);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v134, v47, v9);
v101(v100, v134);
(*(void (__fastcall **)(__int64, __int64, __int64))(*(_QWORD *)v4 + 464LL))(v4, v100, 2);
v47 = v47 - 26.0;
}
}
}
LABEL_29:
v48 = *(_BYTE *)(v5 + 80) >> 1;
if ( (*(_BYTE *)(v5 + 80) & 1) != 0 )
v48 = *(_QWORD *)(v5 + 88);
if ( v48 )
{
v50 = v5 + 104;
std::operator+(": ", v5 + 80, (unsigned __int64 *)&v152);
if ( (*(_BYTE *)(v5 + 104) & 1) != 0 )
{
v92 = *(void **)(v5 + 120);
v93 = *(_QWORD *)(v5 + 112);
}
else
{
v92 = (void *)(v5 + 105);
v93 = *(_BYTE *)(v5 + 104) >> 1;
}
v94 = std::string::append((__int64)&v152, v92, v93);
v95 = *(_QWORD *)(v94 + 8);
v135 = *(_QWORD *)v94;
v136 = v95;
v137 = *(void **)(v94 + 16);
*(_QWORD *)v94 = 0;
*(_QWORD *)(v94 + 8) = 0;
*(_QWORD *)(v94 + 16) = 0;
if ( (v152 & 1) != 0 )
operator delete(v154);
}
else
{
v49 = *(_BYTE *)(v5 + 104);
v135 = 0;
v50 = v5 + 104;
v136 = 0;
v137 = nullptr;
if ( (v49 & 1) != 0 )
{
std::string::__init(&v135, *(void **)(v5 + 120), *(_QWORD *)(v5 + 112));
}
else
{
v51 = *(_QWORD *)(v5 + 112);
v52 = *(void **)(v5 + 120);
v135 = *(_QWORD *)v50;
v136 = v51;
v137 = v52;
}
}
GameToolbox::singleLineSnippet((__int64)&v135, 0x50u, (__int64)&v138);
v53 = v138 >> 1;
if ( (v138 & 1) != 0 )
v53 = *(_QWORD *)&v140[6];
v54 = v135 & 1;
v55 = (unsigned __int8)v135 >> 1;
if ( v54 )
v55 = v136;
if ( v53 != v55 )
goto LABEL_39;
if ( (v138 & 1) != 0 )
{
v111 = (char *)&v135 + 1;
if ( v54 )
v111 = (char *)v137;
if ( v53 && memcmp(v141, v111, v53) )
goto LABEL_39;
}
else
{
v117 = (char *)&v135 + 1;
if ( v54 )
v117 = v137;
if ( v53 )
{
if ( v139 == *v117 )
{
v118 = v140;
v119 = &v140[v53 - 1];
do
{
++v117;
if ( v118 == v119 )
goto LABEL_63;
v120 = *v118++;
}
while ( (unsigned __int8)*v117 == v120 );
}
LABEL_39:
v56 = *(_BYTE *)(v5 + 80) >> 1;
if ( (*(_BYTE *)(v5 + 80) & 1) != 0 )
v56 = *(_QWORD *)(v5 + 88);
if ( v56 )
{
std::operator+(&byte_11AAA48, v5 + 80, v145);
if ( (*(_BYTE *)v50 & 1) != 0 )
{
v112 = *(void **)(v50 + 16);
v113 = *(_QWORD *)(v50 + 8);
}
else
{
v112 = (void *)(v5 + 105);
v113 = *(_BYTE *)v50 >> 1;
}
v114 = std::string::append((__int64)v145, v112, v113);
v115 = *(_QWORD *)(v114 + 8);
v142 = *(_QWORD *)v114;
v143 = v115;
v144 = *(void **)(v114 + 16);
*(_QWORD *)v114 = 0;
*(_QWORD *)(v114 + 8) = 0;
v116 = v145[0];
*(_QWORD *)(v114 + 16) = 0;
if ( (v116 & 1) != 0 )
operator delete((void *)v145[2]);
}
else
{
v57 = *(_BYTE *)v50;
v142 = 0;
v143 = 0;
v144 = nullptr;
if ( (v57 & 1) != 0 )
{
std::string::__init(&v142, *(void **)(v50 + 16), *(_QWORD *)(v50 + 8));
}
else
{
v58 = *(_QWORD *)(v50 + 8);
v59 = *(void **)(v50 + 16);
v142 = *(_QWORD *)v50;
v143 = v58;
v144 = v59;
}
}
std::operator+("\n", v5 + 136, v146);
v60 = std::string::append((__int64)v146, " ago");
v61 = *(_QWORD *)(v60 + 8);
v152 = *(_QWORD *)v60;
v153 = v61;
v154 = *(void **)(v60 + 16);
*(_QWORD *)v60 = 0;
*(_QWORD *)(v60 + 8) = 0;
*(_QWORD *)(v60 + 16) = 0;
if ( (v152 & 1) != 0 )
{
v62 = (char *)v154;
v63 = v153;
}
else
{
v63 = (unsigned __int8)v152 >> 1;
v62 = (char *)&v152 + 1;
}
std::string::append((__int64)&v142, v62, v63);
if ( (v152 & 1) != 0 )
operator delete(v154);
if ( (v146[0] & 1) != 0 )
operator delete((void *)v146[2]);
v65 = (const char *)ReportPopup::surfaceName((ReportPopup *)*(unsigned int *)(v5 + 56), v64);
v66 = (char *)this + 849;
if ( (*((_BYTE *)this + 848) & 1) != 0 )
v66 = *((char **)this + 108);
v67 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat(
(cocos2d::CCString *)"%s by %s",
v65,
v66,
(char *)this + 848);
CString = (char *)cocos2d::CCString::getCString(v67);
v147[0] = 0;
v147[1] = 0;
v148 = nullptr;
v68 = strlen(CString);
std::string::__init(v147, CString, v68);
v149 = 0;
v150 = 0;
v151 = nullptr;
if ( (v142 & 1) != 0 )
{
std::string::__init(&v149, v144, v143);
}
else
{
v151 = v144;
v149 = v142;
v150 = v143;
}
v69 = InfoAlertButton::create((char *)v147, (char *)&v149, 0.6);
if ( (v149 & 1) != 0 )
{
operator delete(v151);
if ( (v147[0] & 1) == 0 )
goto LABEL_56;
}
else if ( (v147[0] & 1) == 0 )
{
LABEL_56:
v70 = (unsigned __int8)v142 >> 1;
if ( (v142 & 1) != 0 )
v70 = v143;
v71 = v70 > 0xC8;
v72 = *(_QWORD *)v69;
v73 = v71;
*(_BYTE *)(v69 + 556) = v73;
v74 = *(void (__fastcall **)(__int64, _QWORD *))(v72 + 184);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v134, v47, v9);
v74(v69, v134);
(*(void (__fastcall **)(__int64, __int64, __int64))(*(_QWORD *)v4 + 464LL))(v4, v69, 2);
v47 = v47 - 26.0;
if ( (v142 & 1) != 0 )
operator delete(v144);
goto LABEL_63;
}
operator delete(v148);
goto LABEL_56;
}
}
LABEL_63:
v75 = (const char *)*(unsigned int *)(v5 + 168);
v76 = *(_DWORD *)(v5 + 56);
if ( (_DWORD)v75 && (v76 & 0xFFFFFFFB) == 3 )
{
v77 = (cocos2d::CCSprite *)cocos2d::CCSprite::createWithSpriteFrameName(
(cocos2d::CCSprite *)"GJ_arrow_03_001.png",
v75);
cocos2d::CCSprite::setFlipX(v77, 1);
(*(void (__fastcall **)(cocos2d::CCSprite *, float))(*(_QWORD *)v77 + 160LL))(v77, 0.45);
v78 = CCMenuItemSpriteExtra::create(
(__int64)v77,
0,
(__int64)this,
(__int64)AccountReviewPopup::onJumpFilterRow,
0);
CCMenuItemSpriteExtra::setSizeMult(v78, 1.3);
(*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v78 + 72LL))(v78, v131);
v79 = *(void (__fastcall **)(__int64, _QWORD *))(*(_QWORD *)v78 + 184LL);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v134, v47, v9);
v79(v78, v134);
(*(void (__fastcall **)(__int64, __int64, __int64))(*(_QWORD *)v4 + 464LL))(v4, v78, 2);
v76 = *(_DWORD *)(v5 + 56);
v75 = (const char *)*(unsigned int *)(v5 + 168);
v47 = v47 - 26.0;
}
sub_C40C4C(v76, v75, &v152);
if ( (v152 & 1) != 0 )
{
if ( !v153 )
goto LABEL_90;
v81 = (cocos2d::CCLabelBMFont *)v154;
}
else
{
if ( !((int)(unsigned __int8)v152 >> 1) )
{
LABEL_90:
v86 = 32.0;
goto LABEL_73;
}
v81 = (cocos2d::CCLabelBMFont *)((char *)&v152 + 1);
}
v82 = cocos2d::CCLabelBMFont::create(v81, "chatFont.fnt", v80);
v83 = *(void (__fastcall **)(__int64, _QWORD *))(*(_QWORD *)v82 + 296LL);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v134, 0.0, 0.5);
v83(v82, v134);
(*(void (__fastcall **)(__int64, float))(*(_QWORD *)v82 + 160LL))(v82, 0.4);
if ( *(_BYTE *)(v5 + 160) )
v84 = 130;
else
v84 = 100;
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v82 + 1024LL))(v82, v84);
v85 = *(void (__fastcall **)(__int64, _QWORD *))(*(_QWORD *)v82 + 184LL);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v134, 32.0, v9);
v85(v82, v134);
(*(void (__fastcall **)(__int64, __int64, __int64))(*(_QWORD *)v4 + 464LL))(v4, v82, 1);
(*(void (__fastcall **)(_QWORD *__return_ptr, __int64))(*(_QWORD *)v82 + 336LL))(v134, v82);
v86 = (float)(*(float *)v134 + 6.0) + 32.0;
LABEL_73:
v87 = (cocos2d::CCLabelBMFont *)&v139;
if ( (v138 & 1) != 0 )
v87 = (cocos2d::CCLabelBMFont *)v141;
v88 = (cocos2d::CCLabelBMFont *)cocos2d::CCLabelBMFont::create(v87, "chatFont.fnt", v80);
v89 = *(void (__fastcall **)(cocos2d::CCLabelBMFont *, _QWORD *))(*(_QWORD *)v88 + 296LL);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v134, 0.0, 0.5);
v89(v88, v134);
cocos2d::CCLabelBMFont::limitLabelWidth(v88, (float)((float)(v47 + 18.0) - 10.0) - v86, 0.55, 0.2);
(*(void (__fastcall **)(cocos2d::CCLabelBMFont *, _QWORD))(*(_QWORD *)v88 + 1024LL))(v88, v130);
v90 = *(void (__fastcall **)(cocos2d::CCLabelBMFont *, _QWORD *))(*(_QWORD *)v88 + 184LL);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v134, v86, v9);
v90(v88, v134);
(*(void (__fastcall **)(__int64, cocos2d::CCLabelBMFont *, __int64))(*(_QWORD *)v4 + 464LL))(v4, v88, 1);
if ( (v152 & 1) != 0 )
operator delete(v154);
if ( (v138 & 1) != 0 )
operator delete(v141);
if ( (v135 & 1) != 0 )
operator delete(v137);
if ( v126 != ++v131 )
continue;
v3 = *((ScrollableContentLayer **)this + 86);
break;
}
break;
}
LABEL_83:
ScrollableContentLayer::setContentHeight(v3, (float)((float)v126 * 43.0) + 12.0);
return _stack_chk_guard;
}