// // ThreadViewPopup::mountVirtualRow from 0x75ed90 to 0x75fad4 (3396 bytes) // // 1 xrefs: // > `non-virtual thunk to'ThreadViewPopup::mountVirtualRow @ 0x75fae8 // // 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:59:03 +0000 // char **__fastcall ThreadViewPopup::mountVirtualRow( ThreadViewPopup *this, int a2, cocos2d::CCNode *a3, cocos2d::CCMenu *a4) { int v6; // r7 int v7; // r3 float v8; // s16 char *v9; // r0 ButtonSprite *v10; // r0 int v11; // r5 int (__fastcall *v12)(int, _DWORD); // r7 ButtonSprite *v14; // r0 int v15; // r7 void (__fastcall *v16)(int, int (__fastcall **)(int, cocos2d::CCObject *)); // r10 float v17; // s16 ButtonSprite *v18; // r0 int v19; // r5 int (__fastcall *v20)(int, _DWORD *); // r6 const char *v21; // r1 cocos2d::CCString *v22; // r0 cocos2d::CCLabelBMFont *CString; // r0 const char *v24; // r2 int v25; // r7 void (__fastcall *v26)(int, int (__fastcall **)(int, cocos2d::CCObject *)); // r8 int v27; // r0 float v28; // s17 void (__fastcall *v29)(int, _DWORD); // r8 float *v30; // r0 void (__fastcall *v31)(int, int (__fastcall **)(int, cocos2d::CCObject *)); // r3 void (__fastcall *v32)(int, int (__fastcall **)(int, cocos2d::CCObject *)); // r8 cocos2d::CCLabelBMFont *v33; // r0 cocos2d::CCLabelBMFont *v34; // r8 void (__fastcall *v35)(cocos2d::CCLabelBMFont *, int (__fastcall **)(int, cocos2d::CCObject *)); // r9 int v36; // r0 int v37; // r11 __int64 v38; // r0 float v39; // r10 float v40; // s17 cocos2d::CCNode *v41; // r6 void (__fastcall *v42)(cocos2d::CCNode *, int (__fastcall **)(int, cocos2d::CCObject *)); // r9 void (__fastcall *v43)(cocos2d::CCNode *, _DWORD); // r9 float v44; // s18 float *v45; // r0 float v46; // s18 void (__fastcall *v47)(cocos2d::CCNode *, _DWORD); // r9 int v48; // r0 void (__fastcall *v49)(cocos2d::CCNode *, int (__fastcall **)(int, cocos2d::CCObject *)); // r3 void (__fastcall *v50)(cocos2d::CCNode *, int (__fastcall **)(int, cocos2d::CCObject *)); // r9 unsigned __int8 v51; // r2 cocos2d::CCSequence *v52; // r8 cocos2d::CCFiniteTimeAction *v53; // r0 cocos2d::CCAction *v54; // r0 char v55; // r8 int v56; // r2 _BOOL4 v57; // r9 int v58; // r1 int v59; // r6 int v60; // r0 int v61; // r7 int v62; // r10 cocos2d::CCSprite *v63; // r6 GameManager *v64; // r0 int v65; // r3 GameManager *v66; // r0 int v67; // r0 GameManager *v68; // r0 GameManager *v69; // r0 int v70; // r0 void (__fastcall *v71)(cocos2d::CCSprite *, int (__fastcall **)(int, cocos2d::CCObject *)); // r2 void (__fastcall *v72)(cocos2d::CCSprite *, int (__fastcall **)(int, cocos2d::CCObject *)); // r8 cocos2d::CCLabelBMFont *v73; // r0 cocos2d::CCLabelBMFont *v74; // r6 void (__fastcall *v75)(cocos2d::CCLabelBMFont *, int (__fastcall **)(int, cocos2d::CCObject *)); // r12 float v76; // s17 float v77; // s17 int v78; // r7 void (__fastcall *v79)(int, int (__fastcall **)(int, cocos2d::CCObject *)); // r8 const char *v80; // r1 float v81; // s17 int v82; // r7 void (__fastcall *v83)(int, _DWORD); // r8 int v84; // r0 float v85; // s18 float v86; // s18 void (__fastcall *v87)(int, int (__fastcall **)(int, cocos2d::CCObject *)); // r8 struct tm *v88; // r0 size_t v89; // r2 const char *v90; // r1 const char *v91; // r2 cocos2d::CCLabelBMFont *v92; // r0 const char *v93; // r1 const char *v94; // r3 cocos2d::CCString *v95; // r0 const char *v96; // r7 size_t v97; // r0 int v98; // r7 void (__fastcall *v99)(int, int (__fastcall **)(int, cocos2d::CCObject *)); // r8 void (__fastcall *v100)(int, int (__fastcall **)(int, cocos2d::CCObject *)); // r8 float *v101; // r7 float v102; // s18 int v103; // s17 EmoteSprite *v104; // r0 int v105; // r0 char **v106; // r6 EmoteSprite *v107; // r0 int v108; // r0 void (__fastcall *v109)(char **, _DWORD *); // r10 void (__fastcall *v110)(char **, _DWORD *); // r10 const char *v111; // r2 const char *v112; // r2 int v113; // r7 void (__fastcall *v114)(int, _DWORD *); // r2 int v115; // r5 int v116; // r6 void (__fastcall *v117)(int, _DWORD *); // r10 float v118; // s17 float v119; // s14 int v120; // r0 const char *v121; // r1 cocos2d::CCSprite *v122; // r6 int v123; // r6 void (__fastcall *v124)(int, _DWORD *); // r7 float v125; // s17 float *v126; // r0 float v127; // [sp+10h] [bp-94h] float v128; // [sp+10h] [bp-94h] void (__fastcall *v131)(int, _DWORD *); // [sp+1Ch] [bp-88h] void (__fastcall *v132)(int, _DWORD *); // [sp+1Ch] [bp-88h] int v133; // [sp+20h] [bp-84h] int (__fastcall *v134)(cocos2d::CCSprite *, _DWORD); // [sp+20h] [bp-84h] int v135; // [sp+24h] [bp-80h] int v136; // [sp+34h] [bp-70h] int v137; // [sp+38h] [bp-6Ch] _DWORD v138[8]; // [sp+44h] [bp-60h] BYREF _DWORD v139[2]; // [sp+64h] [bp-40h] BYREF int (__fastcall *v140)(int, cocos2d::CCObject *); // [sp+6Ch] [bp-38h] BYREF char *v141; // [sp+70h] [bp-34h] int v142; // [sp+74h] [bp-30h] int v143[3]; // [sp+78h] [bp-2Ch] BYREF int v144[3]; // [sp+84h] [bp-20h] BYREF int v145; // [sp+90h] [bp-14h] BYREF int v146; // [sp+94h] [bp-10h] cocos2d::CCLabelBMFont *v147; // [sp+98h] [bp-Ch] v6 = *((_DWORD *)this + 134) + 36 * a2; v7 = *(_DWORD *)v6; v8 = *(float *)(v6 + 12); if ( !*(_DWORD *)v6 ) { if ( *((_BYTE *)this + 808) ) v9 = "More results"; else v9 = "Load earlier"; v10 = ButtonSprite::create( (ButtonSprite *)v9, (const char *)&dword_58 + 2, 0, 0.4, 1, "bigFont.fnt", "GJ_button_05.png", (const char *)0x41A00000, v127); v11 = CCMenuItemSpriteExtra::create((int)v10, 0, (int)this, (int)ThreadViewPopup::onLoadEarlier, 0); CCMenuItemSpriteExtra::setSizeMult(v11, 1.1); (*(void (__fastcall **)(cocos2d::CCMenu *, int))(*(_DWORD *)a4 + 228))(a4, v11); v12 = *(int (__fastcall **)(int, _DWORD))(*(_DWORD *)v11 + 92); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v140, *((float *)this + 157) * 0.5, v8 - 12.0); return (char **)v12(v11, &v140); } switch ( v7 ) { case 5: v14 = ButtonSprite::create( (ButtonSprite *)"Load newer", (const char *)&dword_58 + 2, 0, 0.4, 1, "bigFont.fnt", "GJ_button_05.png", (const char *)0x41A00000, v127); v138[1] = 0; v138[0] = ThreadViewPopup::onLoadNewer; v15 = CCMenuItemSpriteExtra::create((int)v14, 0, (int)this, (int)ThreadViewPopup::onLoadNewer, 0); CCMenuItemSpriteExtra::setSizeMult(v15, 1.1); (*(void (__fastcall **)(cocos2d::CCMenu *, int))(*(_DWORD *)a4 + 228))(a4, v15); v16 = *(void (__fastcall **)(int, int (__fastcall **)(int, cocos2d::CCObject *)))(*(_DWORD *)v15 + 92); v17 = v8 - 12.0; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v140, (float)(*((float *)this + 157) * 0.5) - 62.0, v17); v16(v15, &v140); v18 = ButtonSprite::create( (ButtonSprite *)"Latest", (const char *)&dword_44 + 2, 0, 0.4, 1, "bigFont.fnt", "GJ_button_01.png", (const char *)0x41A00000, v128); v141 = nullptr; v140 = ThreadViewPopup::onJumpToLatest; v19 = CCMenuItemSpriteExtra::create((int)v18, 0, (int)this, (int)ThreadViewPopup::onJumpToLatest, 0); CCMenuItemSpriteExtra::setSizeMult(v19, 1.1); (*(void (__fastcall **)(cocos2d::CCMenu *, int))(*(_DWORD *)a4 + 228))(a4, v19); v20 = *(int (__fastcall **)(int, _DWORD *))(*(_DWORD *)v19 + 92); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v139, (float)(*((float *)this + 157) * 0.5) + 58.0, v17); return (char **)v20(v19, v139); case 1: if ( (*(_BYTE *)(v6 + 20) & 1) != 0 ) v21 = *(const char **)(v6 + 28); else v21 = (const char *)(v6 + 21); v22 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"- %s -", v21); CString = (cocos2d::CCLabelBMFont *)cocos2d::CCString::getCString(v22); v25 = cocos2d::CCLabelBMFont::create(CString, "chatFont.fnt", v24); (*(void (__fastcall **)(int, int))(*(_DWORD *)v25 + 80))(v25, 1056964608); (*(void (__fastcall **)(int, int))(*(_DWORD *)v25 + 512))(v25, 150); v26 = *(void (__fastcall **)(int, int (__fastcall **)(int, cocos2d::CCObject *)))(*(_DWORD *)v25 + 92); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v140, *((float *)this + 157) * 0.5, v8 - 7.0); v26(v25, &v140); return (char **)(*(int (__fastcall **)(cocos2d::CCNode *, int, int))(*(_DWORD *)a3 + 232))(a3, v25, 1); case 2: v27 = cocos2d::CCSprite::createWithSpriteFrameName((cocos2d::CCSprite *)"floorLine_001.png", (const char *)a2); v28 = *((float *)this + 157) - 20.0; v25 = v27; v29 = *(void (__fastcall **)(int, _DWORD))(*(_DWORD *)v27 + 64); v30 = (float *)(*(int (__fastcall **)(int))(*(_DWORD *)v27 + 164))(v27); v29(v25, v28 / *v30); v31 = *(void (__fastcall **)(int, int (__fastcall **)(int, cocos2d::CCObject *)))(*(_DWORD *)v25 + 480); LOWORD(v140) = -6401; BYTE2(v140) = 60; v31(v25, &v140); (*(void (__fastcall **)(int, int))(*(_DWORD *)v25 + 456))(v25, 125); v32 = *(void (__fastcall **)(int, int (__fastcall **)(int, cocos2d::CCObject *)))(*(_DWORD *)v25 + 92); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v140, *((float *)this + 157) * 0.5, v8 - 4.0); v32(v25, &v140); v140 = (int (__fastcall *)(int, cocos2d::CCObject *))(&stru_2FC + 6); v141 = (_BYTE *)(&dword_0 + 1); (*(void (__fastcall **)(int, int, int))(*(_DWORD *)v25 + 540))(v25, 770, 1); return (char **)(*(int (__fastcall **)(cocos2d::CCNode *, int, int))(*(_DWORD *)a3 + 232))(a3, v25, 1); case 3: if ( (*(_BYTE *)(v6 + 20) & 1) != 0 ) v33 = *(cocos2d::CCLabelBMFont **)(v6 + 28); else v33 = (cocos2d::CCLabelBMFont *)(v6 + 21); v34 = (cocos2d::CCLabelBMFont *)cocos2d::CCLabelBMFont::create( v33, "chatFont.fnt", (const char *)&_stack_chk_guard); cocos2d::CCLabelBMFont::limitLabelWidth(v34, *((float *)this + 157) - 30.0, 0.5, 0.2); (*(void (__fastcall **)(cocos2d::CCLabelBMFont *, int))(*(_DWORD *)v34 + 536))(v34, v6 + 32); (*(void (__fastcall **)(cocos2d::CCLabelBMFont *, int))(*(_DWORD *)v34 + 512))(v34, 200); v35 = *(void (__fastcall **)(cocos2d::CCLabelBMFont *, int (__fastcall **)(int, cocos2d::CCObject *)))(*(_DWORD *)v34 + 92); cocos2d::CCPoint::CCPoint( (cocos2d::CCPoint *)&v140, *((float *)this + 157) * 0.5, (float)(v8 - (float)(*(float *)(v6 + 12) * 0.5)) + 1.0); v35(v34, &v140); return (char **)(*(int (__fastcall **)(cocos2d::CCNode *, cocos2d::CCLabelBMFont *, int))(*(_DWORD *)a3 + 232))( a3, v34, 1); default: v36 = GJAccountManager::sharedState(this); v133 = *(_DWORD *)(v36 + 280); v135 = *(_DWORD *)(v36 + 284); v37 = cocos2d::CCArray::objectAtIndex(*((cocos2d::CCArray **)this + 142), *(_DWORD *)(v6 + 4)); if ( *(_BYTE *)(v6 + 17) ) v8 = v8 - 8.0; v38 = *((_QWORD *)this + 109); if ( v38 >= 1 ) { LODWORD(v39) = *((unsigned __int8 *)this + 880); if ( !*((_BYTE *)this + 880) && *(_QWORD *)(v37 + 56) == v38 ) { v40 = 8.0; *((_BYTE *)this + 880) = 1; if ( !*(_BYTE *)(v6 + 17) ) v40 = 0.0; v41 = (cocos2d::CCNode *)cocos2d::CCSprite::createWithSpriteFrameName( (cocos2d::CCSprite *)"whiteSquare60_001.png", nullptr); v42 = *(void (__fastcall **)(cocos2d::CCNode *, int (__fastcall **)(int, cocos2d::CCObject *)))(*(_DWORD *)v41 + 148); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v140, 0.0, 1.0); v42(v41, &v140); v43 = *(void (__fastcall **)(cocos2d::CCNode *, _DWORD))(*(_DWORD *)v41 + 64); v44 = *((float *)this + 157) - 4.0; v45 = (float *)(*(int (__fastcall **)(cocos2d::CCNode *))(*(_DWORD *)v41 + 164))(v41); v43(v41, v44 / *v45); v46 = *(float *)(v6 + 12); v47 = *(void (__fastcall **)(cocos2d::CCNode *, _DWORD))(*(_DWORD *)v41 + 72); v48 = (*(int (__fastcall **)(cocos2d::CCNode *))(*(_DWORD *)v41 + 164))(v41); v47(v41, (float)(v46 - v40) / *(float *)(v48 + 4)); v49 = *(void (__fastcall **)(cocos2d::CCNode *, int (__fastcall **)(int, cocos2d::CCObject *)))(*(_DWORD *)v41 + 480); LOWORD(v140) = -8961; BYTE2(v140) = 90; v49(v41, &v140); (*(void (__fastcall **)(cocos2d::CCNode *, int))(*(_DWORD *)v41 + 456))(v41, 100); v50 = *(void (__fastcall **)(cocos2d::CCNode *, int (__fastcall **)(int, cocos2d::CCObject *)))(*(_DWORD *)v41 + 92); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v140, 2.0, (float)(*(float *)(v6 + 12) - v40) + 2.0); v50(v41, &v140); (*(void (__fastcall **)(cocos2d::CCNode *, cocos2d::CCNode *, float))(*(_DWORD *)a3 + 232))( a3, v41, COERCE_FLOAT(LODWORD(v39))); *(float *)&v138[3] = v39; v138[2] = ThreadViewPopup::onHighlightFaded; v52 = (cocos2d::CCSequence *)cocos2d::CCFadeTo::create((cocos2d::CCFadeTo *)0x3FC00000, v39, v51); v53 = (cocos2d::CCFiniteTimeAction *)cocos2d::CCCallFunc::create( this, ThreadViewPopup::onHighlightFaded, LODWORD(v39)); v54 = (cocos2d::CCAction *)cocos2d::CCSequence::create(v52, v53, v39); cocos2d::CCNode::runAction(v41, v54); } } v55 = *(_BYTE *)(v6 + 16); if ( v55 ) { v56 = *(_DWORD *)(v37 + 64); v57 = v56 == v133 - v135; ThreadViewPopup::senderNameFor((ThreadViewPopup *)v144, this, v56); v59 = ThreadViewPopup::senderScoreFor(this, *(_DWORD *)(v37 + 64)); if ( !v59 && (v60 = ThreadViewPopup::pastScoreFor(this, *(_DWORD *)(v37 + 64)), (v61 = v60) != 0) ) { v62 = v60; } else { v61 = v59; v62 = 0; } v63 = SimplePlayer::create((SimplePlayer *)((char *)&dword_0 + 1), v58); v64 = (GameManager *)(*(int (__fastcall **)(cocos2d::CCSprite *, int))(*(_DWORD *)v63 + 80))(v63, 1057803469); v65 = *(_DWORD *)v63; if ( v61 ) { v134 = *(int (__fastcall **)(cocos2d::CCSprite *, _DWORD))(v65 + 480); v66 = (GameManager *)GameManager::sharedState(v64); v67 = GameManager::colorForIdx(v66, *(_DWORD *)(v61 + 336)); LOWORD(v140) = v67; BYTE2(v140) = BYTE2(v67); v68 = (GameManager *)v134(v63, &v140); v69 = (GameManager *)GameManager::sharedState(v68); v70 = GameManager::colorForIdx(v69, *(_DWORD *)(v61 + 340)); LOWORD(v140) = v70; BYTE2(v140) = BYTE2(v70); SimplePlayer::setSecondColor(v63); SimplePlayer::tryEnableCustomGlowColor(v63, *(_DWORD *)(v61 + 344)); if ( *(_DWORD *)(v61 + 348) != 2 ) v55 = *(_BYTE *)(v61 + 504); *((_BYTE *)v63 + 540) = v55; SimplePlayer::updatePlayerFrame((int)v63, *(_DWORD *)(v61 + 332), *(_DWORD *)(v61 + 352)); } else { v71 = *(void (__fastcall **)(cocos2d::CCSprite *, int (__fastcall **)(int, cocos2d::CCObject *)))(v65 + 480); memset(&v140, 125, 3); v71(v63, &v140); memset(&v140, 80, 3); SimplePlayer::setSecondColor(v63); } SimplePlayer::updateColors(v63); v72 = *(void (__fastcall **)(cocos2d::CCSprite *, int (__fastcall **)(int, cocos2d::CCObject *)))(*(_DWORD *)v63 + 92); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v140, 17.0, v8 - 14.0); v72(v63, &v140); (*(void (__fastcall **)(cocos2d::CCNode *, cocos2d::CCSprite *, int))(*(_DWORD *)a3 + 232))(a3, v63, 1); if ( (v144[0] & 1) != 0 ) v73 = (cocos2d::CCLabelBMFont *)v144[2]; else v73 = (cocos2d::CCLabelBMFont *)((char *)v144 + 1); v74 = (cocos2d::CCLabelBMFont *)cocos2d::CCLabelBMFont::create( v73, "bigFont.fnt", (const char *)(LOBYTE(v144[0]) << 31)); cocos2d::CCLabelBMFont::limitLabelWidth(v74, 150.0, 0.35, 0.2); v75 = *(void (__fastcall **)(cocos2d::CCLabelBMFont *, int (__fastcall **)(int, cocos2d::CCObject *)))(*(_DWORD *)v74 + 536); if ( v57 ) { LOWORD(v140) = -156; BYTE2(v140) = 100; } else { LOBYTE(v140) = -1; *(_WORD *)((char *)&v140 + 1) = 20680; } v75(v74, &v140); v76 = *(float *)(*(int (__fastcall **)(cocos2d::CCLabelBMFont *))(*(_DWORD *)v74 + 164))(v74); v77 = v76 * (*(float (__fastcall **)(cocos2d::CCLabelBMFont *))(*(_DWORD *)v74 + 84))(v74); v138[5] = 0; v138[4] = ThreadViewPopup::onSenderProfile; v78 = CCMenuItemSpriteExtra::create((int)v74, 0, (int)this, (int)ThreadViewPopup::onSenderProfile, 0); (*(void (__fastcall **)(int, _DWORD))(*(_DWORD *)v78 + 36))(v78, *(_DWORD *)(v37 + 64)); (*(void (__fastcall **)(cocos2d::CCMenu *, int))(*(_DWORD *)a4 + 228))(a4, v78); v79 = *(void (__fastcall **)(int, int (__fastcall **)(int, cocos2d::CCObject *)))(*(_DWORD *)v78 + 92); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v140, (float)(v77 * 0.5) + 32.0, v8 - 7.0); v79(v78, &v140); v81 = (float)(v77 + 32.0) + 5.0; if ( v62 && !v57 ) { v82 = cocos2d::CCSprite::createWithSpriteFrameName((cocos2d::CCSprite *)"particle_215_001.png", v80); v83 = *(void (__fastcall **)(int, _DWORD))(*(_DWORD *)v82 + 80); v84 = (*(int (__fastcall **)(int))(*(_DWORD *)v82 + 164))(v82); v83(v82, 10.0 / *(float *)(v84 + 4)); v85 = *(float *)(*(int (__fastcall **)(int))(*(_DWORD *)v82 + 164))(v82); v86 = v85 * (*(float (__fastcall **)(int))(*(_DWORD *)v82 + 84))(v82); v87 = *(void (__fastcall **)(int, int (__fastcall **)(int, cocos2d::CCObject *)))(*(_DWORD *)v82 + 92); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v140, v81 + (float)(v86 * 0.5), v8 - 7.0); v87(v82, &v140); (*(void (__fastcall **)(cocos2d::CCNode *, int, int))(*(_DWORD *)a3 + 232))(a3, v82, 1); v81 = v81 + (float)(v86 + 4.0); } v140 = *(int (__fastcall **)(int, cocos2d::CCObject *))(v37 + 80); v88 = localtime((const time_t *)&v140); if ( v88 ) { v93 = (const char *)(v88->tm_hour % 12); if ( !v93 ) v93 = &byte_9[3]; if ( v88->tm_hour <= 11 ) v94 = "AM"; else v94 = "PM"; v95 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat( (cocos2d::CCString *)"%d:%02d %s", v93, v88->tm_min, v94); v96 = (const char *)cocos2d::CCString::getCString(v95); v145 = 0; v146 = 0; v147 = nullptr; v97 = strlen(v96); v90 = v96; v89 = v97; } else { v89 = 0; v145 = 0; v90 = (const char *)&unk_B6B226; v146 = 0; v147 = nullptr; } std::string::__init(&v145, v90, v89); if ( (v145 & 1) != 0 ) v92 = v147; else v92 = (cocos2d::CCLabelBMFont *)((char *)&v145 + 1); v98 = cocos2d::CCLabelBMFont::create(v92, "chatFont.fnt", v91); std::string::~string((int)&v145); v99 = *(void (__fastcall **)(int, int (__fastcall **)(int, cocos2d::CCObject *)))(*(_DWORD *)v98 + 148); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v140, 0.0, 0.5); v99(v98, &v140); (*(void (__fastcall **)(int, int))(*(_DWORD *)v98 + 80))(v98, 1056964608); (*(void (__fastcall **)(int, int))(*(_DWORD *)v98 + 512))(v98, 150); v100 = *(void (__fastcall **)(int, int (__fastcall **)(int, cocos2d::CCObject *)))(*(_DWORD *)v98 + 92); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v140, v81, v8 - 8.0); v100(v98, &v140); (*(void (__fastcall **)(cocos2d::CCNode *, int, int))(*(_DWORD *)a3 + 232))(a3, v98, 1); v8 = v8 - 16.0; std::string::~string((int)v144); } v140 = nullptr; v141 = nullptr; v142 = 0; ThreadViewPopup::expandShareTokens(v143, (unsigned __int8 *)(v37 + 68), (int)&v140); v101 = (float *)ThreadViewPopup::measureBody(this, (GJThreadMessage *)v37); v102 = v101[3]; std::string::basic_string(v144, (int)v143); *(float *)&v103 = (float)(*((float *)this + 157) - 58.0) / v102; v104 = (EmoteSprite *)cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v139, 0.0, 1.0); v105 = EmoteSprite::maxEmotesMessage(v104); v106 = (char **)TextArea::create( (int)v144, "chatFont.fnt", 1065353216, v103, (const cocos2d::CCPoint *)v139, 1101004800, 1, v105); v107 = (EmoteSprite *)std::string::~string((int)v144); *((_BYTE *)v106 + 509) = 1; if ( *((_BYTE *)v101 + 20) ) { v108 = EmoteSprite::jumboMaxAspect(v107); TextArea::setEmoteMaxAspect((int)v106, *(float *)&v108); } std::string::basic_string(&v145, (int)v143); TextArea::setString((int)v106, &v145); std::string::~string((int)&v145); (*((void (__fastcall **)(char **, float))*v106 + 20))(v106, COERCE_FLOAT(LODWORD(v102))); v109 = *((void (__fastcall **)(char **, _DWORD *))*v106 + 37); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v139, 0.0, 1.0); v109(v106, v139); v110 = *((void (__fastcall **)(char **, _DWORD *))*v106 + 23); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v139, 32.0, v8); v110(v106, v139); (*(void (__fastcall **)(cocos2d::CCNode *, char **, int))(*(_DWORD *)a3 + 232))(a3, v106, 1); v111 = (const char *)v140; if ( (char *)v140 != v141 ) ThreadViewPopup::markShareLinks( v106, (unsigned __int8 *)v143, &v140, *(const cocos2d::CCPoint **)(*((_DWORD *)this + 155) + 320), (int)this + 784, a2); if ( *(_BYTE *)(v37 + 88) ) { LOWORD(v136) = -26986; BYTE2(v136) = -106; TextArea::colorAllCharactersTo((int)v106, v136); v113 = cocos2d::CCLabelBMFont::create((cocos2d::CCLabelBMFont *)"deleted", "bigFont.fnt", v112); (*(void (__fastcall **)(int, int))(*(_DWORD *)v113 + 80))(v113, 1050253722); v114 = *(void (__fastcall **)(int, _DWORD *))(*(_DWORD *)v113 + 536); LOWORD(v139[0]) = 30975; BYTE2(v139[0]) = 120; v114(v113, v139); v131 = *(void (__fastcall **)(int, _DWORD *))(*(_DWORD *)v113 + 148); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v139, 1.0, 1.0); v131(v113, v139); v132 = *(void (__fastcall **)(int, _DWORD *))(*(_DWORD *)v113 + 92); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v139, *((float *)this + 157) - 34.0, v8); v132(v113, v139); (*(void (__fastcall **)(cocos2d::CCNode *, int, int))(*(_DWORD *)a3 + 232))(a3, v113, 2); } if ( v37 == *((_DWORD *)this + 190) ) { LOWORD(v137) = -21846; BYTE2(v137) = -86; TextArea::colorAllCharactersTo((int)v106, v137); } else { v115 = cocos2d::CCLabelBMFont::create((cocos2d::CCLabelBMFont *)"...", "bigFont.fnt", v111); (*(void (__fastcall **)(int, int))(*(_DWORD *)v115 + 80))(v115, 1051931443); (*(void (__fastcall **)(int, int))(*(_DWORD *)v115 + 512))(v115, 120); v138[7] = 0; v138[6] = ThreadViewPopup::onMessageOptions; v116 = CCMenuItemSpriteExtra::create(v115, 0, (int)this, (int)ThreadViewPopup::onMessageOptions, 0); CCMenuItemSpriteExtra::setSizeMult(v116, 1.6); (*(void (__fastcall **)(int, int))(*(_DWORD *)v116 + 324))(v116, v37); (*(void (__fastcall **)(cocos2d::CCMenu *, int))(*(_DWORD *)a4 + 228))(a4, v116); v117 = *(void (__fastcall **)(int, _DWORD *))(*(_DWORD *)v116 + 92); v118 = *((float *)this + 157) - 16.0; v119 = *(float *)(*(int (__fastcall **)(int))(*(_DWORD *)v115 + 164))(v115); v120 = (*(int (__fastcall **)(int))(*(_DWORD *)v115 + 164))(v115); cocos2d::CCPoint::CCPoint( (cocos2d::CCPoint *)v139, v118 - (float)((float)(v119 * 0.35) * 0.5), v8 - (float)((float)(*(float *)(v120 + 4) * 0.35) * 0.5)); v117(v116, v139); if ( *((_BYTE *)this + 808) ) { v122 = (cocos2d::CCSprite *)cocos2d::CCSprite::createWithSpriteFrameName( (cocos2d::CCSprite *)"GJ_arrow_03_001.png", v121); cocos2d::CCSprite::setFlipX(v122, 1); (*(void (__fastcall **)(cocos2d::CCSprite *, int))(*(_DWORD *)v122 + 80))(v122, 1053105848); v139[1] = 0; v139[0] = ThreadViewPopup::onJumpToMessage; v123 = CCMenuItemSpriteExtra::create((int)v122, 0, (int)this, (int)ThreadViewPopup::onJumpToMessage, 0); CCMenuItemSpriteExtra::setSizeMult(v123, 1.3); (*(void (__fastcall **)(int, int))(*(_DWORD *)v123 + 324))(v123, v37); (*(void (__fastcall **)(cocos2d::CCMenu *, int))(*(_DWORD *)a4 + 228))(a4, v123); v124 = *(void (__fastcall **)(int, _DWORD *))(*(_DWORD *)v123 + 92); v125 = *((float *)this + 157) - 16.0; v126 = (float *)(*(int (__fastcall **)(int))(*(_DWORD *)v115 + 164))(v115); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v138, (float)(v125 - (float)(*v126 * 0.35)) - 19.0, v8 - 8.0); v124(v123, v138); } } std::string::~string((int)v143); return std::__vector_base::~__vector_base((char **)&v140); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source