//
// LevelListCell::loadFromList from 0x10022b1a0 to 0x10022c537 (5015 bytes)
//
// 2 xrefs:
// > CustomListView::loadCell @ 0x100227e52
// > sub_10093BDC0 @ 0x10093bf0c
//
// 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:07 +0000
//
void __fastcall LevelListCell::loadFromList(__int64 a1, __int64 a2)
{
__int64 v3; // rdi
char *v4; // rdi
__int64 v5; // r14
char v6; // r12
int v7; // eax
bool v8; // zf
__int64 v9; // rax
__int64 v10; // rsi
bool hasClaimedListReward; // r15
__int64 v12; // r12
__int64 v13; // r12
__int64 v14; // r13
char *v15; // rdi
__int64 v16; // r13
__int64 v17; // r12
char v18; // r13
__int64 v19; // rax
__int128 *v20; // rax
__int64 v21; // r15
__int64 v22; // rax
char *v23; // rdi
__int64 v24; // r14
float v25; // xmm0_4
__int64 v26; // r14
__int64 v27; // rax
__int64 CString; // rax
__int64 v29; // r14
__int64 v30; // r15
__int64 v31; // rsi
__int64 v32; // r12
const char *v33; // rdi
const char *v34; // r9
char *v35; // r14
int v36; // eax
int v37; // edx
int v38; // ecx
int v39; // r8d
int v40; // r9d
__int64 v41; // r15
float *v42; // rax
__int64 v43; // rax
__int128 *v44; // rax
__int64 v45; // rax
__int64 v46; // r14
__int64 v47; // r14
__int64 v48; // r12
float v49; // xmm0_4
__int64 v50; // rax
__int64 v51; // r15
__int64 v52; // r14
__int64 v53; // r14
double v54; // xmm2_8
__int64 v55; // r12
int v56; // r15d
__int64 v57; // rax
__int64 v58; // rax
__int64 v59; // rax
__int64 v60; // r12
__int64 v61; // r15
__int64 v62; // r14
float *v63; // rax
const char *v64; // rdi
__int64 v65; // r12
__int64 v66; // r14
__int64 v67; // r15
__int64 v68; // r12
__int64 v69; // r13
char *v70; // rdi
__int64 v71; // r13
__int64 v72; // r15
int v73; // r15d
__int64 v74; // rax
const char *v75; // rsi
__int64 v76; // rax
__int64 v77; // rax
char *v78; // rdi
__int64 v79; // r13
__int64 v80; // r15
__int64 v81; // r15
__int64 v82; // r12
__int64 v83; // r14
__int64 v84; // r14
__int64 v85; // r15
__int64 v86; // rax
__int64 v87; // rax
__int64 v88; // rax
__int64 v89; // r12
__int64 v90; // r14
__int64 v91; // r14
__int64 v92; // rbx
__int64 v93; // r15
__int64 v94; // r14
float v95; // xmm0_4
char v96[8]; // [rsp+0h] [rbp-B0h] BYREF
char v97; // [rsp+8h] [rbp-A8h] BYREF
char v98; // [rsp+9h] [rbp-A7h] BYREF
void *v99; // [rsp+18h] [rbp-98h]
float v100; // [rsp+24h] [rbp-8Ch]
float v101; // [rsp+28h] [rbp-88h]
__int16 v102; // [rsp+2Ch] [rbp-84h] BYREF
char v103; // [rsp+2Eh] [rbp-82h]
__int64 v104; // [rsp+30h] [rbp-80h]
char v105[8]; // [rsp+3Ch] [rbp-74h] BYREF
float v106; // [rsp+44h] [rbp-6Ch]
__int64 v107; // [rsp+48h] [rbp-68h]
float v108; // [rsp+54h] [rbp-5Ch]
__int64 v109; // [rsp+58h] [rbp-58h]
char v110[8]; // [rsp+64h] [rbp-4Ch] BYREF
float v111; // [rsp+6Ch] [rbp-44h]
__int128 v112; // [rsp+70h] [rbp-40h] BYREF
void *__p; // [rsp+80h] [rbp-30h]
(*(void (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 536) + 584LL))(*(_QWORD *)(a1 + 536), 1);
v3 = *(_QWORD *)(a1 + 552);
if ( v3 )
cocos2d::CCObject::release(v3);
*(_QWORD *)(a1 + 552) = a2;
cocos2d::CCObject::retain(a2);
GJLevelList::frameForListDifficulty(&v97, *(unsigned int *)(*(_QWORD *)(a1 + 552) + 360LL), 0);
if ( (v97 & 1) != 0 )
v4 = (char *)v99;
else
v4 = &v98;
v5 = cocos2d::CCSprite::createWithSpriteFrameName(v4);
sub_100278250(&v112, 26.0, *(float *)(a1 + 524) * 0.5);
(*(void (__fastcall **)(__int64, __int128 *))(*(_QWORD *)v5 + 184LL))(v5, &v112);
v6 = *(_BYTE *)(a1 + 561);
(*(void (__fastcall **)(_QWORD, __int64, __int64))(**(_QWORD **)(a1 + 536) + 464LL))(*(_QWORD *)(a1 + 536), v5, 2);
LOBYTE(v104) = v6;
LODWORD(v108) = GJLevelList::completedLevels(*(_QWORD *)(a1 + 552));
v7 = GJLevelList::totalLevels(*(_QWORD *)(a1 + 552));
v8 = *(_DWORD *)(a2 + 384) > 0 && *(_DWORD *)(a2 + 388) > 0;
LOBYTE(v106) = *(_DWORD *)(a2 + 384) <= 0 || *(_DWORD *)(a2 + 388) <= 0;
LODWORD(v109) = v7;
if ( v8 )
{
v9 = GameStatsManager::sharedState();
v10 = *(_QWORD *)(a1 + 552);
hasClaimedListReward = GameStatsManager::hasClaimedListReward(v9);
v12 = (*(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)v5 + 192LL))(v5, v10);
sub_100278250(v105, 0.0, 5.0);
sub_100278350(&v112, v12, v105);
(*(void (__fastcall **)(__int64, __int128 *))(*(_QWORD *)v5 + 184LL))(v5, &v112);
v13 = cocos2d::CCSprite::createWithSpriteFrameName("diamond_small01_001.png");
(*(void (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 536) + 456LL))(*(_QWORD *)(a1 + 536), v13);
v14 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v5 + 192LL))(v5);
sub_100278250(v105, 8.0, -30.0);
sub_100278350(&v112, v14, v105);
(*(void (__fastcall **)(__int64, __int128 *))(*(_QWORD *)v13 + 184LL))(v13, &v112);
GameToolbox::intToString(&v112, *(unsigned int *)(*(_QWORD *)(a1 + 552) + 384LL));
if ( (v112 & 1) != 0 )
v15 = (char *)__p;
else
v15 = (char *)&v112 + 1;
v16 = cocos2d::CCLabelBMFont::create_3(v15, "bigFont.fnt");
if ( (v112 & 1) != 0 )
operator delete(__p);
(*(void (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 536) + 456LL))(*(_QWORD *)(a1 + 536), v16);
sub_100278250(&v112, 1.0, 0.5);
(*(void (__fastcall **)(__int64, __int128 *))(*(_QWORD *)v16 + 296LL))(v16, &v112);
v17 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v13 + 192LL))(v13);
sub_100278250(v105, -8.0, 0.0);
sub_100278350(&v112, v17, v105);
(*(void (__fastcall **)(__int64, __int128 *))(*(_QWORD *)v16 + 184LL))(v16, &v112);
(*(void (__fastcall **)(__int64, float))(*(_QWORD *)v16 + 160LL))(v16, 0.40000001);
if ( hasClaimedListReward )
{
BYTE2(v112) = -1;
LOWORD(v112) = -156;
(*(void (__fastcall **)(__int64, __int128 *))(*(_QWORD *)v16 + 1072LL))(v16, &v112);
v18 = 1;
v19 = *(_QWORD *)(a1 + 552);
if ( *(_BYTE *)(v19 + 397) != 1 )
goto LABEL_14;
LABEL_18:
v21 = cocos2d::CCSprite::createWithSpriteFrameName("GJ_featuredCoin_001.png");
(*(void (__fastcall **)(_QWORD, __int64, __int64))(**(_QWORD **)(a1 + 536) + 464LL))(
*(_QWORD *)(a1 + 536),
v21,
1);
v22 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v5 + 192LL))(v5);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v21 + 184LL))(v21, v22);
v19 = *(_QWORD *)(a1 + 552);
if ( (*(_BYTE *)(v19 + 432) & 1) == 0 )
goto LABEL_15;
goto LABEL_19;
}
LODWORD(v109) = *(_DWORD *)(*(_QWORD *)(a1 + 552) + 388LL);
}
v18 = 0;
v19 = *(_QWORD *)(a1 + 552);
if ( *(_BYTE *)(v19 + 397) == 1 )
goto LABEL_18;
LABEL_14:
if ( (*(_BYTE *)(v19 + 432) & 1) == 0 )
{
LABEL_15:
v20 = (__int128 *)(v19 + 432);
__p = *((void **)v20 + 2);
v112 = *v20;
goto LABEL_20;
}
LABEL_19:
sub_10001AD30(&v112, *(const void **)(v19 + 448), *(_QWORD *)(v19 + 440));
LABEL_20:
if ( (v112 & 1) != 0 )
v23 = (char *)__p;
else
v23 = (char *)&v112 + 1;
v107 = cocos2d::CCLabelBMFont::create_3(v23, "bigFont.fnt");
if ( (v112 & 1) != 0 )
operator delete(__p);
(*(void (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 536) + 456LL))(*(_QWORD *)(a1 + 536), v107);
sub_100278250(&v112, 0.0, 0.5);
v24 = v107;
(*(void (__fastcall **)(__int64, __int128 *))(*(_QWORD *)v107 + 296LL))(v107, &v112);
(*(void (__fastcall **)(__int64, float))(*(_QWORD *)v24 + 160LL))(v24, 1.0);
if ( (_BYTE)v104 )
v25 = 55.0;
else
v25 = 50.0;
sub_100278250(&v112, v25, (float)(*(float *)(a1 + 524) * 0.5) + 30.0);
v26 = v107;
(*(void (__fastcall **)(__int64, __int128 *))(*(_QWORD *)v107 + 184LL))(v107, &v112);
cocos2d::CCLabelBMFont::limitLabelWidth(v26, 190.0, 0.69999999, 0.0);
if ( *(int *)(*(_QWORD *)(a1 + 552) + 372LL) > 0 )
{
v27 = sub_10088E820("Rev. %i", v96[0]);
CString = cocos2d::CCString::getCString(v27);
v29 = cocos2d::CCLabelBMFont::create_3(CString, "goldFont.fnt");
(*(void (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 536) + 456LL))(*(_QWORD *)(a1 + 536), v29);
sub_100278250(&v112, 0.0, 0.5);
(*(void (__fastcall **)(__int64, __int128 *))(*(_QWORD *)v29 + 296LL))(v29, &v112);
(*(void (__fastcall **)(__int64, float))(*(_QWORD *)v29 + 160LL))(v29, 0.40000001);
v30 = v107;
LODWORD(v104) = (*(float (__fastcall **)(__int64))(*(_QWORD *)v107 + 168LL))(v107);
v31 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v30 + 328LL))(v30);
sub_100278630(&v112, v31);
v32 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v107 + 192LL))(v107);
sub_100278250(v110, (float)(*(float *)&v104 * *(float *)&v112) + 30.0, -1.0);
sub_100278350(v105, v32, v110);
(*(void (__fastcall **)(__int64, char *))(*(_QWORD *)v29 + 184LL))(v29, v105);
}
if ( *(_BYTE *)(a1 + 560) != 1 )
{
v33 = "View";
goto LABEL_34;
}
if ( *(_BYTE *)(a1 + 561) == 1 )
{
v33 = "Use";
LABEL_34:
v34 = "GJ_button_01.png";
goto LABEL_36;
}
v34 = "GJ_button_02.png";
v33 = "Add";
LABEL_36:
v35 = ButtonSprite::create_1((__int64)v33, 0x32u, 0, 0, (__int64)"bigFont.fnt", (__int64)v34, 0.60000002, 30.0);
v36 = CCMenuItemSpriteExtra::create(v35, 0, a1, LevelListCell::onClick, 0);
v41 = sub_1008735E0(v36, 0, v37, v38, v39, v40);
(*(void (__fastcall **)(_QWORD, __int64, __int64))(**(_QWORD **)(a1 + 536) + 464LL))(*(_QWORD *)(a1 + 536), v41, 3);
v104 = v41;
v111 = *(float *)(a1 + 520);
v42 = (float *)(*(__int64 (__fastcall **)(char *))(*(_QWORD *)v35 + 328LL))(v35);
sub_100278250(&v112, (float)(v111 - (float)(*v42 * 0.5)) + -9.0, *(float *)(a1 + 524) * 0.5);
(*(void (__fastcall **)(__int64, __int128 *))(*(_QWORD *)v104 + 184LL))(v104, &v112);
v43 = *(_QWORD *)(a1 + 552);
if ( (*(_BYTE *)(v43 + 408) & 1) != 0 )
{
sub_10001AD30(&v112, *(const void **)(v43 + 424), *(_QWORD *)(v43 + 416));
}
else
{
v44 = (__int128 *)(v43 + 408);
__p = *((void **)v44 + 2);
v112 = *v44;
}
v45 = sub_10088E820("By %s", v96[0]);
v46 = cocos2d::CCString::getCString(v45);
if ( (v112 & 1) != 0 )
operator delete(__p);
v47 = cocos2d::CCLabelBMFont::create_3(v46, "goldFont.fnt");
cocos2d::CCLabelBMFont::limitLabelWidth(v47, 140.0, 0.69999999, 0.0);
v48 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v107 + 192LL))(v107);
v111 = *(float *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v47 + 328LL))(v47);
v49 = (*(float (__fastcall **)(__int64))(*(_QWORD *)v47 + 168LL))(v47);
sub_100278250(&v112, (float)((float)(v111 * 0.5) * v49) + 2.0, -21.0);
sub_100278350(v105, v48, &v112);
v50 = CCMenuItemSpriteExtra::create(v47, 0, a1, LevelListCell::onViewProfile, 0);
v51 = v104;
v52 = v50;
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v104 + 456LL))(v104, v50);
cocos2d::CCNode::convertToNodeSpace(&v112, v51, v105);
(*(void (__fastcall **)(__int64, __int128 *))(*(_QWORD *)v52 + 184LL))(v52, &v112);
v103 = 0;
v102 = 0;
v53 = cocos2d::CCSprite::create_1("GJ_progressBar_001.png");
(*(void (__fastcall **)(__int64, __int16 *))(*(_QWORD *)v53 + 960LL))(v53, &v102);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v53 + 912LL))(v53, 125);
(*(void (__fastcall **)(__int64, float))(*(_QWORD *)v53 + 144LL))(v53, 0.64000005);
(*(void (__fastcall **)(__int64, float))(*(_QWORD *)v53 + 128LL))(v53, 0.48000002);
(*(void (__fastcall **)(_QWORD, __int64, __int64))(**(_QWORD **)(a1 + 536) + 464LL))(*(_QWORD *)(a1 + 536), v53, 3);
v111 = *(float *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v107 + 192LL))(v107);
*(_QWORD *)&v54 = *(unsigned int *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v53 + 328LL))(v53);
sub_100278250(
&v112,
v111 + (float)((float)(*(float *)&v54 * 0.48000002) * 0.5),
(float)(0.5 * *(float *)(a1 + 524)) + -12.0);
(*(void (__fastcall **)(__int64, __int128 *))(*(_QWORD *)v53 + 184LL))(v53, &v112);
v55 = cocos2d::CCSprite::create_1("GJ_progressBar_001.png");
(*(void (__fastcall **)(__int64, float))(*(_QWORD *)v55 + 128LL))(v55, 0.97799999);
(*(void (__fastcall **)(__int64, float))(*(_QWORD *)v55 + 144LL))(v55, 0.75999999);
LOBYTE(v106) |= v18;
if ( LOBYTE(v106) )
{
BYTE2(v112) = -1;
LOWORD(v112) = -16816;
}
else
{
BYTE2(v112) = 50;
LOWORD(v112) = 21759;
}
(*(void (__fastcall **)(__int64, __int128 *))(*(_QWORD *)v55 + 960LL))(v55, &v112);
v56 = v109;
LODWORD(v109) = *(_DWORD *)(v55 + 432);
(*(void (__fastcall **)(__int64, __int64, __int64))(*(_QWORD *)v53 + 464LL))(v53, v55, 1);
sub_100278250(&v112, 0.0, 0.5);
(*(void (__fastcall **)(__int64, __int128 *))(*(_QWORD *)v55 + 296LL))(v55, &v112);
v57 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v53 + 328LL))(v53);
sub_100278250(
&v112,
(float)((float)(-0.97799999 * *(float *)&v109) + *(float *)&v109) * 0.5,
0.5 * *(float *)(v57 + 4));
(*(void (__fastcall **)(__int64, __int128 *))(*(_QWORD *)v55 + 184LL))(v55, &v112);
if ( v56 <= 0 )
v54 = 0.0;
else
*(float *)&v54 = (float)SLODWORD(v108) / (float)v56;
*(float *)&v54 = fminf(*(float *)&v54 * *(float *)(v55 + 432), *(float *)(v55 + 432));
sub_100278270(&v112, 0.0, 0.0, v54, COERCE_DOUBLE((unsigned __int64)*(_DWORD *)(v55 + 436)));
(*(void (__fastcall **)(__int64, __int128 *))(*(_QWORD *)v55 + 1136LL))(v55, &v112);
v58 = sub_10088E820("%i/%i", v96[0]);
v59 = cocos2d::CCString::getCString(v58);
v60 = cocos2d::CCLabelBMFont::create_3(v59, "bigFont.fnt");
(*(void (__fastcall **)(_QWORD, __int64, __int64))(**(_QWORD **)(a1 + 536) + 464LL))(*(_QWORD *)(a1 + 536), v60, 4);
v61 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v53 + 192LL))(v53);
sub_100278250(v110, 0.0, 0.5);
sub_100278350(&v112, v61, v110);
(*(void (__fastcall **)(__int64, __int128 *))(*(_QWORD *)v60 + 184LL))(v60, &v112);
(*(void (__fastcall **)(__int64, float))(*(_QWORD *)v60 + 160LL))(v60, 0.40000001);
if ( *(_DWORD *)(*(_QWORD *)(a1 + 552) + 544LL) == 2 )
{
v62 = cocos2d::CCSprite::createWithSpriteFrameName("GJ_infoIcon_001.png");
(*(void (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 536) + 456LL))(*(_QWORD *)(a1 + 536), v62);
v63 = (float *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v107 + 192LL))(v107);
sub_100278250(&v112, *v63 + 8.0, 14.0);
(*(void (__fastcall **)(__int64, __int128 *))(*(_QWORD *)v62 + 184LL))(v62, &v112);
(*(void (__fastcall **)(__int64, float))(*(_QWORD *)v62 + 160LL))(v62, 0.60000002);
v64 = "Unpublished";
if ( *(_BYTE *)(*(_QWORD *)(a1 + 552) + 395LL) )
v64 = "Uploaded";
v65 = cocos2d::CCLabelBMFont::create_3(v64, "bigFont.fnt");
(*(void (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 536) + 456LL))(*(_QWORD *)(a1 + 536), v65);
sub_100278250(&v112, 0.0, 0.5);
(*(void (__fastcall **)(__int64, __int128 *))(*(_QWORD *)v65 + 296LL))(v65, &v112);
v66 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v62 + 192LL))(v62);
sub_100278250(v110, 13.0, 0.0);
sub_100278350(&v112, v66, v110);
(*(void (__fastcall **)(__int64, __int128 *))(*(_QWORD *)v65 + 184LL))(v65, &v112);
(*(void (__fastcall **)(__int64, float))(*(_QWORD *)v65 + 160LL))(v65, 0.40000001);
}
else
{
v111 = *(float *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v107 + 192LL))(v107);
v109 = cocos2d::CCSprite::createWithSpriteFrameName("GJ_downloadsIcon_001.png");
(*(void (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 536) + 456LL))(*(_QWORD *)(a1 + 536), v109);
sub_100278250(&v112, v111 + 9.0, 14.0);
v67 = v109;
(*(void (__fastcall **)(__int64, __int128 *))(*(_QWORD *)v109 + 184LL))(v109, &v112);
(*(void (__fastcall **)(__int64, float))(*(_QWORD *)v67 + 160LL))(v67, 0.60000002);
v68 = cocos2d::CCSprite::createWithSpriteFrameName("GJ_likesIcon_001.png");
(*(void (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 536) + 456LL))(*(_QWORD *)(a1 + 536), v68);
v69 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v109 + 192LL))(v109);
sub_100278250(v110, 80.0, 0.0);
sub_100278350(&v112, v69, v110);
(*(void (__fastcall **)(__int64, __int128 *))(*(_QWORD *)v68 + 184LL))(v68, &v112);
(*(void (__fastcall **)(__int64, float))(*(_QWORD *)v68 + 160LL))(v68, 0.60000002);
GameToolbox::intToShortString(&v112, *(unsigned int *)(*(_QWORD *)(a1 + 552) + 352LL), 0);
if ( (v112 & 1) != 0 )
v70 = (char *)__p;
else
v70 = (char *)&v112 + 1;
v71 = cocos2d::CCLabelBMFont::create_3(v70, "bigFont.fnt");
if ( (v112 & 1) != 0 )
operator delete(__p);
(*(void (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 536) + 456LL))(*(_QWORD *)(a1 + 536), v71);
sub_100278250(&v112, 0.0, 0.5);
(*(void (__fastcall **)(__int64, __int128 *))(*(_QWORD *)v71 + 296LL))(v71, &v112);
v72 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v109 + 192LL))(v109);
sub_100278250(v110, 9.0, 0.0);
sub_100278350(&v112, v72, v110);
(*(void (__fastcall **)(__int64, __int128 *))(*(_QWORD *)v71 + 184LL))(v71, &v112);
(*(void (__fastcall **)(__int64, float))(*(_QWORD *)v71 + 160LL))(v71, 0.40000001);
cocos2d::CCLabelBMFont::limitLabelWidth(v71, 45.0, 0.40000001, 0.0);
v73 = *(_DWORD *)(*(_QWORD *)(a1 + 552) + 356LL);
v74 = cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache();
if ( v73 < 0 )
v75 = "GJ_dislikesIcon_001.png";
else
v75 = "GJ_likesIcon_001.png";
v76 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v74, v75);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v68 + 1160LL))(v68, v76);
v111 = *(float *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v71 + 192LL))(v71);
v100 = *(float *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v71 + 328LL))(v71);
v101 = (*(float (__fastcall **)(__int64))(*(_QWORD *)v71 + 168LL))(v71);
v77 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v68 + 192LL))(v68);
sub_100278250(&v112, (float)((float)(v100 * v101) + v111) + 25.0, *(float *)(v77 + 4));
(*(void (__fastcall **)(__int64, __int128 *))(*(_QWORD *)v68 + 184LL))(v68, &v112);
GameToolbox::intToShortString(&v112, (unsigned int)v73, 0);
if ( (v112 & 1) != 0 )
v78 = (char *)__p;
else
v78 = (char *)&v112 + 1;
v79 = cocos2d::CCLabelBMFont::create_3(v78, "bigFont.fnt");
if ( (v112 & 1) != 0 )
operator delete(__p);
(*(void (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 536) + 456LL))(*(_QWORD *)(a1 + 536), v79);
sub_100278250(&v112, 0.0, 0.5);
(*(void (__fastcall **)(__int64, __int128 *))(*(_QWORD *)v79 + 296LL))(v79, &v112);
v80 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v68 + 192LL))(v68);
sub_100278250(v110, 10.0, 0.0);
sub_100278350(&v112, v80, v110);
(*(void (__fastcall **)(__int64, __int128 *))(*(_QWORD *)v79 + 184LL))(v79, &v112);
(*(void (__fastcall **)(__int64, float))(*(_QWORD *)v79 + 160LL))(v79, 0.40000001);
cocos2d::CCLabelBMFont::limitLabelWidth(v79, 45.0, 0.40000001, 0.0);
v81 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v68 + 192LL))(v68);
sub_100278250(v110, 0.0, 1.0);
sub_100278350(&v112, v81, v110);
(*(void (__fastcall **)(__int64, __int128 *))(*(_QWORD *)v68 + 184LL))(v68, &v112);
if ( !LOBYTE(v106) )
{
v82 = cocos2d::CCSprite::createWithSpriteFrameName("diamond_small01_001.png");
(*(void (__fastcall **)(_QWORD, __int64, __int64))(**(_QWORD **)(a1 + 536) + 464LL))(
*(_QWORD *)(a1 + 536),
v82,
10);
v83 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v53 + 192LL))(v53);
sub_100278250(v110, 73.0, 0.0);
sub_100278350(&v112, v83, v110);
(*(void (__fastcall **)(__int64, __int128 *))(*(_QWORD *)v82 + 184LL))(v82, &v112);
GJLevelList::totalLevels(*(_QWORD *)(a1 + 552));
v84 = cocos2d::CCSprite::createWithSpriteFrameName("GJ_completesIcon_001.png");
(*(void (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 536) + 456LL))(*(_QWORD *)(a1 + 536), v84);
v85 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v109 + 192LL))(v109);
sub_100278250(v110, 80.0, 0.0);
sub_100278350(&v112, v85, v110);
(*(void (__fastcall **)(__int64, __int128 *))(*(_QWORD *)v84 + 184LL))(v84, &v112);
(*(void (__fastcall **)(__int64, float))(*(_QWORD *)v84 + 160LL))(v84, 0.60000002);
LODWORD(v109) = *(_DWORD *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v79 + 192LL))(v79);
v106 = *(float *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v79 + 328LL))(v79);
v111 = (*(float (__fastcall **)(__int64))(*(_QWORD *)v79 + 168LL))(v79);
v86 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v84 + 192LL))(v84);
sub_100278250(&v112, (float)((float)(v106 * v111) + *(float *)&v109) + 25.0, *(float *)(v86 + 4));
(*(void (__fastcall **)(__int64, __int128 *))(*(_QWORD *)v84 + 184LL))(v84, &v112);
v87 = sub_10088E820("%i/%i", v96[0]);
v88 = cocos2d::CCString::getCString(v87);
v89 = cocos2d::CCLabelBMFont::create_3(v88, "bigFont.fnt");
(*(void (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 536) + 456LL))(*(_QWORD *)(a1 + 536), v89);
sub_100278250(&v112, 0.0, 0.5);
(*(void (__fastcall **)(__int64, __int128 *))(*(_QWORD *)v89 + 296LL))(v89, &v112);
v90 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v84 + 192LL))(v84);
sub_100278250(v110, 10.0, 0.0);
sub_100278350(&v112, v90, v110);
(*(void (__fastcall **)(__int64, __int128 *))(*(_QWORD *)v89 + 184LL))(v89, &v112);
(*(void (__fastcall **)(__int64, float))(*(_QWORD *)v89 + 160LL))(v89, 0.40000001);
cocos2d::CCLabelBMFont::limitLabelWidth(v89, 45.0, 0.40000001, 0.0);
}
}
v91 = cocos2d::CCSprite::createWithSpriteFrameName("GJ_infoIcon_001.png");
(*(void (__fastcall **)(__int64, float))(*(_QWORD *)v91 + 160LL))(v91, 0.64999998);
v92 = CCMenuItemSpriteExtra::create(v91, 0, a1, LevelListCell::onListInfo, 0);
CCMenuItemSpriteExtra::setSizeMult(v92, 1.2);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v104 + 456LL))(v104, v92);
v93 = v107;
v94 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v107 + 192LL))(v107);
v108 = *(float *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v93 + 328LL))(v93);
v95 = (*(float (__fastcall **)(__int64))(*(_QWORD *)v93 + 168LL))(v93);
sub_100278250(v96, (float)(v108 * v95) + 15.0, -1.0);
sub_100278350(v110, v94, v96);
cocos2d::CCNode::convertToNodeSpace(&v112, v104, v110);
(*(void (__fastcall **)(__int64, __int128 *))(*(_QWORD *)v92 + 184LL))(v92, &v112);
if ( (v97 & 1) != 0 )
operator delete(v99);
}