//
// AccountReviewPopup::buildReportedRows from 0xc4d34c to 0xc4e6d4 (5000 bytes)
//
// 3 xrefs:
// > AccountReviewPopup::adminReportedContentFinished @ 0xc4e874
// > AccountReviewPopup::rebuildRows @ 0xc4e91c
// > ??> @ 0xf6d90
//
// 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:07 +0000
//
__int64 __fastcall AccountReviewPopup::buildReportedRows(AccountReviewPopup *this, cocos2d::CCArray *a2)
{
cocos2d::CCNode *v3; // x26
__int64 v4; // x21
float v5; // s4
float v6; // s8
float v7; // s9
float v8; // s10
__int64 v9; // x19
void (__fastcall *v10)(__int64, _QWORD *); // x2
void (__fastcall *v11)(__int64, _QWORD *); // x20
void (__fastcall *v12)(__int64, _QWORD *); // x20
const char *v13; // x1
__int64 v14; // x19
const char *v15; // x1
__int64 v16; // x0
CCMenuItemToggler *v17; // x0
__int64 v18; // x3
CCMenuItemToggler *v19; // x20
void (__fastcall *v20)(CCMenuItemToggler *, _QWORD *); // x19
_QWORD *v21; // x0
int v22; // w1
cocos2d::CCLabelBMFont *v23; // x0
const char *v24; // x2
__int64 v25; // x20
void (__fastcall *v26)(__int64, _QWORD *); // x19
void (__fastcall *v27)(__int64, _QWORD *); // x19
int v28; // w0
void (__fastcall *v29)(__int64, _QWORD *); // x19
const char *v30; // x2
const char *v31; // x1
cocos2d::CCString *v32; // x0
char *CString; // x0
cocos2d::CCLabelBMFont *v34; // x0
__int64 v35; // x19
void (__fastcall *v36)(__int64, _QWORD *); // x22
__int64 v37; // x0
void (__fastcall *v38)(__int64 *__return_ptr, __int64); // x1
void (__fastcall *v39)(__int64, _QWORD *); // x20
const char *v40; // x2
cocos2d::CCLabelBMFont *v41; // x0
__int64 v42; // x20
void (__fastcall *v43)(__int64, _QWORD *); // x22
void (__fastcall *v44)(__int64, _QWORD *); // x22
float v45; // s8
const char *v46; // x2
float v47; // s8
__int64 v48; // x20
void (__fastcall *v49)(__int64, _QWORD *); // x22
void (__fastcall *v50)(__int64, _QWORD *); // x3
void (__fastcall *v51)(__int64, _QWORD *); // x22
float v52; // s11
const char *v53; // x2
__int64 v54; // x20
__int64 v55; // x0
float v56; // s11
unsigned __int64 v57; // x20
__int64 v58; // x1
const char *v59; // x0
cocos2d::CCString *v60; // x0
char *v61; // x0
unsigned __int64 v62; // x1
cocos2d::CCLabelBMFont *v63; // x0
cocos2d::CCLabelBMFont *v64; // x19
void (__fastcall *v65)(cocos2d::CCLabelBMFont *, _QWORD *); // x20
float v66; // s0
void (__fastcall *v67)(cocos2d::CCLabelBMFont *, _QWORD *); // x2
void (__fastcall *v68)(cocos2d::CCLabelBMFont *, _QWORD *); // x20
unsigned __int64 v69; // x1
int v70; // w0
unsigned int v71; // w0
__int64 v72; // x20
__int64 v73; // x20
void (__fastcall *v74)(__int64, _QWORD *); // x19
char v75; // w0
__int64 v76; // x24
__int64 v77; // x0
size_t v78; // x1
__int64 v79; // x0
unsigned __int64 *v80; // x0
unsigned __int64 v81; // x5
__int64 v82; // x0
size_t v83; // x3
char *v84; // x1
size_t v85; // x2
const char *v86; // x0
char *v87; // x2
cocos2d::CCString *v88; // x0
size_t v89; // x0
__int64 v90; // x19
size_t v91; // x1
bool v92; // cc
__int64 v93; // x1
char v94; // w0
void (__fastcall *v95)(__int64, _QWORD *); // x20
unsigned __int64 v96; // x1
int v97; // w0
const char *v98; // x2
cocos2d::CCLabelBMFont *v99; // x0
__int64 v100; // x19
void (__fastcall *v101)(__int64, _QWORD *); // x20
void (__fastcall *v102)(__int64, _QWORD *); // x20
char v103; // w0
float v104; // s8
__int64 v105; // x0
size_t v106; // x1
__int64 v107; // x1
char *v108; // x1
size_t v109; // x2
__int64 v110; // x0
size_t v111; // x3
char v112; // w1
const char *v113; // x2
cocos2d::CCLabelBMFont *v114; // x0
cocos2d::CCLabelBMFont *v115; // x20
void (__fastcall *v116)(cocos2d::CCLabelBMFont *, _QWORD *); // x19
void (__fastcall *v117)(cocos2d::CCLabelBMFont *, _QWORD *); // x19
ScrollableContentLayer *v118; // x0
float v119; // s0
char v121; // w0
cocos2d::CCSprite *v122; // x19
__int64 v123; // x19
void (__fastcall *v124)(__int64, _QWORD *); // x20
void *v125; // x1
size_t v126; // x2
__int64 v127; // x0
size_t v128; // x3
cocos2d::CCString *v129; // x0
char *v130; // x0
ScrollableContentLayer *v131; // x1
int v133; // [xsp+ACh] [xbp+ACh]
__int64 v134; // [xsp+B8h] [xbp+B8h]
char *v135; // [xsp+C0h] [xbp+C0h]
int v136; // [xsp+C8h] [xbp+C8h]
unsigned int v137; // [xsp+CCh] [xbp+CCh]
CCMenuItemToggler *v138; // [xsp+E8h] [xbp+E8h] BYREF
__int64 v139; // [xsp+F0h] [xbp+F0h] BYREF
__int64 v140; // [xsp+F8h] [xbp+F8h] BYREF
__int64 v141; // [xsp+100h] [xbp+100h] BYREF
_QWORD v142[2]; // [xsp+108h] [xbp+108h] BYREF
__int64 v143[2]; // [xsp+118h] [xbp+118h] BYREF
cocos2d::CCLabelBMFont *v144; // [xsp+128h] [xbp+128h]
__int64 v145[2]; // [xsp+130h] [xbp+130h] BYREF
void *v146; // [xsp+140h] [xbp+140h]
__int64 v147; // [xsp+148h] [xbp+148h] BYREF
__int64 v148; // [xsp+150h] [xbp+150h]
void *v149; // [xsp+158h] [xbp+158h]
__int64 v150; // [xsp+160h] [xbp+160h] BYREF
size_t v151; // [xsp+168h] [xbp+168h]
void *v152; // [xsp+170h] [xbp+170h]
unsigned __int64 v153[3]; // [xsp+178h] [xbp+178h] BYREF
__int64 v154[3]; // [xsp+190h] [xbp+190h] BYREF
__int64 v155[2]; // [xsp+1A8h] [xbp+1A8h] BYREF
void *v156; // [xsp+1B8h] [xbp+1B8h]
__int64 v157; // [xsp+1C0h] [xbp+1C0h] BYREF
size_t v158; // [xsp+1C8h] [xbp+1C8h]
void *v159; // [xsp+1D0h] [xbp+1D0h]
__int64 v160[2]; // [xsp+1D8h] [xbp+1D8h] BYREF
void *v161; // [xsp+1E8h] [xbp+1E8h]
__int64 v162; // [xsp+1F0h] [xbp+1F0h] BYREF
size_t v163; // [xsp+1F8h] [xbp+1F8h]
void *v164; // [xsp+200h] [xbp+200h]
unsigned __int64 v165[2]; // [xsp+208h] [xbp+208h] BYREF
void *v166; // [xsp+218h] [xbp+218h]
__int64 v167; // [xsp+220h] [xbp+220h] BYREF
size_t v168; // [xsp+228h] [xbp+228h]
void *v169; // [xsp+230h] [xbp+230h]
if ( a2 )
{
v136 = 0;
v133 = cocos2d::CCArray::count(a2);
v3 = *(cocos2d::CCNode **)(*((_QWORD *)this + 86) + 416LL);
if ( *((_DWORD *)this + 310) || *((_DWORD *)this + 169) || *((_DWORD *)this + 342) + *((_DWORD *)this + 343) <= 0 )
{
if ( v133 <= 0 )
{
LABEL_132:
v131 = *((ScrollableContentLayer **)this + 86);
LABEL_137:
ScrollableContentLayer::setContentHeight(v131, (float)((float)v136 * 43.0) + 12.0);
return _stack_chk_guard;
}
goto LABEL_5;
}
LABEL_131:
v136 = 1;
AccountReviewPopup::buildDirectReportRow(this, v3, -26.0);
if ( v133 <= 0 )
goto LABEL_132;
LABEL_5:
v137 = 0;
while ( 1 )
{
v4 = cocos2d::CCArray::objectAtIndex(a2, v137);
v5 = (float)((float)v136 * 43.0) + 6.0;
v6 = -(float)(v5 + 20.0);
v7 = 10.0 - (float)(v5 + 20.0);
v8 = v6 - 10.0;
cocos2d::CCRect::CCRect((cocos2d::CCRect *)v142, 0.0, 0.0, 40.0, 40.0);
v9 = cocos2d::extension::CCScale9Sprite::create("square02_small.png", v142);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v9 + 912LL))(v9, 60);
v10 = *(void (__fastcall **)(__int64, _QWORD *))(*(_QWORD *)v9 + 960LL);
LOWORD(v142[0]) = 0;
BYTE2(v142[0]) = 0;
v10(v9, v142);
v11 = *(void (__fastcall **)(__int64, _QWORD *))(*(_QWORD *)v9 + 320LL);
cocos2d::CCSize::CCSize((cocos2d::CCSize *)v142, *((float *)this + 176) - 8.0, 40.0);
v11(v9, v142);
v12 = *(void (__fastcall **)(__int64, _QWORD *))(*(_QWORD *)v9 + 184LL);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v142, *((float *)this + 176) * 0.5, v6);
v12(v9, v142);
(*(void (__fastcall **)(cocos2d::CCNode *, __int64, _QWORD))(*(_QWORD *)v3 + 464LL))(v3, v9, 0);
v14 = cocos2d::CCSprite::createWithSpriteFrameName((cocos2d::CCSprite *)"GJ_checkOff_001.png", v13);
v16 = cocos2d::CCSprite::createWithSpriteFrameName((cocos2d::CCSprite *)"GJ_checkOn_001.png", v15);
v138 = (CCMenuItemToggler *)CCMenuItemToggler::create(
v14,
v16,
(__int64)this,
(__int64)AccountReviewPopup::onToggleRow,
0);
(*(void (__fastcall **)(CCMenuItemToggler *, float))(*(_QWORD *)v138 + 160LL))(v138, 0.55);
CCMenuItemToggler::setSizeMult(v138, 1.4);
v17 = v138;
v18 = *(_QWORD *)v138;
*((_BYTE *)v138 + 393) = 1;
(*(void (__fastcall **)(CCMenuItemToggler *, _QWORD))(v18 + 72))(v17, v137);
v19 = v138;
v20 = *(void (__fastcall **)(CCMenuItemToggler *, _QWORD *))(*(_QWORD *)v138 + 184LL);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v142, 16.0, v6);
v20(v19, v142);
(*(void (__fastcall **)(cocos2d::CCNode *, CCMenuItemToggler *, __int64))(*(_QWORD *)v3 + 464LL))(v3, v138, 2);
v21 = *((_QWORD **)this + 166);
if ( *((_QWORD **)this + 167) == v21 )
{
std::vector::__push_back_slow_path((__int64)this + 1320, &v138);
}
else
{
if ( v21 )
{
*v21 = v138;
v21 = *((_QWORD **)this + 166);
}
v22 = (_DWORD)this + 1320;
*((_QWORD *)this + 166) = v21 + 1;
}
v23 = (cocos2d::CCLabelBMFont *)ReportPopup::contentTypeName((ReportPopup *)*(unsigned int *)(v4 + 56), v22);
v25 = cocos2d::CCLabelBMFont::create(v23, "bigFont.fnt", v24);
v26 = *(void (__fastcall **)(__int64, _QWORD *))(*(_QWORD *)v25 + 296LL);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v142, 0.0, 0.5);
v26(v25, v142);
(*(void (__fastcall **)(__int64, float))(*(_QWORD *)v25 + 160LL))(v25, 0.32);
v27 = *(void (__fastcall **)(__int64, _QWORD *))(*(_QWORD *)v25 + 1072LL);
v28 = ReportPopup::contentTypeColor((ReportPopup *)*(unsigned int *)(v4 + 56), *(_QWORD *)v25);
LOWORD(v142[0]) = v28;
BYTE2(v142[0]) = BYTE2(v28);
v27(v25, v142);
v29 = *(void (__fastcall **)(__int64, _QWORD *))(*(_QWORD *)v25 + 184LL);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v142, 32.0, v7);
v29(v25, v142);
(*(void (__fastcall **)(cocos2d::CCNode *, __int64, __int64))(*(_QWORD *)v3 + 464LL))(v3, v25, 1);
sub_C3FA54((char *)*(unsigned int *)(v4 + 192), (__int64)"reporter", v143);
v31 = (const char *)*(unsigned int *)(v4 + 72);
if ( (int)v31 > 0 )
{
v32 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)" +%i anonymous", v31);
CString = (char *)cocos2d::CCString::getCString(v32);
std::string::append((__int64)v143, CString);
}
if ( (v143[0] & 1) != 0 )
v34 = v144;
else
v34 = (cocos2d::CCLabelBMFont *)((char *)v143 + 1);
v35 = cocos2d::CCLabelBMFont::create(v34, "chatFont.fnt", v30);
v36 = *(void (__fastcall **)(__int64, _QWORD *))(*(_QWORD *)v35 + 296LL);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v142, 0.0, 0.5);
v36(v35, v142);
(*(void (__fastcall **)(__int64, float))(*(_QWORD *)v35 + 160LL))(v35, 0.45);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v35 + 1024LL))(v35, 4294967220LL);
v37 = v25;
v38 = *(void (__fastcall **)(__int64 *__return_ptr, __int64))(*(_QWORD *)v25 + 336LL);
v39 = *(void (__fastcall **)(__int64, _QWORD *))(*(_QWORD *)v35 + 184LL);
v38(&v141, v37);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v142, (float)(*(float *)&v141 + 32.0) + 8.0, v7);
v39(v35, v142);
(*(void (__fastcall **)(cocos2d::CCNode *, __int64, __int64))(*(_QWORD *)v3 + 464LL))(v3, v35, 1);
if ( *(__int64 *)(v4 + 184) <= 0 )
sub_C40B14(*(_QWORD *)(v4 + 160), v145);
else
std::operator+(" ago", v4 + 200, (unsigned __int64 *)v145);
if ( (v145[0] & 1) != 0 )
v41 = (cocos2d::CCLabelBMFont *)v146;
else
v41 = (cocos2d::CCLabelBMFont *)((char *)v145 + 1);
v42 = cocos2d::CCLabelBMFont::create(v41, "chatFont.fnt", v40);
v43 = *(void (__fastcall **)(__int64, _QWORD *))(*(_QWORD *)v42 + 296LL);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v142, 1.0, 0.5);
v43(v42, v142);
(*(void (__fastcall **)(__int64, float))(*(_QWORD *)v42 + 160LL))(v42, 0.4);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v42 + 1024LL))(v42, 4294967190LL);
v44 = *(void (__fastcall **)(__int64, _QWORD *))(*(_QWORD *)v42 + 184LL);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v142, *((float *)this + 176) - 10.0, v7);
v44(v42, v142);
(*(void (__fastcall **)(cocos2d::CCNode *, __int64, __int64))(*(_QWORD *)v3 + 464LL))(v3, v42, 1);
v45 = *((float *)this + 176) - 10.0;
(*(void (__fastcall **)(__int64 *__return_ptr, __int64))(*(_QWORD *)v42 + 336LL))(&v139, v42);
v47 = (float)(v45 - *(float *)&v139) - 8.0;
if ( !*(_BYTE *)(v4 + 104) )
{
v48 = cocos2d::CCLabelBMFont::create((cocos2d::CCLabelBMFont *)"content deleted", "chatFont.fnt", v46);
v49 = *(void (__fastcall **)(__int64, _QWORD *))(*(_QWORD *)v48 + 296LL);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v142, 1.0, 0.5);
v49(v48, v142);
(*(void (__fastcall **)(__int64, float))(*(_QWORD *)v48 + 160LL))(v48, 0.4);
v50 = *(void (__fastcall **)(__int64, _QWORD *))(*(_QWORD *)v48 + 1072LL);
LOWORD(v142[0]) = 25855;
BYTE2(v142[0]) = 100;
v50(v48, v142);
v51 = *(void (__fastcall **)(__int64, _QWORD *))(*(_QWORD *)v48 + 184LL);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v142, v47, v7);
v51(v48, v142);
(*(void (__fastcall **)(cocos2d::CCNode *, __int64, __int64))(*(_QWORD *)v3 + 464LL))(v3, v48, 1);
(*(void (__fastcall **)(__int64 *__return_ptr, __int64))(*(_QWORD *)v48 + 336LL))(&v140, v48);
v47 = v47 - (float)(*(float *)&v140 + 8.0);
}
v52 = (*(float (__fastcall **)(__int64))(*(_QWORD *)v35 + 224LL))(v35);
(*(void (__fastcall **)(__int64 *__return_ptr, __int64))(*(_QWORD *)v35 + 336LL))(&v141, v35);
v54 = *(_QWORD *)(v4 + 88);
v55 = *(_QWORD *)(v4 + 80);
v147 = 0;
v148 = 0;
v149 = nullptr;
v56 = (float)(v52 + *(float *)&v141) + 8.0;
if ( (v54 - v55) >> 3 )
{
v57 = 0;
do
{
if ( (v147 & 1) != 0 )
v58 = v148;
else
v58 = (unsigned __int8)v147 >> 1;
if ( v58 )
{
std::string::append((__int64)&v147, ", ");
v55 = *(_QWORD *)(v4 + 80);
}
v59 = (const char *)ReportPopup::reasonShortLabel((ReportPopup *)*(unsigned int *)(v55 + 8 * v57), v58);
v60 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat(
(cocos2d::CCString *)"%s x%i",
v59,
*(unsigned int *)(*(_QWORD *)(v4 + 80) + 8 * v57 + 4));
v61 = (char *)cocos2d::CCString::getCString(v60);
std::string::append((__int64)&v147, v61);
++v57;
v55 = *(_QWORD *)(v4 + 80);
v62 = (*(_QWORD *)(v4 + 88) - v55) >> 3;
}
while ( (int)v57 <= 2 && v57 < v62 );
if ( v62 > 3 )
{
v129 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat(
(cocos2d::CCString *)" +%i",
(const char *)(unsigned int)(v62 - 3));
v130 = (char *)cocos2d::CCString::getCString(v129);
std::string::append((__int64)&v147, v130);
}
}
v63 = (cocos2d::CCLabelBMFont *)((char *)&v147 + 1);
if ( (v147 & 1) != 0 )
v63 = (cocos2d::CCLabelBMFont *)v149;
v64 = (cocos2d::CCLabelBMFont *)cocos2d::CCLabelBMFont::create(v63, "chatFont.fnt", v53);
if ( (v147 & 1) != 0 )
operator delete(v149);
v65 = *(void (__fastcall **)(cocos2d::CCLabelBMFont *, _QWORD *))(*(_QWORD *)v64 + 296LL);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v142, 0.0, 0.5);
v65(v64, v142);
v66 = v47 - v56;
if ( (float)(v47 - v56) <= 20.0 )
v66 = 20.0;
cocos2d::CCLabelBMFont::limitLabelWidth(v64, v66, 0.4, 0.2);
v67 = *(void (__fastcall **)(cocos2d::CCLabelBMFont *, _QWORD *))(*(_QWORD *)v64 + 1072LL);
LOWORD(v142[0]) = -11521;
BYTE2(v142[0]) = 60;
v67(v64, v142);
v68 = *(void (__fastcall **)(cocos2d::CCLabelBMFont *, _QWORD *))(*(_QWORD *)v64 + 184LL);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v142, v56, v7);
v68(v64, v142);
(*(void (__fastcall **)(cocos2d::CCNode *, cocos2d::CCLabelBMFont *, __int64))(*(_QWORD *)v3 + 464LL))(v3, v64, 1);
v69 = *(unsigned __int8 *)(v4 + 104);
v70 = *(_DWORD *)(v4 + 56);
if ( *(_BYTE *)(v4 + 104) )
{
if ( v70 == 8 )
{
v71 = *(_QWORD *)(v4 + 168) > 0LL;
}
else
{
v69 = (unsigned int)(v70 - 3) <= 1;
v71 = v69 | (v70 == 7);
}
if ( v71 )
{
v72 = cocos2d::CCSprite::createWithSpriteFrameName(
(cocos2d::CCSprite *)"GJ_deleteIcon_001.png",
(const char *)v69);
(*(void (__fastcall **)(__int64, float))(*(_QWORD *)v72 + 160LL))(v72, 0.5);
v73 = CCMenuItemSpriteExtra::create(v72, 0, (__int64)this, (__int64)AccountReviewPopup::onDeleteRow, 0);
CCMenuItemSpriteExtra::setSizeMult(v73, 1.3);
(*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v73 + 72LL))(v73, v137);
v74 = *(void (__fastcall **)(__int64, _QWORD *))(*(_QWORD *)v73 + 184LL);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v142, *((float *)this + 176) - 18.0, v8);
v74(v73, v142);
(*(void (__fastcall **)(cocos2d::CCNode *, __int64, __int64))(*(_QWORD *)v3 + 464LL))(v3, v73, 2);
}
}
v134 = v4 + 112;
if ( (*(_BYTE *)(v4 + 112) & 1) != 0 )
{
if ( !*(_QWORD *)(v4 + 120) )
goto LABEL_43;
}
else if ( !(*(_BYTE *)(v4 + 112) >> 1) )
{
LABEL_43:
v75 = *(_BYTE *)(v4 + 136);
v150 = 0;
v76 = v4 + 136;
v151 = 0;
v152 = nullptr;
if ( (v75 & 1) != 0 )
{
std::string::__init(&v150, *(void **)(v4 + 152), *(_QWORD *)(v4 + 144));
}
else
{
v77 = *(_QWORD *)v76;
v78 = *(_QWORD *)(v4 + 144);
v152 = *(void **)(v4 + 152);
v150 = v77;
v151 = v78;
}
goto LABEL_45;
}
std::operator+(&byte_11AAA48, v134, v153);
v76 = v4 + 136;
if ( (*(_BYTE *)(v4 + 136) & 1) != 0 )
{
v125 = *(void **)(v4 + 152);
v126 = *(_QWORD *)(v4 + 144);
}
else
{
v125 = (void *)(v4 + 137);
v126 = *(_BYTE *)(v4 + 136) >> 1;
}
v127 = std::string::append((__int64)v153, v125, v126);
v128 = *(_QWORD *)(v127 + 8);
v150 = *(_QWORD *)v127;
v151 = v128;
v152 = *(void **)(v127 + 16);
*(_QWORD *)v127 = 0;
*(_QWORD *)(v127 + 8) = 0;
LODWORD(v78) = LOBYTE(v153[0]);
*(_QWORD *)(v127 + 16) = 0;
if ( (v78 & 1) != 0 )
operator delete((void *)v153[2]);
LABEL_45:
v79 = *(_QWORD *)(v4 + 160);
if ( v79 <= 0 )
goto LABEL_51;
sub_C40B14(v79, v154);
v80 = std::string::insert(v154, 0, "\n");
v81 = v80[1];
v165[0] = *v80;
v165[1] = v81;
v166 = (void *)v80[2];
*v80 = 0;
v80[1] = 0;
v80[2] = 0;
v82 = std::string::append((__int64)v165, "");
v83 = *(_QWORD *)(v82 + 8);
v167 = *(_QWORD *)v82;
v168 = v83;
v169 = *(void **)(v82 + 16);
*(_QWORD *)v82 = 0;
*(_QWORD *)(v82 + 8) = 0;
*(_QWORD *)(v82 + 16) = 0;
if ( (v167 & 1) != 0 )
{
v84 = (char *)v169;
v85 = v168;
}
else
{
v85 = (unsigned __int8)v167 >> 1;
v84 = (char *)&v167 + 1;
}
std::string::append((__int64)&v150, v84, v85);
if ( (v167 & 1) != 0 )
{
operator delete(v169);
if ( (v165[0] & 1) != 0 )
{
LABEL_124:
operator delete(v166);
if ( (v154[0] & 1) == 0 )
goto LABEL_51;
goto LABEL_125;
}
}
else if ( (v165[0] & 1) != 0 )
{
goto LABEL_124;
}
if ( (v154[0] & 1) == 0 )
goto LABEL_51;
LABEL_125:
operator delete((void *)v154[2]);
LABEL_51:
v86 = (const char *)ReportPopup::contentTypeName((ReportPopup *)*(unsigned int *)(v4 + 56), v78);
v87 = (char *)this + 849;
if ( (*((_BYTE *)this + 848) & 1) != 0 )
v87 = *((char **)this + 108);
v88 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"%s by %s", v86, v87);
v135 = (char *)cocos2d::CCString::getCString(v88);
v155[0] = 0;
v155[1] = 0;
v156 = nullptr;
v89 = strlen(v135);
std::string::__init(v155, v135, v89);
v157 = 0;
v158 = 0;
v159 = nullptr;
if ( (v150 & 1) != 0 )
{
std::string::__init(&v157, v152, v151);
}
else
{
v159 = v152;
v157 = v150;
v158 = v151;
}
v90 = InfoAlertButton::create((char *)v155, (char *)&v157, 0.6);
if ( (v157 & 1) != 0 )
operator delete(v159);
if ( (v155[0] & 1) != 0 )
operator delete(v156);
v91 = (unsigned __int8)v150 >> 1;
if ( (v150 & 1) != 0 )
v91 = v151;
v92 = v91 > 0xC8;
v93 = *(_QWORD *)v90;
v94 = v92;
*(_BYTE *)(v90 + 556) = v94;
v95 = *(void (__fastcall **)(__int64, _QWORD *))(v93 + 184);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v142, *((float *)this + 176) - 44.0, v8);
v95(v90, v142);
(*(void (__fastcall **)(cocos2d::CCNode *, __int64, __int64))(*(_QWORD *)v3 + 464LL))(v3, v90, 2);
if ( !*(_BYTE *)(v4 + 104) )
{
v97 = *(_DWORD *)(v4 + 56);
if ( v97 != 8 )
goto LABEL_66;
LABEL_95:
if ( *(_BYTE *)(v4 + 176) )
goto LABEL_107;
v97 = 8;
v96 = *(unsigned int *)(v4 + 64);
goto LABEL_67;
}
v97 = *(_DWORD *)(v4 + 56);
if ( v97 == 8 )
goto LABEL_95;
v96 = (unsigned int)(v97 - 1);
if ( (unsigned int)v96 <= 1
|| (v96 = *(unsigned int *)(v4 + 64), (_DWORD)v96) && ((unsigned int)(v97 - 3) <= 1 || v97 == 7) )
{
LABEL_107:
v122 = (cocos2d::CCSprite *)cocos2d::CCSprite::createWithSpriteFrameName(
(cocos2d::CCSprite *)"GJ_arrow_03_001.png",
(const char *)v96);
cocos2d::CCSprite::setFlipX(v122, 1);
(*(void (__fastcall **)(cocos2d::CCSprite *, float))(*(_QWORD *)v122 + 160LL))(v122, 0.45);
v123 = CCMenuItemSpriteExtra::create((__int64)v122, 0, (__int64)this, (__int64)AccountReviewPopup::onJumpRow, 0);
CCMenuItemSpriteExtra::setSizeMult(v123, 1.3);
(*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v123 + 72LL))(v123, v137);
v124 = *(void (__fastcall **)(__int64, _QWORD *))(*(_QWORD *)v123 + 184LL);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v142, *((float *)this + 176) - 70.0, v8);
v124(v123, v142);
(*(void (__fastcall **)(cocos2d::CCNode *, __int64, __int64))(*(_QWORD *)v3 + 464LL))(v3, v123, 2);
v97 = *(_DWORD *)(v4 + 56);
LABEL_66:
v96 = *(unsigned int *)(v4 + 64);
}
LABEL_67:
sub_C40C4C(v97, (const char *)v96, v160);
if ( (v160[0] & 1) != 0 )
{
if ( v160[1] )
{
v99 = (cocos2d::CCLabelBMFont *)v161;
LABEL_70:
v100 = cocos2d::CCLabelBMFont::create(v99, "chatFont.fnt", v98);
v101 = *(void (__fastcall **)(__int64, _QWORD *))(*(_QWORD *)v100 + 296LL);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v142, 0.0, 0.5);
v101(v100, v142);
(*(void (__fastcall **)(__int64, float))(*(_QWORD *)v100 + 160LL))(v100, 0.4);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v100 + 1024LL))(v100, 4294967170LL);
v102 = *(void (__fastcall **)(__int64, _QWORD *))(*(_QWORD *)v100 + 184LL);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v142, 32.0, v8);
v102(v100, v142);
(*(void (__fastcall **)(cocos2d::CCNode *, __int64, __int64))(*(_QWORD *)v3 + 464LL))(v3, v100, 1);
(*(void (__fastcall **)(_QWORD *__return_ptr, __int64))(*(_QWORD *)v100 + 336LL))(v142, v100);
v103 = *(_BYTE *)v76;
v162 = 0;
v163 = 0;
v164 = nullptr;
v104 = (float)(*(float *)v142 + 6.0) + 32.0;
if ( (v103 & 1) == 0 )
goto LABEL_71;
goto LABEL_100;
}
}
else
{
v99 = (cocos2d::CCLabelBMFont *)((char *)v160 + 1);
if ( (int)LOBYTE(v160[0]) >> 1 )
goto LABEL_70;
}
v121 = *(_BYTE *)v76;
v162 = 0;
v163 = 0;
v164 = nullptr;
v104 = 32.0;
if ( (v121 & 1) == 0 )
{
LABEL_71:
v105 = *(_QWORD *)v76;
v106 = *(_QWORD *)(v76 + 8);
v164 = *(void **)(v76 + 16);
v162 = v105;
v163 = v106;
goto LABEL_72;
}
LABEL_100:
std::string::__init(&v162, *(void **)(v76 + 16), *(_QWORD *)(v76 + 8));
LABEL_72:
v107 = *(_BYTE *)(v4 + 112) >> 1;
if ( (*(_BYTE *)(v4 + 112) & 1) != 0 )
v107 = *(_QWORD *)(v4 + 120);
if ( v107 )
{
std::operator+(": ", v134, v165);
if ( (v162 & 1) != 0 )
{
v108 = (char *)v164;
v109 = v163;
}
else
{
v109 = (unsigned __int8)v162 >> 1;
v108 = (char *)&v162 + 1;
}
v110 = std::string::append((__int64)v165, v108, v109);
v111 = *(_QWORD *)(v110 + 8);
v167 = *(_QWORD *)v110;
v168 = v111;
v169 = *(void **)(v110 + 16);
*(_QWORD *)v110 = 0;
*(_QWORD *)(v110 + 8) = 0;
v112 = v162;
*(_QWORD *)(v110 + 16) = 0;
if ( (v112 & 1) != 0 )
{
*(_BYTE *)v164 = 0;
v163 = 0;
}
else
{
LOWORD(v162) = 0;
}
std::string::reserve(&v162, 0);
v164 = v169;
v162 = v167;
v163 = v168;
if ( (v165[0] & 1) != 0 )
operator delete(v166);
}
GameToolbox::singleLineSnippet((__int64)&v162, 0x50u, (__int64)&v167);
if ( (v162 & 1) != 0 )
operator delete(v164);
if ( (v167 & 1) != 0 )
v114 = (cocos2d::CCLabelBMFont *)v169;
else
v114 = (cocos2d::CCLabelBMFont *)((char *)&v167 + 1);
v115 = (cocos2d::CCLabelBMFont *)cocos2d::CCLabelBMFont::create(v114, "chatFont.fnt", v113);
if ( (v167 & 1) != 0 )
operator delete(v169);
v116 = *(void (__fastcall **)(cocos2d::CCLabelBMFont *, _QWORD *))(*(_QWORD *)v115 + 296LL);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v142, 0.0, 0.5);
v116(v115, v142);
cocos2d::CCLabelBMFont::limitLabelWidth(v115, (float)(*((float *)this + 176) - 86.0) - v104, 0.55, 0.2);
v117 = *(void (__fastcall **)(cocos2d::CCLabelBMFont *, _QWORD *))(*(_QWORD *)v115 + 184LL);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v142, v104, v8);
v117(v115, v142);
(*(void (__fastcall **)(cocos2d::CCNode *, cocos2d::CCLabelBMFont *, __int64))(*(_QWORD *)v3 + 464LL))(
v3,
v115,
1);
if ( (v160[0] & 1) != 0 )
operator delete(v161);
if ( (v150 & 1) != 0 )
{
operator delete(v152);
if ( (v145[0] & 1) == 0 )
{
LABEL_91:
if ( (v143[0] & 1) != 0 )
goto LABEL_118;
goto LABEL_92;
}
}
else if ( (v145[0] & 1) == 0 )
{
goto LABEL_91;
}
operator delete(v146);
if ( (v143[0] & 1) != 0 )
LABEL_118:
operator delete(v144);
LABEL_92:
++v136;
if ( ++v137 == v133 )
{
v118 = *((ScrollableContentLayer **)this + 86);
v119 = (float)((float)v136 * 43.0) + 12.0;
goto LABEL_94;
}
}
}
v131 = *((ScrollableContentLayer **)this + 86);
v118 = v131;
v3 = *((cocos2d::CCNode **)v131 + 52);
if ( !*((_DWORD *)this + 310) )
{
if ( *((_DWORD *)this + 169) || (v133 = 0, *((_DWORD *)this + 342) + *((_DWORD *)this + 343) <= 0) )
{
v136 = 0;
goto LABEL_137;
}
goto LABEL_131;
}
v119 = 12.0;
LABEL_94:
ScrollableContentLayer::setContentHeight(v118, v119);
return _stack_chk_guard;
}