// // GJThreadCell::loadFromThread from 0x42acf0 to 0x42b980 (3216 bytes) // // 2 xrefs: // > CustomListView::reloadAll @ 0x431318 // > CustomListView::loadCell @ 0x434236 // // 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:48:09 +0000 // int __fastcall GJThreadCell::loadFromThread(GJThreadCell *this, GJMessageThread *a2) { cocos2d::CCObject *v4; // r0 int v5; // r0 cocos2d::CCMenu *v6; // r0 const cocos2d::CCPoint *v7; // r5 const char *v8; // r1 int v9; // r3 const char *v10; // r2 float v11; // s17 int v12; // r7 void (__fastcall *v13)(int, float *); // r8 int v14; // r1 int v15; // r3 int v16; // r3 int v17; // r1 int v18; // r2 int v19; // r3 cocos2d::CCSprite *v20; // r7 EmoteSprite *v21; // r0 int v22; // r1 int v23; // r2 int v24; // r3 float v25; // r0 GameManager *v26; // r0 int (__fastcall *v27)(cocos2d::CCSprite *, float *); // r8 GameManager *v28; // r0 int v29; // r0 GameManager *v30; // r0 GameManager *v31; // r0 int v32; // r0 int v33; // r3 int v34; // r1 void (__fastcall *v35)(cocos2d::CCSprite *, float *); // r8 int v36; // r0 int v37; // r3 const char *v38; // r1 char v39; // r3 cocos2d::CCLabelBMFont *v40; // r0 float v41; // s15 int v42; // r8 float v43; // s16 float v44; // r0 int v45; // r3 float v46; // s16 int v47; // r8 const cocos2d::CCPoint *v48; // r11 const char *v49; // r2 void (__fastcall *v50)(int, float *); // r9 GJMessageThread *v51; // r0 float v52; // s16 int RoleBadge; // r0 int v54; // r7 void (__fastcall *v55)(int, float *); // r8 float v56; // s20 int v57; // r1 int v58; // r1 int v59; // r3 int v60; // r3 int v61; // r9 const cocos2d::CCPoint *v62; // r10 void (__fastcall *v63)(int, float *); // r8 int v64; // r7 int v65; // r3 _BOOL4 v66; // r11 char *v67; // r0 int v68; // r7 void (__fastcall *v69)(int, float *); // r8 void (__fastcall *v70)(int, float *); // r2 char v71; // r3 void (__fastcall *v72)(int, float *); // r8 float v73; // s20 int v74; // r1 int v75; // r3 cocos2d::CCString *v76; // r0 cocos2d::CCLabelBMFont *CString; // r0 const char *v78; // r2 int v79; // r10 void (__fastcall *v80)(int, float *); // r7 const char *v81; // r1 int v82; // r3 int v83; // r10 void (__fastcall *v84)(int, float *); // r9 int v85; // r6 const char *v86; // r3 const char *v87; // r9 cocos2d::CCString *v88; // r0 cocos2d::CCLabelBMFont *v89; // r0 const char *v90; // r2 int v91; // r7 float v92; // r1 float v93; // s15 int v94; // r0 const char *v95; // r1 __int16 *v96; // r2 cocos2d::CCString *v97; // r0 cocos2d::CCLabelBMFont *v98; // r0 const char *v99; // r2 cocos2d::CCLabelBMFont *v100; // r6 float v101; // s16 float v102; // r0 float v103; // s16 int v104; // r8 const cocos2d::CCPoint *v105; // r10 void (__fastcall *v106)(int, float *); // r9 int v107; // r6 void (__fastcall *v108)(int, float *); // r8 int v109; // r6 const char *v110; // r1 int v111; // r8 cocos2d::CCNodeRGBA *v112; // r0 int v113; // r3 int v114; // r9 const cocos2d::CCPoint *v115; // r8 void (__fastcall *v116)(int, float *); // r11 const char *v117; // r2 int v118; // r9 int v119; // r10 void (__fastcall *v120)(int, float *); // r11 int v121; // r2 int v122; // r1 int v123; // r10 float v124; // s16 const char *v125; // r1 int v126; // r11 int v127; // r8 void (__fastcall *v128)(int, _BYTE *); // r7 const cocos2d::CCPoint *v129; // r10 int (__fastcall *v130)(int, _BYTE *); // r7 cocos2d::CCPoint *v132; // [sp+Ch] [bp-80h] cocos2d::CCPoint *v133; // [sp+Ch] [bp-80h] cocos2d::CCPoint *v134; // [sp+Ch] [bp-80h] cocos2d::CCString *v135; // [sp+14h] [bp-78h] cocos2d::CCString *v136; // [sp+14h] [bp-78h] float v137; // [sp+24h] [bp-68h] BYREF float v138; // [sp+28h] [bp-64h] _BYTE v139[8]; // [sp+2Ch] [bp-60h] BYREF _BYTE v140[8]; // [sp+34h] [bp-58h] BYREF _BYTE v141[8]; // [sp+3Ch] [bp-50h] BYREF ProfilePage *(__fastcall *v142)(ProfilePage *, cocos2d::CCObject *, bool); // [sp+44h] [bp-48h] int v143; // [sp+48h] [bp-44h] _DWORD v144[2]; // [sp+4Ch] [bp-40h] BYREF _DWORD v145[2]; // [sp+54h] [bp-38h] BYREF _DWORD v146[2]; // [sp+5Ch] [bp-30h] BYREF float v147[2]; // [sp+64h] [bp-28h] BYREF int v148[3]; // [sp+6Ch] [bp-20h] BYREF int v149; // [sp+78h] [bp-14h] BYREF int v150; // [sp+7Ch] [bp-10h] int v151; // [sp+80h] [bp-Ch] (*(void (__fastcall **)(_DWORD, int))(**((_DWORD **)this + 102) + 584))(*((_DWORD *)this + 102), 255); cocos2d::CCObject::retain(a2); v4 = *((cocos2d::CCObject **)this + 105); if ( v4 ) cocos2d::CCObject::release(v4); v5 = *((_DWORD *)this + 103); *((_DWORD *)this + 105) = a2; v6 = (cocos2d::CCMenu *)(*(int (__fastcall **)(int, int))(*(_DWORD *)v5 + 292))(v5, 1); v7 = (const cocos2d::CCPoint *)cocos2d::CCMenu::create(v6); (*(void (__fastcall **)(_DWORD, const cocos2d::CCPoint *, int))(**((_DWORD **)this + 103) + 232))( *((_DWORD *)this + 103), v7, 2); v9 = *((_DWORD *)this + 105); v10 = *(const char **)(v9 + 84); v11 = *((float *)this + 101) * 0.5; v132 = (cocos2d::CCPoint *)v10; if ( *(_BYTE *)(v9 + 178) ) { v12 = cocos2d::CCSprite::createWithSpriteFrameName((cocos2d::CCSprite *)"GJ_starsIcon_001.png", v8); (*(void (__fastcall **)(int, int))(*(_DWORD *)v12 + 80))(v12, 1051931443); v13 = *(void (__fastcall **)(int, float *))(*(_DWORD *)v12 + 92); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v147, 7.0, *((float *)this + 101) - 7.0); v13(v12, v147); (*(void (__fastcall **)(_DWORD, int, int))(**((_DWORD **)this + 103) + 232))(*((_DWORD *)this + 103), v12, 2); } v14 = *((_DWORD *)this + 105); if ( *(_BYTE *)(v14 + 168) ) { if ( *(_BYTE *)(v14 + 209) && *(int *)(v14 + 56) > 0 ) { v20 = (cocos2d::CCSprite *)SimplePlayer::create((SimplePlayer *)((char *)&dword_0 + 1), v14); v26 = (GameManager *)(*(int (__fastcall **)(cocos2d::CCSprite *, int))(*(_DWORD *)v20 + 80))(v20, 1056964608); v27 = *(int (__fastcall **)(cocos2d::CCSprite *, float *))(*(_DWORD *)v20 + 480); v28 = (GameManager *)GameManager::sharedState(v26); v29 = GameManager::colorForIdx(v28, *(_DWORD *)(*((_DWORD *)this + 105) + 216)); LOWORD(v147[0]) = v29; BYTE2(v147[0]) = BYTE2(v29); v30 = (GameManager *)v27(v20, v147); v31 = (GameManager *)GameManager::sharedState(v30); v32 = GameManager::colorForIdx(v31, *(_DWORD *)(*((_DWORD *)this + 105) + 220)); LOWORD(v147[0]) = v32; BYTE2(v147[0]) = BYTE2(v32); SimplePlayer::setSecondColor(v20, v147); SimplePlayer::tryEnableCustomGlowColor(v20, *(_DWORD *)(*((_DWORD *)this + 105) + 224)); *((_BYTE *)v20 + 540) = *(_DWORD *)(*((_DWORD *)this + 105) + 232) == 2; v33 = *((_DWORD *)this + 105); v34 = *(_DWORD *)(v33 + 212); if ( v34 < 1 ) v34 = 1; SimplePlayer::updatePlayerFrame(v20, v34, *(_DWORD *)(v33 + 228)); SimplePlayer::updateColors(v20); goto LABEL_20; } } else { v15 = *(unsigned __int8 *)(v14 + 156); if ( (v15 & 1) != 0 ) v16 = *(_DWORD *)(v14 + 160); else v16 = v15 >> 1; if ( v16 ) { std::string::basic_string(&v149, v14 + 156); } else { v149 = 0; v150 = 0; v151 = 0; std::string::__init(&v149, "na", 2u); } v20 = EmoteSprite::createWithName((int)&v149, v17, v18, v19); v21 = (EmoteSprite *)std::string::~string((int)&v149); if ( v20 || (v149 = 0, v150 = 0, v151 = 0, std::string::__init(&v149, "na", 2u), v20 = EmoteSprite::createWithName((int)&v149, v22, v23, v24), v21 = (EmoteSprite *)std::string::~string((int)&v149), v20) ) { v25 = COERCE_FLOAT(EmoteSprite::heightFactor(v21)); EmoteSprite::fitToHeight(v20, (float)(v25 * 13.5) * 1.2, 0.0); LABEL_20: v35 = *(void (__fastcall **)(cocos2d::CCSprite *, float *))(*(_DWORD *)v20 + 92); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v147, 22.0, v11); v35(v20, v147); (*(void (__fastcall **)(_DWORD, cocos2d::CCSprite *, int))(**((_DWORD **)this + 103) + 232))( *((_DWORD *)this + 103), v20, 1); } } v36 = *((_DWORD *)this + 105); if ( *(_BYTE *)(v36 + 168) ) { v37 = *(unsigned __int8 *)(v36 + 60) << 31; if ( (*(_BYTE *)(v36 + 60) & 1) == 0 ) v36 += 61; v38 = "goldFont.fnt"; if ( v37 < 0 ) v36 = *(_DWORD *)(v36 + 68); } else { v39 = *(_BYTE *)(v36 + 72); if ( (v39 & 1) == 0 ) v36 += 73; v38 = "bigFont.fnt"; if ( (v39 & 1) != 0 ) v36 = *(_DWORD *)(v36 + 80); } v40 = (cocos2d::CCLabelBMFont *)cocos2d::CCLabelBMFont::create((cocos2d::CCLabelBMFont *)v36, v38, v10); v41 = 150.0; if ( !*(_BYTE *)(*((_DWORD *)this + 105) + 168) ) v41 = 120.0; v42 = (int)v40; cocos2d::CCLabelBMFont::limitLabelWidth(v40, v41 - 26.0, 0.5, 0.2); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v137, 38.0, v11); v43 = *(float *)(*(int (__fastcall **)(int))(*(_DWORD *)v42 + 164))(v42); v44 = (*(float (__fastcall **)(int))(*(_DWORD *)v42 + 84))(v42); v45 = *((_DWORD *)this + 105); v46 = v43 * v44; if ( *(_BYTE *)(v45 + 168) && *(int *)(v45 + 56) > 0 ) { v143 = 0; v142 = GJThreadCell::onViewProfile; v47 = CCMenuItemSpriteExtra::create(v42, 0, (int)this, (int)GJThreadCell::onViewProfile, 0); sub_4249D4(v47); (*(void (__fastcall **)(const cocos2d::CCPoint *, int))(*(_DWORD *)v7 + 228))(v7, v47); v48 = *((const cocos2d::CCPoint **)this + 103); v135 = *(cocos2d::CCString **)(*(_DWORD *)v47 + 92); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v144, v46 * 0.5, 0.0); cocos2d::CCPoint::operator+(v145, &v137, v144); cocos2d::CCNode::convertToWorldSpace((cocos2d::CCNode *)v146, v48); cocos2d::CCNode::convertToNodeSpace((cocos2d::CCNode *)v147, v7); ((void (__fastcall *)(int, float *))v135)(v47, v147); } else { v50 = *(void (__fastcall **)(int, float *))(*(_DWORD *)v42 + 148); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v147, 0.0, 0.5); v50(v42, v147); (*(void (__fastcall **)(int, float *))(*(_DWORD *)v42 + 92))(v42, &v137); (*(void (__fastcall **)(_DWORD, int, int))(**((_DWORD **)this + 103) + 232))(*((_DWORD *)this + 103), v42, 1); } v51 = *((GJMessageThread **)this + 105); v52 = (float)(v46 + v137) + 6.0; if ( *((_BYTE *)v51 + 168) ) { RoleBadge = GJMessageThread::createRoleBadge(v51, 14.0); v54 = RoleBadge; if ( RoleBadge ) { v55 = *(void (__fastcall **)(int, float *))(*(_DWORD *)RoleBadge + 92); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v147, v52, v138); v55(v54, v147); (*(void (__fastcall **)(_DWORD, int, int))(**((_DWORD **)this + 103) + 232))(*((_DWORD *)this + 103), v54, 10); v56 = *(float *)(*(int (__fastcall **)(int))(*(_DWORD *)v54 + 164))(v54); v52 = v52 + (float)((float)(v56 * (*(float (__fastcall **)(int))(*(_DWORD *)v54 + 84))(v54)) + 6.0); } } v57 = *((_DWORD *)this + 105); if ( !*(_BYTE *)(v57 + 168) ) { std::string::basic_string(&v149, v57 + 72); v58 = *((_DWORD *)this + 105); v59 = *(unsigned __int8 *)(v58 + 144); if ( (v59 & 1) != 0 ) v60 = *(_DWORD *)(v58 + 148); else v60 = v59 >> 1; if ( v60 ) { std::string::basic_string(v148, v58 + 144); } else { memset(v148, 0, sizeof(v148)); std::string::__init(v148, "No description", 0xEu); } v61 = InfoAlertButton::create(&v149, v148, 1053609165); std::string::~string((int)v148); std::string::~string((int)&v149); CCMenuItemSpriteExtra::setSizeMult(v61, 1.5); (*(void (__fastcall **)(const cocos2d::CCPoint *, int))(*(_DWORD *)v7 + 228))(v7, v61); v62 = *((const cocos2d::CCPoint **)this + 103); v63 = *(void (__fastcall **)(int, float *))(*(_DWORD *)v61 + 92); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v145, v52 + 7.0, v11); cocos2d::CCNode::convertToWorldSpace((cocos2d::CCNode *)v146, v62); cocos2d::CCNode::convertToNodeSpace((cocos2d::CCNode *)v147, v7); v63(v61, v147); v52 = v52 + 20.0; } v64 = *((_DWORD *)this + 105); if ( *(_BYTE *)(v64 + 168) ) { v66 = 0; } else { v65 = *(_DWORD *)(v64 + 172); v49 = (const char *)(v65 - 8); v66 = v65 == 8; } if ( *(_BYTE *)(v64 + 169) ) { if ( v66 ) v67 = "removed"; else v67 = "pending"; } else { if ( !v66 ) goto LABEL_61; v67 = "removed"; } v68 = cocos2d::CCLabelBMFont::create((cocos2d::CCLabelBMFont *)v67, "chatFont.fnt", v49); v69 = *(void (__fastcall **)(int, float *))(*(_DWORD *)v68 + 148); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v147, 0.0, 0.5); v69(v68, v147); (*(void (__fastcall **)(int, int))(*(_DWORD *)v68 + 80))(v68, 1055286886); v70 = *(void (__fastcall **)(int, float *))(*(_DWORD *)v68 + 536); LOBYTE(v147[0]) = -1; if ( v66 ) { v71 = 90; BYTE1(v147[0]) = 90; } else { BYTE1(v147[0]) = -56; v71 = 80; } BYTE2(v147[0]) = v71; v70(v68, v147); v72 = *(void (__fastcall **)(int, float *))(*(_DWORD *)v68 + 92); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v147, v52, v138); v72(v68, v147); (*(void (__fastcall **)(_DWORD, int, int))(**((_DWORD **)this + 103) + 232))(*((_DWORD *)this + 103), v68, 10); v73 = *(float *)(*(int (__fastcall **)(int))(*(_DWORD *)v68 + 164))(v68); v52 = v52 + (float)((float)(v73 * (*(float (__fastcall **)(int))(*(_DWORD *)v68 + 84))(v68)) + 6.0); LABEL_61: v74 = *((_DWORD *)this + 105); v75 = *(unsigned __int8 *)(v74 + 104) << 31; if ( (*(_BYTE *)(v74 + 104) & 1) == 0 ) v74 += 105; if ( v75 < 0 ) v74 = *(_DWORD *)(v74 + 112); v76 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"%s ago", (const char *)v74); CString = (cocos2d::CCLabelBMFont *)cocos2d::CCString::getCString(v76); v79 = cocos2d::CCLabelBMFont::create(CString, "chatFont.fnt", v78); v80 = *(void (__fastcall **)(int, float *))(*(_DWORD *)v79 + 148); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v147, 0.0, 0.5); v80(v79, v147); (*(void (__fastcall **)(int, int))(*(_DWORD *)v79 + 80))(v79, 1056964608); (*(void (__fastcall **)(int, char *))(*(_DWORD *)v79 + 536))(v79, &byte_BEB9C0); (*(void (__fastcall **)(int, int))(*(_DWORD *)v79 + 512))(v79, 150); v136 = *(cocos2d::CCString **)(*(_DWORD *)v79 + 92); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v147, v52, v138); ((void (__fastcall *)(int, float *))v136)(v79, v147); (*(void (__fastcall **)(_DWORD, int, int))(**((_DWORD **)this + 103) + 232))(*((_DWORD *)this + 103), v79, 1); if ( (int)v132 > 0 ) { v83 = cocos2d::CCSprite::createWithSpriteFrameName((cocos2d::CCSprite *)"d_ball_01_001.png", v81); (*(void (__fastcall **)(int, void *))(*(_DWORD *)v83 + 480))(v83, &unk_BEB9C3); (*(void (__fastcall **)(int, int))(*(_DWORD *)v83 + 80))(v83, 1050924810); v84 = *(void (__fastcall **)(int, float *))(*(_DWORD *)v83 + 92); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v147, 33.0, v11 + 12.0); v85 = 0; v84(v83, v147); (*(void (__fastcall **)(_DWORD, int, int))(**((_DWORD **)this + 103) + 232))(*((_DWORD *)this + 103), v83, 10); v86 = *(const char **)(*((_DWORD *)this + 105) + 84); if ( (int)v86 >= 99 ) v86 = (char *)&dword_60 + 3; v87 = v86; while ( 1 ) { v88 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"%i", v87); v89 = (cocos2d::CCLabelBMFont *)cocos2d::CCString::getCString(v88); v91 = cocos2d::CCLabelBMFont::create(v89, "chatFont.fnt", v90); (*(void (__fastcall **)(int, char *))(*(_DWORD *)v91 + 536))(v91, &byte_BEB9C0); if ( (int)v87 > 9 ) v92 = 1.575; else v92 = 2.0; (*(void (__fastcall **)(int, float))(*(_DWORD *)v91 + 80))(v91, COERCE_FLOAT(LODWORD(v92))); v133 = *(cocos2d::CCPoint **)(*(_DWORD *)v91 + 92); v93 = *(float *)(*(int (__fastcall **)(int))(*(_DWORD *)v83 + 164))(v83); v94 = (*(int (__fastcall **)(int))(*(_DWORD *)v83 + 164))(v83); cocos2d::CCPoint::CCPoint( (cocos2d::CCPoint *)v147, (float)v85 + (float)(v93 * 0.5), (float)((float)(*(float *)(v94 + 4) * 0.5) + 2.0) - (float)v85); ((void (__fastcall *)(int, float *))v133)(v91, v147); if ( v85 ) (*(void (__fastcall **)(int, int))(*(_DWORD *)v91 + 512))(v91, 125); (*(void (__fastcall **)(int, int))(*(_DWORD *)v83 + 228))(v83, v91); if ( v85 ) break; v85 = 1; } } v82 = *((_DWORD *)this + 105); if ( !*(_BYTE *)(v82 + 168) && !v66 ) { v95 = *(const char **)(v82 + 116); if ( v95 == (_BYTE *)&dword_0 + 1 ) v96 = (__int16 *)&unk_B6B226; else v96 = &a1i2r3e45s789g[8]; v97 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"%i member%s", v95, v96); v98 = (cocos2d::CCLabelBMFont *)cocos2d::CCString::getCString(v97); v100 = (cocos2d::CCLabelBMFont *)cocos2d::CCLabelBMFont::create(v98, "goldFont.fnt", v99); cocos2d::CCLabelBMFont::limitLabelWidth(v100, 70.0, 0.4, 0.2); v101 = *(float *)(*(int (__fastcall **)(cocos2d::CCLabelBMFont *))(*(_DWORD *)v100 + 164))(v100); v102 = COERCE_FLOAT((*(int (__fastcall **)(cocos2d::CCLabelBMFont *))(*(_DWORD *)v100 + 84))(v100)); v144[1] = 0; v144[0] = GJThreadCell::onShowMembers; v103 = v101 * v102; v104 = CCMenuItemSpriteExtra::create((int)v100, 0, (int)this, (int)GJThreadCell::onShowMembers, 0); sub_4249D4(v104); (*(void (__fastcall **)(const cocos2d::CCPoint *, int))(*(_DWORD *)v7 + 228))(v7, v104); v105 = *((const cocos2d::CCPoint **)this + 103); v106 = *(void (__fastcall **)(int, float *))(*(_DWORD *)v104 + 92); cocos2d::CCPoint::CCPoint( (cocos2d::CCPoint *)v145, (float)(*((float *)this + 100) - 62.0) - (float)(v103 * 0.5), v11); cocos2d::CCNode::convertToWorldSpace((cocos2d::CCNode *)v146, v105); cocos2d::CCNode::convertToNodeSpace((cocos2d::CCNode *)v147, v7); v106(v104, v147); } if ( *(_BYTE *)(*((_DWORD *)this + 105) + 136) ) { v107 = cocos2d::CCSprite::createWithSpriteFrameName((cocos2d::CCSprite *)"GJ_musicOffBtn_001.png", v81); (*(void (__fastcall **)(int, int))(*(_DWORD *)v107 + 80))(v107, 1050924810); (*(void (__fastcall **)(int, int))(*(_DWORD *)v107 + 456))(v107, 140); v108 = *(void (__fastcall **)(int, float *))(*(_DWORD *)v107 + 92); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v147, *((float *)this + 100) - 46.0, v11 + 10.0); v108(v107, v147); (*(void (__fastcall **)(_DWORD, int, int))(**((_DWORD **)this + 103) + 232))(*((_DWORD *)this + 103), v107, 1); } v109 = cocos2d::CCSprite::createWithSpriteFrameName((cocos2d::CCSprite *)"GJ_checkOn_001.png", v81); v111 = cocos2d::CCSprite::createWithSpriteFrameName((cocos2d::CCSprite *)"GJ_checkOff_001.png", v110); (*(void (__fastcall **)(int, int))(*(_DWORD *)v109 + 80))(v109, 1059145646); (*(void (__fastcall **)(int, int))(*(_DWORD *)v111 + 80))(v111, 1059145646); v145[1] = 0; v145[0] = GJThreadCell::onToggleSelect; v112 = CCMenuItemToggler::create(v111, v109, (int)this, (int)GJThreadCell::onToggleSelect, 0); v113 = *((_DWORD *)this + 105); *((_DWORD *)this + 106) = v112; CCMenuItemToggler::toggle(v112, *(unsigned __int8 *)(v113 + 208)); *(_BYTE *)(*((_DWORD *)this + 106) + 309) = 1; CCMenuItemToggler::setSizeMult(*((CCMenuItemToggler **)this + 106), 1.3); (*(void (__fastcall **)(const cocos2d::CCPoint *, _DWORD))(*(_DWORD *)v7 + 228))(v7, *((_DWORD *)this + 106)); v114 = *((_DWORD *)this + 106); v115 = *((const cocos2d::CCPoint **)this + 103); v116 = *(void (__fastcall **)(int, float *))(*(_DWORD *)v114 + 92); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v141, *((float *)this + 100) - 22.0, *((float *)this + 101) * 0.5); cocos2d::CCNode::convertToWorldSpace((cocos2d::CCNode *)v146, v115); cocos2d::CCNode::convertToNodeSpace((cocos2d::CCNode *)v147, v7); v116(v114, v147); v118 = cocos2d::CCLabelBMFont::create((cocos2d::CCLabelBMFont *)"...", "bigFont.fnt", v117); (*(void (__fastcall **)(int, int))(*(_DWORD *)v118 + 80))(v118, 1055286886); (*(void (__fastcall **)(int, int))(*(_DWORD *)v118 + 512))(v118, 120); v146[1] = 0; v146[0] = GJThreadCell::onThreadOptions; v119 = CCMenuItemSpriteExtra::create(v118, 0, (int)this, (int)GJThreadCell::onThreadOptions, 0); cocos2d::CCSize::CCSize((cocos2d::CCSize *)v147, 36.0, 34.0); sub_4242A8(v119, v147); CCMenuItemSpriteExtra::setSizeMult(v119, 1.0); (*(void (__fastcall **)(const cocos2d::CCPoint *, int))(*(_DWORD *)v7 + 228))(v7, v119); v120 = *(void (__fastcall **)(int, float *))(*(_DWORD *)v119 + 92); v134 = *((cocos2d::CCPoint **)this + 103); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v140, *((float *)this + 100) - 46.0, v11 + 2.0); cocos2d::CCNode::convertToWorldSpace((cocos2d::CCNode *)v141, v134); cocos2d::CCNode::convertToNodeSpace((cocos2d::CCNode *)v147, v7); v120(v119, v147); v121 = *((_DWORD *)this + 101); v122 = *((_DWORD *)this + 100); v147[0] = 0.015975; v123 = cocos2d::CCLayerColor::create(v147, v122, v121); (*(void (__fastcall **)(int, void *))(*(_DWORD *)v123 + 92))(v123, &unk_D2B804); (*(void (__fastcall **)(int, _DWORD))(*(_DWORD *)v123 + 172))(v123, 0); (*(void (__fastcall **)(_DWORD, int, _DWORD))(**((_DWORD **)this + 103) + 232))(*((_DWORD *)this + 103), v123, 0); v124 = *((float *)this + 100) - 44.0; v126 = cocos2d::CCSprite::createWithSpriteFrameName((cocos2d::CCSprite *)"whiteSquare60_001.png", v125); (*(void (__fastcall **)(int, _DWORD))(*(_DWORD *)v126 + 64))(v126, v124 / 60.0); (*(void (__fastcall **)(int, _DWORD))(*(_DWORD *)v126 + 72))(v126, *((float *)this + 101) / 60.0); (*(void (__fastcall **)(int, _DWORD))(*(_DWORD *)v126 + 172))(v126, 0); v147[1] = 0.0; LODWORD(v147[0]) = GJThreadCell::onViewThread; v127 = RowPressItem::create(v126, (int)this, (int)GJThreadCell::onViewThread, 0); *(_DWORD *)(v127 + 392) = v123; *(_BYTE *)(v127 + 320) = 0; CCMenuItemSpriteExtra::setSizeMult(v127, 1.0); v128 = *(void (__fastcall **)(int, _BYTE *))(*(_DWORD *)v127 + 160); cocos2d::CCSize::CCSize((cocos2d::CCSize *)v141, v124, *((float *)this + 101)); v128(v127, v141); (*(void (__fastcall **)(const cocos2d::CCPoint *, int))(*(_DWORD *)v7 + 228))(v7, v127); v129 = *((const cocos2d::CCPoint **)this + 103); v130 = *(int (__fastcall **)(int, _BYTE *))(*(_DWORD *)v127 + 92); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v139, v124 * 0.5, *((float *)this + 101) * 0.5); cocos2d::CCNode::convertToWorldSpace((cocos2d::CCNode *)v140, v129); cocos2d::CCNode::convertToNodeSpace((cocos2d::CCNode *)v141, v7); return v130(v127, v141); }
GD Web Decomp Icon

GD Web Decomp

Raw Source