// // GJThreadCell::loadFromThread from 0x1401597d0 to 0x14015ab0a (4922 bytes) // // 3 xrefs: // > CustomListView::loadCell @ 0x140146001 // > CustomListView::reloadAll @ 0x140146c19 // > @ 0x140917abc // // 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:27:22 +0000 // // Hidden C++ exception states: #wind=9 __int64 __fastcall GJThreadCell::loadFromThread(__int64 a1, cocos2d::CCObject *a2, __int64 a3, double a4) { cocos2d::CCObject *v4; // rbx int v6; // esi __int64 v7; // rdx cocos2d::CCObject *v8; // rcx __int64 v9; // r12 __int64 v10; // rdx __int64 v11; // r8 float v12; // xmm10_4 __int64 v13; // rax int v14; // r13d struct cocos2d::CCSprite *v15; // rdi __int64 v16; // rbx __int64 v17; // rax __int64 v18; // rax __int64 v19; // rax __int64 v20; // rax __int64 v21; // rdx __int64 v22; // rcx __int64 v23; // r8 __int64 *v24; // rdi void *v25; // rcx __int64 v26; // rax __int64 v27; // rbx __int64 v28; // rax __int64 v29; // r15 __int64 v30; // rcx void (__fastcall **v31)(__int64, __int64); // rbx __int64 v32; // rax __int64 v33; // rcx __int64 v34; // rax __int64 v35; // r8 __int64 v36; // rdx __int64 v37; // rbx __int64 v38; // rax __int64 v39; // rcx char v40; // al const char *v41; // rcx const char *v42; // rdx cocos2d::CCLabelBMFont *v43; // rdi int v44; // edx float v45; // xmm6_4 double v46; // xmm0_8 float v47; // xmm9_4 __int64 v48; // rax cocos2d::CCObject *v49; // rdi __int64 v50; // rax __int64 v51; // rbx __int64 v52; // rax __int64 v53; // rax __int64 v54; // rbx __int64 v55; // rax float v56; // xmm7_4 __int64 v57; // rcx _QWORD *RoleBadge; // rax _QWORD *v59; // rdi __int64 v60; // rbx __int64 v61; // rax float v62; // xmm6_4 __int64 v63; // rdx __int64 v64; // rax int v65; // esi __int64 v66; // rax __int64 v67; // r15 void *v68; // rcx __int64 v69; // rdi __int64 v70; // rbx __int64 v71; // rax __int64 v72; // rax __int64 v73; // rax __int64 v74; // rax bool v75; // si const char *v76; // rcx struct cocos2d::CCLabelBMFont *v77; // rdi __int64 v78; // rbx __int64 v79; // rax __int16 *v80; // rdx __int64 v81; // rbx __int64 v82; // rax float v83; // xmm6_4 const char *v84; // rdx cocos2d::CCString *v85; // rax const char *CString; // rax struct cocos2d::CCLabelBMFont *v87; // rdi __int64 v88; // rbx __int64 v89; // rax __int64 v90; // rdx __int64 v91; // rbx __int64 v92; // rax struct cocos2d::CCSprite *v93; // rdi __int64 v94; // rbx __int64 v95; // rax unsigned int v96; // r13d int v97; // r15d cocos2d::CCString *v98; // rax const char *v99; // rax struct cocos2d::CCLabelBMFont *v100; // rsi __int64 v101; // rbx float v102; // xmm6_4 float *v103; // rax __int64 v104; // rax __int64 v105; // rdx __int64 v106; // rdx int v107; // edx const char *v108; // r8 cocos2d::CCString *v109; // rax const char *v110; // rax cocos2d::CCLabelBMFont *v111; // rbx float v112; // xmm6_4 double v113; // xmm0_8 cocos2d::CCObject *v114; // rsi __int64 v115; // rdi __int64 v116; // rbx __int64 v117; // rax __int64 v118; // rax __int64 v119; // rax struct cocos2d::CCSprite *v120; // rdi __int64 v121; // rdx void (__fastcall *v122)(char *, __int64); // r8 __int64 v123; // rbx __int64 v124; // rax struct cocos2d::CCSprite *v125; // rdi struct cocos2d::CCSprite *v126; // rbx cocos2d::CCMenuItem *v127; // rax __int64 v128; // rcx __int64 v129; // rsi __int64 v130; // rbx __int64 v131; // rdi __int64 v132; // rax __int64 v133; // rax __int64 v134; // rax __int64 *v135; // rbx __int64 v136; // rdx void (__fastcall *v137)(__int64 *, __int64); // r8 __int64 v138; // rsi float *v139; // rax __int64 v140; // rdi __int64 v141; // rbx __int64 v142; // rax __int64 v143; // rax __int64 v144; // rax struct cocos2d::CCLayerColor *v145; // rdi float v146; // xmm7_4 __int64 *v147; // rbx _QWORD *v148; // rsi __int64 v149; // rbx __int64 v150; // rax __int64 v151; // rdi __int64 v152; // rbx __int64 v153; // rax __int64 v154; // rax __int64 v155; // rax bool v157; // [rsp+30h] [rbp-D0h] int v158; // [rsp+34h] [rbp-CCh] BYREF __int16 v159; // [rsp+38h] [rbp-C8h] BYREF char v160; // [rsp+3Ah] [rbp-C6h] __int128 *v161; // [rsp+40h] [rbp-C0h] BYREF __int16 v162; // [rsp+48h] [rbp-B8h] BYREF char v163; // [rsp+4Ah] [rbp-B6h] float v164; // [rsp+50h] [rbp-B0h] BYREF float v165; // [rsp+54h] [rbp-ACh] void *v166; // [rsp+58h] [rbp-A8h] BYREF _BYTE v167[8]; // [rsp+60h] [rbp-A0h] BYREF _BYTE v168[8]; // [rsp+68h] [rbp-98h] BYREF __int64 v169; // [rsp+70h] [rbp-90h] _BYTE v170[32]; // [rsp+78h] [rbp-88h] BYREF void *Block[2]; // [rsp+98h] [rbp-68h] BYREF __int64 v172; // [rsp+A8h] [rbp-58h] unsigned __int64 v173; // [rsp+B0h] [rbp-50h] __int128 v174; // [rsp+B8h] [rbp-48h] BYREF __int128 v175; // [rsp+C8h] [rbp-38h] _BYTE v176[32]; // [rsp+D8h] [rbp-28h] BYREF v4 = a2; v6 = 0; v158 = 0; LOBYTE(a2) = -1; (*(void (__fastcall **)(__int64, cocos2d::CCObject *))(*(_QWORD *)(*(_QWORD *)(a1 + 536) + 408LL) + 40LL))( *(_QWORD *)(a1 + 536) + 408LL, a2); cocos2d::CCObject::retain(v4); v8 = *(cocos2d::CCObject **)(a1 + 560); if ( v8 ) cocos2d::CCObject::release(v8); *(_QWORD *)(a1 + 560) = v4; LOBYTE(v7) = 1; (*(void (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 544) + 576LL))(*(_QWORD *)(a1 + 544), v7); v9 = cocos2d::CCMenu::create(); v169 = v9; (*(void (__fastcall **)(_QWORD, __int64, __int64))(**(_QWORD **)(a1 + 544) + 456LL))(*(_QWORD *)(a1 + 544), v9, 2); v12 = *(float *)(a1 + 532) * 0.5; v13 = *(_QWORD *)(a1 + 560); v14 = *(_DWORD *)(v13 + 128); if ( *(_BYTE *)(v13 + 330) ) { v15 = cocos2d::CCSprite::createWithSpriteFrameName("GJ_starsIcon_001.png"); (*(void (__fastcall **)(struct cocos2d::CCSprite *))(*(_QWORD *)v15 + 160LL))(v15); v16 = *(_QWORD *)v15; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v166, 7.0, *(float *)(a1 + 532) - 7.0); (*(void (__fastcall **)(struct cocos2d::CCSprite *, __int64))(v16 + 184))(v15, v17); (*(void (__fastcall **)(_QWORD, struct cocos2d::CCSprite *, __int64))(**(_QWORD **)(a1 + 544) + 456LL))( *(_QWORD *)(a1 + 544), v15, 2); } v18 = *(_QWORD *)(a1 + 560); if ( *(_BYTE *)(v18 + 320) ) { if ( *(_BYTE *)(v18 + 361) && *(int *)(v18 + 60) > 0 ) { v29 = SimplePlayer::create(1); (*(void (__fastcall **)(__int64))(*(_QWORD *)v29 + 160LL))(v29); v30 = qword_14090BFD0; if ( !qword_14090BFD0 ) { v166 = operator new(0x6E8u); qword_14090BFD0 = GameManager::GameManager(v166); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFD0 + 72LL))(qword_14090BFD0); v30 = qword_14090BFD0; } v31 = *(void (__fastcall ***)(__int64, __int64))(v29 + 320); v32 = GameManager::colorForIdx(v30, &v162, *(unsigned int *)(*(_QWORD *)(a1 + 560) + 368LL)); (*v31)(v29 + 320, v32); v33 = qword_14090BFD0; if ( !qword_14090BFD0 ) { v166 = operator new(0x6E8u); qword_14090BFD0 = GameManager::GameManager(v166); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFD0 + 72LL))(qword_14090BFD0); v33 = qword_14090BFD0; } v34 = GameManager::colorForIdx(v33, &v159, *(unsigned int *)(*(_QWORD *)(a1 + 560) + 372LL)); (**(void (__fastcall ***)(__int64, __int64))(*(_QWORD *)(v29 + 608) + 320LL))(*(_QWORD *)(v29 + 608) + 320LL, v34); SimplePlayer::updateColors(v29); SimplePlayer::tryEnableCustomGlowColor(v29, *(unsigned int *)(*(_QWORD *)(a1 + 560) + 376LL)); *(_BYTE *)(v29 + 660) = *(_DWORD *)(*(_QWORD *)(a1 + 560) + 384LL) == 2; v35 = *(_QWORD *)(a1 + 560); v36 = *(unsigned int *)(v35 + 364); if ( (int)v36 < 1 ) v36 = 1; SimplePlayer::updatePlayerFrame(v29, v36, *(unsigned int *)(v35 + 380)); SimplePlayer::updateColors(v29); v37 = *(_QWORD *)v29; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v166, 22.0, v12); (*(void (__fastcall **)(__int64, __int64))(v37 + 184))(v29, v38); (*(void (__fastcall **)(_QWORD, __int64, __int64))(**(_QWORD **)(a1 + 544) + 456LL))( *(_QWORD *)(a1 + 544), v29, 1); } } else { if ( *(_QWORD *)(v18 + 304) ) { v19 = sub_14003F4F0((__int64)&v174, v18 + 288); v6 = 2; v158 = 2; } else { *(_OWORD *)Block = 0; v172 = 2; v173 = 15; strcpy((char *)Block, "na"); v19 = (__int64)Block; v6 = 1; v158 = 1; } v20 = EmoteSprite::defForName(v19, v10, v11, a4); if ( v20 ) v24 = EmoteSprite::createWithDef(v20); else v24 = nullptr; if ( (v6 & 2) != 0 ) { v6 &= ~2u; v158 = v6; sub_14003D310((__int64)&v174); } if ( (v6 & 1) != 0 ) { v6 &= ~1u; v158 = v6; v21 = v173; if ( v173 > 0xF ) { v25 = Block[0]; if ( v173 + 1 >= 0x1000 ) { v25 = *((void **)Block[0] - 1); if ( (unsigned __int64)((char *)Block[0] - (char *)v25 - 8) > 0x1F ) invoke_watson(nullptr, nullptr, nullptr, 0, 0); } j_j_free(v25); } } if ( v24 || ((*(_OWORD *)Block = 0, v172 = 2, v173 = 15, strcpy((char *)Block, "na"), (v26 = EmoteSprite::defForName((__int64)Block, v21, v23, a4)) != 0) ? (v24 = EmoteSprite::createWithDef(v26)) : (v24 = nullptr), sub_14003D310((__int64)Block), v24) ) { ensureEmotesAreLoaded(v22, v21, v23, a4); EmoteSprite::fitToHeight(v24, (float)(*(float *)&dword_1408FE390 * 13.5) * 1.2, 0.0); v27 = *v24; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v166, 22.0, v12); (*(void (__fastcall **)(__int64 *, __int64))(v27 + 184))(v24, v28); (*(void (__fastcall **)(_QWORD, __int64 *, __int64))(**(_QWORD **)(a1 + 544) + 456LL))( *(_QWORD *)(a1 + 544), v24, 1); } } v39 = *(_QWORD *)(a1 + 560); v40 = *(_BYTE *)(v39 + 320); if ( v40 ) v41 = (const char *)(v39 + 64); else v41 = (const char *)(v39 + 96); if ( *((_QWORD *)v41 + 3) > 0xFu ) v41 = *(const char **)v41; v42 = (const char *)&qword_140704F78; if ( v40 ) v42 = "goldFont.fnt"; v43 = cocos2d::CCLabelBMFont::create(v41, v42); v44 = 120; if ( *(_BYTE *)(*(_QWORD *)(a1 + 560) + 320LL) ) v44 = 150; cocos2d::CCLabelBMFont::limitLabelWidth(v43, (float)v44 - 26.0, 0.5, 0.2); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v164, 38.0, v12); v45 = *(float *)(*(__int64 (__fastcall **)(cocos2d::CCLabelBMFont *))(*(_QWORD *)v43 + 320LL))(v43); v46 = (*(double (__fastcall **)(cocos2d::CCLabelBMFont *))(*(_QWORD *)v43 + 168LL))(v43); v47 = *(float *)&v46 * v45; v48 = *(_QWORD *)(a1 + 560); if ( *(_BYTE *)(v48 + 320) && *(int *)(v48 + 60) > 0 ) { v49 = CCMenuItemSpriteExtra::create((int)v43, 0, a1, (__int64)GJThreadCell::onViewProfile); sub_140159700((__int64)v49, 1.4); (*(void (__fastcall **)(__int64, cocos2d::CCObject *))(*(_QWORD *)v9 + 464LL))(v9, v49); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v168, v47 * 0.5, 0.0); cocos2d::CCPoint::operator+(&v164, &v166, v50); v51 = *(_QWORD *)v49; cocos2d::CCNode::convertToWorldSpace(*(_QWORD *)(a1 + 544), v167, &v166); cocos2d::CCNode::convertToNodeSpace(v9, &v161, v52); (*(void (__fastcall **)(cocos2d::CCObject *, __int64))(v51 + 184))(v49, v53); } else { v54 = *(_QWORD *)v43; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v161, 0.0, 0.5); (*(void (__fastcall **)(cocos2d::CCLabelBMFont *, __int64))(v54 + 288))(v43, v55); (*(void (__fastcall **)(cocos2d::CCLabelBMFont *, float *))(*(_QWORD *)v43 + 184LL))(v43, &v164); (*(void (__fastcall **)(_QWORD, cocos2d::CCLabelBMFont *, __int64))(**(_QWORD **)(a1 + 544) + 456LL))( *(_QWORD *)(a1 + 544), v43, 1); } v56 = (float)(v164 + v47) + 6.0; v57 = *(_QWORD *)(a1 + 560); if ( *(_BYTE *)(v57 + 320) ) { RoleBadge = (_QWORD *)GJMessageThread::createRoleBadge(v57); v59 = RoleBadge; if ( RoleBadge ) { v60 = *RoleBadge; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v161, v56, v165); (*(void (__fastcall **)(_QWORD *, __int64))(v60 + 184))(v59, v61); (*(void (__fastcall **)(_QWORD, _QWORD *, __int64))(**(_QWORD **)(a1 + 544) + 456LL))( *(_QWORD *)(a1 + 544), v59, 10); v62 = *(float *)(*(__int64 (__fastcall **)(_QWORD *))(*v59 + 320LL))(v59); v56 = v56 + (float)((float)((*(float (__fastcall **)(_QWORD *))(*v59 + 168LL))(v59) * v62) + 6.0); } } v63 = *(_QWORD *)(a1 + 560); if ( !*(_BYTE *)(v63 + 320) ) { v161 = &v174; if ( *(_QWORD *)(v63 + 272) ) { v64 = sub_14003F4F0((__int64)v176, v63 + 256); v65 = v6 | 8; } else { v172 = 14; v173 = 15; strcpy((char *)Block, "No description"); HIBYTE(Block[1]) = 0; v64 = (__int64)Block; v65 = v6 | 4; } v158 = v65; v174 = 0; v175 = 0u; v174 = *(_OWORD *)v64; v175 = *(_OWORD *)(v64 + 16); *(_QWORD *)(v64 + 16) = 0; *(_QWORD *)(v64 + 24) = 15; *(_BYTE *)v64 = 0; v66 = sub_14003F4F0((__int64)v170, *(_QWORD *)(a1 + 560) + 96LL); v67 = InfoAlertButton::create(v66, &v174); if ( (v65 & 8) != 0 ) { LOBYTE(v65) = v65 & 0xF7; sub_14003D310((__int64)v176); } if ( (v65 & 4) != 0 && v173 > 0xF ) { v68 = Block[0]; if ( v173 + 1 >= 0x1000 ) { v68 = *((void **)Block[0] - 1); if ( (unsigned __int64)((char *)Block[0] - (char *)v68 - 8) > 0x1F ) invoke_watson(nullptr, nullptr, nullptr, 0, 0); } j_j_free(v68); } *(_DWORD *)(v67 + 372) = 1069547520; (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v9 + 464LL))(v9, v67); v69 = *(_QWORD *)v67; v70 = *(_QWORD *)(a1 + 544); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v161, v56 + 7.0, v12); cocos2d::CCNode::convertToWorldSpace(v70, v167, v71); cocos2d::CCNode::convertToNodeSpace(v9, v168, v72); (*(void (__fastcall **)(__int64, __int64))(v69 + 184))(v67, v73); v56 = v56 + 20.0; } v74 = *(_QWORD *)(a1 + 560); v75 = !*(_BYTE *)(v74 + 320) && *(_DWORD *)(v74 + 324) == 8; v157 = v75; if ( *(_BYTE *)(v74 + 321) || v75 ) { v76 = "pending"; if ( v75 ) v76 = "removed"; v77 = cocos2d::CCLabelBMFont::create(v76, "chatFont.fnt"); v78 = *(_QWORD *)v77; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v161, 0.0, 0.5); (*(void (__fastcall **)(struct cocos2d::CCLabelBMFont *, __int64))(v78 + 288))(v77, v79); (*(void (__fastcall **)(struct cocos2d::CCLabelBMFont *))(*(_QWORD *)v77 + 160LL))(v77); if ( v75 ) { v159 = 23295; v160 = 90; v80 = &v159; } else { v159 = -14081; v162 = -14081; v163 = 80; v80 = &v162; } (**((void (__fastcall ***)(__int64, __int16 *))v77 + 46))((__int64)v77 + 368, v80); v81 = *(_QWORD *)v77; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v161, v56, v165); (*(void (__fastcall **)(struct cocos2d::CCLabelBMFont *, __int64))(v81 + 184))(v77, v82); (*(void (__fastcall **)(_QWORD, struct cocos2d::CCLabelBMFont *, __int64))(**(_QWORD **)(a1 + 544) + 456LL))( *(_QWORD *)(a1 + 544), v77, 10); v83 = *(float *)(*(__int64 (__fastcall **)(struct cocos2d::CCLabelBMFont *))(*(_QWORD *)v77 + 320LL))(v77); v56 = v56 + (float)((float)((*(float (__fastcall **)(struct cocos2d::CCLabelBMFont *))(*(_QWORD *)v77 + 168LL))(v77) * v83) + 6.0); } v84 = (const char *)(*(_QWORD *)(a1 + 560) + 168LL); if ( *(_QWORD *)(*(_QWORD *)(a1 + 560) + 192LL) > 0xFu ) v84 = *(const char **)v84; v85 = cocos2d::CCString::createWithFormat("%s ago", v84); CString = cocos2d::CCString::getCString(v85); v87 = cocos2d::CCLabelBMFont::create(CString, "chatFont.fnt"); v88 = *(_QWORD *)v87; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v161, 0.0, 0.5); (*(void (__fastcall **)(struct cocos2d::CCLabelBMFont *, __int64))(v88 + 288))(v87, v89); (*(void (__fastcall **)(struct cocos2d::CCLabelBMFont *))(*(_QWORD *)v87 + 160LL))(v87); (**((void (__fastcall ***)(__int64, __int16 *))v87 + 46))((__int64)v87 + 368, &word_140702F60); LOBYTE(v90) = -106; (*(void (__fastcall **)(__int64, __int64))(*((_QWORD *)v87 + 46) + 40LL))((__int64)v87 + 368, v90); v91 = *(_QWORD *)v87; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v161, v56, v165); (*(void (__fastcall **)(struct cocos2d::CCLabelBMFont *, __int64))(v91 + 184))(v87, v92); (*(void (__fastcall **)(_QWORD, struct cocos2d::CCLabelBMFont *, __int64))(**(_QWORD **)(a1 + 544) + 456LL))( *(_QWORD *)(a1 + 544), v87, 1); if ( v14 > 0 ) { v93 = cocos2d::CCSprite::createWithSpriteFrameName("d_ball_01_001.png"); (**((void (__fastcall ***)(__int64, void *))v93 + 40))((__int64)v93 + 320, &unk_140702F68); (*(void (__fastcall **)(struct cocos2d::CCSprite *))(*(_QWORD *)v93 + 160LL))(v93); v94 = *(_QWORD *)v93; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v161, 33.0, v12 + 12.0); (*(void (__fastcall **)(struct cocos2d::CCSprite *, __int64))(v94 + 184))(v93, v95); (*(void (__fastcall **)(_QWORD, struct cocos2d::CCSprite *, __int64))(**(_QWORD **)(a1 + 544) + 456LL))( *(_QWORD *)(a1 + 544), v93, 10); v96 = 99; if ( *(int *)(*(_QWORD *)(a1 + 560) + 128LL) < 99 ) v96 = *(_DWORD *)(*(_QWORD *)(a1 + 560) + 128LL); v97 = 0; while ( 1 ) { v98 = cocos2d::CCString::createWithFormat((const char *)&word_1406ED6F8, v96); v99 = cocos2d::CCString::getCString(v98); v100 = cocos2d::CCLabelBMFont::create(v99, "chatFont.fnt"); (**((void (__fastcall ***)(__int64, __int16 *))v100 + 46))((__int64)v100 + 368, &word_140702F60); (*(void (__fastcall **)(struct cocos2d::CCLabelBMFont *))(*(_QWORD *)v100 + 160LL))(v100); v101 = *(_QWORD *)v100; v102 = (float)((float)(*(float *)((*(__int64 (__fastcall **)(struct cocos2d::CCSprite *))(*(_QWORD *)v93 + 320LL))(v93) + 4) * 0.5) + 2.0) - (float)v97; v103 = (float *)(*(__int64 (__fastcall **)(struct cocos2d::CCSprite *))(*(_QWORD *)v93 + 320LL))(v93); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v161, (float)(*v103 * 0.5) + (float)v97, v102); (*(void (__fastcall **)(struct cocos2d::CCLabelBMFont *, __int64))(v101 + 184))(v100, v104); if ( v97 == 1 ) break; (*(void (__fastcall **)(struct cocos2d::CCSprite *, struct cocos2d::CCLabelBMFont *))(*(_QWORD *)v93 + 464LL))( v93, v100); if ( ++v97 >= 2 ) goto LABEL_86; } LOBYTE(v105) = 125; (*(void (__fastcall **)(__int64, __int64))(*((_QWORD *)v100 + 46) + 40LL))((__int64)v100 + 368, v105); (*(void (__fastcall **)(struct cocos2d::CCSprite *, struct cocos2d::CCLabelBMFont *))(*(_QWORD *)v93 + 464LL))( v93, v100); LABEL_86: v75 = v157; v9 = v169; } v106 = *(_QWORD *)(a1 + 560); if ( !*(_BYTE *)(v106 + 320) && !v75 ) { v107 = *(_DWORD *)(v106 + 200); v108 = (const char *)&unk_14070D03C; if ( v107 == 1 ) v108 = &byte_1406ED6E0; v109 = cocos2d::CCString::createWithFormat("%i member%s", v107, v108); v110 = cocos2d::CCString::getCString(v109); v111 = cocos2d::CCLabelBMFont::create(v110, "goldFont.fnt"); cocos2d::CCLabelBMFont::limitLabelWidth(v111, 70.0, 0.40000001, 0.2); v112 = *(float *)(*(__int64 (__fastcall **)(cocos2d::CCLabelBMFont *))(*(_QWORD *)v111 + 320LL))(v111); v113 = (*(double (__fastcall **)(cocos2d::CCLabelBMFont *))(*(_QWORD *)v111 + 168LL))(v111); v114 = CCMenuItemSpriteExtra::create((int)v111, 0, a1, (__int64)GJThreadCell::onShowMembers); sub_140159700((__int64)v114, 1.4); (*(void (__fastcall **)(__int64, cocos2d::CCObject *))(*(_QWORD *)v9 + 464LL))(v9, v114); v115 = *(_QWORD *)v114; v116 = *(_QWORD *)(a1 + 544); cocos2d::CCPoint::CCPoint( (cocos2d::CCPoint *)&v161, (float)(*(float *)(a1 + 528) - 62.0) - (float)((float)(*(float *)&v113 * v112) * 0.5), v12); cocos2d::CCNode::convertToWorldSpace(v116, v167, v117); cocos2d::CCNode::convertToNodeSpace(v9, v168, v118); (*(void (__fastcall **)(cocos2d::CCObject *, __int64))(v115 + 184))(v114, v119); } if ( *(_BYTE *)(*(_QWORD *)(a1 + 560) + 244LL) ) { v120 = cocos2d::CCSprite::createWithSpriteFrameName("GJ_musicOffBtn_001.png"); (*(void (__fastcall **)(struct cocos2d::CCSprite *))(*(_QWORD *)v120 + 160LL))(v120); v121 = *((_QWORD *)v120 + 40); v122 = *(void (__fastcall **)(char *, __int64))(v121 + 40); LOBYTE(v121) = -116; v122((char *)v120 + 320, v121); v123 = *(_QWORD *)v120; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v161, *(float *)(a1 + 528) - 46.0, v12 + 10.0); (*(void (__fastcall **)(struct cocos2d::CCSprite *, __int64))(v123 + 184))(v120, v124); (*(void (__fastcall **)(_QWORD, struct cocos2d::CCSprite *, __int64))(**(_QWORD **)(a1 + 544) + 456LL))( *(_QWORD *)(a1 + 544), v120, 1); } v125 = cocos2d::CCSprite::createWithSpriteFrameName("GJ_checkOn_001.png"); v126 = cocos2d::CCSprite::createWithSpriteFrameName("GJ_checkOff_001.png"); (*(void (__fastcall **)(struct cocos2d::CCSprite *))(*(_QWORD *)v125 + 160LL))(v125); (*(void (__fastcall **)(struct cocos2d::CCSprite *))(*(_QWORD *)v126 + 160LL))(v126); v127 = CCMenuItemToggler::create((int)v126, (int)v125, a1, (__int64)GJThreadCell::onToggleSelect); *(_QWORD *)(a1 + 568) = v127; CCMenuItemToggler::toggle((__int64)v127, *(unsigned __int8 *)(*(_QWORD *)(a1 + 560) + 360LL)); *(_BYTE *)(*(_QWORD *)(a1 + 568) + 393LL) = 1; v128 = *(_QWORD *)(a1 + 568); *(_DWORD *)(*(_QWORD *)(v128 + 376) + 372LL) = 1067869798; *(_DWORD *)(*(_QWORD *)(v128 + 384) + 372LL) = 1067869798; CCMenuItemToggler::toggle(v128, *(unsigned __int8 *)(v128 + 392)); (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v9 + 464LL))(v9, *(_QWORD *)(a1 + 568)); v129 = **(_QWORD **)(a1 + 568); v130 = *(_QWORD *)(a1 + 544); v131 = *(_QWORD *)(a1 + 568); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v161, *(float *)(a1 + 528) - 22.0, *(float *)(a1 + 532) * 0.5); cocos2d::CCNode::convertToWorldSpace(v130, v167, v132); cocos2d::CCNode::convertToNodeSpace(v9, v168, v133); (*(void (__fastcall **)(__int64, __int64))(v129 + 184))(v131, v134); v135 = (__int64 *)cocos2d::CCLabelBMFont::create("...", (const char *)&qword_140704F78); (*(void (__fastcall **)(__int64 *))(*v135 + 160))(v135); v136 = v135[46]; v137 = *(void (__fastcall **)(__int64 *, __int64))(v136 + 40); LOBYTE(v136) = 120; v137(v135 + 46, v136); v161 = (__int128 *)operator new(0x208u); v138 = CCMenuItemSpriteExtra::CCMenuItemSpriteExtra((__int64)v161); if ( !v138 ) goto LABEL_98; if ( !CCMenuItemSpriteExtra::init((__int64 *)v138, v135, 0, a1, (__int64)GJThreadCell::onThreadOptions) ) { (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v138 + 8LL))(v138, 1); LABEL_98: v138 = 0; goto LABEL_99; } cocos2d::CCObject::autorelease((cocos2d::CCObject *)v138); LABEL_99: cocos2d::CCSize::CCSize((cocos2d::CCSize *)&v161, 36.0, 34.0); sub_140159640(v138, v139); *(_DWORD *)(v138 + 372) = 1065353216; (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v9 + 464LL))(v9, v138); v140 = *(_QWORD *)v138; v141 = *(_QWORD *)(a1 + 544); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v161, *(float *)(a1 + 528) - 46.0, v12 + 2.0); cocos2d::CCNode::convertToWorldSpace(v141, v167, v142); cocos2d::CCNode::convertToNodeSpace(v9, v168, v143); (*(void (__fastcall **)(__int64, __int64))(v140 + 184))(v138, v144); v158 = 1015209215; v145 = cocos2d::CCLayerColor::create( (const struct cocos2d::_ccColor4B *)&v158, *(float *)(a1 + 528), *(float *)(a1 + 532)); (*(void (__fastcall **)(struct cocos2d::CCLayerColor *, void *))(*(_QWORD *)v145 + 184LL))(v145, &unk_14090A3E8); (*(void (__fastcall **)(struct cocos2d::CCLayerColor *, _QWORD))(*(_QWORD *)v145 + 336LL))(v145, 0); (*(void (__fastcall **)(_QWORD, struct cocos2d::CCLayerColor *, _QWORD))(**(_QWORD **)(a1 + 544) + 456LL))( *(_QWORD *)(a1 + 544), v145, 0); v146 = *(float *)(a1 + 528) - 44.0; v147 = (__int64 *)cocos2d::CCSprite::createWithSpriteFrameName("whiteSquare60_001.png"); (*(void (__fastcall **)(__int64 *))(*v147 + 120))(v147); (*(void (__fastcall **)(__int64 *))(*v147 + 136))(v147); (*(void (__fastcall **)(__int64 *, _QWORD))(*v147 + 336))(v147, 0); v148 = RowPressItem::create(v147, a1, (__int64)GJThreadCell::onViewThread); v148[65] = v145; *((_BYTE *)v148 + 408) = 0; *((_DWORD *)v148 + 93) = 1065353216; v149 = *v148; cocos2d::CCSize::CCSize((cocos2d::CCSize *)&v161, v146, *(float *)(a1 + 532)); (*(void (__fastcall **)(_QWORD *, __int64))(v149 + 312))(v148, v150); (*(void (__fastcall **)(__int64, _QWORD *))(*(_QWORD *)v9 + 464LL))(v9, v148); v151 = *v148; v152 = *(_QWORD *)(a1 + 544); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v161, v146 * 0.5, *(float *)(a1 + 532) * 0.5); cocos2d::CCNode::convertToWorldSpace(v152, v167, v153); cocos2d::CCNode::convertToNodeSpace(v9, v168, v154); return (*(__int64 (__fastcall **)(_QWORD *, __int64))(v151 + 184))(v148, v155); }
GD Web Decomp Icon

GD Web Decomp

Raw Source