//
// AccountReviewPopup::buildDirectReportRow from 0xc45e20 to 0xc46314 (1268 bytes)
//
// 2 xrefs:
// > AccountReviewPopup::buildReportedRows @ 0xc4e4e0
// > ??> @ 0xe5858
//
// 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:04:59 +0000
//
__int64 __fastcall AccountReviewPopup::buildDirectReportRow(AccountReviewPopup *this, cocos2d::CCNode *a2, float a3)
{
float v4; // s10
float v6; // s8
__int64 v8; // x20
void (__fastcall *v9)(__int64, __int16 *); // x2
void (__fastcall *v10)(__int64, __int16 *); // x21
void (__fastcall *v11)(__int64, __int16 *); // x21
const char *v12; // x2
__int64 v13; // x21
void (__fastcall *v14)(__int64, __int16 *); // x20
void (__fastcall *v15)(__int64, __int16 *); // x20
int v16; // w0
void (__fastcall *v17)(__int64, __int16 *); // x20
const char *v18; // x2
const char *v19; // x1
cocos2d::CCString *v20; // x0
char *CString; // x0
cocos2d::CCLabelBMFont *v22; // x0
__int64 v23; // x20
void (__fastcall *v24)(__int64, __int16 *); // x26
__int64 v25; // x0
void (__fastcall *v26)(__int64 *__return_ptr, __int64); // x1
void (__fastcall *v27)(__int64, __int16 *); // x21
int v28; // w1
const char *v29; // x2
ReportPopup *v30; // x0
cocos2d::CCLabelBMFont *v31; // x0
const char *v32; // x2
__int64 v33; // x21
void (__fastcall *v34)(__int64, __int16 *); // x27
void (__fastcall *v35)(__int64, __int16 *); // x2
void (__fastcall *v36)(__int64, __int16 *); // x27
float v37; // s11
cocos2d::CCLabelBMFont *v38; // x20
void (__fastcall *v39)(cocos2d::CCLabelBMFont *, __int16 *); // x21
void (__fastcall *v40)(cocos2d::CCLabelBMFont *, __int16 *); // x21
__int64 v42; // [xsp+88h] [xbp+88h] BYREF
__int16 v43; // [xsp+90h] [xbp+90h] BYREF
char v44; // [xsp+92h] [xbp+92h]
__int64 v45[2]; // [xsp+A0h] [xbp+A0h] BYREF
void *v46; // [xsp+B0h] [xbp+B0h]
v4 = a3 + 10.0;
v6 = a3 - 10.0;
cocos2d::CCRect::CCRect((cocos2d::CCRect *)&v43, 0.0, 0.0, 40.0, 40.0);
v8 = cocos2d::extension::CCScale9Sprite::create("square02_small.png", &v43);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v8 + 912LL))(v8, 60);
v9 = *(void (__fastcall **)(__int64, __int16 *))(*(_QWORD *)v8 + 960LL);
v43 = 0;
v44 = 0;
v9(v8, &v43);
v10 = *(void (__fastcall **)(__int64, __int16 *))(*(_QWORD *)v8 + 320LL);
cocos2d::CCSize::CCSize((cocos2d::CCSize *)&v43, *((float *)this + 176) - 8.0, 40.0);
v10(v8, &v43);
v11 = *(void (__fastcall **)(__int64, __int16 *))(*(_QWORD *)v8 + 184LL);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v43, *((float *)this + 176) * 0.5, a3);
v11(v8, &v43);
(*(void (__fastcall **)(cocos2d::CCNode *, __int64, _QWORD))(*(_QWORD *)a2 + 464LL))(a2, v8, 0);
v13 = cocos2d::CCLabelBMFont::create((cocos2d::CCLabelBMFont *)"Account", "bigFont.fnt", v12);
v14 = *(void (__fastcall **)(__int64, __int16 *))(*(_QWORD *)v13 + 296LL);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v43, 0.0, 0.5);
v14(v13, &v43);
(*(void (__fastcall **)(__int64, float))(*(_QWORD *)v13 + 160LL))(v13, 0.32);
v15 = *(void (__fastcall **)(__int64, __int16 *))(*(_QWORD *)v13 + 1072LL);
v16 = ReportPopup::contentTypeColor(nullptr, *(_QWORD *)v13);
v43 = v16;
v44 = BYTE2(v16);
v15(v13, &v43);
v17 = *(void (__fastcall **)(__int64, __int16 *))(*(_QWORD *)v13 + 184LL);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v43, 32.0, v4);
v17(v13, &v43);
(*(void (__fastcall **)(cocos2d::CCNode *, __int64, __int64))(*(_QWORD *)a2 + 464LL))(a2, v13, 1);
sub_C3FA54((char *)*((unsigned int *)this + 342), (__int64)"report", v45);
v19 = (const char *)*((unsigned int *)this + 343);
if ( (int)v19 > 0 )
{
v20 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)" +%i anonymous", v19);
CString = (char *)cocos2d::CCString::getCString(v20);
std::string::append((__int64)v45, CString);
}
if ( (v45[0] & 1) != 0 )
v22 = (cocos2d::CCLabelBMFont *)v46;
else
v22 = (cocos2d::CCLabelBMFont *)((char *)v45 + 1);
v23 = cocos2d::CCLabelBMFont::create(v22, "chatFont.fnt", v18);
v24 = *(void (__fastcall **)(__int64, __int16 *))(*(_QWORD *)v23 + 296LL);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v43, 0.0, 0.5);
v24(v23, &v43);
(*(void (__fastcall **)(__int64, float))(*(_QWORD *)v23 + 160LL))(v23, 0.45);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v23 + 1024LL))(v23, 4294967220LL);
v25 = v13;
v26 = *(void (__fastcall **)(__int64 *__return_ptr, __int64))(*(_QWORD *)v13 + 336LL);
v27 = *(void (__fastcall **)(__int64, __int16 *))(*(_QWORD *)v23 + 184LL);
v26(&v42, v25);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v43, (float)(*(float *)&v42 + 32.0) + 8.0, v4);
v27(v23, &v43);
(*(void (__fastcall **)(cocos2d::CCNode *, __int64, __int64))(*(_QWORD *)a2 + 464LL))(a2, v23, 1);
v30 = (ReportPopup *)*((unsigned int *)this + 344);
if ( ((unsigned int)v30 & 0x80000000) == 0 )
{
v31 = (cocos2d::CCLabelBMFont *)ReportPopup::reasonShortLabel(v30, v28);
v33 = cocos2d::CCLabelBMFont::create(v31, "chatFont.fnt", v32);
v34 = *(void (__fastcall **)(__int64, __int16 *))(*(_QWORD *)v33 + 296LL);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v43, 0.0, 0.5);
v34(v33, &v43);
(*(void (__fastcall **)(__int64, float))(*(_QWORD *)v33 + 160LL))(v33, 0.4);
v35 = *(void (__fastcall **)(__int64, __int16 *))(*(_QWORD *)v33 + 1072LL);
v43 = -11521;
v44 = 60;
v35(v33, &v43);
v36 = *(void (__fastcall **)(__int64, __int16 *))(*(_QWORD *)v33 + 184LL);
v37 = (*(float (__fastcall **)(__int64))(*(_QWORD *)v23 + 224LL))(v23);
(*(void (__fastcall **)(__int64 *__return_ptr, __int64))(*(_QWORD *)v23 + 336LL))(&v42, v23);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v43, (float)(v37 + *(float *)&v42) + 8.0, v4);
v36(v33, &v43);
(*(void (__fastcall **)(cocos2d::CCNode *, __int64, __int64))(*(_QWORD *)a2 + 464LL))(a2, v33, 1);
}
v38 = (cocos2d::CCLabelBMFont *)cocos2d::CCLabelBMFont::create(
(cocos2d::CCLabelBMFont *)"Reported from the profile page, no content attached. Clear removes these.",
"chatFont.fnt",
v29);
v39 = *(void (__fastcall **)(cocos2d::CCLabelBMFont *, __int16 *))(*(_QWORD *)v38 + 296LL);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v43, 0.0, 0.5);
v39(v38, &v43);
cocos2d::CCLabelBMFont::limitLabelWidth(v38, *((float *)this + 176) - 50.0, 0.5, 0.2);
(*(void (__fastcall **)(cocos2d::CCLabelBMFont *, __int64))(*(_QWORD *)v38 + 1024LL))(v38, 4294967190LL);
v40 = *(void (__fastcall **)(cocos2d::CCLabelBMFont *, __int16 *))(*(_QWORD *)v38 + 184LL);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v43, 32.0, v6);
v40(v38, &v43);
(*(void (__fastcall **)(cocos2d::CCNode *, cocos2d::CCLabelBMFont *, __int64))(*(_QWORD *)a2 + 464LL))(a2, v38, 1);
if ( (v45[0] & 1) != 0 )
operator delete(v46);
return _stack_chk_guard;
}