// // LevelListCell::loadFromList from 0x740178 to 0x741648 (5328 bytes) // // 3 xrefs: // > CustomListView::loadCell @ 0x74d294 // > LevelBadgePopup::buildCell @ 0xc66ce8 // > @ 0x448d8 // // 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:44 +0000 // __int64 __fastcall LevelListCell::loadFromList(LevelListCell *this, GJLevelList *a2) { cocos2d::CCObject *v4; // x0 cocos2d::CCSprite *v5; // x0 __int64 v6; // x21 void (__fastcall *v7)(__int64, __int64 *); // x23 float v8; // s8 int v9; // w24 GameStatsManager *v10; // x0 __int64 v11; // x1 char v12; // w0 __int64 v13; // x2 __int64 v14; // x0 __int64 v15; // x1 cocos2d::CCLabelBMFont *v16; // x2 cocos2d::CCLabelBMFont *v17; // x0 cocos2d::CCLabelBMFont *v18; // x21 void (__fastcall *v19)(cocos2d::CCLabelBMFont *, __int64 *); // x22 void (__fastcall *v20)(cocos2d::CCLabelBMFont *, __int64 *); // x22 const char *v21; // x6 const char *v22; // x1 cocos2d::CCString *v23; // x0 cocos2d::CCLabelBMFont *CString; // x0 const char *v25; // x2 __int64 v26; // x22 void (__fastcall *v27)(__int64, __int64 *); // x23 float v28; // s9 const cocos2d::CCSize *v29; // x0 void (__fastcall *v30)(__int64, __int64 *); // x26 __int64 v31; // x25 char *v32; // x0 const char *v33; // x5 __int64 v34; // x22 cocos2d::CCMenu *v35; // x0 cocos2d::CCNode *v36; // x26 __int64 v37; // x0 float v38; // s10 __int64 (__fastcall *v39)(__int64); // x1 void (__fastcall *v40)(cocos2d::CCNode *, __int64 *); // x22 float *v41; // x0 __int64 v42; // x0 __int64 v43; // x2 __int64 v44; // x0 __int64 v45; // x1 char *v46; // x1 cocos2d::CCString *v47; // x0 const char *v48; // x2 cocos2d::CCLabelBMFont *v49; // x22 cocos2d::CCLabelBMFont *v50; // x22 __int64 v51; // x25 float v52; // s8 float v53; // s0 __int64 v54; // x22 void (__fastcall *v55)(__int64, __int64 *); // x23 const char *v56; // x1 __int64 v57; // x22 void (__fastcall *v58)(__int64, __int64 *); // x25 float v59; // s10 float *v60; // x0 const char *v61; // x1 float *v62; // x23 void (__fastcall *v63)(float *, __int64 *); // x2 float v64; // s8 void (__fastcall *v65)(float *, __int64 *); // x25 void (__fastcall *v66)(float *, __int64 *); // x25 __int64 v67; // x0 float v68; // s2 float v69; // s0 float v70; // s2 void (__fastcall *v71)(float *, __int64 *); // x25 cocos2d::CCString *v72; // x0 cocos2d::CCLabelBMFont *v73; // x0 const char *v74; // x2 __int64 v75; // x24 void (__fastcall *v76)(__int64, __int64 *); // x27 __int64 v77; // x25 const char *v78; // x1 float v79; // s10 const char *v80; // x1 __int64 v81; // x27 void (__fastcall *v82)(__int64, __int64 *); // x24 const char *v83; // x1 __int64 v84; // x24 void (__fastcall *v85)(__int64, __int64 *); // x28 __int64 v86; // x25 const char *v87; // x2 cocos2d::CCLabelBMFont *v88; // x0 cocos2d::CCLabelBMFont *v89; // x25 void (__fastcall *v90)(cocos2d::CCLabelBMFont *, __int64 *); // x28 __int64 v91; // x28 unsigned int v92; // w28 cocos2d::CCSpriteFrameCache *v93; // x0 __int64 v94; // x0 float v95; // s13 float v96; // s10 float v97; // s10 __int64 v98; // x0 const char *v99; // x2 cocos2d::CCLabelBMFont *v100; // x0 cocos2d::CCLabelBMFont *v101; // x25 void (__fastcall *v102)(cocos2d::CCLabelBMFont *, __int64 *); // x28 __int64 v103; // x28 __int64 v104; // x28 const char *v105; // x1 __int64 v106; // x22 __int64 v107; // x20 void (__fastcall *v108)(__int64, __int64 *); // x22 __int64 v109; // x24 float v110; // s8 float v111; // s0 GameStatsManager *v113; // x0 void (__fastcall *v114)(__int64, __int64 *); // x22 __int64 v115; // x25 const char *v116; // x1 __int64 v117; // x25 void (__fastcall *v118)(__int64, __int64 *); // x26 __int64 v119; // x22 const char *v120; // x2 cocos2d::CCLabelBMFont *v121; // x0 __int64 v122; // x22 void (__fastcall *v123)(__int64, __int64 *); // x26 void (__fastcall *v124)(__int64, __int64 *); // x26 __int64 v125; // x25 __int64 v126; // x22 __int64 v127; // x0 __int64 (__fastcall *v128)(__int64); // x1 void (__fastcall *v129)(__int64, __int64); // x21 __int64 v130; // x0 __int64 v131; // x1 char v132; // w0 __int64 v133; // x24 void (__fastcall *v134)(__int64, __int64 *); // x28 __int64 v135; // x22 const char *v136; // x1 __int64 v137; // x22 __int64 v138; // x0 __int64 (__fastcall *v139)(__int64); // x1 void (__fastcall *v140)(__int64, __int64 *); // x27 __int64 v141; // x24 void (__fastcall *v142)(__int64, __int64 *); // x24 float v143; // s10 float v144; // s9 float v145; // s9 __int64 v146; // x0 cocos2d::CCString *v147; // x0 cocos2d::CCLabelBMFont *v148; // x0 const char *v149; // x2 cocos2d::CCLabelBMFont *v150; // x24 void (__fastcall *v151)(cocos2d::CCLabelBMFont *, __int64 *); // x25 __int64 v152; // x0 __int64 (__fastcall *v153)(__int64); // x1 void (__fastcall *v154)(cocos2d::CCLabelBMFont *, __int64 *); // x22 __int64 v155; // x25 __int64 v156; // x24 void (__fastcall *v157)(__int64, __int64 *); // x25 float *v158; // x0 const char *v159; // x2 char *v160; // x0 __int64 v161; // x25 void (__fastcall *v162)(__int64, __int64 *); // x27 __int64 v163; // x0 __int64 (__fastcall *v164)(__int64); // x1 void (__fastcall *v165)(__int64, __int64 *); // x24 __int64 v166; // x27 void (__fastcall *v167)(__int64, __int64 *); // x3 void (__fastcall *v168)(cocos2d::CCLabelBMFont *, __int64 *); // [xsp+98h] [xbp+98h] cocos2d::CCSpriteFrameCache *v169; // [xsp+98h] [xbp+98h] void (__fastcall *v170)(__int64, __int64 *); // [xsp+98h] [xbp+98h] void (__fastcall *v171)(cocos2d::CCLabelBMFont *, __int64 *); // [xsp+98h] [xbp+98h] void (__fastcall *v172)(__int64, __int64 *); // [xsp+98h] [xbp+98h] unsigned int v173; // [xsp+A4h] [xbp+A4h] unsigned int v174; // [xsp+A8h] [xbp+A8h] unsigned int hasClaimedListReward; // [xsp+ACh] [xbp+ACh] _BYTE v176[8]; // [xsp+B8h] [xbp+B8h] BYREF __int64 v177; // [xsp+C0h] [xbp+C0h] BYREF float v178; // [xsp+C8h] [xbp+C8h] BYREF __int64 v179; // [xsp+D0h] [xbp+D0h] BYREF __int64 v180[2]; // [xsp+D8h] [xbp+D8h] BYREF unsigned __int8 v181; // [xsp+E8h] [xbp+E8h] char *v182; // [xsp+E9h] [xbp+E9h] BYREF cocos2d::CCSprite *v183; // [xsp+F8h] [xbp+F8h] unsigned __int64 v184[2]; // [xsp+100h] [xbp+100h] BYREF void *v185; // [xsp+110h] [xbp+110h] __int64 v186; // [xsp+118h] [xbp+118h] BYREF __int64 v187; // [xsp+120h] [xbp+120h] cocos2d::CCLabelBMFont *v188; // [xsp+128h] [xbp+128h] __int64 v189; // [xsp+130h] [xbp+130h] BYREF __int64 v190; // [xsp+138h] [xbp+138h] char *v191; // [xsp+140h] [xbp+140h] __int64 v192[2]; // [xsp+148h] [xbp+148h] BYREF void *v193; // [xsp+158h] [xbp+158h] __int64 v194[2]; // [xsp+160h] [xbp+160h] BYREF void *v195; // [xsp+170h] [xbp+170h] (*(void (__fastcall **)(_QWORD, __int64))(**((_QWORD **)this + 67) + 584LL))(*((_QWORD *)this + 67), 1); v4 = *((cocos2d::CCObject **)this + 69); if ( v4 ) cocos2d::CCObject::release(v4); *((_QWORD *)this + 69) = a2; cocos2d::CCObject::retain(a2); GJLevelList::frameForListDifficulty(*(unsigned int *)(*((_QWORD *)this + 69) + 360LL), 0); v5 = (cocos2d::CCSprite *)&v182; if ( (v181 & 1) != 0 ) v5 = v183; v6 = cocos2d::CCSprite::createWithSpriteFrameName(v5, (const char *)v181); v7 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v6 + 184LL); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v180, 26.0, *((float *)this + 131) * 0.5); v7(v6, v180); v8 = 0.0; if ( *((_BYTE *)this + 561) ) v8 = 5.0; (*(void (__fastcall **)(_QWORD, __int64, __int64))(**((_QWORD **)this + 67) + 464LL))(*((_QWORD *)this + 67), v6, 2); v174 = GJLevelList::completedLevels(*((GJLevelList **)this + 69)); v9 = GJLevelList::totalLevels(*((GJLevelList **)this + 69)); if ( *((int *)a2 + 97) <= 0 || (v10 = (GameStatsManager *)*((unsigned int *)a2 + 96), (int)v10 <= 0) ) { v11 = *((_QWORD *)this + 69); hasClaimedListReward = 0; v173 = 0; goto LABEL_10; } v113 = (GameStatsManager *)GameStatsManager::sharedState(v10); hasClaimedListReward = (unsigned __int8)GameStatsManager::hasClaimedListReward(v113, *((GJLevelList **)this + 69)); v114 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v6 + 184LL); v115 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v6 + 192LL))(v6); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v179, 0.0, 5.0); cocos2d::CCPoint::operator+(v180, v115); v114(v6, v180); v117 = cocos2d::CCSprite::createWithSpriteFrameName((cocos2d::CCSprite *)"diamond_small01_001.png", v116); (*(void (__fastcall **)(_QWORD, __int64))(**((_QWORD **)this + 67) + 456LL))(*((_QWORD *)this + 67), v117); v118 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v117 + 184LL); v119 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v6 + 192LL))(v6); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v179, 8.0, -30.0); cocos2d::CCPoint::operator+(v180, v119); v118(v117, v180); GameToolbox::intToString(v184, (GameToolbox *)*(unsigned int *)(*((_QWORD *)this + 69) + 384LL)); v121 = (cocos2d::CCLabelBMFont *)((char *)v184 + 1); if ( (v184[0] & 1) != 0 ) v121 = (cocos2d::CCLabelBMFont *)v185; v122 = cocos2d::CCLabelBMFont::create(v121, "bigFont.fnt", v120); if ( (v184[0] & 1) != 0 ) operator delete(v185); (*(void (__fastcall **)(_QWORD, __int64))(**((_QWORD **)this + 67) + 456LL))(*((_QWORD *)this + 67), v122); v123 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v122 + 296LL); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v180, 1.0, 0.5); v123(v122, v180); v124 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v122 + 184LL); v125 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v117 + 192LL))(v117); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v179, -8.0, 0.0); cocos2d::CCPoint::operator+(v180, v125); v124(v122, v180); (*(void (__fastcall **)(__int64, float))(*(_QWORD *)v122 + 160LL))(v122, 0.4); if ( hasClaimedListReward ) { v167 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v122 + 1072LL); LOWORD(v180[0]) = -156; BYTE2(v180[0]) = -1; v167(v122, v180); v11 = *((_QWORD *)this + 69); v173 = 1; LABEL_10: if ( !*(_BYTE *)(v11 + 397) ) goto LABEL_11; LABEL_58: v126 = cocos2d::CCSprite::createWithSpriteFrameName( (cocos2d::CCSprite *)"GJ_featuredCoin_001.png", (const char *)v11); (*(void (__fastcall **)(_QWORD, __int64, __int64))(**((_QWORD **)this + 67) + 464LL))( *((_QWORD *)this + 67), v126, 1); v127 = v6; v128 = *(__int64 (__fastcall **)(__int64))(*(_QWORD *)v6 + 192LL); v129 = *(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v126 + 184LL); v130 = v128(v127); v129(v126, v130); v131 = *((_QWORD *)this + 69); v186 = 0; v187 = 0; v13 = v131 + 432; v132 = *(_BYTE *)(v131 + 432); v188 = nullptr; if ( (v132 & 1) == 0 ) goto LABEL_12; goto LABEL_59; } v11 = *((_QWORD *)this + 69); v173 = 1; v9 = *(_DWORD *)(v11 + 388); if ( *(_BYTE *)(v11 + 397) ) goto LABEL_58; LABEL_11: v12 = *(_BYTE *)(v11 + 432); v186 = 0; v13 = v11 + 432; v187 = 0; v188 = nullptr; if ( (v12 & 1) == 0 ) { LABEL_12: v14 = *(_QWORD *)v13; v15 = *(_QWORD *)(v13 + 8); v16 = *(cocos2d::CCLabelBMFont **)(v13 + 16); v188 = v16; v186 = v14; v187 = v15; goto LABEL_13; } LABEL_59: std::string::__init(&v186, *(void **)(v13 + 16), *(_QWORD *)(v13 + 8)); LABEL_13: v17 = (cocos2d::CCLabelBMFont *)((char *)&v186 + 1); if ( (v186 & 1) != 0 ) v17 = v188; v18 = (cocos2d::CCLabelBMFont *)cocos2d::CCLabelBMFont::create(v17, "bigFont.fnt", (const char *)v16); if ( (v186 & 1) != 0 ) operator delete(v188); (*(void (__fastcall **)(_QWORD, cocos2d::CCLabelBMFont *))(**((_QWORD **)this + 67) + 456LL))( *((_QWORD *)this + 67), v18); v19 = *(void (__fastcall **)(cocos2d::CCLabelBMFont *, __int64 *))(*(_QWORD *)v18 + 296LL); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v180, 0.0, 0.5); v19(v18, v180); (*(void (__fastcall **)(cocos2d::CCLabelBMFont *, float))(*(_QWORD *)v18 + 160LL))(v18, 1.0); v20 = *(void (__fastcall **)(cocos2d::CCLabelBMFont *, __int64 *))(*(_QWORD *)v18 + 184LL); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v180, v8 + 50.0, (float)(*((float *)this + 131) * 0.5) + 30.0); v20(v18, v180); cocos2d::CCLabelBMFont::limitLabelWidth(v18, 190.0, 0.7, 0.0); v22 = (const char *)*(unsigned int *)(*((_QWORD *)this + 69) + 372LL); if ( (int)v22 > 0 ) { v23 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"Rev. %i", v22); CString = (cocos2d::CCLabelBMFont *)cocos2d::CCString::getCString(v23); v26 = cocos2d::CCLabelBMFont::create(CString, "goldFont.fnt", v25); (*(void (__fastcall **)(_QWORD, __int64))(**((_QWORD **)this + 67) + 456LL))(*((_QWORD *)this + 67), v26); v27 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v26 + 296LL); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v180, 0.0, 0.5); v27(v26, v180); (*(void (__fastcall **)(__int64, float))(*(_QWORD *)v26 + 160LL))(v26, 0.4); v28 = (*(float (__fastcall **)(cocos2d::CCLabelBMFont *))(*(_QWORD *)v18 + 168LL))(v18); v29 = (const cocos2d::CCSize *)(*(__int64 (__fastcall **)(cocos2d::CCLabelBMFont *))(*(_QWORD *)v18 + 328LL))(v18); cocos2d::CCSize::CCSize((cocos2d::CCSize *)&v178, v29); v30 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v26 + 184LL); v31 = (*(__int64 (__fastcall **)(cocos2d::CCLabelBMFont *))(*(_QWORD *)v18 + 192LL))(v18); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v179, (float)(v28 * v178) + 30.0, -1.0); cocos2d::CCPoint::operator+(v180, v31); v30(v26, v180); } if ( *((_BYTE *)this + 560) ) { if ( *((_BYTE *)this + 561) ) { v32 = "Use"; v33 = "GJ_button_01.png"; } else { v32 = "Add"; v33 = "GJ_button_02.png"; } } else { v32 = "View"; v33 = "GJ_button_01.png"; } v34 = ButtonSprite::create((ButtonSprite *)v32, (const char *)&dword_30 + 2, 0, 0, 0.6, "bigFont.fnt", v33, v21, 30.0); v35 = (cocos2d::CCMenu *)CCMenuItemSpriteExtra::create(v34, 0, (__int64)this, (__int64)LevelListCell::onClick, 0); v36 = (cocos2d::CCNode *)cocos2d::CCMenu::create(v35, nullptr); (*(void (__fastcall **)(_QWORD, cocos2d::CCNode *, __int64))(**((_QWORD **)this + 67) + 464LL))( *((_QWORD *)this + 67), v36, 3); v37 = v34; v38 = *((float *)this + 130); v39 = *(__int64 (__fastcall **)(__int64))(*(_QWORD *)v34 + 328LL); v40 = *(void (__fastcall **)(cocos2d::CCNode *, __int64 *))(*(_QWORD *)v36 + 184LL); v41 = (float *)v39(v37); cocos2d::CCPoint::CCPoint( (cocos2d::CCPoint *)v180, (float)(v38 - (float)(*v41 * 0.5)) - 9.0, *((float *)this + 131) * 0.5); v40(v36, v180); v42 = *((_QWORD *)this + 69); v189 = 0; v43 = v42 + 408; v190 = 0; LOBYTE(v42) = *(_BYTE *)(v42 + 408); v191 = nullptr; if ( (v42 & 1) != 0 ) { std::string::__init(&v189, *(void **)(v43 + 16), *(_QWORD *)(v43 + 8)); } else { v44 = *(_QWORD *)v43; v45 = *(_QWORD *)(v43 + 8); v191 = *(char **)(v43 + 16); v189 = v44; v190 = v45; } v46 = (char *)&v189 + 1; if ( (v189 & 1) != 0 ) v46 = v191; v47 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"By %s", v46); v49 = (cocos2d::CCLabelBMFont *)cocos2d::CCString::getCString(v47); if ( (v189 & 1) != 0 ) operator delete(v191); v50 = (cocos2d::CCLabelBMFont *)cocos2d::CCLabelBMFont::create(v49, "goldFont.fnt", v48); cocos2d::CCLabelBMFont::limitLabelWidth(v50, 140.0, 0.7, 0.0); v51 = (*(__int64 (__fastcall **)(cocos2d::CCLabelBMFont *))(*(_QWORD *)v18 + 192LL))(v18); v52 = *(float *)(*(__int64 (__fastcall **)(cocos2d::CCLabelBMFont *))(*(_QWORD *)v50 + 328LL))(v50) * 0.5; v53 = (*(float (__fastcall **)(cocos2d::CCLabelBMFont *))(*(_QWORD *)v50 + 168LL))(v50); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v180, (float)(v52 * v53) + 2.0, -21.0); cocos2d::CCPoint::operator+(&v177, v51); v54 = CCMenuItemSpriteExtra::create((__int64)v50, 0, (__int64)this, (__int64)LevelListCell::onViewProfile, 0); (*(void (__fastcall **)(cocos2d::CCNode *, __int64))(*(_QWORD *)v36 + 456LL))(v36, v54); v55 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v54 + 184LL); cocos2d::CCNode::convertToNodeSpace(v180, v36, (const cocos2d::CCPoint *)&v177); v55(v54, v180); v176[0] = 0; v176[1] = 0; v176[2] = 0; v57 = cocos2d::CCSprite::create((cocos2d::CCSprite *)"GJ_progressBar_001.png", v56); (*(void (__fastcall **)(__int64, _BYTE *))(*(_QWORD *)v57 + 960LL))(v57, v176); (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v57 + 912LL))(v57, 125); (*(void (__fastcall **)(__int64, float))(*(_QWORD *)v57 + 144LL))(v57, 0.64); (*(void (__fastcall **)(__int64, float))(*(_QWORD *)v57 + 128LL))(v57, 0.48); (*(void (__fastcall **)(_QWORD, __int64, __int64))(**((_QWORD **)this + 67) + 464LL))(*((_QWORD *)this + 67), v57, 3); v58 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v57 + 184LL); v59 = *(float *)(*(__int64 (__fastcall **)(cocos2d::CCLabelBMFont *))(*(_QWORD *)v18 + 192LL))(v18); v60 = (float *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v57 + 328LL))(v57); cocos2d::CCPoint::CCPoint( (cocos2d::CCPoint *)v180, v59 + (float)((float)(*v60 * 0.48) * 0.5), (float)(*((float *)this + 131) * 0.5) + -12.0); v58(v57, v180); v62 = (float *)cocos2d::CCSprite::create((cocos2d::CCSprite *)"GJ_progressBar_001.png", v61); (*(void (__fastcall **)(float *, float))(*(_QWORD *)v62 + 128LL))(v62, 0.978); (*(void (__fastcall **)(float *, float))(*(_QWORD *)v62 + 144LL))(v62, 0.76); v63 = *(void (__fastcall **)(float *, __int64 *))(*(_QWORD *)v62 + 960LL); if ( v173 > hasClaimedListReward ) { LOWORD(v180[0]) = 21759; BYTE2(v180[0]) = 50; } else { LOWORD(v180[0]) = -16816; BYTE2(v180[0]) = -1; } v63(v62, v180); v64 = v62[108] - (float)(v62[108] * 0.978); (*(void (__fastcall **)(__int64, float *, __int64))(*(_QWORD *)v57 + 464LL))(v57, v62, 1); v65 = *(void (__fastcall **)(float *, __int64 *))(*(_QWORD *)v62 + 296LL); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v180, 0.0, 0.5); v65(v62, v180); v66 = *(void (__fastcall **)(float *, __int64 *))(*(_QWORD *)v62 + 184LL); v67 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v57 + 328LL))(v57); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v180, v64 * 0.5, *(float *)(v67 + 4) * 0.5); v66(v62, v180); if ( v9 <= 0 ) v68 = 0.0; else v68 = (float)(int)v174 / (float)v9; v69 = v62[108]; v70 = v68 * v69; if ( v69 <= v70 ) v70 = v62[108]; v71 = *(void (__fastcall **)(float *, __int64 *))(*(_QWORD *)v62 + 1136LL); cocos2d::CCRect::CCRect((cocos2d::CCRect *)v180, 0.0, 0.0, v70, v62[109]); v71(v62, v180); v72 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat( (cocos2d::CCString *)"%i/%i", (const char *)v174, (unsigned int)v9); v73 = (cocos2d::CCLabelBMFont *)cocos2d::CCString::getCString(v72); v75 = cocos2d::CCLabelBMFont::create(v73, "bigFont.fnt", v74); (*(void (__fastcall **)(_QWORD, __int64, __int64))(**((_QWORD **)this + 67) + 464LL))(*((_QWORD *)this + 67), v75, 4); v76 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v75 + 184LL); v77 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v57 + 192LL))(v57); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v179, 0.0, 0.5); cocos2d::CCPoint::operator+(v180, v77); v76(v75, v180); (*(void (__fastcall **)(__int64, float))(*(_QWORD *)v75 + 160LL))(v75, 0.4); if ( *(_DWORD *)(*((_QWORD *)this + 69) + 544LL) == 2 ) { v156 = cocos2d::CCSprite::createWithSpriteFrameName((cocos2d::CCSprite *)"GJ_infoIcon_001.png", v78); (*(void (__fastcall **)(_QWORD, __int64))(**((_QWORD **)this + 67) + 456LL))(*((_QWORD *)this + 67), v156); v157 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v156 + 184LL); v158 = (float *)(*(__int64 (__fastcall **)(cocos2d::CCLabelBMFont *))(*(_QWORD *)v18 + 192LL))(v18); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v180, *v158 + 8.0, 14.0); v157(v156, v180); (*(void (__fastcall **)(__int64, float))(*(_QWORD *)v156 + 160LL))(v156, 0.6); if ( *(_BYTE *)(*((_QWORD *)this + 69) + 395LL) ) v160 = "Uploaded"; else v160 = "Unpublished"; v161 = cocos2d::CCLabelBMFont::create((cocos2d::CCLabelBMFont *)v160, "bigFont.fnt", v159); (*(void (__fastcall **)(_QWORD, __int64))(**((_QWORD **)this + 67) + 456LL))(*((_QWORD *)this + 67), v161); v162 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v161 + 296LL); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v180, 0.0, 0.5); v162(v161, v180); v163 = v156; v164 = *(__int64 (__fastcall **)(__int64))(*(_QWORD *)v156 + 192LL); v165 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v161 + 184LL); v166 = v164(v163); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v179, 13.0, 0.0); cocos2d::CCPoint::operator+(v180, v166); v165(v161, v180); (*(void (__fastcall **)(__int64, float))(*(_QWORD *)v161 + 160LL))(v161, 0.4); } else { v79 = *(float *)(*(__int64 (__fastcall **)(cocos2d::CCLabelBMFont *))(*(_QWORD *)v18 + 192LL))(v18) + 9.0; v81 = cocos2d::CCSprite::createWithSpriteFrameName((cocos2d::CCSprite *)"GJ_downloadsIcon_001.png", v80); (*(void (__fastcall **)(_QWORD, __int64))(**((_QWORD **)this + 67) + 456LL))(*((_QWORD *)this + 67), v81); v82 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v81 + 184LL); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v180, v79, 14.0); v82(v81, v180); (*(void (__fastcall **)(__int64, float))(*(_QWORD *)v81 + 160LL))(v81, 0.6); v84 = cocos2d::CCSprite::createWithSpriteFrameName((cocos2d::CCSprite *)"GJ_likesIcon_001.png", v83); (*(void (__fastcall **)(_QWORD, __int64))(**((_QWORD **)this + 67) + 456LL))(*((_QWORD *)this + 67), v84); v85 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v84 + 184LL); v86 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v81 + 192LL))(v81); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v179, 80.0, 0.0); cocos2d::CCPoint::operator+(v180, v86); v85(v84, v180); (*(void (__fastcall **)(__int64, float))(*(_QWORD *)v84 + 160LL))(v84, 0.6); GameToolbox::intToShortString((GameToolbox *)*(unsigned int *)(*((_QWORD *)this + 69) + 352LL), 0, v192); v88 = (cocos2d::CCLabelBMFont *)((char *)v192 + 1); if ( (v192[0] & 1) != 0 ) v88 = (cocos2d::CCLabelBMFont *)v193; v89 = (cocos2d::CCLabelBMFont *)cocos2d::CCLabelBMFont::create(v88, "bigFont.fnt", v87); if ( (v192[0] & 1) != 0 ) operator delete(v193); (*(void (__fastcall **)(_QWORD, cocos2d::CCLabelBMFont *))(**((_QWORD **)this + 67) + 456LL))( *((_QWORD *)this + 67), v89); v90 = *(void (__fastcall **)(cocos2d::CCLabelBMFont *, __int64 *))(*(_QWORD *)v89 + 296LL); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v180, 0.0, 0.5); v90(v89, v180); v168 = *(void (__fastcall **)(cocos2d::CCLabelBMFont *, __int64 *))(*(_QWORD *)v89 + 184LL); v91 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v81 + 192LL))(v81); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v179, 9.0, 0.0); cocos2d::CCPoint::operator+(v180, v91); v168(v89, v180); (*(void (__fastcall **)(cocos2d::CCLabelBMFont *, float))(*(_QWORD *)v89 + 160LL))(v89, 0.4); cocos2d::CCLabelBMFont::limitLabelWidth(v89, 45.0, 0.4, 0.0); v92 = *(_DWORD *)(*((_QWORD *)this + 69) + 356LL); v169 = *(cocos2d::CCSpriteFrameCache **)(*(_QWORD *)v84 + 1160LL); v93 = (cocos2d::CCSpriteFrameCache *)cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(v169); if ( (v92 & 0x80000000) != 0 ) v94 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v93, "GJ_dislikesIcon_001.png"); else v94 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v93, "GJ_likesIcon_001.png"); ((void (__fastcall *)(__int64, __int64))v169)(v84, v94); v170 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v84 + 184LL); v95 = *(float *)(*(__int64 (__fastcall **)(cocos2d::CCLabelBMFont *))(*(_QWORD *)v89 + 192LL))(v89); v96 = *(float *)(*(__int64 (__fastcall **)(cocos2d::CCLabelBMFont *))(*(_QWORD *)v89 + 328LL))(v89); v97 = (float)(v95 + (float)(v96 * (*(float (__fastcall **)(cocos2d::CCLabelBMFont *))(*(_QWORD *)v89 + 168LL))(v89))) + 25.0; v98 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v84 + 192LL))(v84); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v180, v97, *(float *)(v98 + 4)); v170(v84, v180); GameToolbox::intToShortString((GameToolbox *)v92, 0, v194); v100 = (cocos2d::CCLabelBMFont *)((char *)v194 + 1); if ( (v194[0] & 1) != 0 ) v100 = (cocos2d::CCLabelBMFont *)v195; v101 = (cocos2d::CCLabelBMFont *)cocos2d::CCLabelBMFont::create(v100, "bigFont.fnt", v99); if ( (v194[0] & 1) != 0 ) operator delete(v195); (*(void (__fastcall **)(_QWORD, cocos2d::CCLabelBMFont *))(**((_QWORD **)this + 67) + 456LL))( *((_QWORD *)this + 67), v101); v102 = *(void (__fastcall **)(cocos2d::CCLabelBMFont *, __int64 *))(*(_QWORD *)v101 + 296LL); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v180, 0.0, 0.5); v102(v101, v180); v171 = *(void (__fastcall **)(cocos2d::CCLabelBMFont *, __int64 *))(*(_QWORD *)v101 + 184LL); v103 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v84 + 192LL))(v84); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v179, 10.0, 0.0); cocos2d::CCPoint::operator+(v180, v103); v171(v101, v180); (*(void (__fastcall **)(cocos2d::CCLabelBMFont *, float))(*(_QWORD *)v101 + 160LL))(v101, 0.4); cocos2d::CCLabelBMFont::limitLabelWidth(v101, 45.0, 0.4, 0.0); v172 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v84 + 184LL); v104 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v84 + 192LL))(v84); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v179, 0.0, 1.0); cocos2d::CCPoint::operator+(v180, v104); v172(v84, v180); v105 = (const char *)hasClaimedListReward; if ( v173 > hasClaimedListReward ) { v133 = cocos2d::CCSprite::createWithSpriteFrameName( (cocos2d::CCSprite *)"diamond_small01_001.png", (const char *)hasClaimedListReward); (*(void (__fastcall **)(_QWORD, __int64, __int64))(**((_QWORD **)this + 67) + 464LL))( *((_QWORD *)this + 67), v133, 10); v134 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v133 + 184LL); v135 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v57 + 192LL))(v57); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v179, 73.0, 0.0); cocos2d::CCPoint::operator+(v180, v135); v134(v133, v180); LODWORD(v134) = GJLevelList::totalLevels(*((GJLevelList **)this + 69)); v137 = cocos2d::CCSprite::createWithSpriteFrameName((cocos2d::CCSprite *)"GJ_completesIcon_001.png", v136); (*(void (__fastcall **)(_QWORD, __int64))(**((_QWORD **)this + 67) + 456LL))(*((_QWORD *)this + 67), v137); v138 = v81; v139 = *(__int64 (__fastcall **)(__int64))(*(_QWORD *)v81 + 192LL); v140 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v137 + 184LL); v141 = v139(v138); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v179, 80.0, 0.0); cocos2d::CCPoint::operator+(v180, v141); v140(v137, v180); (*(void (__fastcall **)(__int64, float))(*(_QWORD *)v137 + 160LL))(v137, 0.6); v142 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v137 + 184LL); v143 = *(float *)(*(__int64 (__fastcall **)(cocos2d::CCLabelBMFont *))(*(_QWORD *)v101 + 192LL))(v101); v144 = *(float *)(*(__int64 (__fastcall **)(cocos2d::CCLabelBMFont *))(*(_QWORD *)v101 + 328LL))(v101); v145 = (float)(v143 + (float)(v144 * (*(float (__fastcall **)(cocos2d::CCLabelBMFont *))(*(_QWORD *)v101 + 168LL))(v101))) + 25.0; v146 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v137 + 192LL))(v137); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v180, v145, *(float *)(v146 + 4)); v142(v137, v180); v147 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat( (cocos2d::CCString *)"%i/%i", (const char *)v174, (unsigned int)v134); v148 = (cocos2d::CCLabelBMFont *)cocos2d::CCString::getCString(v147); v150 = (cocos2d::CCLabelBMFont *)cocos2d::CCLabelBMFont::create(v148, "bigFont.fnt", v149); (*(void (__fastcall **)(_QWORD, cocos2d::CCLabelBMFont *))(**((_QWORD **)this + 67) + 456LL))( *((_QWORD *)this + 67), v150); v151 = *(void (__fastcall **)(cocos2d::CCLabelBMFont *, __int64 *))(*(_QWORD *)v150 + 296LL); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v180, 0.0, 0.5); v151(v150, v180); v152 = v137; v153 = *(__int64 (__fastcall **)(__int64))(*(_QWORD *)v137 + 192LL); v154 = *(void (__fastcall **)(cocos2d::CCLabelBMFont *, __int64 *))(*(_QWORD *)v150 + 184LL); v155 = v153(v152); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v179, 10.0, 0.0); cocos2d::CCPoint::operator+(v180, v155); v154(v150, v180); (*(void (__fastcall **)(cocos2d::CCLabelBMFont *, float))(*(_QWORD *)v150 + 160LL))(v150, 0.4); cocos2d::CCLabelBMFont::limitLabelWidth(v150, 45.0, 0.4, 0.0); } } v106 = cocos2d::CCSprite::createWithSpriteFrameName((cocos2d::CCSprite *)"GJ_infoIcon_001.png", v105); (*(void (__fastcall **)(__int64, float))(*(_QWORD *)v106 + 160LL))(v106, 0.65); v107 = CCMenuItemSpriteExtra::create(v106, 0, (__int64)this, (__int64)LevelListCell::onListInfo, 0); CCMenuItemSpriteExtra::setSizeMult(v107, 1.2); (*(void (__fastcall **)(cocos2d::CCNode *, __int64))(*(_QWORD *)v36 + 456LL))(v36, v107); v108 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v107 + 184LL); v109 = (*(__int64 (__fastcall **)(cocos2d::CCLabelBMFont *))(*(_QWORD *)v18 + 192LL))(v18); v110 = *(float *)(*(__int64 (__fastcall **)(cocos2d::CCLabelBMFont *))(*(_QWORD *)v18 + 328LL))(v18); v111 = (*(float (__fastcall **)(cocos2d::CCLabelBMFont *))(*(_QWORD *)v18 + 168LL))(v18); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v178, (float)(v110 * v111) + 15.0, -1.0); cocos2d::CCPoint::operator+(&v179, v109); cocos2d::CCNode::convertToNodeSpace(v180, v36, (const cocos2d::CCPoint *)&v179); v108(v107, v180); if ( (v181 & 1) != 0 ) operator delete(v183); return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source