//
// GJThreadCell::loadFromThread from 0x73e020 to 0x73f1d8 (4536 bytes)
//
// 3 xrefs:
// > CustomListView::reloadAll @ 0x748d80
// > CustomListView::loadCell @ 0x74d160
// > ??> @ 0xaf7b0
//
// This function is hookable on this platform (idp: arm, 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 12:52:43 +0000
//
__int64 __fastcall GJThreadCell::loadFromThread(GJThreadCell *this, GJMessageThread *a2)
{
cocos2d::CCObject *v4; // x0
__int64 v5; // x2
cocos2d::CCMenu *v6; // x0
cocos2d::CCNode *v7; // x21
const char *v8; // x1
const char *v9; // x2
__int64 v10; // x24
float v11; // s9
int v12; // w0
__int64 v13; // x24
size_t v14; // x2
cocos2d::CCLabelBMFont *v15; // x0
cocos2d::CCLabelBMFont *v16; // x22
float v17; // s0
float v18; // s8
float v19; // s0
__int64 v20; // x0
float v21; // s8
__int64 v22; // x26
cocos2d::CCNode *v23; // x27
void (__fastcall *v24)(__int64, __int64 *); // x28
__int64 v25; // x0
float v26; // s12
float v27; // s8
__int64 v28; // x3
int v29; // w23
__int64 *v30; // x0
size_t v31; // x2
void *v32; // x1
__int64 v33; // x22
__int64 (__fastcall *v34)(__int64, __int64 *); // x23
GameManager *v35; // x0
int v36; // w0
GameManager *v37; // x0
GameManager *v38; // x0
int v39; // w0
__int64 v40; // x2
__int64 v41; // x1
__int64 v42; // x2
void (__fastcall *v43)(__int64, __int64 *); // x23
__int64 v44; // x3
__int64 v45; // x1
__int64 v46; // x1
cocos2d::CCSprite *v47; // x23
EmoteSprite *v48; // x0
float v49; // s0
long double v50; // q1
void (__fastcall *v51)(cocos2d::CCSprite *, __int64 *); // x22
cocos2d::CCLabelBMFont *v52; // x0
void (__fastcall *v53)(cocos2d::CCLabelBMFont *, __int64 *); // x23
__int64 RoleBadge; // x0
const char *v55; // x2
__int64 v56; // x22
void (__fastcall *v57)(__int64, __int64 *); // x23
float v58; // s11
__int64 v59; // x26
void (__fastcall *v60)(__int64, __int64 *); // x2
void (__fastcall *v61)(__int64, __int64 *); // x27
float v62; // s12
float v63; // s0
const char *v64; // x1
cocos2d::CCString *v65; // x0
cocos2d::CCLabelBMFont *CString; // x0
const char *v67; // x2
__int64 v68; // x27
void (__fastcall *v69)(__int64, __int64 *); // x26
const char *v70; // x1
int v71; // w27
__int64 v72; // x24
void (__fastcall *v73)(__int64, __int64 *); // x26
int v74; // w26
cocos2d::CCString *v75; // x0
cocos2d::CCLabelBMFont *v76; // x0
const char *v77; // x2
__int64 v78; // x28
long double v79; // q0
__int64 v80; // x0
unsigned __int64 v81; // x1
__int64 v82; // x0
const char *v83; // x1
char *v84; // x2
cocos2d::CCString *v85; // x0
cocos2d::CCLabelBMFont *v86; // x0
const char *v87; // x2
cocos2d::CCLabelBMFont *v88; // x24
float v89; // s8
float v90; // s8
__int64 v91; // x24
cocos2d::CCNode *v92; // x27
void (__fastcall *v93)(__int64, __int64 *); // x26
__int64 v94; // x26
const char *v95; // x1
__int64 v96; // x24
CCMenuItemToggler *v97; // x0
__int64 v98; // x24
cocos2d::CCNode *v99; // x27
void (__fastcall *v100)(__int64, __int64 *); // x26
const char *v101; // x2
__int64 v102; // x24
__int64 v103; // x24
cocos2d::CCNode *v104; // x27
void (__fastcall *v105)(__int64, __int64 *); // x26
__int64 v106; // x26
float v107; // s8
const char *v108; // x1
__int64 v109; // x24
__int64 v110; // x0
__int64 v111; // x24
void (__fastcall *v112)(__int64, __int64 *); // x26
cocos2d::CCNode *v113; // x26
float v114; // s1
void (__fastcall *v115)(__int64, __int64 *); // x19
__int64 v117; // x22
void (__fastcall *v118)(__int64, __int64 *); // x23
__int64 v119; // x24
void (__fastcall *v120)(__int64, __int64 *); // x26
__int64 v121; // x2
__int64 v122; // x3
void *v123; // x0
__int64 v124; // x24
cocos2d::CCNode *v125; // x28
void (__fastcall *v126)(__int64, __int64 *); // x26
void (__fastcall *v127)(__int64, __int64 *); // x2
int v128; // [xsp+C0h] [xbp+C0h]
float v129; // [xsp+C0h] [xbp+C0h]
void (__fastcall *v130)(__int64, __int64 *); // [xsp+D0h] [xbp+D0h]
void (__fastcall *v131)(__int64, __int64 *); // [xsp+D0h] [xbp+D0h]
void (__fastcall *v132)(__int64, __int64 *); // [xsp+D0h] [xbp+D0h]
void (__fastcall *v133)(__int64, __int64 *); // [xsp+D0h] [xbp+D0h]
unsigned int v134; // [xsp+D8h] [xbp+D8h]
float v135; // [xsp+E0h] [xbp+E0h] BYREF
float v136; // [xsp+E4h] [xbp+E4h]
char v137[8]; // [xsp+E8h] [xbp+E8h] BYREF
__int64 v138; // [xsp+F0h] [xbp+F0h] BYREF
__int64 v139; // [xsp+F8h] [xbp+F8h] BYREF
__int64 v140; // [xsp+100h] [xbp+100h] BYREF
__int64 v141; // [xsp+108h] [xbp+108h] BYREF
__int64 v142; // [xsp+110h] [xbp+110h]
void *v143; // [xsp+118h] [xbp+118h]
EmoteSprite *v144; // [xsp+120h] [xbp+120h] BYREF
__int64 v145; // [xsp+128h] [xbp+128h]
void *v146; // [xsp+130h] [xbp+130h]
(*(void (__fastcall **)(_QWORD, __int64))(**((_QWORD **)this + 66) + 1168LL))(*((_QWORD *)this + 66), 0xFFFFFFFFLL);
cocos2d::CCObject::retain(a2);
v4 = *((cocos2d::CCObject **)this + 69);
if ( v4 )
cocos2d::CCObject::release(v4);
v5 = *((_QWORD *)this + 67);
*((_QWORD *)this + 69) = a2;
v6 = (cocos2d::CCMenu *)(*(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)v5 + 584LL))(v5, 1);
v7 = (cocos2d::CCNode *)cocos2d::CCMenu::create(v6);
(*(void (__fastcall **)(_QWORD, cocos2d::CCNode *, __int64))(**((_QWORD **)this + 67) + 464LL))(
*((_QWORD *)this + 67),
v7,
2);
v10 = *((_QWORD *)this + 69);
v128 = *(_DWORD *)(v10 + 112);
v11 = *((float *)this + 131) * 0.5;
if ( *(_BYTE *)(v10 + 274) )
{
v117 = cocos2d::CCSprite::createWithSpriteFrameName((cocos2d::CCSprite *)"GJ_starsIcon_001.png", v8);
(*(void (__fastcall **)(__int64, float))(*(_QWORD *)v117 + 160LL))(v117, 0.35);
v118 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v117 + 184LL);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v140, 7.0, *((float *)this + 131) - 7.0);
v118(v117, &v140);
(*(void (__fastcall **)(_QWORD, __int64, __int64))(**((_QWORD **)this + 67) + 464LL))(
*((_QWORD *)this + 67),
v117,
2);
v10 = *((_QWORD *)this + 69);
}
if ( *(_BYTE *)(v10 + 264) )
{
if ( !*(_BYTE *)(v10 + 305) || *(int *)(v10 + 60) <= 0 )
{
LABEL_10:
v15 = (cocos2d::CCLabelBMFont *)(v10 + 65);
if ( (*(_BYTE *)(v10 + 64) & 1) != 0 )
v15 = *(cocos2d::CCLabelBMFont **)(v10 + 80);
v16 = (cocos2d::CCLabelBMFont *)cocos2d::CCLabelBMFont::create(v15, "goldFont.fnt", v9);
if ( *(_BYTE *)(*((_QWORD *)this + 69) + 264LL) )
goto LABEL_38;
goto LABEL_13;
}
v33 = SimplePlayer::create((SimplePlayer *)((char *)&dword_0 + 1), (int)v8);
(*(void (__fastcall **)(__int64, float))(*(_QWORD *)v33 + 160LL))(v33, 0.5);
v34 = *(__int64 (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v33 + 960LL);
v35 = (GameManager *)GameManager::sharedState(*(GameManager **)v33);
v36 = GameManager::colorForIdx(v35, *(_DWORD *)(*((_QWORD *)this + 69) + 312LL));
LOWORD(v140) = v36;
BYTE2(v140) = BYTE2(v36);
v37 = (GameManager *)v34(v33, &v140);
v38 = (GameManager *)GameManager::sharedState(v37);
v39 = GameManager::colorForIdx(v38, *(_DWORD *)(*((_QWORD *)this + 69) + 316LL));
BYTE2(v140) = BYTE2(v39);
LOWORD(v140) = v39;
SimplePlayer::setSecondColor(v33, &v140);
SimplePlayer::tryEnableCustomGlowColor((SimplePlayer *)v33, *(_DWORD *)(*((_QWORD *)this + 69) + 320LL));
*(_BYTE *)(v33 + 660) = *(_DWORD *)(*((_QWORD *)this + 69) + 328LL) == 2;
v40 = *((_QWORD *)this + 69);
LODWORD(v41) = *(_DWORD *)(v40 + 308);
v42 = *(unsigned int *)(v40 + 324);
if ( (int)v41 <= 0 )
v41 = 1;
else
v41 = (unsigned int)v41;
SimplePlayer::updatePlayerFrame(v33, v41, v42);
SimplePlayer::updateColors((SimplePlayer *)v33);
v43 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v33 + 184LL);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v140, 22.0, v11);
v43(v33, &v140);
v44 = *((_QWORD *)this + 67);
v45 = v33;
goto LABEL_33;
}
v12 = *(unsigned __int8 *)(v10 + 240);
v13 = v10 + 240;
if ( (v12 & 1) != 0 )
{
v14 = *(_QWORD *)(v13 + 8);
if ( v14 )
{
v144 = nullptr;
v145 = 0;
v146 = nullptr;
std::string::__init((__int64 *)&v144, *(void **)(v13 + 16), v14);
goto LABEL_29;
}
}
else if ( v12 >> 1 )
{
v46 = *(_QWORD *)(v13 + 8);
v144 = *(EmoteSprite **)v13;
v145 = v46;
v146 = *(void **)(v13 + 16);
goto LABEL_29;
}
v144 = nullptr;
v145 = 0;
v146 = nullptr;
std::string::__init((__int64 *)&v144, "na", 2u);
LABEL_29:
v47 = EmoteSprite::createWithName((char *)&v144);
v48 = (EmoteSprite *)(unsigned __int8)v144;
if ( ((unsigned __int8)v144 & 1) != 0 )
operator delete(v146);
if ( v47 )
goto LABEL_32;
v144 = nullptr;
v145 = 0;
v146 = nullptr;
std::string::__init((__int64 *)&v144, "na", 2u);
v47 = EmoteSprite::createWithName((char *)&v144);
v48 = (EmoteSprite *)(unsigned __int8)v144;
if ( ((unsigned __int8)v144 & 1) != 0 )
operator delete(v146);
if ( v47 )
{
LABEL_32:
v49 = EmoteSprite::heightFactor(v48);
LODWORD(v50) = 0;
EmoteSprite::fitToHeight(v47, (float)(v49 * 13.5) * 1.2, v50);
v51 = *(void (__fastcall **)(cocos2d::CCSprite *, __int64 *))(*(_QWORD *)v47 + 184LL);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v140, 22.0, v11);
v51(v47, &v140);
v44 = *((_QWORD *)this + 67);
v45 = (__int64)v47;
LABEL_33:
(*(void (__fastcall **)(__int64, __int64, __int64))(*(_QWORD *)v44 + 464LL))(v44, v45, 1);
}
v10 = *((_QWORD *)this + 69);
if ( *(_BYTE *)(v10 + 264) )
goto LABEL_10;
v52 = (cocos2d::CCLabelBMFont *)(v10 + 89);
if ( (*(_BYTE *)(v10 + 88) & 1) != 0 )
v52 = *(cocos2d::CCLabelBMFont **)(v10 + 104);
v16 = (cocos2d::CCLabelBMFont *)cocos2d::CCLabelBMFont::create(v52, "bigFont.fnt", v9);
if ( *(_BYTE *)(*((_QWORD *)this + 69) + 264LL) )
{
LABEL_38:
v17 = 124.0;
goto LABEL_14;
}
LABEL_13:
v17 = 94.0;
LABEL_14:
cocos2d::CCLabelBMFont::limitLabelWidth(v16, v17, 0.5, 0.2);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v135, 38.0, v11);
v18 = *(float *)(*(__int64 (__fastcall **)(cocos2d::CCLabelBMFont *))(*(_QWORD *)v16 + 328LL))(v16);
v19 = (*(float (__fastcall **)(cocos2d::CCLabelBMFont *))(*(_QWORD *)v16 + 168LL))(v16);
v20 = *((_QWORD *)this + 69);
v21 = v18 * v19;
if ( *(_BYTE *)(v20 + 264) && *(int *)(v20 + 60) > 0 )
{
v22 = CCMenuItemSpriteExtra::create((__int64)v16, 0, (__int64)this, (__int64)GJThreadCell::onViewProfile, 0);
sub_73635C(v22);
(*(void (__fastcall **)(cocos2d::CCNode *, __int64))(*(_QWORD *)v7 + 456LL))(v7, v22);
v23 = *((cocos2d::CCNode **)this + 67);
v24 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v22 + 184LL);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v137, v21 * 0.5, 0.0);
cocos2d::CCPoint::operator+(&v138, &v135);
cocos2d::CCNode::convertToWorldSpace(&v139, v23, (const cocos2d::CCPoint *)&v138);
cocos2d::CCNode::convertToNodeSpace(&v140, v7, (const cocos2d::CCPoint *)&v139);
v24(v22, &v140);
v25 = *((_QWORD *)this + 69);
v26 = 6.0;
v27 = (float)(v21 + v135) + 6.0;
if ( !*(_BYTE *)(v25 + 264) )
goto LABEL_17;
}
else
{
v53 = *(void (__fastcall **)(cocos2d::CCLabelBMFont *, __int64 *))(*(_QWORD *)v16 + 296LL);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v140, 0.0, 0.5);
v53(v16, &v140);
(*(void (__fastcall **)(cocos2d::CCLabelBMFont *, float *))(*(_QWORD *)v16 + 184LL))(v16, &v135);
(*(void (__fastcall **)(_QWORD, cocos2d::CCLabelBMFont *, __int64))(**((_QWORD **)this + 67) + 464LL))(
*((_QWORD *)this + 67),
v16,
1);
v25 = *((_QWORD *)this + 69);
v26 = 6.0;
v27 = (float)(v21 + v135) + 6.0;
if ( !*(_BYTE *)(v25 + 264) )
goto LABEL_17;
}
RoleBadge = GJMessageThread::createRoleBadge((GJMessageThread *)v25, 14.0);
v56 = RoleBadge;
if ( RoleBadge )
{
v57 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)RoleBadge + 184LL);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v140, v27, v136);
v57(v56, &v140);
(*(void (__fastcall **)(_QWORD, __int64, __int64))(**((_QWORD **)this + 67) + 464LL))(
*((_QWORD *)this + 67),
v56,
10);
v58 = *(float *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v56 + 328LL))(v56);
v27 = v27 + (float)(v26 + (float)(v58 * (*(float (__fastcall **)(__int64))(*(_QWORD *)v56 + 168LL))(v56)));
}
v25 = *((_QWORD *)this + 69);
if ( *(_BYTE *)(v25 + 264) )
goto LABEL_43;
LABEL_17:
v144 = nullptr;
v145 = 0;
v146 = nullptr;
if ( (*(_BYTE *)(v25 + 88) & 1) != 0 )
{
std::string::__init((__int64 *)&v144, *(void **)(v25 + 104), *(_QWORD *)(v25 + 96));
v25 = *((_QWORD *)this + 69);
}
else
{
v28 = *(_QWORD *)(v25 + 96);
v144 = *(EmoteSprite **)(v25 + 88);
v145 = v28;
v146 = *(void **)(v25 + 104);
}
v29 = *(unsigned __int8 *)(v25 + 216);
v30 = (__int64 *)(v25 + 216);
if ( (v29 & 1) != 0 )
{
v31 = v30[1];
if ( v31 )
{
v32 = (void *)v30[2];
v141 = 0;
v142 = 0;
v143 = nullptr;
std::string::__init(&v141, v32, v31);
goto LABEL_67;
}
}
else if ( v29 >> 1 )
{
v121 = *v30;
v122 = v30[1];
v123 = (void *)v30[2];
v141 = v121;
v142 = v122;
v143 = v123;
goto LABEL_67;
}
v141 = 0;
v142 = 0;
v143 = nullptr;
std::string::__init(&v141, "No description", 0xEu);
LABEL_67:
v124 = InfoAlertButton::create(&v144, &v141, 0.4);
if ( (v141 & 1) != 0 )
operator delete(v143);
if ( ((unsigned __int8)v144 & 1) != 0 )
operator delete(v146);
CCMenuItemSpriteExtra::setSizeMult(v124, 1.5);
(*(void (__fastcall **)(cocos2d::CCNode *, __int64))(*(_QWORD *)v7 + 456LL))(v7, v124);
v125 = *((cocos2d::CCNode **)this + 67);
v126 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v124 + 184LL);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v138, v27 + 7.0, v11);
cocos2d::CCNode::convertToWorldSpace(&v139, v125, (const cocos2d::CCPoint *)&v138);
cocos2d::CCNode::convertToNodeSpace(&v140, v7, (const cocos2d::CCPoint *)&v139);
v126(v124, &v140);
v25 = *((_QWORD *)this + 69);
v27 = v27 + 20.0;
if ( !*(_BYTE *)(v25 + 264) && *(_DWORD *)(v25 + 268) == 8 )
{
v134 = (unsigned int)&dword_0 + 1;
v59 = cocos2d::CCLabelBMFont::create(
(cocos2d::CCLabelBMFont *)"removed",
"chatFont.fnt",
(const char *)&dword_0 + 1);
v133 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v59 + 296LL);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v140, 0.0, 0.5);
v133(v59, &v140);
(*(void (__fastcall **)(__int64, float))(*(_QWORD *)v59 + 160LL))(v59, 0.45);
v127 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v59 + 1072LL);
LOWORD(v140) = 23295;
BYTE2(v140) = 90;
v127(v59, &v140);
goto LABEL_45;
}
LABEL_43:
if ( *(_BYTE *)(v25 + 265) )
{
v134 = 0;
v59 = cocos2d::CCLabelBMFont::create((cocos2d::CCLabelBMFont *)"pending", "chatFont.fnt", v55);
v130 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v59 + 296LL);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v140, 0.0, 0.5);
v130(v59, &v140);
(*(void (__fastcall **)(__int64, float))(*(_QWORD *)v59 + 160LL))(v59, 0.45);
v60 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v59 + 1072LL);
LOWORD(v140) = -14081;
BYTE2(v140) = 80;
v60(v59, &v140);
LABEL_45:
v61 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v59 + 184LL);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v140, v27, v136);
v61(v59, &v140);
(*(void (__fastcall **)(_QWORD, __int64, __int64))(**((_QWORD **)this + 67) + 464LL))(
*((_QWORD *)this + 67),
v59,
10);
v62 = *(float *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v59 + 328LL))(v59);
v63 = (*(float (__fastcall **)(__int64))(*(_QWORD *)v59 + 168LL))(v59);
v25 = *((_QWORD *)this + 69);
v27 = v27 + (float)((float)(v62 * v63) + 6.0);
goto LABEL_46;
}
v134 = 0;
LABEL_46:
v64 = (const char *)(v25 + 145);
if ( (*(_BYTE *)(v25 + 144) & 1) != 0 )
v64 = *(const char **)(v25 + 160);
v65 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"%s ago", v64);
CString = (cocos2d::CCLabelBMFont *)cocos2d::CCString::getCString(v65);
v68 = cocos2d::CCLabelBMFont::create(CString, "chatFont.fnt", v67);
v69 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v68 + 296LL);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v140, 0.0, 0.5);
v69(v68, &v140);
(*(void (__fastcall **)(__int64, float))(*(_QWORD *)v68 + 160LL))(v68, 0.5);
(*(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v68 + 1072LL))(v68, &qword_113C0F0);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v68 + 1024LL))(v68, 4294967190LL);
v131 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v68 + 184LL);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v140, v27, v136);
v131(v68, &v140);
(*(void (__fastcall **)(_QWORD, __int64, __int64))(**((_QWORD **)this + 67) + 464LL))(*((_QWORD *)this + 67), v68, 1);
if ( v128 > 0 )
{
v71 = 0;
v72 = cocos2d::CCSprite::createWithSpriteFrameName((cocos2d::CCSprite *)"d_ball_01_001.png", v70);
(*(void (__fastcall **)(__int64, void *))(*(_QWORD *)v72 + 960LL))(v72, &unk_113C0F8);
(*(void (__fastcall **)(__int64, float))(*(_QWORD *)v72 + 160LL))(v72, 0.32);
v73 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v72 + 184LL);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v140, 33.0, v11 + 12.0);
v73(v72, &v140);
(*(void (__fastcall **)(_QWORD, __int64, __int64))(**((_QWORD **)this + 67) + 464LL))(
*((_QWORD *)this + 67),
v72,
10);
v74 = *(_DWORD *)(*((_QWORD *)this + 69) + 112LL);
if ( v74 > 99 )
v74 = 99;
while ( 1 )
{
v75 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat(
(cocos2d::CCString *)"%i",
(const char *)(unsigned int)v74);
v76 = (cocos2d::CCLabelBMFont *)cocos2d::CCString::getCString(v75);
v78 = cocos2d::CCLabelBMFont::create(v76, "chatFont.fnt", v77);
(*(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v78 + 1072LL))(v78, &qword_113C0F0);
LODWORD(v79) = 1070176666;
if ( v74 <= 9 )
LODWORD(v79) = 2.0;
(*(void (__fastcall **)(__int64, long double))(*(_QWORD *)v78 + 160LL))(v78, v79);
v132 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v78 + 184LL);
v129 = (float)v71 + (float)(*(float *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v72 + 328LL))(v72) * 0.5);
v80 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v72 + 328LL))(v72);
cocos2d::CCPoint::CCPoint(
(cocos2d::CCPoint *)&v140,
v129,
(float)((float)(*(float *)(v80 + 4) * 0.5) + 2.0) - (float)v71);
v132(v78, &v140);
if ( v71 )
break;
v71 = 1;
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v72 + 456LL))(v72, v78);
}
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v78 + 1024LL))(v78, 125);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v72 + 456LL))(v72, v78);
}
v81 = v134;
v82 = *((_QWORD *)this + 69);
if ( !v134 )
{
v81 = *(unsigned __int8 *)(v82 + 264);
if ( !*(_BYTE *)(v82 + 264) )
{
v83 = (const char *)*(unsigned int *)(v82 + 168);
if ( (_DWORD)v83 == 1 )
v84 = &byte_11B8890;
else
v84 = "s";
v85 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"%i member%s", v83, v84);
v86 = (cocos2d::CCLabelBMFont *)cocos2d::CCString::getCString(v85);
v88 = (cocos2d::CCLabelBMFont *)cocos2d::CCLabelBMFont::create(v86, "goldFont.fnt", v87);
cocos2d::CCLabelBMFont::limitLabelWidth(v88, 70.0, 0.4, 0.2);
v89 = *(float *)(*(__int64 (__fastcall **)(cocos2d::CCLabelBMFont *))(*(_QWORD *)v88 + 328LL))(v88);
v90 = v89 * (*(float (__fastcall **)(cocos2d::CCLabelBMFont *))(*(_QWORD *)v88 + 168LL))(v88);
v91 = CCMenuItemSpriteExtra::create((__int64)v88, 0, (__int64)this, (__int64)GJThreadCell::onShowMembers, 0);
sub_73635C(v91);
(*(void (__fastcall **)(cocos2d::CCNode *, __int64))(*(_QWORD *)v7 + 456LL))(v7, v91);
v92 = *((cocos2d::CCNode **)this + 67);
v93 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v91 + 184LL);
cocos2d::CCPoint::CCPoint(
(cocos2d::CCPoint *)&v138,
(float)(*((float *)this + 130) - 62.0) - (float)(v90 * 0.5),
v11);
cocos2d::CCNode::convertToWorldSpace(&v139, v92, (const cocos2d::CCPoint *)&v138);
cocos2d::CCNode::convertToNodeSpace(&v140, v7, (const cocos2d::CCPoint *)&v139);
v93(v91, &v140);
v82 = *((_QWORD *)this + 69);
}
}
if ( *(_BYTE *)(v82 + 204) )
{
v119 = cocos2d::CCSprite::createWithSpriteFrameName(
(cocos2d::CCSprite *)"GJ_musicOffBtn_001.png",
(const char *)v81);
(*(void (__fastcall **)(__int64, float))(*(_QWORD *)v119 + 160LL))(v119, 0.32);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v119 + 912LL))(v119, 4294967180LL);
v120 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v119 + 184LL);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v140, *((float *)this + 130) - 46.0, v11 + 10.0);
v120(v119, &v140);
(*(void (__fastcall **)(_QWORD, __int64, __int64))(**((_QWORD **)this + 67) + 464LL))(
*((_QWORD *)this + 67),
v119,
1);
}
v94 = cocos2d::CCSprite::createWithSpriteFrameName((cocos2d::CCSprite *)"GJ_checkOn_001.png", (const char *)v81);
v96 = cocos2d::CCSprite::createWithSpriteFrameName((cocos2d::CCSprite *)"GJ_checkOff_001.png", v95);
(*(void (__fastcall **)(__int64, float))(*(_QWORD *)v94 + 160LL))(v94, 0.63);
(*(void (__fastcall **)(__int64, float))(*(_QWORD *)v96 + 160LL))(v96, 0.63);
v97 = (CCMenuItemToggler *)CCMenuItemToggler::create(
v96,
v94,
(__int64)this,
(__int64)GJThreadCell::onToggleSelect,
0);
*((_QWORD *)this + 70) = v97;
CCMenuItemToggler::toggle(v97, *(_BYTE *)(*((_QWORD *)this + 69) + 304LL));
*(_BYTE *)(*((_QWORD *)this + 70) + 393LL) = 1;
CCMenuItemToggler::setSizeMult(*((CCMenuItemToggler **)this + 70), 1.3);
(*(void (__fastcall **)(cocos2d::CCNode *, _QWORD))(*(_QWORD *)v7 + 456LL))(v7, *((_QWORD *)this + 70));
v98 = *((_QWORD *)this + 70);
v99 = *((cocos2d::CCNode **)this + 67);
v100 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v98 + 184LL);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v138, *((float *)this + 130) - 22.0, *((float *)this + 131) * 0.5);
cocos2d::CCNode::convertToWorldSpace(&v139, v99, (const cocos2d::CCPoint *)&v138);
cocos2d::CCNode::convertToNodeSpace(&v140, v7, (const cocos2d::CCPoint *)&v139);
v100(v98, &v140);
v102 = cocos2d::CCLabelBMFont::create((cocos2d::CCLabelBMFont *)"...", "bigFont.fnt", v101);
(*(void (__fastcall **)(__int64, float))(*(_QWORD *)v102 + 160LL))(v102, 0.45);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v102 + 1024LL))(v102, 120);
v103 = CCMenuItemSpriteExtra::create(v102, 0, (__int64)this, (__int64)GJThreadCell::onThreadOptions, 0);
cocos2d::CCSize::CCSize((cocos2d::CCSize *)&v140, 36.0, 34.0);
sub_7355B4(v103, (float *)&v140);
CCMenuItemSpriteExtra::setSizeMult(v103, 1.0);
(*(void (__fastcall **)(cocos2d::CCNode *, __int64))(*(_QWORD *)v7 + 456LL))(v7, v103);
v104 = *((cocos2d::CCNode **)this + 67);
v105 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v103 + 184LL);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v138, *((float *)this + 130) - 46.0, v11 + 2.0);
cocos2d::CCNode::convertToWorldSpace(&v139, v104, (const cocos2d::CCPoint *)&v138);
cocos2d::CCNode::convertToNodeSpace(&v140, v7, (const cocos2d::CCPoint *)&v139);
v105(v103, &v140);
LODWORD(v140) = 1015209215;
v106 = cocos2d::CCLayerColor::create(&v140, *((float *)this + 130), *((float *)this + 131));
(*(void (__fastcall **)(__int64, void *))(*(_QWORD *)v106 + 184LL))(v106, &unk_155C608);
(*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v106 + 344LL))(v106, 0);
(*(void (__fastcall **)(_QWORD, __int64, _QWORD))(**((_QWORD **)this + 67) + 464LL))(*((_QWORD *)this + 67), v106, 0);
v107 = *((float *)this + 130) - 44.0;
v109 = cocos2d::CCSprite::createWithSpriteFrameName((cocos2d::CCSprite *)"whiteSquare60_001.png", v108);
(*(void (__fastcall **)(__int64, float))(*(_QWORD *)v109 + 128LL))(v109, v107 / 60.0);
(*(void (__fastcall **)(__int64, float))(*(_QWORD *)v109 + 144LL))(v109, *((float *)this + 131) / 60.0);
(*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v109 + 344LL))(v109, 0);
v110 = RowPressItem::create(v109, (__int64)this, (__int64)GJThreadCell::onViewThread, 0);
*(_QWORD *)(v110 + 504) = v106;
*(_BYTE *)(v110 + 408) = 0;
v111 = v110;
CCMenuItemSpriteExtra::setSizeMult(v110, 1.0);
v112 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v111 + 320LL);
cocos2d::CCSize::CCSize((cocos2d::CCSize *)&v140, v107, *((float *)this + 131));
v112(v111, &v140);
(*(void (__fastcall **)(cocos2d::CCNode *, __int64))(*(_QWORD *)v7 + 456LL))(v7, v111);
v113 = *((cocos2d::CCNode **)this + 67);
v114 = *((float *)this + 131) * 0.5;
v115 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v111 + 184LL);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v138, v107 * 0.5, v114);
cocos2d::CCNode::convertToWorldSpace(&v139, v113, (const cocos2d::CCPoint *)&v138);
cocos2d::CCNode::convertToNodeSpace(&v140, v7, (const cocos2d::CCPoint *)&v139);
v115(v111, &v140);
return _stack_chk_guard;
}