// // ReportQueuePopup::buildRows from 0x1400c80f0 to 0x1400c94c1 (5073 bytes) // // 2 xrefs: // > ReportQueuePopup::adminReportQueueFinished @ 0x1400c802f // > @ 0x140913f4c // // 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:22 +0000 // // Hidden C++ exception states: #wind=13 void __fastcall ReportQueuePopup::buildRows(__int64 a1, cocos2d::CCArray *a2) { cocos2d::CCArray *v2; // rbx __int64 v3; // r15 int v4; // r12d int v5; // eax __int64 v6; // r14 signed int v7; // esi struct cocos2d::CCObject *v8; // r13 float v9; // xmm9_4 __int64 v10; // rax __int64 *v11; // rdi __int64 v12; // rdx void (__fastcall *v13)(__int64 *, __int64); // r8 __int64 v14; // rbx __int64 v15; // rax __int64 v16; // rbx __int64 v17; // rax const char *v18; // rcx cocos2d::CCLabelBMFont *v19; // rbx int v20; // ecx float v21; // xmm6_4 double v22; // xmm0_8 float v23; // xmm7_4 cocos2d::CCObject *v24; // rdi __int64 v25; // rbx float v26; // xmm8_4 __int64 v27; // rax int v28; // eax const char *v29; // rdx size_t v30; // r8 int v31; // edx cocos2d::CCString *v32; // rax char *CString; // rax size_t v34; // r8 const char *p_Src; // rcx struct cocos2d::CCLabelBMFont *v36; // rdi __int64 v37; // rbx __int64 v38; // rax __int64 v39; // rbx __int64 v40; // rax void *v41; // rcx cocos2d::CCObject *v42; // rbx float v43; // xmm6_4 cocos2d::CCObject *v44; // rdi __int64 v45; // rbx __int64 v46; // rax float v47; // xmm7_4 cocos2d::CCString *v48; // rax const char *v49; // rax struct cocos2d::CCLabelBMFont *v50; // rdi __int64 v51; // rbx __int64 v52; // rax __int64 v53; // rbx __int64 v54; // rax __int64 v55; // rcx _QWORD *v56; // rsi size_t v57; // r15 size_t v58; // r14 unsigned __int64 v59; // rbx __int128 *v60; // rdi const char *v61; // rcx struct cocos2d::CCLabelBMFont *v62; // rdi void *v63; // rcx __int64 v64; // rbx __int64 v65; // rax __int64 v66; // rdx __int64 v67; // rbx __int64 v68; // rax __int64 v69; // rax __int64 v70; // rcx __int128 *v71; // rax __int128 *v72; // rsi unsigned __int64 v73; // rdi unsigned __int64 v74; // rbx void *v75; // rcx const char *v76; // rdx const char *v77; // r8 cocos2d::CCString *v78; // rax const char *v79; // rax struct cocos2d::CCLabelBMFont *v80; // rdi __int64 v81; // rbx __int64 v82; // rax __int64 v83; // rbx __int64 v84; // rax float *v85; // rbx void *v86; // rcx int v87; // edx cocos2d::CCString *v88; // rax const char *v89; // rax size_t v90; // r8 void *v91; // rcx int v92; // edx const char *v93; // r8 cocos2d::CCString *v94; // rax const char *v95; // rax size_t v96; // r8 int v97; // edx cocos2d::CCString *v98; // rax char *v99; // rax size_t v100; // r8 void *v101; // rcx int v102; // edx const char *v103; // r8 cocos2d::CCString *v104; // rax const char *v105; // rax size_t v106; // r8 void *v107; // rcx __int64 v108; // rcx char *v109; // rdx size_t v110; // r8 _QWORD *v111; // rax void *v112; // rcx void *v113; // rcx int v114; // edx cocos2d::CCString *v115; // rax const char *v116; // rax size_t v117; // r8 void *v118; // rcx void *v119; // rcx unsigned __int64 v120; // rdx unsigned __int64 v121; // rbx __int64 v122; // rcx __int64 v123; // rdi char *v124; // rdx void **v125; // rax void *v126; // rdx const char *v127; // rcx struct cocos2d::CCLabelBMFont *v128; // rdi __int64 v129; // rbx __int64 v130; // rax __int64 v131; // rbx __int64 v132; // rax __int64 v133; // rbx __int64 v134; // rcx __int16 v135; // [rsp+60h] [rbp-A8h] BYREF char v136; // [rsp+62h] [rbp-A6h] __int16 v137; // [rsp+64h] [rbp-A4h] __int16 v138; // [rsp+68h] [rbp-A0h] BYREF char v139; // [rsp+6Ah] [rbp-9Eh] __int16 v140; // [rsp+6Ch] [rbp-9Ch] __int16 v141; // [rsp+70h] [rbp-98h] BYREF char v142; // [rsp+72h] [rbp-96h] __int16 v143; // [rsp+74h] [rbp-94h] __int16 v144; // [rsp+78h] [rbp-90h] BYREF char v145; // [rsp+7Ah] [rbp-8Eh] int v146; // [rsp+7Ch] [rbp-8Ch] __int16 v147; // [rsp+80h] [rbp-88h] BYREF char v148; // [rsp+82h] [rbp-86h] signed int v149; // [rsp+84h] [rbp-84h] __int128 v150; // [rsp+88h] [rbp-80h] BYREF __int64 v151; // [rsp+98h] [rbp-70h] signed int v152; // [rsp+A0h] [rbp-68h] __int64 v153; // [rsp+A8h] [rbp-60h] __int64 v154; // [rsp+B0h] [rbp-58h] cocos2d::CCArray *v155; // [rsp+B8h] [rbp-50h] _BYTE v156[8]; // [rsp+C0h] [rbp-48h] BYREF void *v157; // [rsp+C8h] [rbp-40h] _BYTE v158[8]; // [rsp+D0h] [rbp-38h] BYREF _BYTE v159[8]; // [rsp+D8h] [rbp-30h] BYREF _BYTE v160[8]; // [rsp+E0h] [rbp-28h] BYREF void *v161; // [rsp+E8h] [rbp-20h] void *v162; // [rsp+F0h] [rbp-18h] _BYTE v163[8]; // [rsp+F8h] [rbp-10h] BYREF _BYTE v164[8]; // [rsp+100h] [rbp-8h] BYREF _BYTE v165[8]; // [rsp+108h] [rbp+0h] BYREF _BYTE v166[8]; // [rsp+110h] [rbp+8h] BYREF _BYTE v167[8]; // [rsp+118h] [rbp+10h] BYREF _BYTE v168[8]; // [rsp+120h] [rbp+18h] BYREF _BYTE v169[8]; // [rsp+128h] [rbp+20h] BYREF _BYTE v170[8]; // [rsp+130h] [rbp+28h] BYREF _BYTE v171[8]; // [rsp+138h] [rbp+30h] BYREF _BYTE v172[8]; // [rsp+140h] [rbp+38h] BYREF _BYTE v173[8]; // [rsp+148h] [rbp+40h] BYREF _BYTE v174[16]; // [rsp+150h] [rbp+48h] BYREF __int128 Src; // [rsp+160h] [rbp+58h] BYREF __int64 v176; // [rsp+170h] [rbp+68h] unsigned __int64 v177; // [rsp+178h] [rbp+70h] __int128 v178; // [rsp+180h] [rbp+78h] BYREF __int128 v179; // [rsp+190h] [rbp+88h] __int128 v180; // [rsp+1A0h] [rbp+98h] BYREF __int64 v181; // [rsp+1B0h] [rbp+A8h] __int64 v182; // [rsp+1B8h] [rbp+B0h] __int128 v183; // [rsp+1C0h] [rbp+B8h] BYREF __int64 v184; // [rsp+1D0h] [rbp+C8h] __int64 v185; // [rsp+1D8h] [rbp+D0h] v2 = a2; v155 = a2; v3 = a1; v154 = a1; v4 = 0; v5 = cocos2d::CCArray::count(a2); v152 = v5; v6 = *(_QWORD *)(*(_QWORD *)(v3 + 688) + 416LL); v153 = v6; v7 = 0; v149 = 0; if ( v5 > 0 ) { while ( 1 ) { v8 = cocos2d::CCArray::objectAtIndex(v2, v7); v9 = -(float)((float)((float)((float)v7 * 43.0) + 6.0) + 20.0); v10 = cocos2d::CCRect::CCRect((cocos2d::CCRect *)v174, 0.0, 0.0, 40.0, 40.0); v11 = (__int64 *)cocos2d::extension::CCScale9Sprite::create("square02_small.png", v10); v12 = v11[40]; v13 = *(void (__fastcall **)(__int64 *, __int64))(v12 + 40); LOBYTE(v12) = 60; v13(v11 + 40, v12); v135 = 0; v136 = 0; (*(void (__fastcall **)(__int64 *, __int16 *))v11[40])(v11 + 40, &v135); v14 = *v11; cocos2d::CCSize::CCSize((cocos2d::CCSize *)v173, *(float *)(v3 + 704) - 8.0, 40.0); (*(void (__fastcall **)(__int64 *, __int64))(v14 + 312))(v11, v15); v16 = *v11; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v156, *(float *)(v3 + 704) * 0.5, v9); (*(void (__fastcall **)(__int64 *, __int64))(v16 + 184))(v11, v17); (*(void (__fastcall **)(__int64, __int64 *, _QWORD))(*(_QWORD *)v6 + 456LL))(v6, v11, 0); if ( *((_QWORD *)v8 + 10) ) { v18 = (char *)v8 + 64; if ( *((_QWORD *)v8 + 11) > 0xFu ) v18 = *(const char **)v18; } else { v18 = "?"; } v19 = cocos2d::CCLabelBMFont::create(v18, "goldFont.fnt"); v20 = 180; if ( *((int *)v8 + 56) > 0 ) v20 = 130; cocos2d::CCLabelBMFont::limitLabelWidth(v19, (float)v20, 0.5, 0.2); v21 = *(float *)(*(__int64 (__fastcall **)(cocos2d::CCLabelBMFont *))(*(_QWORD *)v19 + 320LL))(v19); v22 = (*(double (__fastcall **)(cocos2d::CCLabelBMFont *))(*(_QWORD *)v19 + 168LL))(v19); v23 = *(float *)&v22 * v21; v157 = operator new(0x208u); v24 = (cocos2d::CCObject *)CCMenuItemSpriteExtra::CCMenuItemSpriteExtra((__int64)v157); if ( v24 ) { if ( CCMenuItemSpriteExtra::init((__int64 *)v24, (__int64 *)v19, 0, v3, (__int64)ReportQueuePopup::onOpenAuthor) ) { cocos2d::CCObject::autorelease(v24); goto LABEL_13; } (*(void (__fastcall **)(cocos2d::CCObject *, __int64))(*(_QWORD *)v24 + 8LL))(v24, 1); } v24 = nullptr; LABEL_13: *((_DWORD *)v24 + 93) = 1067869798; (*(void (__fastcall **)(cocos2d::CCObject *, _QWORD))(*(_QWORD *)v24 + 64LL))(v24, (unsigned int)v7); v25 = *(_QWORD *)v24; v26 = 9.0 - (float)((float)((float)((float)v7 * 43.0) + 6.0) + 20.0); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v158, (float)(v23 * 0.5) + 10.0, v26); (*(void (__fastcall **)(cocos2d::CCObject *, __int64))(v25 + 184))(v24, v27); (*(void (__fastcall **)(__int64, cocos2d::CCObject *, __int64))(*(_QWORD *)v6 + 456LL))(v6, v24, 2); if ( *((int *)v8 + 56) > 0 ) { v28 = *((_DWORD *)v8 + 57); if ( v28 == 2 ) { v29 = "PREDATOR"; } else { v29 = "FLAGGED"; if ( v28 == 1 ) v29 = "AD SPAM"; } Src = 0; v176 = 0; v177 = 0; v30 = -1; do ++v30; while ( v29[v30] ); sub_14003D230(&Src, v29, v30); v31 = *((_DWORD *)v8 + 60); if ( v31 > 1 ) { v32 = cocos2d::CCString::createWithFormat(" x%i", v31); CString = (char *)cocos2d::CCString::getCString(v32); v34 = -1; do ++v34; while ( CString[v34] ); sub_140044D80(&Src, CString, v34); } p_Src = (const char *)&Src; if ( v177 > 0xF ) p_Src = (const char *)Src; v36 = cocos2d::CCLabelBMFont::create(p_Src, (const char *)&qword_140704F78); v37 = *(_QWORD *)v36; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v159, 0.0, 0.5); (*(void (__fastcall **)(struct cocos2d::CCLabelBMFont *, __int64))(v37 + 288))(v36, v38); (*(void (__fastcall **)(struct cocos2d::CCLabelBMFont *))(*(_QWORD *)v36 + 160LL))(v36); v137 = 25855; v138 = 25855; v139 = 100; (**((void (__fastcall ***)(__int64, __int16 *))v36 + 46))((__int64)v36 + 368, &v138); v39 = *(_QWORD *)v36; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v160, (float)(v23 + 10.0) + 8.0, v26); (*(void (__fastcall **)(struct cocos2d::CCLabelBMFont *, __int64))(v39 + 184))(v36, v40); (*(void (__fastcall **)(__int64, struct cocos2d::CCLabelBMFont *, __int64))(*(_QWORD *)v6 + 456LL))(v6, v36, 1); if ( v177 > 0xF ) { v41 = (void *)Src; if ( v177 + 1 >= 0x1000 ) { v41 = *(void **)(Src - 8); if ( (unsigned __int64)(Src - (_QWORD)v41 - 8) > 0x1F ) invoke_watson(nullptr, nullptr, nullptr, 0, 0); } j_j_free(v41); } } v161 = operator new(0x2C8u); v42 = (cocos2d::CCObject *)ButtonSprite::ButtonSprite((__int64)v161); if ( v42 ) { if ( ButtonSprite::init_1( (__int64)v42, (__int64)"Review", 50, 0, 1056964608, 1, &qword_140704F78, (__int64)"GJ_button_01.png", 1103101952) ) { cocos2d::CCObject::autorelease(v42); } else { (*(void (__fastcall **)(cocos2d::CCObject *, __int64))(*(_QWORD *)v42 + 8LL))(v42, 1); v42 = nullptr; } } (*(void (__fastcall **)(cocos2d::CCObject *))(*(_QWORD *)v42 + 160LL))(v42); v43 = *(float *)(*(__int64 (__fastcall **)(cocos2d::CCObject *))(*(_QWORD *)v42 + 320LL))(v42) * 0.80000001; v162 = operator new(0x208u); v44 = (cocos2d::CCObject *)CCMenuItemSpriteExtra::CCMenuItemSpriteExtra((__int64)v162); if ( v44 ) { if ( CCMenuItemSpriteExtra::init((__int64 *)v44, (__int64 *)v42, 0, v3, (__int64)ReportQueuePopup::onOpenReview) ) { cocos2d::CCObject::autorelease(v44); goto LABEL_39; } (*(void (__fastcall **)(cocos2d::CCObject *, __int64))(*(_QWORD *)v44 + 8LL))(v44, 1); } v44 = nullptr; LABEL_39: *((_DWORD *)v44 + 93) = 1067030938; (*(void (__fastcall **)(cocos2d::CCObject *, _QWORD))(*(_QWORD *)v44 + 64LL))(v44, (unsigned int)v7); v45 = *(_QWORD *)v44; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v163, (float)(*(float *)(v3 + 704) - 10.0) - (float)(v43 * 0.5), v9); (*(void (__fastcall **)(cocos2d::CCObject *, __int64))(v45 + 184))(v44, v46); (*(void (__fastcall **)(__int64, cocos2d::CCObject *, __int64))(*(_QWORD *)v6 + 456LL))(v6, v44, 2); v47 = (float)((float)(*(float *)(v3 + 704) - 10.0) - v43) - 8.0; v48 = cocos2d::CCString::createWithFormat("%i pts", *((_DWORD *)v8 + 64)); v49 = cocos2d::CCString::getCString(v48); v50 = cocos2d::CCLabelBMFont::create(v49, (const char *)&qword_140704F78); v51 = *(_QWORD *)v50; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v164, 1.0, 0.5); (*(void (__fastcall **)(struct cocos2d::CCLabelBMFont *, __int64))(v51 + 288))(v50, v52); (*(void (__fastcall **)(struct cocos2d::CCLabelBMFont *))(*(_QWORD *)v50 + 160LL))(v50); v140 = -11521; v141 = -11521; v142 = 60; (**((void (__fastcall ***)(__int64, __int16 *))v50 + 46))((__int64)v50 + 368, &v141); v53 = *(_QWORD *)v50; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v165, v47, v26); (*(void (__fastcall **)(struct cocos2d::CCLabelBMFont *, __int64))(v53 + 184))(v50, v54); (*(void (__fastcall **)(__int64, struct cocos2d::CCLabelBMFont *, __int64))(*(_QWORD *)v6 + 456LL))(v6, v50, 1); if ( *((_QWORD *)v8 + 17) ) { v56 = (_QWORD *)((char *)v8 + 120); v57 = *((_QWORD *)v8 + 17); if ( 0x7FFFFFFFFFFFFFFFLL - v57 < 4 ) sub_140009D90(0x7FFFFFFFFFFFFFFFLL); if ( *((_QWORD *)v8 + 18) > 0xFu ) v56 = (_QWORD *)*v56; Src = 0; v176 = 0; v177 = 0; v58 = v57 + 4; v59 = 15; v60 = &Src; if ( v57 + 4 > 0xF ) { v59 = v58 | 0xF; if ( (v58 | 0xF) <= 0x7FFFFFFFFFFFFFFFLL ) { if ( v59 < 0x16 ) v59 = 22; } else { v59 = 0x7FFFFFFFFFFFFFFFLL; } v60 = (__int128 *)sub_14003D460(v59 + 1); *(_QWORD *)&Src = v60; } v176 = v57 + 4; v177 = v59; memcpy(v60, v56, v57); *(_DWORD *)((char *)v60 + v57) = *(_DWORD *)" ago"; *((_BYTE *)v60 + v58) = 0; v4 |= 8u; v61 = (const char *)&Src; if ( v177 > 0xF ) v61 = (const char *)Src; v62 = cocos2d::CCLabelBMFont::create(v61, "chatFont.fnt"); if ( v177 > 0xF ) { v63 = (void *)Src; if ( v177 + 1 >= 0x1000 ) { v63 = *(void **)(Src - 8); if ( (unsigned __int64)(Src - (_QWORD)v63 - 8) > 0x1F ) invoke_watson(nullptr, nullptr, nullptr, 0, 0); } j_j_free(v63); } v176 = 0; v177 = 15; LOBYTE(Src) = 0; v64 = *(_QWORD *)v62; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v166, 1.0, 0.5); (*(void (__fastcall **)(struct cocos2d::CCLabelBMFont *, __int64))(v64 + 288))(v62, v65); (*(void (__fastcall **)(struct cocos2d::CCLabelBMFont *))(*(_QWORD *)v62 + 160LL))(v62); LOBYTE(v66) = -106; (*(void (__fastcall **)(__int64, __int64))(*((_QWORD *)v62 + 46) + 40LL))((__int64)v62 + 368, v66); v67 = *(_QWORD *)v62; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v167, v47, v9 - 10.0); (*(void (__fastcall **)(struct cocos2d::CCLabelBMFont *, __int64))(v67 + 184))(v62, v68); v6 = v153; (*(void (__fastcall **)(__int64, struct cocos2d::CCLabelBMFont *, __int64))(*(_QWORD *)v153 + 456LL))( v153, v62, 1); v47 = v47 - (float)(*(float *)(*(__int64 (__fastcall **)(struct cocos2d::CCLabelBMFont *, _BYTE *))(*(_QWORD *)v62 + 328LL))( v62, v168) + 8.0); v3 = v154; } if ( *((int *)v8 + 39) > 0 ) { v69 = GJAccountManager::sharedState(v55); v70 = (unsigned int)(*(_DWORD *)(v69 + 360) - *(_DWORD *)(v69 + 364)); if ( *((_DWORD *)v8 + 39) == (_DWORD)v70 ) { v183 = 0; v184 = 3; v185 = 15; LODWORD(v183) = 7696249; v71 = &v183; v4 |= 1u; } else { *((_QWORD *)&Src + 1) = 0; v72 = (__int128 *)((char *)v8 + 160); if ( *((_QWORD *)v8 + 23) > 0xFu ) v72 = *((__int128 **)v8 + 20); v73 = *((_QWORD *)v8 + 22); if ( v73 > 0x7FFFFFFFFFFFFFFFLL ) sub_140009D90(v70); if ( v73 > 0xF ) { v74 = v73 | 0xF; if ( (v73 | 0xF) <= 0x7FFFFFFFFFFFFFFFLL ) { if ( v74 < 0x16 ) v74 = 22; } else { v74 = 0x7FFFFFFFFFFFFFFFLL; } *(_QWORD *)&Src = sub_14003D460(v74 + 1); v176 = v73; v177 = v74; memcpy((void *)Src, v72, v73 + 1); } else { v176 = *((_QWORD *)v8 + 22); v177 = 15; Src = *v72; } v71 = &Src; v4 |= 2u; } v178 = *v71; v179 = v71[1]; *((_QWORD *)v71 + 2) = 0; *((_QWORD *)v71 + 3) = 15; *(_BYTE *)v71 = 0; if ( (v4 & 2) != 0 ) { v4 &= ~2u; if ( v177 > 0xF ) { v75 = (void *)Src; if ( v177 + 1 >= 0x1000 ) { v75 = *(void **)(Src - 8); if ( (unsigned __int64)(Src - (_QWORD)v75 - 8) > 0x1F ) invoke_watson(nullptr, nullptr, nullptr, 0, 0); } j_j_free(v75); } } if ( (v4 & 1) != 0 ) { v4 &= ~1u; sub_14003D310((__int64)&v183); } if ( (_QWORD)v179 ) { v76 = (const char *)&v178; if ( *((_QWORD *)&v179 + 1) > 0xFu ) v76 = (const char *)v178; } else { v76 = "?"; } v77 = (char *)v8 + 192; if ( *((_QWORD *)v8 + 27) > 0xFu ) v77 = *(const char **)v77; v78 = cocos2d::CCString::createWithFormat("Viewed by %s %s ago", v76, v77); v79 = cocos2d::CCString::getCString(v78); v80 = cocos2d::CCLabelBMFont::create(v79, "chatFont.fnt"); v81 = *(_QWORD *)v80; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v169, 1.0, 0.5); (*(void (__fastcall **)(struct cocos2d::CCLabelBMFont *, __int64))(v81 + 288))(v80, v82); cocos2d::CCLabelBMFont::limitLabelWidth(v80, 150.0, 0.40000001, 0.2); v143 = -9066; v144 = -9066; v145 = -1; (**((void (__fastcall ***)(__int64, __int16 *))v80 + 46))((__int64)v80 + 368, &v144); v83 = *(_QWORD *)v80; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v170, v47, v9 - 10.0); (*(void (__fastcall **)(struct cocos2d::CCLabelBMFont *, __int64))(v83 + 184))(v80, v84); (*(void (__fastcall **)(__int64, struct cocos2d::CCLabelBMFont *, __int64))(*(_QWORD *)v6 + 456LL))(v6, v80, 1); v85 = (float *)(*(__int64 (__fastcall **)(struct cocos2d::CCLabelBMFont *))(*(_QWORD *)v80 + 320LL))(v80); v47 = v47 - (float)((float)((*(float (__fastcall **)(struct cocos2d::CCLabelBMFont *))(*(_QWORD *)v80 + 168LL))(v80) * *v85) + 8.0); if ( *((_QWORD *)&v179 + 1) > 0xFu ) { v86 = (void *)v178; if ( (unsigned __int64)(*((_QWORD *)&v179 + 1) + 1LL) >= 0x1000 ) { v86 = *(void **)(v178 - 8); if ( (unsigned __int64)(v178 - (_QWORD)v86 - 8) > 0x1F ) invoke_watson(nullptr, nullptr, nullptr, 0, 0); } j_j_free(v86); } } v150 = 0; v151 = 0; v87 = *((_DWORD *)v8 + 56); if ( v87 > 0 ) { v88 = cocos2d::CCString::createWithFormat("score %i", v87); v89 = cocos2d::CCString::getCString(v88); v178 = 0; v179 = 0u; v90 = -1; do ++v90; while ( v89[v90] ); sub_14003D230(&v178, v89, v90); sub_140075D90(&v150, &v178); if ( *((_QWORD *)&v179 + 1) > 0xFu ) { v91 = (void *)v178; if ( (unsigned __int64)(*((_QWORD *)&v179 + 1) + 1LL) >= 0x1000 ) { v91 = *(void **)(v178 - 8); if ( (unsigned __int64)(v178 - (_QWORD)v91 - 8) > 0x1F ) LABEL_163: invoke_watson(nullptr, nullptr, nullptr, 0, 0); } j_j_free(v91); } } v92 = *((_DWORD *)v8 + 65); if ( v92 > 0 || *((int *)v8 + 26) > 0 ) { v93 = (const char *)&unk_14070D03C; if ( v92 == 1 ) v93 = &byte_1406ED6E0; v94 = cocos2d::CCString::createWithFormat("%i reporter%s", v92, v93); v95 = cocos2d::CCString::getCString(v94); v178 = 0; v179 = 0u; v96 = -1; do ++v96; while ( v95[v96] ); sub_14003D230(&v178, v95, v96); v97 = *((_DWORD *)v8 + 26); if ( v97 > 0 ) { v98 = cocos2d::CCString::createWithFormat(" +%i anonymous", v97); v99 = (char *)cocos2d::CCString::getCString(v98); v100 = -1; do ++v100; while ( v99[v100] ); sub_140044D80(&v178, v99, v100); } sub_140075F50((__int64 *)&v150, (__int64)&v178); if ( *((_QWORD *)&v179 + 1) > 0xFu ) { v101 = (void *)v178; if ( (unsigned __int64)(*((_QWORD *)&v179 + 1) + 1LL) >= 0x1000 ) { v101 = *(void **)(v178 - 8); if ( (unsigned __int64)(v178 - (_QWORD)v101 - 8) > 0x1F ) invoke_watson(nullptr, nullptr, nullptr, 0, 0); } j_j_free(v101); } } v102 = *((_DWORD *)v8 + 24); if ( v102 > 0 ) { v103 = (const char *)&unk_14070D03C; if ( v102 == 1 ) v103 = &byte_1406ED6E0; v104 = cocos2d::CCString::createWithFormat("%i item%s", v102, v103); v105 = cocos2d::CCString::getCString(v104); v178 = 0; v179 = 0u; v106 = -1; do ++v106; while ( v105[v106] ); sub_14003D230(&v178, v105, v106); sub_140075D90(&v150, &v178); if ( *((_QWORD *)&v179 + 1) > 0xFu ) { v107 = (void *)v178; if ( (unsigned __int64)(*((_QWORD *)&v179 + 1) + 1LL) >= 0x1000 ) { v107 = *(void **)(v178 - 8); if ( (unsigned __int64)(v178 - (_QWORD)v107 - 8) > 0x1F ) goto LABEL_163; } j_j_free(v107); } } v108 = *((int *)v8 + 27); if ( (int)v108 >= 0 ) { Src = 0; v176 = 5; v177 = 15; strcpy((char *)&Src, "top: "); if ( (unsigned int)v108 > 7 ) v109 = "?"; else v109 = *((char **)&off_140702E20 + v108); v110 = -1; do ++v110; while ( v109[v110] ); v111 = sub_140044D80(&Src, v109, v110); v178 = *(_OWORD *)v111; v179 = *((_OWORD *)v111 + 1); v111[2] = 0; v111[3] = 15; *(_BYTE *)v111 = 0; v4 |= 4u; sub_140075D90(&v150, &v178); if ( *((_QWORD *)&v179 + 1) > 0xFu ) { v112 = (void *)v178; if ( (unsigned __int64)(*((_QWORD *)&v179 + 1) + 1LL) >= 0x1000 ) { v112 = *(void **)(v178 - 8); if ( (unsigned __int64)(v178 - (_QWORD)v112 - 8) > 0x1F ) invoke_watson(nullptr, nullptr, nullptr, 0, 0); } j_j_free(v112); } if ( v177 > 0xF ) { v113 = (void *)Src; if ( v177 + 1 >= 0x1000 ) { v113 = *(void **)(Src - 8); if ( (unsigned __int64)(Src - (_QWORD)v113 - 8) > 0x1F ) invoke_watson(nullptr, nullptr, nullptr, 0, 0); } j_j_free(v113); } } v114 = *((_DWORD *)v8 + 38); if ( v114 > 0 ) { v115 = cocos2d::CCString::createWithFormat("reported directly x%i", v114); v116 = cocos2d::CCString::getCString(v115); v178 = 0; v179 = 0u; v117 = -1; do ++v117; while ( v116[v117] ); sub_14003D230(&v178, v116, v117); sub_140075D90(&v150, &v178); if ( *((_QWORD *)&v179 + 1) > 0xFu ) { v118 = (void *)v178; if ( (unsigned __int64)(*((_QWORD *)&v179 + 1) + 1LL) >= 0x1000 ) { v118 = *(void **)(v178 - 8); if ( (unsigned __int64)(v178 - (_QWORD)v118 - 8) > 0x1F ) goto LABEL_163; } j_j_free(v118); } } if ( !*((_DWORD *)v8 + 24) && !*((_DWORD *)v8 + 38) ) { *((_QWORD *)&Src + 1) = 29556; v176 = 10; v177 = 15; *(_QWORD *)&Src = 0x726F706572206F6ELL; sub_140075D90(&v150, &Src); if ( v177 > 0xF ) { v119 = (void *)Src; if ( v177 + 1 >= 0x1000 ) { v119 = *(void **)(Src - 8); if ( (unsigned __int64)(Src - (_QWORD)v119 - 8) > 0x1F ) goto LABEL_163; } j_j_free(v119); } } v180 = 0; v181 = 0; v120 = 15; v182 = 15; LOBYTE(v180) = 0; v121 = 0; v122 = v150; if ( (__int64)(*((_QWORD *)&v150 + 1) - v150) >> 5 ) { v123 = 0; do { v124 = " - "; if ( !v121 ) v124 = &byte_1406ED6E0; v125 = (void **)sub_140075960(&v178, v124, (_QWORD *)(v123 + v122)); v126 = v125; if ( (unsigned __int64)v125[3] > 0xF ) v126 = *v125; sub_140044D80(&v180, v126, (size_t)v125[2]); sub_14003D310((__int64)&v178); ++v121; v123 += 32; v122 = v150; } while ( v121 < (__int64)(*((_QWORD *)&v150 + 1) - v150) >> 5 ); v120 = v182; } v127 = (const char *)&v180; if ( v120 > 0xF ) v127 = (const char *)v180; v128 = cocos2d::CCLabelBMFont::create(v127, "chatFont.fnt"); v129 = *(_QWORD *)v128; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v171, 0.0, 0.5); (*(void (__fastcall **)(struct cocos2d::CCLabelBMFont *, __int64))(v129 + 288))(v128, v130); cocos2d::CCLabelBMFont::limitLabelWidth(v128, v47 - 10.0, 0.44999999, 0.2); LOWORD(v146) = -11521; v147 = -11521; v148 = 60; (**((void (__fastcall ***)(__int64, __int16 *))v128 + 46))((__int64)v128 + 368, &v147); v131 = *(_QWORD *)v128; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v172, 10.0, v9 - 10.0); (*(void (__fastcall **)(struct cocos2d::CCLabelBMFont *, __int64))(v131 + 184))(v128, v132); (*(void (__fastcall **)(__int64, struct cocos2d::CCLabelBMFont *, __int64))(*(_QWORD *)v6 + 456LL))(v6, v128, 1); sub_14003D310((__int64)&v180); sub_1400760C0((__int64 *)&v150); v7 = v149 + 1; v149 = v7; v5 = v152; if ( v7 >= v152 ) break; v2 = v155; } } v133 = *(_QWORD *)(v3 + 688); *(float *)(v133 + 432) = (float)((float)v5 * 43.0) + 12.0; ScrollableContentLayer::clampOffset(v133); ScrollableContentLayer::ensureScrollThumb(v134); ScrollableContentLayer::applyContentPosition(v133); }
GD Web Decomp Icon

GD Web Decomp

Raw Source