//
// GJThreadCell::loadFromThread from 0x100232ab0 to 0x100233d5c (4780 bytes)
//
// 2 xrefs:
// > CustomListView::loadCell @ 0x1002281f3
// > CustomListView::reloadAll @ 0x100235f17
//
// 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 12:27:11 +0000
//
__int64 __fastcall GJThreadCell::loadFromThread(__int64 a1, __int64 a2)
{
__int64 v2; // r13
__int64 v3; // rdi
__int64 v4; // rsi
__int64 *v5; // rdi
__int64 v6; // rax
__int64 v7; // rax
__int64 v8; // r14
double v9; // xmm0_8
unsigned int v10; // r12d
_BYTE *v11; // r15
__int64 v12; // rdx
double v13; // xmm0_8
__int64 v14; // rax
double v15; // xmm0_8
__int16 v16; // ax
char v17; // eax^2
__int64 v18; // rdx
double v19; // xmm0_8
__int64 v20; // rax
double v21; // xmm0_8
__int16 v22; // ax
char v23; // eax^2
_DWORD *v24; // rax
char v25; // cl
__int128 *v26; // rax
unsigned __int64 v27; // rdx
float v28; // xmm0_4
__int64 v29; // rdi
__int64 v30; // rdi
const char *v31; // rsi
__int64 v32; // r15
float v33; // xmm0_4
float v34; // xmm0_4
__int64 v35; // rax
bool v36; // zf
__int64 v37; // r14
__int64 v38; // rbx
__int64 v39; // r15
__int64 v40; // rax
__int64 v41; // r14
float v42; // xmm0_4
__int64 v43; // rsi
char v44; // al
char v45; // al
unsigned __int64 v46; // rdx
__int128 *v47; // rsi
__int64 v48; // r14
__int64 v49; // rbx
__int64 v50; // r15
bool v51; // bl
const char *v52; // rdi
int v53; // r12d
__int64 v54; // r14
float v55; // xmm0_4
__int64 v56; // rax
__int64 CString; // rax
__int64 v58; // r14
__int64 v59; // r15
__int64 v60; // rax
__int64 v61; // rax
__int64 v62; // r14
__int64 v63; // rax
__int64 v64; // rax
__int64 v65; // rax
__int64 v66; // r12
__int64 v67; // rax
__int64 v68; // rax
__int64 v69; // rax
__int64 v70; // rax
__int64 v71; // r14
float v72; // xmm0_4
__int64 v73; // r14
__int64 v74; // rbx
__int64 v75; // r15
__int64 v76; // r14
__int64 v77; // r14
__int64 v78; // r15
char *v79; // rax
__int64 v80; // rdi
__int64 v81; // rbx
__int64 v82; // r14
__int64 v83; // r15
__int64 v84; // r14
__int64 v85; // r15
__int64 v86; // r14
__int64 v87; // rax
__int64 v88; // r12
__int64 v89; // r13
__int64 v90; // rbx
__int64 v91; // r12
__int64 v92; // r14
_QWORD *v93; // r15
__int64 v94; // r14
__int64 v95; // rbx
__int128 v97; // [rsp+0h] [rbp-C0h] BYREF
void *v98; // [rsp+10h] [rbp-B0h]
float v99[2]; // [rsp+18h] [rbp-A8h] BYREF
__int128 v100; // [rsp+20h] [rbp-A0h] BYREF
void *v101; // [rsp+30h] [rbp-90h]
char v102[8]; // [rsp+40h] [rbp-80h] BYREF
char v103[8]; // [rsp+48h] [rbp-78h] BYREF
float v104; // [rsp+50h] [rbp-70h] BYREF
float v105; // [rsp+54h] [rbp-6Ch]
__int64 v106; // [rsp+58h] [rbp-68h]
float v107; // [rsp+60h] [rbp-60h]
float v108; // [rsp+64h] [rbp-5Ch]
__int64 v109; // [rsp+68h] [rbp-58h]
__int128 v110; // [rsp+70h] [rbp-50h] BYREF
void *__p; // [rsp+80h] [rbp-40h]
float v112; // [rsp+90h] [rbp-30h]
float v113; // [rsp+94h] [rbp-2Ch]
v2 = a1;
(*(void (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 528) + 1168LL))(*(_QWORD *)(a1 + 528), 255);
cocos2d::CCObject::retain(a2);
v3 = *(_QWORD *)(a1 + 552);
if ( v3 )
cocos2d::CCObject::release(v3);
*(_QWORD *)(v2 + 552) = a2;
(*(void (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(v2 + 536) + 584LL))(*(_QWORD *)(v2 + 536), 1);
v4 = cocos2d::CCMenu::create();
v5 = *(__int64 **)(v2 + 536);
v6 = *v5;
v109 = v4;
(*(void (__fastcall **)(__int64 *, __int64, __int64))(v6 + 464))(v5, v4, 2);
v112 = *(float *)(v2 + 524);
v7 = *(_QWORD *)(v2 + 552);
v107 = *(float *)(v7 + 112);
if ( *(_BYTE *)(v7 + 274) == 1 )
{
v8 = cocos2d::CCSprite::createWithSpriteFrameName("GJ_starsIcon_001.png");
(*(void (__fastcall **)(__int64, float))(*(_QWORD *)v8 + 160LL))(v8, 0.34999999);
sub_100278250(&v110, 7.0, *(float *)(v2 + 524) + -7.0);
(*(void (__fastcall **)(__int64, __int128 *))(*(_QWORD *)v8 + 184LL))(v8, &v110);
v4 = v8;
(*(void (__fastcall **)(_QWORD, __int64, __int64))(**(_QWORD **)(v2 + 536) + 464LL))(*(_QWORD *)(v2 + 536), v8, 2);
v7 = *(_QWORD *)(v2 + 552);
}
*(_QWORD *)&v9 = LODWORD(v112);
*(float *)&v9 = v112 * 0.5;
v112 = v112 * 0.5;
if ( *(_BYTE *)(v7 + 264) )
{
if ( *(_BYTE *)(v7 + 305) == 1 && *(int *)(v7 + 60) > 0 )
{
v10 = 1;
v11 = (_BYTE *)SimplePlayer::create(1, v9);
(*(void (__fastcall **)(_BYTE *, float))(*(_QWORD *)v11 + 160LL))(v11, 0.5);
*(_QWORD *)&v13 = GameManager::sharedState(v11, v4, v12).u64[0];
*(_QWORD *)&v15 = GameManager::colorForIdx(v14, *(unsigned int *)(*(_QWORD *)(v2 + 552) + 312LL), v13).u64[0];
LOWORD(v110) = v16;
BYTE2(v110) = v17;
(*(void (__fastcall **)(_BYTE *, __int128 *, double))(*(_QWORD *)v11 + 960LL))(v11, &v110, v15);
*(_QWORD *)&v19 = GameManager::sharedState(v11, &v110, v18).u64[0];
*(_QWORD *)&v21 = GameManager::colorForIdx(v20, *(unsigned int *)(*(_QWORD *)(v2 + 552) + 316LL), v19).u64[0];
LOWORD(v110) = v22;
BYTE2(v110) = v23;
SimplePlayer::setSecondColor(v11, &v110);
SimplePlayer::tryEnableCustomGlowColor(v11, *(unsigned int *)(*(_QWORD *)(v2 + 552) + 320LL), v21);
v24 = *(_DWORD **)(v2 + 552);
v11[660] = v24[82] == 2;
if ( (int)v24[77] >= 2 )
v10 = v24[77];
SimplePlayer::updatePlayerFrame(v11, v10, (unsigned int)v24[81], v21);
SimplePlayer::updateColors(v11);
goto LABEL_24;
}
goto LABEL_25;
}
v25 = *(_BYTE *)(v7 + 240);
if ( (v25 & 1) != 0 )
{
v27 = *(_QWORD *)(v7 + 248);
if ( v27 )
{
sub_10001AD30(&v110, *(const void **)(v7 + 256), v27);
goto LABEL_17;
}
}
else if ( v25 )
{
v26 = (__int128 *)(v7 + 240);
__p = *((void **)v26 + 2);
v110 = *v26;
goto LABEL_17;
}
LOBYTE(v110) = 4;
*(_WORD *)((char *)&v110 + 1) = 24942;
BYTE3(v110) = 0;
LABEL_17:
v11 = (_BYTE *)EmoteSprite::createWithName(&v110);
if ( (v110 & 1) != 0 )
operator delete(__p);
if ( v11 )
goto LABEL_23;
LOBYTE(v110) = 4;
*(_WORD *)((char *)&v110 + 1) = 24942;
BYTE3(v110) = 0;
v11 = (_BYTE *)EmoteSprite::createWithName(&v110);
if ( (v110 & 1) != 0 )
operator delete(__p);
if ( v11 )
{
LABEL_23:
v28 = sub_100904030();
EmoteSprite::fitToHeight(v11, (float)(v28 * 13.5) * 1.2, 0.0);
LABEL_24:
sub_100278250(&v110, 22.0, v112);
(*(void (__fastcall **)(_BYTE *, __int128 *))(*(_QWORD *)v11 + 184LL))(v11, &v110);
(*(void (__fastcall **)(_QWORD, _BYTE *, __int64))(**(_QWORD **)(v2 + 536) + 464LL))(*(_QWORD *)(v2 + 536), v11, 1);
}
LABEL_25:
v29 = *(_QWORD *)(v2 + 552);
if ( *(_BYTE *)(v29 + 264) == 1 )
{
if ( (*(_BYTE *)(v29 + 64) & 1) != 0 )
v30 = *(_QWORD *)(v29 + 80);
else
v30 = v29 + 65;
v31 = "goldFont.fnt";
}
else
{
v31 = "bigFont.fnt";
if ( (*(_BYTE *)(v29 + 88) & 1) != 0 )
v30 = *(_QWORD *)(v29 + 104);
else
v30 = v29 + 89;
}
v32 = cocos2d::CCLabelBMFont::create_3(v30, v31);
if ( *(_BYTE *)(*(_QWORD *)(v2 + 552) + 264LL) )
v33 = 124.0;
else
v33 = 94.0;
cocos2d::CCLabelBMFont::limitLabelWidth(v32, v33, 0.5, COERCE_DOUBLE(1045220557));
sub_100278250(&v104, 38.0, v112);
v113 = *(float *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v32 + 328LL))(v32);
v34 = (*(float (__fastcall **)(__int64))(*(_QWORD *)v32 + 168LL))(v32);
v113 = v34 * v113;
v35 = *(_QWORD *)(v2 + 552);
v36 = *(_BYTE *)(v35 + 264) == 1;
v106 = v2;
if ( v36 && *(int *)(v35 + 60) > 0 )
{
v37 = CCMenuItemSpriteExtra::create(v32, 0, v2, GJThreadCell::onViewProfile, 0);
sub_100240E20(v37);
v38 = v109;
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v109 + 456LL))(v109, v37);
v39 = *(_QWORD *)(v2 + 536);
sub_100278250(v99, 0.5 * v113, 0.0);
sub_100278350(v103, &v104, v99);
v2 = v106;
cocos2d::CCNode::convertToWorldSpace(v102, v39, v103);
cocos2d::CCNode::convertToNodeSpace(&v110, v38, v102);
(*(void (__fastcall **)(__int64, __int128 *))(*(_QWORD *)v37 + 184LL))(v37, &v110);
}
else
{
sub_100278250(&v110, 0.0, 0.5);
(*(void (__fastcall **)(__int64, __int128 *))(*(_QWORD *)v32 + 296LL))(v32, &v110);
(*(void (__fastcall **)(__int64, float *))(*(_QWORD *)v32 + 184LL))(v32, &v104);
(*(void (__fastcall **)(_QWORD, __int64, __int64))(**(_QWORD **)(v2 + 536) + 464LL))(*(_QWORD *)(v2 + 536), v32, 1);
}
v113 = (float)(v113 + v104) + 6.0;
if ( *(_BYTE *)(*(_QWORD *)(v2 + 552) + 264LL) == 1 )
{
v40 = sub_100575950(14.0);
if ( v40 )
{
v41 = v40;
sub_100278250(&v110, v113, v105);
(*(void (__fastcall **)(__int64, __int128 *))(*(_QWORD *)v41 + 184LL))(v41, &v110);
(*(void (__fastcall **)(_QWORD, __int64, __int64))(**(_QWORD **)(v2 + 536) + 464LL))(
*(_QWORD *)(v2 + 536),
v41,
10);
v108 = *(float *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v41 + 328LL))(v41);
v42 = (*(float (__fastcall **)(__int64))(*(_QWORD *)v41 + 168LL))(v41);
v113 = v113 + (float)((float)(v42 * v108) + 6.0);
}
}
v43 = *(_QWORD *)(v2 + 552);
v44 = *(_BYTE *)(v43 + 264);
if ( !v44 )
{
if ( (*(_BYTE *)(v43 + 88) & 1) != 0 )
{
sub_10001AD30(&v97, *(const void **)(v43 + 104), *(_QWORD *)(v43 + 96));
v43 = *(_QWORD *)(v2 + 552);
v45 = *(_BYTE *)(v43 + 216);
if ( (v45 & 1) != 0 )
{
LABEL_46:
v46 = *(_QWORD *)(v43 + 224);
if ( v46 )
{
sub_10001AD30(&v100, *(const void **)(v43 + 232), v46);
LABEL_52:
v48 = InfoAlertButton::create(&v97, &v100, 0.40000001);
if ( (v100 & 1) != 0 )
operator delete(v101);
if ( (v97 & 1) != 0 )
operator delete(v98);
CCMenuItemSpriteExtra::setSizeMult(v48, 1.5);
v49 = v109;
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v109 + 456LL))(v109, v48);
v50 = *(_QWORD *)(v2 + 536);
sub_100278250(v103, v113 + 7.0, v112);
cocos2d::CCNode::convertToWorldSpace(v102, v50, v103);
v2 = v106;
cocos2d::CCNode::convertToNodeSpace(&v110, v49, v102);
(*(void (__fastcall **)(__int64, __int128 *))(*(_QWORD *)v48 + 184LL))(v48, &v110);
v113 = v113 + 20.0;
v43 = *(_QWORD *)(v2 + 552);
v44 = *(_BYTE *)(v43 + 264);
goto LABEL_57;
}
goto LABEL_51;
}
}
else
{
v98 = *(void **)(v43 + 104);
v97 = *(_OWORD *)(v43 + 88);
v45 = *(_BYTE *)(v43 + 216);
if ( (v45 & 1) != 0 )
goto LABEL_46;
}
if ( v45 )
{
v47 = (__int128 *)(v43 + 216);
v101 = *((void **)v47 + 2);
v100 = *v47;
goto LABEL_52;
}
LABEL_51:
LOBYTE(v100) = 28;
*(_QWORD *)((char *)&v100 + 1) = 0x7263736564206F4ELL;
*(_QWORD *)((char *)&v100 + 7) = 0x6E6F697470697263LL;
HIBYTE(v100) = 0;
goto LABEL_52;
}
LABEL_57:
if ( (v44 & 1) != 0 )
{
v51 = 0;
if ( (*(_BYTE *)(v43 + 265) & 1) == 0 )
goto LABEL_64;
}
else
{
v51 = *(_DWORD *)(v43 + 268) == 8;
if ( !(v51 | *(_BYTE *)(v43 + 265) & 1) )
goto LABEL_64;
}
v52 = "pending";
if ( v51 )
v52 = "removed";
v53 = 5294335;
if ( v51 )
v53 = 5921535;
v54 = cocos2d::CCLabelBMFont::create_3(v52, "chatFont.fnt");
sub_100278250(&v110, 0.0, 0.5);
(*(void (__fastcall **)(__int64, __int128 *))(*(_QWORD *)v54 + 296LL))(v54, &v110);
(*(void (__fastcall **)(__int64, float))(*(_QWORD *)v54 + 160LL))(v54, 0.44999999);
BYTE2(v110) = BYTE2(v53);
LOWORD(v110) = v53;
(*(void (__fastcall **)(__int64, __int128 *))(*(_QWORD *)v54 + 1072LL))(v54, &v110);
sub_100278250(&v110, v113, v105);
(*(void (__fastcall **)(__int64, __int128 *))(*(_QWORD *)v54 + 184LL))(v54, &v110);
(*(void (__fastcall **)(_QWORD, __int64, __int64))(**(_QWORD **)(v2 + 536) + 464LL))(*(_QWORD *)(v2 + 536), v54, 10);
v108 = *(float *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v54 + 328LL))(v54);
v55 = (*(float (__fastcall **)(__int64))(*(_QWORD *)v54 + 168LL))(v54);
v113 = v113 + (float)((float)(v55 * v108) + 6.0);
LABEL_64:
v56 = sub_10088E820("%s ago", v97);
CString = cocos2d::CCString::getCString(v56);
v58 = cocos2d::CCLabelBMFont::create_3(CString, "chatFont.fnt");
sub_100278250(&v110, 0.0, 0.5);
(*(void (__fastcall **)(__int64, __int128 *))(*(_QWORD *)v58 + 296LL))(v58, &v110);
(*(void (__fastcall **)(__int64, float))(*(_QWORD *)v58 + 160LL))(v58, 0.5);
(*(void (__fastcall **)(__int64, void *))(*(_QWORD *)v58 + 1072LL))(v58, &unk_100A064E0);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v58 + 1024LL))(v58, 150);
sub_100278250(&v110, v113, v105);
(*(void (__fastcall **)(__int64, __int128 *))(*(_QWORD *)v58 + 184LL))(v58, &v110);
(*(void (__fastcall **)(_QWORD, __int64, __int64))(**(_QWORD **)(v2 + 536) + 464LL))(*(_QWORD *)(v2 + 536), v58, 1);
if ( SLODWORD(v107) > 0 )
{
v59 = cocos2d::CCSprite::createWithSpriteFrameName("d_ball_01_001.png");
(*(void (__fastcall **)(__int64, void *))(*(_QWORD *)v59 + 960LL))(v59, &unk_100A064E3);
(*(void (__fastcall **)(__int64, float))(*(_QWORD *)v59 + 160LL))(v59, 0.31999999);
sub_100278250(&v110, 33.0, v112 + 12.0);
(*(void (__fastcall **)(__int64, __int128 *))(*(_QWORD *)v59 + 184LL))(v59, &v110);
(*(void (__fastcall **)(_QWORD, __int64, __int64))(**(_QWORD **)(v2 + 536) + 464LL))(*(_QWORD *)(v2 + 536), v59, 10);
v113 = flt_100A06470[*(_DWORD *)(*(_QWORD *)(v2 + 552) + 112LL) >= 10];
v60 = sub_10088E820("%i", v97);
v61 = cocos2d::CCString::getCString(v60);
v62 = cocos2d::CCLabelBMFont::create_3(v61, "chatFont.fnt");
(*(void (__fastcall **)(__int64, void *))(*(_QWORD *)v62 + 1072LL))(v62, &unk_100A064E0);
(*(void (__fastcall **)(__int64, float))(*(_QWORD *)v62 + 160LL))(v62, v113);
v107 = (float)(*(float *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v59 + 328LL))(v59) * 0.5) + 0.0;
v63 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v59 + 328LL))(v59);
sub_100278250(&v110, v107, (float)(*(float *)(v63 + 4) * 0.5) + 2.0);
(*(void (__fastcall **)(__int64, __int128 *))(*(_QWORD *)v62 + 184LL))(v62, &v110);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v59 + 456LL))(v59, v62);
v64 = sub_10088E820("%i", v97);
v65 = cocos2d::CCString::getCString(v64);
v66 = cocos2d::CCLabelBMFont::create_3(v65, "chatFont.fnt");
(*(void (__fastcall **)(__int64, void *))(*(_QWORD *)v66 + 1072LL))(v66, &unk_100A064E0);
(*(void (__fastcall **)(__int64, float))(*(_QWORD *)v66 + 160LL))(v66, v113);
v113 = (float)(*(float *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v59 + 328LL))(v59) * 0.5) + 1.0;
v67 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v59 + 328LL))(v59);
sub_100278250(&v110, v113, (float)((float)(*(float *)(v67 + 4) * 0.5) + 2.0) + -1.0);
v2 = v106;
(*(void (__fastcall **)(__int64, __int128 *))(*(_QWORD *)v66 + 184LL))(v66, &v110);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v66 + 1024LL))(v66, 125);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v59 + 456LL))(v59, v66);
}
v68 = *(_QWORD *)(v2 + 552);
if ( ((*(_BYTE *)(v68 + 264) | v51) & 1) == 0 )
{
v69 = sub_10088E820("%i member%s", v97);
v70 = cocos2d::CCString::getCString(v69);
v71 = cocos2d::CCLabelBMFont::create_3(v70, "goldFont.fnt");
cocos2d::CCLabelBMFont::limitLabelWidth(v71, 70.0, 0.40000001, COERCE_DOUBLE(1045220557));
v113 = *(float *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v71 + 328LL))(v71);
v72 = (*(float (__fastcall **)(__int64))(*(_QWORD *)v71 + 168LL))(v71);
v113 = v72 * v113;
v73 = CCMenuItemSpriteExtra::create(v71, 0, v2, GJThreadCell::onShowMembers, 0);
sub_100240E20(v73);
v74 = v109;
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v109 + 456LL))(v109, v73);
v75 = *(_QWORD *)(v2 + 536);
sub_100278250(v103, (float)(v113 * -0.5) + (float)(*(float *)(v2 + 520) + -62.0), v112);
cocos2d::CCNode::convertToWorldSpace(v102, v75, v103);
v2 = v106;
cocos2d::CCNode::convertToNodeSpace(&v110, v74, v102);
(*(void (__fastcall **)(__int64, __int128 *))(*(_QWORD *)v73 + 184LL))(v73, &v110);
v68 = *(_QWORD *)(v2 + 552);
}
if ( *(_BYTE *)(v68 + 204) == 1 )
{
v76 = cocos2d::CCSprite::createWithSpriteFrameName("GJ_musicOffBtn_001.png");
(*(void (__fastcall **)(__int64, float))(*(_QWORD *)v76 + 160LL))(v76, 0.31999999);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v76 + 912LL))(v76, 140);
sub_100278250(&v110, *(float *)(v2 + 520) + -46.0, v112 + 10.0);
(*(void (__fastcall **)(__int64, __int128 *))(*(_QWORD *)v76 + 184LL))(v76, &v110);
(*(void (__fastcall **)(_QWORD, __int64, __int64))(**(_QWORD **)(v2 + 536) + 464LL))(*(_QWORD *)(v2 + 536), v76, 1);
}
v77 = cocos2d::CCSprite::createWithSpriteFrameName("GJ_checkOn_001.png");
v78 = cocos2d::CCSprite::createWithSpriteFrameName("GJ_checkOff_001.png");
(*(void (__fastcall **)(__int64, float))(*(_QWORD *)v77 + 160LL))(v77, 0.63);
(*(void (__fastcall **)(__int64, float))(*(_QWORD *)v78 + 160LL))(v78, 0.63);
v79 = CCMenuItemToggler::create(v78, v77, v2, (__int64)GJThreadCell::onToggleSelect, 0);
*(_QWORD *)(v2 + 560) = v79;
CCMenuItemToggler::toggle((__int64)v79, *(unsigned __int8 *)(*(_QWORD *)(v2 + 552) + 304LL));
v80 = *(_QWORD *)(v2 + 560);
*(_BYTE *)(v80 + 393) = 1;
CCMenuItemToggler::setSizeMult(v80, 1.3);
v81 = v109;
(*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v109 + 456LL))(v109, *(_QWORD *)(v2 + 560));
v82 = *(_QWORD *)(v2 + 560);
v83 = *(_QWORD *)(v2 + 536);
sub_100278250(v103, *(float *)(v2 + 520) + -22.0, *(float *)(v2 + 524) * 0.5);
cocos2d::CCNode::convertToWorldSpace(v102, v83, v103);
cocos2d::CCNode::convertToNodeSpace(&v110, v81, v102);
(*(void (__fastcall **)(__int64, __int128 *))(*(_QWORD *)v82 + 184LL))(v82, &v110);
v84 = cocos2d::CCLabelBMFont::create_3("...", "bigFont.fnt");
(*(void (__fastcall **)(__int64, float))(*(_QWORD *)v84 + 160LL))(v84, 0.44999999);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v84 + 1024LL))(v84, 120);
v85 = CCMenuItemSpriteExtra::create(v84, 0, v106, GJThreadCell::onThreadOptions, 0);
sub_100278260(v99, COERCE_DOUBLE(1108344832), COERCE_DOUBLE(1107820544));
v86 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v85 + 1072LL))(v85);
v87 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v85 + 328LL))(v85);
sub_100278630(&v110, v87);
(*(void (__fastcall **)(__int64, float *))(*(_QWORD *)v85 + 320LL))(v85, v99);
v88 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v86 + 192LL))(v86);
sub_100278250(v103, (float)(v99[0] - *(float *)&v110) * 0.5, (float)(v99[1] - *((float *)&v110 + 1)) * 0.5);
v89 = v106;
sub_100278350(v102, v88, v103);
(*(void (__fastcall **)(__int64, char *))(*(_QWORD *)v86 + 184LL))(v86, v102);
CCMenuItemSpriteExtra::setSizeMult(v85, 1.0);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v109 + 456LL))(v109, v85);
v90 = *(_QWORD *)(v89 + 536);
sub_100278250(v103, *(float *)(v89 + 520) + -46.0, v112 + 2.0);
cocos2d::CCNode::convertToWorldSpace(v102, v90, v103);
cocos2d::CCNode::convertToNodeSpace(&v110, v109, v102);
(*(void (__fastcall **)(__int64, __int128 *))(*(_QWORD *)v85 + 184LL))(v85, &v110);
LODWORD(v110) = 1015209215;
v91 = cocos2d::CCLayerColor::create(&v110, *(float *)(v89 + 520), *(float *)(v89 + 524));
(*(void (__fastcall **)(__int64, void *))(*(_QWORD *)v91 + 184LL))(v91, &unk_100BE17E0);
(*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v91 + 344LL))(v91, 0);
(*(void (__fastcall **)(_QWORD, __int64, _QWORD))(**(_QWORD **)(v89 + 536) + 464LL))(*(_QWORD *)(v89 + 536), v91, 0);
v113 = *(float *)(v89 + 520) + -44.0;
v92 = cocos2d::CCSprite::createWithSpriteFrameName("whiteSquare60_001.png");
(*(void (__fastcall **)(__int64, float))(*(_QWORD *)v92 + 128LL))(v92, v113 / 60.0);
(*(void (__fastcall **)(__int64, float))(*(_QWORD *)v92 + 144LL))(v92, *(float *)(v89 + 524) / 60.0);
(*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v92 + 344LL))(v92, 0);
v93 = operator new(0x200u);
__bzero(v93, 512);
CCMenuItemSpriteExtra::CCMenuItemSpriteExtra(v93);
*v93 = off_100AEFB88;
v93[40] = off_100AF0000;
v93[63] = 0;
if ( !(unsigned __int8)CCMenuItemSpriteExtra::init(v93, v92, 0, v89, GJThreadCell::onViewThread, 0) )
sub_1009A64E0(v93);
cocos2d::CCObject::autorelease(v93);
v93[63] = v91;
*((_BYTE *)v93 + 408) = 0;
CCMenuItemSpriteExtra::setSizeMult(v93, 1.0);
sub_100278260(
&v110,
COERCE_DOUBLE((unsigned __int64)LODWORD(v113)),
COERCE_DOUBLE((unsigned __int64)*(_DWORD *)(v89 + 524)));
(*(void (__fastcall **)(_QWORD *, __int128 *))(*v93 + 320LL))(v93, &v110);
v94 = v109;
(*(void (__fastcall **)(__int64, _QWORD *))(*(_QWORD *)v109 + 456LL))(v109, v93);
v95 = *(_QWORD *)(v89 + 536);
sub_100278250(v103, v113 * 0.5, 0.5 * *(float *)(v89 + 524));
cocos2d::CCNode::convertToWorldSpace(v102, v95, v103);
cocos2d::CCNode::convertToNodeSpace(&v110, v94, v102);
return (*(__int64 (__fastcall **)(_QWORD *, __int128 *))(*v93 + 184LL))(v93, &v110);
}