// // AccountReviewPopup::updateCard from 0x7383d4 to 0x73957a (4518 bytes) // // 1 xrefs: // > AccountReviewPopup::adminAccountReviewFinished @ 0x7396be // // 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:28 +0000 // void __fastcall AccountReviewPopup::updateCard(float **this, const AccountReviewCard *a2) { float v4; // s14 int v5; // r2 float v6; // s17 float v7; // s17 float v8; // s20 float v9; // s19 int v10; // r3 const char *v11; // r8 int *v12; // r7 size_t v13; // r0 int v14; // r3 char *v15; // r1 cocos2d::CCString *v16; // r0 char *CString; // r0 int v18; // r3 int v19; // r3 int *v20; // r0 size_t v21; // r1 char *v22; // r2 char *v23; // r1 size_t v24; // r2 int v25; // r3 int v26; // r3 char *v27; // r1 size_t v28; // r2 int v29; // r3 int v30; // r3 int *v31; // r0 size_t v32; // r1 char *v33; // r2 char *v34; // r1 size_t v35; // r2 char *v36; // r1 int *v37; // r0 size_t v38; // r1 char *v39; // r2 char *v40; // r1 size_t v41; // r2 int v42; // r3 char v43; // r3 char v44; // r1 char v45; // r0 time_t v46; // r0 time_t v47; // r1 int v48; // r9 int *v49; // r3 size_t v50; // r1 char *v51; // r2 char v52; // r2 int v53; // r3 int *v54; // r7 int v55; // r3 const char *v56; // r1 const char *v57; // r1 cocos2d::CCString *v58; // r0 char *v59; // r0 int *v60; // r0 size_t v61; // r1 char *v62; // r2 char *v63; // r1 size_t v64; // r2 const char *v65; // r1 cocos2d::CCString *v66; // r0 char *v67; // r0 int v68; // r1 char *v69; // r0 int *v70; // r0 size_t v71; // r1 char *v72; // r2 char *v73; // r1 size_t v74; // r2 int v75; // r1 int *v76; // r0 size_t v77; // r1 char *v78; // r2 char *v79; // r1 size_t v80; // r2 int v81; // r3 const char *v82; // r7 size_t v83; // r0 int *v84; // r0 int v85; // r1 int v86; // r2 char *v87; // r1 size_t v88; // r2 int *v89; // r0 size_t v90; // r1 char *v91; // r2 char *v92; // r1 size_t v93; // r2 int v94; // r3 const char *v95; // r7 size_t v96; // r0 int *v97; // r0 int v98; // r1 int v99; // r2 char *v100; // r1 size_t v101; // r2 int *v102; // r0 size_t v103; // r1 char *v104; // r2 char *v105; // r1 size_t v106; // r2 int v107; // r3 const char *v108; // r7 size_t v109; // r0 int *v110; // r0 size_t v111; // r1 char *v112; // r2 char *v113; // r1 size_t v114; // r2 int v115; // r3 const char *v116; // r7 size_t v117; // r0 int *v118; // r0 size_t v119; // r1 char *v120; // r2 char *v121; // r1 size_t v122; // r2 int v123; // r3 time_t v124; // r1 int *v125; // r0 size_t v126; // r1 char *v127; // r2 const char *v128; // r1 __int16 *v129; // r2 cocos2d::CCString *v130; // r0 const char *v131; // r8 int *v132; // r7 size_t v133; // r0 const char *v134; // r1 __int16 *v135; // r2 cocos2d::CCString *v136; // r0 const char *v137; // r8 size_t v138; // r0 int v139; // r3 int v140; // r3 int *v141; // r0 int v142; // r1 int v143; // r2 int v144; // r3 int v145; // r3 const char *v146; // r1 int *v147; // r0 size_t v148; // r1 char *v149; // r2 char *v150; // r1 size_t v151; // r2 int v152; // r3 int v153; // r3 char *v154; // r1 size_t v155; // r2 int v156; // r3 int v157; // r3 int *v158; // r0 size_t v159; // r1 char *v160; // r2 char *v161; // r1 size_t v162; // r2 unsigned int v163; // r6 int v164; // r7 char *v165; // r0 cocos2d::CCLabelBMFont *v166; // r0 float v167; // r9 int v168; // r3 cocos2d::CCLabelBMFont *v169; // r7 int v170; // r10 float v171; // s16 float v172; // s18 unsigned int v173; // r6 int v174; // r8 int v175; // r9 float v176; // s16 float v177; // s16 unsigned int v178; // r8 int v179; // r9 cocos2d::CCLabelBMFont **v180; // r2 int v181; // r6 float v182; // s17 float *v183; // r3 int *v184; // r3 unsigned int v185; // r2 void (__fastcall *v186)(cocos2d::CCLabelBMFont *, float *); // r8 cocos2d::CCLabelBMFont **v187; // r3 int v188; // r3 const char *v189; // r1 int v190; // r6 cocos2d::CCString *v191; // r0 char *v192; // r0 int v193; // r6 cocos2d::CCString *v194; // r0 char *v195; // r0 int v196; // r6 cocos2d::CCString *v197; // r0 char *v198; // r0 const char *v199; // r1 int v200; // r6 cocos2d::CCString *v201; // r0 char *v202; // r1 _BYTE *v203; // r5 void (__fastcall *v204)(_DWORD, float *); // [sp+8h] [bp-80h] void (__fastcall *v205)(int, float *); // [sp+14h] [bp-74h] int v206; // [sp+1Ch] [bp-6Ch] int v207; // [sp+20h] [bp-68h] int v208; // [sp+24h] [bp-64h] int v209; // [sp+28h] [bp-60h] int v210; // [sp+2Ch] [bp-5Ch] int v211; // [sp+30h] [bp-58h] int v212; // [sp+34h] [bp-54h] int v213; // [sp+38h] [bp-50h] int v214; // [sp+3Ch] [bp-4Ch] int v215; // [sp+40h] [bp-48h] int v216; // [sp+44h] [bp-44h] int v217; // [sp+48h] [bp-40h] void **v218; // [sp+4Ch] [bp-3Ch] BYREF float v219; // [sp+50h] [bp-38h] float v220; // [sp+54h] [bp-34h] _DWORD v221[2]; // [sp+58h] [bp-30h] BYREF float v222; // [sp+5Ch] [bp-2Ch] float v223[2]; // [sp+60h] [bp-28h] BYREF float v224[2]; // [sp+68h] [bp-20h] BYREF float v225[2]; // [sp+70h] [bp-18h] BYREF float v226[2]; // [sp+78h] [bp-10h] BYREF float v227[2]; // [sp+80h] [bp-8h] BYREF void *v228; // [sp+88h] [bp+0h] BYREF _BYTE *v229; // [sp+8Ch] [bp+4h] int v230; // [sp+90h] [bp+8h] int v231[3]; // [sp+94h] [bp+Ch] BYREF int v232[3]; // [sp+A0h] [bp+18h] BYREF int v233[3]; // [sp+ACh] [bp+24h] BYREF int v234[3]; // [sp+B8h] [bp+30h] BYREF int v235[3]; // [sp+C4h] [bp+3Ch] BYREF _DWORD v236[3]; // [sp+D0h] [bp+48h] BYREF int v237[3]; // [sp+DCh] [bp+54h] BYREF int v238[3]; // [sp+E8h] [bp+60h] BYREF int v239[3]; // [sp+F4h] [bp+6Ch] BYREF int v240; // [sp+100h] [bp+78h] BYREF int v241; // [sp+104h] [bp+7Ch] int v242; // [sp+108h] [bp+80h] _DWORD v243[3]; // [sp+10Ch] [bp+84h] BYREF int v244[3]; // [sp+118h] [bp+90h] BYREF unsigned __int8 v245; // [sp+124h] [bp+9Ch] BYREF char v246; // [sp+125h] [bp+9Dh] BYREF size_t v247; // [sp+128h] [bp+A0h] char *v248; // [sp+12Ch] [bp+A4h] int v249[3]; // [sp+130h] [bp+A8h] BYREF unsigned __int8 v250; // [sp+13Ch] [bp+B4h] BYREF char v251; // [sp+13Dh] [bp+B5h] BYREF size_t v252; // [sp+140h] [bp+B8h] char *v253; // [sp+144h] [bp+BCh] int v254[3]; // [sp+148h] [bp+C0h] BYREF int v255[3]; // [sp+154h] [bp+CCh] BYREF int v256[3]; // [sp+160h] [bp+D8h] BYREF _DWORD v257[3]; // [sp+16Ch] [bp+E4h] BYREF int v258[3]; // [sp+178h] [bp+F0h] BYREF int v259[3]; // [sp+184h] [bp+FCh] BYREF int v260[3]; // [sp+190h] [bp+108h] BYREF int v261[3]; // [sp+19Ch] [bp+114h] BYREF int v262[3]; // [sp+1A8h] [bp+120h] BYREF int v263; // [sp+1B4h] [bp+12Ch] BYREF int v264; // [sp+1B8h] [bp+130h] int v265; // [sp+1BCh] [bp+134h] void *v266; // [sp+1C0h] [bp+138h] BYREF char *v267; // [sp+1C4h] [bp+13Ch] char *v268; // [sp+1C8h] [bp+140h] int v269; // [sp+1CCh] [bp+144h] BYREF size_t v270; // [sp+1D0h] [bp+148h] char *v271; // [sp+1D4h] [bp+14Ch] AccountReviewPopup::clearCard((AccountReviewPopup *)this); v4 = *((float *)this + 133); v5 = *((_DWORD *)a2 + 4); v6 = *((float *)this + 131); v218 = &v228; v7 = v6 + (float)(v4 * 0.5); v8 = *((float *)this + 130); v9 = *((float *)this + 138) * 0.5; v219 = v7 - 35.0; v220 = v7 - 51.0; v228 = nullptr; v229 = nullptr; v230 = 0; if ( v5 ) { if ( *((int *)a2 + 16) < 0 ) { v12 = v235; memset(v235, 0, sizeof(v235)); std::string::__init(v235, "No case", 7u); LOWORD(v208) = -7711; BYTE2(v208) = -31; sub_733048((int **)&v218, (int)v235, v208); goto LABEL_52; } v12 = &v263; v263 = 0; v264 = 0; v265 = 0; std::string::__init(&v263, "Reviewed", 8u); v25 = *((unsigned __int8 *)a2 + 40); if ( (v25 & 1) != 0 ) v26 = *((_DWORD *)a2 + 11); else v26 = v25 >> 1; if ( v26 ) { std::operator+(v232, " by ", (unsigned __int8 *)a2 + 40); if ( (v232[0] & 1) != 0 ) { v27 = (char *)v232[2]; v28 = v232[1]; } else { v28 = (int)LOBYTE(v232[0]) >> 1; v27 = (char *)v232 + 1; } std::string::append(&v263, v27, v28); std::string::~string((int)v232); } v29 = *((unsigned __int8 *)a2 + 52); if ( (v29 & 1) != 0 ) v30 = *((_DWORD *)a2 + 14); else v30 = v29 >> 1; if ( v30 ) { std::operator+(v233, " ", (unsigned __int8 *)a2 + 52); v31 = std::string::append(v233, " ago"); v32 = v31[1]; v33 = (char *)v31[2]; v269 = *v31; v270 = v32; v271 = v33; *v31 = 0; v31[1] = 0; v31[2] = 0; if ( (v269 & 1) != 0 ) { v34 = v271; v35 = v270; } else { v35 = (int)(unsigned __int8)v269 >> 1; v34 = (char *)&v269 + 1; } std::string::append(&v263, v34, v35); std::string::~string((int)&v269); std::string::~string((int)v233); } memset(v234, 0, sizeof(v234)); std::string::__init(v234, ": ", 2u); switch ( *((_DWORD *)a2 + 16) ) { case 0: v36 = "Nothing Needed"; break; case 1: v36 = "Content Removed"; break; case 2: v36 = "Penalty Applied"; break; case 3: v36 = "Actioned"; break; default: v36 = (char *)&unk_B6B226; break; } v37 = std::string::append(v234, v36); v38 = v37[1]; v39 = (char *)v37[2]; v269 = *v37; v270 = v38; v271 = v39; *v37 = 0; v37[1] = 0; v37[2] = 0; if ( (v269 & 1) != 0 ) { v40 = v271; v41 = v270; } else { v41 = (int)(unsigned __int8)v269 >> 1; v40 = (char *)&v269 + 1; } std::string::append(&v263, v40, v41); std::string::~string((int)&v269); std::string::~string((int)v234); v42 = *((_DWORD *)a2 + 16); if ( v42 == 2 ) { v43 = 120; v44 = 120; } else { if ( (v42 & 0xFFFFFFFD) != 1 ) { v43 = -106; v44 = -1; v45 = -106; LABEL_50: LOBYTE(v207) = v45; BYTE1(v207) = v44; BYTE2(v207) = v43; sub_733048((int **)&v218, (int)&v263, v207); goto LABEL_52; } v43 = 80; v44 = -86; } v45 = -1; goto LABEL_50; } v10 = *((_DWORD *)a2 + 5); if ( v10 == 2 ) { v11 = "PREDATOR"; } else if ( v10 == 1 ) { v11 = "AD SPAM"; } else { v11 = (const char *)&unk_B6B226; } v263 = 0; v12 = &v263; v264 = 0; v265 = 0; v13 = strlen(v11); std::string::__init(&v263, v11, v13); if ( (v263 & 1) != 0 ) v14 = v264; else v14 = (int)(unsigned __int8)v263 >> 1; if ( v14 ) v15 = " CASE"; else v15 = "CASE"; std::string::append(&v263, v15); v16 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat( (cocos2d::CCString *)" - score %i", *((const char **)a2 + 6)); CString = (char *)cocos2d::CCString::getCString(v16); std::string::append(&v263, CString); v18 = *((unsigned __int8 *)a2 + 28); if ( (v18 & 1) != 0 ) v19 = *((_DWORD *)a2 + 8); else v19 = v18 >> 1; if ( v19 ) { std::operator+(v231, " - since ", (unsigned __int8 *)a2 + 28); v20 = std::string::append(v231, " ago"); v21 = v20[1]; v22 = (char *)v20[2]; v269 = *v20; v270 = v21; v271 = v22; *v20 = 0; v20[1] = 0; v20[2] = 0; if ( (v269 & 1) != 0 ) { v23 = v271; v24 = v270; } else { v24 = (int)(unsigned __int8)v269 >> 1; v23 = (char *)&v269 + 1; } std::string::append(&v263, v23, v24); std::string::~string((int)&v269); std::string::~string((int)v231); } LOWORD(v206) = 30975; BYTE2(v206) = 120; sub_733048((int **)&v218, (int)&v263, v206); LABEL_52: std::string::~string((int)v12); if ( *((int *)a2 + 50) > 0 ) { v46 = time(nullptr); v47 = *((_DWORD *)a2 + 50); v48 = v46 - v47; GameToolbox::timestampToHumanReadable((GameToolbox *)v236, v47); v49 = std::string::insert(v236, 0, "Joined "); v50 = v49[1]; v51 = (char *)v49[2]; v269 = *v49; v270 = v50; v271 = v51; *v49 = 0; v49[1] = 0; v49[2] = 0; if ( v48 > 604799 ) v52 = -31; else v52 = -1; LOBYTE(v209) = v52; if ( v48 <= 604799 ) v52 = -66; BYTE1(v209) = v52; if ( v48 <= 604799 ) v52 = 120; BYTE2(v209) = v52; sub_733048((int **)&v218, (int)&v269, v209); std::string::~string((int)&v269); std::string::~string((int)v236); } v53 = *((_DWORD *)a2 + 17); if ( v53 <= 0 && (v53 = *((_DWORD *)a2 + 20), v53 <= 0) && (v53 = *((_DWORD *)a2 + 18), v53 <= 0) && (v53 = *((_DWORD *)a2 + 19), v53 <= 0) ) { v54 = v239; memset(v239, 0, sizeof(v239)); std::string::__init(v239, "No reports", 0xAu); LOWORD(v211) = -7711; BYTE2(v211) = -31; sub_733048((int **)&v218, (int)v239, v211); } else { v54 = &v263; sub_7328F4(&v263, *((const char **)a2 + 18), (int)"reporter", v53); v56 = *((const char **)a2 + 19); if ( (int)v56 > 0 ) { v58 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)" +%i anonymous", v56); v59 = (char *)cocos2d::CCString::getCString(v58); std::string::append(&v263, v59); } v57 = *((const char **)a2 + 17); if ( (int)v57 > 0 ) { sub_7328F4(v237, v57, (int)"item", v55); v60 = std::string::insert(v237, 0, " on "); v61 = v60[1]; v62 = (char *)v60[2]; v269 = *v60; v270 = v61; v271 = v62; *v60 = 0; v60[1] = 0; v60[2] = 0; if ( (v269 & 1) != 0 ) { v63 = v271; v64 = v270; } else { v64 = (int)(unsigned __int8)v269 >> 1; v63 = (char *)&v269 + 1; } std::string::append(&v263, v63, v64); std::string::~string((int)&v269); std::string::~string((int)v237); } v65 = *((const char **)a2 + 20); if ( (int)v65 > 0 ) { v66 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat( (cocos2d::CCString *)" - reported directly x%i", v65); v67 = (char *)cocos2d::CCString::getCString(v66); std::string::append(&v263, v67); } if ( *((int *)a2 + 21) >= 0 ) { memset(v238, 0, sizeof(v238)); std::string::__init(v238, " - top: ", 8u); v69 = (char *)ReportPopup::reasonShortLabel(*((ReportPopup **)a2 + 21), v68); v70 = std::string::append(v238, v69); v71 = v70[1]; v72 = (char *)v70[2]; v269 = *v70; v270 = v71; v271 = v72; *v70 = 0; v70[1] = 0; v70[2] = 0; if ( (v269 & 1) != 0 ) { v73 = v271; v74 = v270; } else { v74 = (int)(unsigned __int8)v269 >> 1; v73 = (char *)&v269 + 1; } std::string::append(&v263, v73, v74); std::string::~string((int)&v269); std::string::~string((int)v238); } LOWORD(v210) = -11521; BYTE2(v210) = 60; sub_733048((int **)&v218, (int)&v263, v210); } std::string::~string((int)v54); v75 = *((_DWORD *)a2 + 22); v240 = 0; v241 = 0; v242 = 0; if ( v75 ) { AccountBanPopup::banStateShort((AccountBanPopup *)v243, v75); v76 = std::string::insert(v243, 0, "comments "); v77 = v76[1]; v78 = (char *)v76[2]; v269 = *v76; v270 = v77; v271 = v78; *v76 = 0; v76[1] = 0; v76[2] = 0; if ( (v269 & 1) != 0 ) { v79 = v271; v80 = v270; } else { v80 = (int)(unsigned __int8)v269 >> 1; v79 = (char *)&v269 + 1; } std::string::append(&v240, v79, v80); std::string::~string((int)&v269); std::string::~string((int)v243); } if ( *((_DWORD *)a2 + 23) ) { if ( (v240 & 1) != 0 ) v81 = v241; else v81 = (int)(unsigned __int8)v240 >> 1; if ( v81 ) v82 = ", "; else v82 = (const char *)&unk_B6B226; memset(v244, 0, sizeof(v244)); v83 = strlen(v82); std::string::__init(v244, v82, v83); v84 = std::string::append(v244, "uploads "); v85 = v84[1]; v86 = v84[2]; v263 = *v84; v264 = v85; v265 = v86; *v84 = 0; v84[1] = 0; v84[2] = 0; AccountBanPopup::banStateShort((AccountBanPopup *)&v245, *((_DWORD *)a2 + 23)); if ( (v245 & 1) != 0 ) { v87 = v248; v88 = v247; } else { v88 = (int)v245 >> 1; v87 = &v246; } v89 = std::string::append(&v263, v87, v88); v90 = v89[1]; v91 = (char *)v89[2]; v269 = *v89; v270 = v90; v271 = v91; *v89 = 0; v89[1] = 0; v89[2] = 0; if ( (v269 & 1) != 0 ) { v92 = v271; v93 = v270; } else { v93 = (int)(unsigned __int8)v269 >> 1; v92 = (char *)&v269 + 1; } std::string::append(&v240, v92, v93); std::string::~string((int)&v269); std::string::~string((int)&v245); std::string::~string((int)&v263); std::string::~string((int)v244); } if ( *((_DWORD *)a2 + 24) ) { if ( (v240 & 1) != 0 ) v94 = v241; else v94 = (int)(unsigned __int8)v240 >> 1; if ( v94 ) v95 = ", "; else v95 = (const char *)&unk_B6B226; memset(v249, 0, sizeof(v249)); v96 = strlen(v95); std::string::__init(v249, v95, v96); v97 = std::string::append(v249, "messages "); v98 = v97[1]; v99 = v97[2]; v263 = *v97; v264 = v98; v265 = v99; *v97 = 0; v97[1] = 0; v97[2] = 0; AccountBanPopup::banStateShort((AccountBanPopup *)&v250, *((_DWORD *)a2 + 24)); if ( (v250 & 1) != 0 ) { v100 = v253; v101 = v252; } else { v101 = (int)v250 >> 1; v100 = &v251; } v102 = std::string::append(&v263, v100, v101); v103 = v102[1]; v104 = (char *)v102[2]; v269 = *v102; v270 = v103; v271 = v104; *v102 = 0; v102[1] = 0; v102[2] = 0; if ( (v269 & 1) != 0 ) { v105 = v271; v106 = v270; } else { v106 = (int)(unsigned __int8)v269 >> 1; v105 = (char *)&v269 + 1; } std::string::append(&v240, v105, v106); std::string::~string((int)&v269); std::string::~string((int)&v250); std::string::~string((int)&v263); std::string::~string((int)v249); } if ( *((_DWORD *)a2 + 51) == 2 ) { if ( (v240 & 1) != 0 ) v107 = v241; else v107 = (int)(unsigned __int8)v240 >> 1; if ( v107 ) v108 = ", "; else v108 = (const char *)&unk_B6B226; memset(v254, 0, sizeof(v254)); v109 = strlen(v108); std::string::__init(v254, v108, v109); v110 = std::string::append(v254, "trending"); v111 = v110[1]; v112 = (char *)v110[2]; v269 = *v110; v270 = v111; v271 = v112; *v110 = 0; v110[1] = 0; v110[2] = 0; if ( (v269 & 1) != 0 ) { v113 = v271; v114 = v270; } else { v114 = (int)(unsigned __int8)v269 >> 1; v113 = (char *)&v269 + 1; } std::string::append(&v240, v113, v114); std::string::~string((int)&v269); std::string::~string((int)v254); } if ( *((_DWORD *)a2 + 52) == 2 ) { if ( (v240 & 1) != 0 ) v115 = v241; else v115 = (int)(unsigned __int8)v240 >> 1; if ( v115 ) v116 = ", "; else v116 = (const char *)&unk_B6B226; memset(v255, 0, sizeof(v255)); v117 = strlen(v116); std::string::__init(v255, v116, v117); v118 = std::string::append(v255, "name change"); v119 = v118[1]; v120 = (char *)v118[2]; v269 = *v118; v270 = v119; v271 = v120; *v118 = 0; v118[1] = 0; v118[2] = 0; if ( (v269 & 1) != 0 ) { v121 = v271; v122 = v270; } else { v122 = (int)(unsigned __int8)v269 >> 1; v121 = (char *)&v269 + 1; } std::string::append(&v240, v121, v122); std::string::~string((int)&v269); std::string::~string((int)v255); } if ( (v240 & 1) != 0 ) v123 = v241; else v123 = (int)(unsigned __int8)v240 >> 1; if ( v123 ) { std::operator+(v256, "Banned: ", (unsigned __int8 *)&v240); LOWORD(v212) = -26881; BYTE2(v212) = -106; sub_733048((int **)&v218, (int)v256, v212); std::string::~string((int)v256); } v124 = *((_DWORD *)a2 + 53); if ( v124 > 0 ) { GameToolbox::timestampToHumanReadable((GameToolbox *)v257, v124); v125 = std::string::insert(v257, 0, "Queue muted "); v126 = v125[1]; v127 = (char *)v125[2]; v269 = *v125; v270 = v126; v271 = v127; *v125 = 0; v125[1] = 0; v125[2] = 0; LOWORD(v213) = -14136; BYTE2(v213) = -56; sub_733048((int **)&v218, (int)&v269, v213); std::string::~string((int)&v269); std::string::~string((int)v257); } v128 = *((const char **)a2 + 25); if ( (int)v128 > 0 ) { if ( v128 == (_BYTE *)&dword_0 + 1 ) v129 = (__int16 *)&unk_B6B226; else v129 = &a1i2r3e45s789g[8]; v130 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat( (cocos2d::CCString *)"Blocked by %i user%s this week", v128, v129); v131 = (const char *)cocos2d::CCString::getCString(v130); memset(v258, 0, sizeof(v258)); v132 = v258; v133 = strlen(v131); std::string::__init(v258, v131, v133); LOWORD(v214) = -16641; BYTE2(v214) = 120; sub_733048((int **)&v218, (int)v258, v214); LABEL_144: std::string::~string((int)v132); goto LABEL_145; } v134 = *((const char **)a2 + 26); if ( (int)v134 > 0 ) { if ( v134 == (_BYTE *)&dword_0 + 1 ) v135 = (__int16 *)&unk_B6B226; else v135 = &a1i2r3e45s789g[8]; v136 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat( (cocos2d::CCString *)"Blocked by %i user%s in 30 days", v134, v135); v137 = (const char *)cocos2d::CCString::getCString(v136); memset(v259, 0, sizeof(v259)); v132 = v259; v138 = strlen(v137); std::string::__init(v259, v137, v138); LOWORD(v215) = -16641; BYTE2(v215) = 120; sub_733048((int **)&v218, (int)v259, v215); goto LABEL_144; } LABEL_145: v139 = *((unsigned __int8 *)a2 + 120); if ( (v139 & 1) != 0 ) v140 = *((_DWORD *)a2 + 31); else v140 = v139 >> 1; if ( v140 ) { sub_733BEC((int)&v269, (unsigned __int8 *)a2 + 120, (unsigned __int8 *)a2 + 132); v141 = std::string::insert(&v269, 0, "Last action: "); v142 = v141[1]; v143 = v141[2]; v263 = *v141; v264 = v142; v265 = v143; *v141 = 0; v141[1] = 0; v141[2] = 0; std::string::~string((int)&v269); v144 = *((unsigned __int8 *)a2 + 132); if ( (v144 & 1) != 0 ) v145 = *((_DWORD *)a2 + 34); else v145 = v144 >> 1; if ( v145 == 4 && !std::string::compare((unsigned __int8 *)a2 + 132, 0, 0xFFFFFFFF, "perm", 4u) ) { std::string::append(&v263, " Permanent"); } else { v146 = *((const char **)a2 + 36); if ( (int)v146 > 0 ) { sub_73293C(v260, v146); v147 = std::string::insert(v260, 0, " "); v148 = v147[1]; v149 = (char *)v147[2]; v269 = *v147; v270 = v148; v271 = v149; *v147 = 0; v147[1] = 0; v147[2] = 0; if ( (v269 & 1) != 0 ) { v150 = v271; v151 = v270; } else { v151 = (int)(unsigned __int8)v269 >> 1; v150 = (char *)&v269 + 1; } std::string::append(&v263, v150, v151); std::string::~string((int)&v269); std::string::~string((int)v260); } } v152 = *((unsigned __int8 *)a2 + 148); if ( (v152 & 1) != 0 ) v153 = *((_DWORD *)a2 + 38); else v153 = v152 >> 1; if ( v153 ) { std::operator+(v261, " by ", (unsigned __int8 *)a2 + 148); if ( (v261[0] & 1) != 0 ) { v154 = (char *)v261[2]; v155 = v261[1]; } else { v155 = (int)LOBYTE(v261[0]) >> 1; v154 = (char *)v261 + 1; } std::string::append(&v263, v154, v155); std::string::~string((int)v261); } v156 = *((unsigned __int8 *)a2 + 160); if ( (v156 & 1) != 0 ) v157 = *((_DWORD *)a2 + 41); else v157 = v156 >> 1; if ( v157 ) { std::operator+(v262, " ", (unsigned __int8 *)a2 + 160); v158 = std::string::append(v262, " ago"); v159 = v158[1]; v160 = (char *)v158[2]; v269 = *v158; v270 = v159; v271 = v160; *v158 = 0; v158[1] = 0; v158[2] = 0; if ( (v269 & 1) != 0 ) { v161 = v271; v162 = v270; } else { v162 = (int)(unsigned __int8)v269 >> 1; v161 = (char *)&v269 + 1; } std::string::append(&v263, v161, v162); std::string::~string((int)&v269); std::string::~string((int)v262); } LOWORD(v216) = -9066; BYTE2(v216) = -1; sub_733048((int **)&v218, (int)&v263, v216); } else { v263 = 0; v264 = 0; v265 = 0; std::string::__init(&v263, "No moderator actions yet", 0x18u); LOWORD(v217) = -7711; BYTE2(v217) = -31; sub_733048((int **)&v218, (int)&v263, v217); } std::string::~string((int)&v263); v163 = 0; v266 = nullptr; v267 = nullptr; v268 = nullptr; while ( v163 < (v229 - (_BYTE *)v228) >> 4 ) { v164 = 16 * v163; v165 = (char *)v228 + 16 * v163; if ( (*v165 & 1) != 0 ) v166 = *((cocos2d::CCLabelBMFont **)v165 + 2); else v166 = (cocos2d::CCLabelBMFont *)(v165 + 1); LODWORD(v226[0]) = cocos2d::CCLabelBMFont::create(v166, "chatFont.fnt", (const char *)v228); v167 = v226[0]; v204 = *(void (__fastcall **)(_DWORD, float *))(*(_DWORD *)LODWORD(v226[0]) + 148); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v227, 0.0, 0.5); v204(LODWORD(v167), v227); (*(void (__fastcall **)(_DWORD, char *))(*(_DWORD *)LODWORD(v226[0]) + 536))( LODWORD(v226[0]), (char *)v228 + v164 + 12); (*(void (__fastcall **)(_DWORD, _DWORD))(*(_DWORD *)LODWORD(v226[0]) + 512))( LODWORD(v226[0]), *((unsigned __int8 *)v228 + v164 + 15)); if ( v267 == v268 ) { std::vector::__push_back_slow_path((int)&v266, v226); } else { if ( v267 ) *(float *)v267 = v226[0]; v267 += 4; } ++v163; } v168 = *((_DWORD *)a2 + 43); if ( v168 <= 0 ) v169 = nullptr; else v169 = AccountReviewPopup::viewedByLabel((unsigned __int8 *)a2 + 176, (int)a2 + 188, 0.54, v168); v170 = 0; while ( 2 ) { v171 = *((float *)this + 138); v172 = *(float *)((char *)&unk_BF05CC + v170); *(float *)v221 = v171; v222 = v171; if ( v169 ) { cocos2d::CCLabelBMFont::limitLabelWidth(v169, 150.0, v172 * 0.83, 0.2); (*(void (__fastcall **)(float *, cocos2d::CCLabelBMFont *))(*(_DWORD *)v169 + 168))(v223, v169); v222 = v171 - (float)(v223[0] + 12.0); } v173 = 0; v174 = 1; v175 = 0; v176 = 0.0; while ( v173 < (v267 - (_BYTE *)v266) >> 2 ) { if ( !v174 ) goto LABEL_195; (*(void (__fastcall **)(_DWORD, float))(**((_DWORD **)v266 + v173) + 80))( *((_DWORD *)v266 + v173), COERCE_FLOAT(LODWORD(v172))); (*(void (__fastcall **)(float *))(**((_DWORD **)v266 + v173) + 168))(v224); if ( v176 > 0.0 && (float)(v176 + v224[0]) > *(float *)&v221[v175] ) { if ( v175 ) { v175 = 1; v174 = 0; } else { v176 = 0.0; v175 = 1; } } ++v173; if ( v224[0] > *(float *)&v221[v175] ) v174 = 0; v176 = v176 + (float)(v224[0] + 14.0); } if ( v174 ) break; LABEL_195: v170 += 4; if ( v170 != 20 ) continue; break; } v177 = 0.0; v178 = 0; v179 = 0; while ( 1 ) { v180 = (cocos2d::CCLabelBMFont **)v266; if ( v178 >= (v267 - (_BYTE *)v266) >> 2 ) break; v181 = *((_DWORD *)v266 + v178); (*(void (__fastcall **)(int, float))(*(_DWORD *)v181 + 80))(v181, COERCE_FLOAT(LODWORD(v172))); (*(void (__fastcall **)(float *, int))(*(_DWORD *)v181 + 168))(v225, v181); v182 = v225[0]; if ( v177 > 0.0 ) { v183 = (float *)&v221[v179]; if ( (float)(v177 + v225[0]) > *v183 ) { if ( v179 ) { if ( (float)(*v183 - v177) < 60.0 ) { v179 = 1; goto LABEL_214; } sub_732820(v181, (unsigned __int8 *)v228 + 16 * v178); (*(void (__fastcall **)(float *, int))(*(_DWORD *)v181 + 168))(v226, v181); v182 = v226[0]; } else { v177 = 0.0; } v179 = 1; } } if ( v182 > *(float *)&v221[v179] ) { sub_732820(v181, (unsigned __int8 *)v228 + 16 * v178); (*(void (__fastcall **)(float *, int))(*(_DWORD *)v181 + 168))(v227, v181); v182 = v227[0]; } v205 = *(void (__fastcall **)(int, float *))(*(_DWORD *)v181 + 92); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v227, (float)(v8 - v9) + v177, *(&v219 + v179)); v205(v181, v227); (*(void (__fastcall **)(_DWORD, int, int))(*(_DWORD *)*(this + 115) + 232))(*(this + 115), v181, 1); v184 = (int *)*(this + 253); v185 = (unsigned int)*(this + 254); LODWORD(v227[0]) = v181; if ( (unsigned int)v184 >= v185 ) { std::vector::__push_back_slow_path((int)(this + 252), v227); } else { if ( v184 ) *v184 = v181; ++*(this + 253); } v177 = v177 + (float)(v182 + 14.0); LABEL_214: ++v178; } if ( v169 ) { v186 = *(void (__fastcall **)(cocos2d::CCLabelBMFont *, float *))(*(_DWORD *)v169 + 92); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v227, v8 + v9, v220); v186(v169, v227); (*(void (__fastcall **)(_DWORD, cocos2d::CCLabelBMFont *, int))(*(_DWORD *)*(this + 115) + 232))( *(this + 115), v169, 1); v187 = (cocos2d::CCLabelBMFont **)*(this + 253); v180 = (cocos2d::CCLabelBMFont **)*(this + 254); LODWORD(v227[0]) = v169; if ( v187 >= v180 ) { std::vector::__push_back_slow_path((int)(this + 252), v227); } else { if ( v187 ) *v187 = v169; ++*(this + 253); } } v188 = *((_DWORD *)a2 + 17); if ( *((int *)a2 + 20) > 0 ) v189 = (const char *)(v188 + 1); else v189 = *((const char **)a2 + 17); v190 = (int)*(this + 241); v191 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"Reported %i", v189, v180, v188); v192 = (char *)cocos2d::CCString::getCString(v191); ButtonSprite::setString(v190, v192); v193 = (int)*(this + 242); v194 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat( (cocos2d::CCString *)"Filter %i", *((const char **)a2 + 28)); v195 = (char *)cocos2d::CCString::getCString(v194); ButtonSprite::setString(v193, v195); v196 = (int)*(this + 243); v197 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat( (cocos2d::CCString *)"History %i", *((const char **)a2 + 29)); v198 = (char *)cocos2d::CCString::getCString(v197); ButtonSprite::setString(v196, v198); v199 = *((const char **)a2 + 27); v200 = (int)*(this + 244); if ( (int)v199 <= 0 ) { v202 = "Notes"; } else { v201 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"Notes %i", v199); v202 = (char *)cocos2d::CCString::getCString(v201); } ButtonSprite::setString(v200, v202); sub_732228(*(this + 244)); if ( v266 ) { v267 -= 4 * ((unsigned int)(v267 - (_BYTE *)v266) >> 2); operator delete(v266); } std::string::~string((int)&v240); v203 = v228; if ( v228 ) { while ( v203 != v229 ) { v229 -= 16; std::string::~string((int)v229); } operator delete(v228); } }