// // AccountReviewPopup::viewedByLabel from 0x732350 to 0x7323fe (174 bytes) // // 2 xrefs: // > AccountReviewPopup::updateCard @ 0x738fa8 // > ReportQueuePopup::buildRows @ 0x73bc3a // // 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:21 +0000 // cocos2d::CCLabelBMFont *__fastcall AccountReviewPopup::viewedByLabel(unsigned __int8 *a1, int a2, float a3, int a4) { unsigned int v5; // r3 const char *v6; // r3 int v7; // r2 cocos2d::CCString *v8; // r0 cocos2d::CCLabelBMFont *CString; // r0 const char *v10; // r2 cocos2d::CCLabelBMFont *v11; // r4 void (__fastcall *v12)(cocos2d::CCLabelBMFont *, int *); // r8 void (__fastcall *v13)(cocos2d::CCLabelBMFont *, int *); // r3 int v15; // [sp+4h] [bp-Ch] BYREF float v16; // [sp+8h] [bp-8h] int v17; // [sp+Ch] [bp-4h] v15 = a2; v16 = a3; v17 = a4; v5 = *a1; if ( (v5 & 1) != 0 ) { if ( *((_DWORD *)a1 + 1) ) v6 = *((const char **)a1 + 2); else v6 = "?"; } else if ( v5 >> 1 ) { v6 = (const char *)(a1 + 1); } else { v6 = "?"; } if ( (*(_BYTE *)a2 & 1) != 0 ) v7 = *(_DWORD *)(a2 + 8); else v7 = a2 + 1; v8 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat( (cocos2d::CCString *)"Viewed by %s %s ago", v6, v7, v6, a1, v15, v16, v17); CString = (cocos2d::CCLabelBMFont *)cocos2d::CCString::getCString(v8); v11 = (cocos2d::CCLabelBMFont *)cocos2d::CCLabelBMFont::create(CString, "chatFont.fnt", v10); v12 = *(void (__fastcall **)(cocos2d::CCLabelBMFont *, int *))(*(_DWORD *)v11 + 148); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v15, 1.0, 0.5); v12(v11, &v15); cocos2d::CCLabelBMFont::limitLabelWidth(v11, 150.0, a3, 0.2); v13 = *(void (__fastcall **)(cocos2d::CCLabelBMFont *, int *))(*(_DWORD *)v11 + 536); LOWORD(v15) = -9066; BYTE2(v15) = -1; v13(v11, &v15); return v11; }
GD Web Decomp Icon

GD Web Decomp

Raw Source