//
// AccountReviewPopup::buildDirectReportRow from 0x1400b3bb0 to 0x1400b4100 (1360 bytes)
//
// 2 xrefs:
// > AccountReviewPopup::buildReportedRows @ 0x1400b41eb
// > ??> @ 0x140913664
//
// 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:26:13 +0000
//
// Hidden C++ exception states: #wind=1
void __fastcall AccountReviewPopup::buildDirectReportRow(__int64 a1, __int64 a2, float a3)
{
float v5; // xmm9_4
__int64 v6; // rax
__int64 *v7; // rdi
__int64 v8; // rdx
void (__fastcall *v9)(__int64 *, __int64); // r8
__int64 v10; // rbx
__int64 v11; // rax
__int64 v12; // rbx
__int64 v13; // rax
struct cocos2d::CCLabelBMFont *v14; // rdi
__int64 v15; // rbx
__int64 v16; // rax
__int64 v17; // rbx
__int64 v18; // rax
int v19; // edx
const char *v20; // r9
cocos2d::CCString *v21; // rax
const char *CString; // rax
size_t v23; // rbx
size_t v24; // r8
int v25; // edx
cocos2d::CCString *v26; // rax
char *v27; // rax
void **v28; // rcx
struct cocos2d::CCLabelBMFont *v29; // rsi
__int64 v30; // rbx
__int64 v31; // rax
__int64 v32; // rdx
float *v33; // rax
__int64 v34; // rbx
__int64 v35; // rax
__int64 v36; // rax
const char *v37; // rcx
struct cocos2d::CCLabelBMFont *v38; // rdi
__int64 v39; // rbx
__int64 v40; // rax
float *v41; // rax
__int64 v42; // rbx
float v43; // xmm6_4
double v44; // xmm0_8
__int64 v45; // rax
struct cocos2d::CCLabelBMFont *v46; // rdi
__int64 v47; // rbx
__int64 v48; // rax
__int64 v49; // rdx
__int64 v50; // rbx
__int64 v51; // rax
void *v52; // rcx
__int16 v53; // [rsp+38h] [rbp-49h] BYREF
char v54; // [rsp+3Ah] [rbp-47h]
_BYTE v55[16]; // [rsp+40h] [rbp-41h] BYREF
void *Block[2]; // [rsp+50h] [rbp-31h] BYREF
__int128 v57; // [rsp+60h] [rbp-21h]
v5 = a3 + 10.0;
v6 = cocos2d::CCRect::CCRect((cocos2d::CCRect *)v55, 0.0, 0.0, 40.0, 40.0);
v7 = (__int64 *)cocos2d::extension::CCScale9Sprite::create("square02_small.png", v6);
v8 = v7[40];
v9 = *(void (__fastcall **)(__int64 *, __int64))(v8 + 40);
LOBYTE(v8) = 60;
v9(v7 + 40, v8);
v53 = 0;
v54 = 0;
(*(void (__fastcall **)(__int64 *, __int16 *))v7[40])(v7 + 40, &v53);
v10 = *v7;
cocos2d::CCSize::CCSize((cocos2d::CCSize *)&v53, *(float *)(a1 + 704) - 8.0, 40.0);
(*(void (__fastcall **)(__int64 *, __int64))(v10 + 312))(v7, v11);
v12 = *v7;
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v53, *(float *)(a1 + 704) * 0.5, a3);
(*(void (__fastcall **)(__int64 *, __int64))(v12 + 184))(v7, v13);
(*(void (__fastcall **)(__int64, __int64 *, _QWORD))(*(_QWORD *)a2 + 456LL))(a2, v7, 0);
v14 = cocos2d::CCLabelBMFont::create("Account", (const char *)&qword_140704F78);
v15 = *(_QWORD *)v14;
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v53, 0.0, 0.5);
(*(void (__fastcall **)(struct cocos2d::CCLabelBMFont *, __int64))(v15 + 288))(v14, v16);
(*(void (__fastcall **)(struct cocos2d::CCLabelBMFont *))(*(_QWORD *)v14 + 160LL))(v14);
v53 = -1;
v54 = -1;
(**((void (__fastcall ***)(__int64, __int16 *))v14 + 46))((__int64)v14 + 368, &v53);
v17 = *(_QWORD *)v14;
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v53, 32.0, a3 + 10.0);
(*(void (__fastcall **)(struct cocos2d::CCLabelBMFont *, __int64))(v17 + 184))(v14, v18);
(*(void (__fastcall **)(__int64, struct cocos2d::CCLabelBMFont *, __int64))(*(_QWORD *)a2 + 456LL))(a2, v14, 1);
v19 = *(_DWORD *)(a1 + 1448);
v20 = (const char *)&unk_14070D03C;
if ( v19 == 1 )
v20 = &byte_1406ED6E0;
v21 = cocos2d::CCString::createWithFormat("%i %s%s", v19, "report", v20);
CString = cocos2d::CCString::getCString(v21);
*(_OWORD *)Block = 0;
v57 = 0;
v23 = -1;
v24 = -1;
do
++v24;
while ( CString[v24] );
sub_14003D230(Block, CString, v24);
v25 = *(_DWORD *)(a1 + 1452);
if ( v25 > 0 )
{
v26 = cocos2d::CCString::createWithFormat(" +%i anonymous", v25);
v27 = (char *)cocos2d::CCString::getCString(v26);
do
++v23;
while ( v27[v23] );
sub_140044D80(Block, v27, v23);
}
v28 = Block;
if ( *((_QWORD *)&v57 + 1) > 0xFu )
v28 = (void **)Block[0];
v29 = cocos2d::CCLabelBMFont::create((const char *)v28, "chatFont.fnt");
v30 = *(_QWORD *)v29;
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v53, 0.0, 0.5);
(*(void (__fastcall **)(struct cocos2d::CCLabelBMFont *, __int64))(v30 + 288))(v29, v31);
(*(void (__fastcall **)(struct cocos2d::CCLabelBMFont *))(*(_QWORD *)v29 + 160LL))(v29);
LOBYTE(v32) = -76;
(*(void (__fastcall **)(__int64, __int64))(*((_QWORD *)v29 + 46) + 40LL))((__int64)v29 + 368, v32);
v33 = (float *)(*(__int64 (__fastcall **)(struct cocos2d::CCLabelBMFont *, __int16 *))(*(_QWORD *)v14 + 328LL))(
v14,
&v53);
v34 = *(_QWORD *)v29;
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v55, (float)(*v33 + 32.0) + 8.0, v5);
(*(void (__fastcall **)(struct cocos2d::CCLabelBMFont *, __int64))(v34 + 184))(v29, v35);
(*(void (__fastcall **)(__int64, struct cocos2d::CCLabelBMFont *, __int64))(*(_QWORD *)a2 + 456LL))(a2, v29, 1);
v36 = *(int *)(a1 + 1456);
if ( (int)v36 >= 0 )
{
if ( (int)v36 >= 8 )
v37 = "?";
else
v37 = *((const char **)&off_140702E20 + v36);
v38 = cocos2d::CCLabelBMFont::create(v37, "chatFont.fnt");
v39 = *(_QWORD *)v38;
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v55, 0.0, 0.5);
(*(void (__fastcall **)(struct cocos2d::CCLabelBMFont *, __int64))(v39 + 288))(v38, v40);
(*(void (__fastcall **)(struct cocos2d::CCLabelBMFont *))(*(_QWORD *)v38 + 160LL))(v38);
v53 = -11521;
v54 = 60;
(**((void (__fastcall ***)(__int64, __int16 *))v38 + 46))((__int64)v38 + 368, &v53);
v41 = (float *)(*(__int64 (__fastcall **)(struct cocos2d::CCLabelBMFont *, _BYTE *))(*(_QWORD *)v29 + 328LL))(
v29,
v55);
v42 = *(_QWORD *)v38;
v43 = *v41;
v44 = (*(double (__fastcall **)(struct cocos2d::CCLabelBMFont *))(*(_QWORD *)v29 + 216LL))(v29);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v53, (float)(*(float *)&v44 + v43) + 8.0, v5);
(*(void (__fastcall **)(struct cocos2d::CCLabelBMFont *, __int64))(v42 + 184))(v38, v45);
(*(void (__fastcall **)(__int64, struct cocos2d::CCLabelBMFont *, __int64))(*(_QWORD *)a2 + 456LL))(a2, v38, 1);
}
v46 = cocos2d::CCLabelBMFont::create(
"Reported from the profile page, no content attached. Clear removes these.",
"chatFont.fnt");
v47 = *(_QWORD *)v46;
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v55, 0.0, 0.5);
(*(void (__fastcall **)(struct cocos2d::CCLabelBMFont *, __int64))(v47 + 288))(v46, v48);
cocos2d::CCLabelBMFont::limitLabelWidth(v46, *(float *)(a1 + 704) - 50.0, 0.5, 0.2);
LOBYTE(v49) = -106;
(*(void (__fastcall **)(__int64, __int64))(*((_QWORD *)v46 + 46) + 40LL))((__int64)v46 + 368, v49);
v50 = *(_QWORD *)v46;
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v55, 32.0, a3 - 10.0);
(*(void (__fastcall **)(struct cocos2d::CCLabelBMFont *, __int64))(v50 + 184))(v46, v51);
(*(void (__fastcall **)(__int64, struct cocos2d::CCLabelBMFont *, __int64))(*(_QWORD *)a2 + 456LL))(a2, v46, 1);
if ( *((_QWORD *)&v57 + 1) > 0xFu )
{
v52 = Block[0];
if ( (unsigned __int64)(*((_QWORD *)&v57 + 1) + 1LL) >= 0x1000 )
{
v52 = *((void **)Block[0] - 1);
if ( (unsigned __int64)((char *)Block[0] - (char *)v52 - 8) > 0x1F )
invoke_watson(nullptr, nullptr, nullptr, 0, 0);
}
j_j_free(v52);
}
}