// // AccountReviewPopup::buildDirectReportRow from 0x73637c to 0x7366ca (846 bytes) // // 1 xrefs: // > AccountReviewPopup::buildReportedRows @ 0x73972e // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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:58:24 +0000 // int __fastcall AccountReviewPopup::buildDirectReportRow(AccountReviewPopup *this, cocos2d::CCNode *a2, float a3) { float v6; // s18 float v7; // s17 int v8; // r11 void (__fastcall *v9)(int, __int16 *); // r3 void (__fastcall *v10)(int, __int16 *); // r9 void (__fastcall *v11)(int, __int16 *); // r6 const char *v12; // r2 int v13; // r6 void (__fastcall *v14)(int, __int16 *); // r9 void (__fastcall *v15)(int, __int16 *); // r9 int v16; // r1 int v17; // r0 void (__fastcall *v18)(int, __int16 *); // r5 int v19; // r3 const char *v20; // r2 const char *v21; // r1 cocos2d::CCLabelBMFont *v22; // r0 cocos2d::CCString *v23; // r0 char *CString; // r0 int v25; // r5 void (__fastcall *v26)(int, __int16 *); // r10 void (__fastcall *v27)(int, __int16 *); // r11 int v28; // r1 const char *v29; // r2 ReportPopup *v30; // r0 cocos2d::CCLabelBMFont *v31; // r5 void (__fastcall *v32)(cocos2d::CCLabelBMFont *, __int16 *); // r6 cocos2d::CCLabelBMFont *v33; // r0 const char *v34; // r2 int v35; // r6 void (__fastcall *v36)(int, __int16 *); // r11 void (__fastcall *v37)(int, __int16 *); // r3 void (__fastcall *v38)(int, __int16 *); // r11 float v39; // s19 void (__fastcall *v40)(cocos2d::CCLabelBMFont *, __int16 *); // r6 float v42[2]; // [sp+10h] [bp-2Ch] BYREF int v43[3]; // [sp+18h] [bp-24h] BYREF __int16 v44; // [sp+24h] [bp-18h] BYREF char v45; // [sp+26h] [bp-16h] v6 = a3 + 10.0; v7 = a3 - 10.0; cocos2d::CCRect::CCRect((cocos2d::CCRect *)&v44, 0.0, 0.0, 40.0, 40.0); v8 = cocos2d::extension::CCScale9Sprite::create("square02_small.png", &v44); (*(void (__fastcall **)(int, int))(*(_DWORD *)v8 + 456))(v8, 60); v9 = *(void (__fastcall **)(int, __int16 *))(*(_DWORD *)v8 + 480); v44 = 0; v45 = 0; v9(v8, &v44); v10 = *(void (__fastcall **)(int, __int16 *))(*(_DWORD *)v8 + 160); cocos2d::CCSize::CCSize((cocos2d::CCSize *)&v44, *((float *)this + 138) - 8.0, 40.0); v10(v8, &v44); v11 = *(void (__fastcall **)(int, __int16 *))(*(_DWORD *)v8 + 92); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v44, *((float *)this + 138) * 0.5, a3); v11(v8, &v44); (*(void (__fastcall **)(cocos2d::CCNode *, int, _DWORD))(*(_DWORD *)a2 + 232))(a2, v8, 0); v13 = cocos2d::CCLabelBMFont::create((cocos2d::CCLabelBMFont *)"Account", "bigFont.fnt", v12); v14 = *(void (__fastcall **)(int, __int16 *))(*(_DWORD *)v13 + 148); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v44, 0.0, 0.5); v14(v13, &v44); (*(void (__fastcall **)(int, int))(*(_DWORD *)v13 + 80))(v13, 1050924810); v15 = *(void (__fastcall **)(int, __int16 *))(*(_DWORD *)v13 + 536); v17 = ReportPopup::contentTypeColor(nullptr, v16); v44 = v17; v45 = BYTE2(v17); v15(v13, &v44); v18 = *(void (__fastcall **)(int, __int16 *))(*(_DWORD *)v13 + 92); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v44, 32.0, a3 + 10.0); v18(v13, &v44); (*(void (__fastcall **)(cocos2d::CCNode *, int, int))(*(_DWORD *)a2 + 232))(a2, v13, 1); sub_7328F4(v43, *((const char **)this + 238), (int)"report", v19); v21 = *((const char **)this + 239); if ( (int)v21 > 0 ) { v23 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)" +%i anonymous", v21); CString = (char *)cocos2d::CCString::getCString(v23); std::string::append(v43, CString); } if ( (v43[0] & 1) != 0 ) v22 = (cocos2d::CCLabelBMFont *)v43[2]; else v22 = (cocos2d::CCLabelBMFont *)((char *)v43 + 1); v25 = cocos2d::CCLabelBMFont::create(v22, "chatFont.fnt", v20); v26 = *(void (__fastcall **)(int, __int16 *))(*(_DWORD *)v25 + 148); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v44, 0.0, 0.5); v26(v25, &v44); (*(void (__fastcall **)(int, int))(*(_DWORD *)v25 + 80))(v25, 1055286886); (*(void (__fastcall **)(int, int))(*(_DWORD *)v25 + 512))(v25, 180); v27 = *(void (__fastcall **)(int, __int16 *))(*(_DWORD *)v25 + 92); (*(void (__fastcall **)(float *, int))(*(_DWORD *)v13 + 168))(v42, v13); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v44, (float)(v42[0] + 32.0) + 8.0, a3 + 10.0); v27(v25, &v44); (*(void (__fastcall **)(cocos2d::CCNode *, int, int))(*(_DWORD *)a2 + 232))(a2, v25, 1); v30 = *((ReportPopup **)this + 240); if ( (int)v30 >= 0 ) { v33 = (cocos2d::CCLabelBMFont *)ReportPopup::reasonShortLabel(v30, v28); v35 = cocos2d::CCLabelBMFont::create(v33, "chatFont.fnt", v34); v36 = *(void (__fastcall **)(int, __int16 *))(*(_DWORD *)v35 + 148); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v44, 0.0, 0.5); v36(v35, &v44); (*(void (__fastcall **)(int, int))(*(_DWORD *)v35 + 80))(v35, 1053609165); v37 = *(void (__fastcall **)(int, __int16 *))(*(_DWORD *)v35 + 536); v44 = -11521; v45 = 60; v37(v35, &v44); v38 = *(void (__fastcall **)(int, __int16 *))(*(_DWORD *)v35 + 92); v39 = COERCE_FLOAT((*(int (__fastcall **)(int))(*(_DWORD *)v25 + 112))(v25)); (*(void (__fastcall **)(float *, int))(*(_DWORD *)v25 + 168))(v42, v25); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v44, (float)(v39 + v42[0]) + 8.0, v6); v38(v35, &v44); (*(void (__fastcall **)(cocos2d::CCNode *, int, int))(*(_DWORD *)a2 + 232))(a2, v35, 1); } v31 = (cocos2d::CCLabelBMFont *)cocos2d::CCLabelBMFont::create( (cocos2d::CCLabelBMFont *)"Reported from the profile page, no content attached. Clear removes these.", "chatFont.fnt", v29); v32 = *(void (__fastcall **)(cocos2d::CCLabelBMFont *, __int16 *))(*(_DWORD *)v31 + 148); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v44, 0.0, 0.5); v32(v31, &v44); cocos2d::CCLabelBMFont::limitLabelWidth(v31, *((float *)this + 138) - 50.0, 0.5, 0.2); (*(void (__fastcall **)(cocos2d::CCLabelBMFont *, int))(*(_DWORD *)v31 + 512))(v31, 150); v40 = *(void (__fastcall **)(cocos2d::CCLabelBMFont *, __int16 *))(*(_DWORD *)v31 + 92); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v44, 32.0, v7); v40(v31, &v44); (*(void (__fastcall **)(cocos2d::CCNode *, cocos2d::CCLabelBMFont *, int))(*(_DWORD *)a2 + 232))(a2, v31, 1); return std::string::~string((int)v43); }
GD Web Decomp Icon

GD Web Decomp

Raw Source