// // LevelListCell::loadFromList from 0x14015e330 to 0x14015f847 (5399 bytes) // // 4 xrefs: // > LevelBadgePopup::buildCell @ 0x1400e6737 // > LevelBadgePopup::buildCell @ 0x1400e674d // > CustomListView::loadCell @ 0x140145c2e // > @ 0x140917c6c // // 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:24 +0000 // // Hidden C++ exception states: #wind=5 void __fastcall LevelListCell::loadFromList(__int64 a1, int *a2) { int *v2; // rdi cocos2d::CCObject *v4; // rcx unsigned int v5; // edx cocos2d::CCString *v6; // rax const char *CString; // rax size_t v8; // r8 void **v9; // rcx struct cocos2d::CCSprite *v10; // rsi __int64 v11; // rbx __int64 v12; // rax float v13; // xmm6_4 __int64 v14; // r12 char hasClaimedListReward; // r13 __int64 v16; // rcx __int64 v17; // rax __int64 v18; // rbx __int64 v19; // rax struct cocos2d::CCSprite *v20; // r15 __int64 v21; // rax __int64 v22; // rbx __int64 v23; // rax const char *v24; // rax struct cocos2d::CCLabelBMFont *v25; // rdi __int64 v26; // rbx __int64 v27; // rax __int64 v28; // rax __int64 v29; // rbx __int64 v30; // rax struct cocos2d::CCSprite *v31; // rdi __int64 v32; // rbx __int64 v33; // rax const char *v34; // rcx cocos2d::CCLabelBMFont *v35; // r15 __int64 v36; // rbx __int64 v37; // rax __int64 v38; // rbx __int64 v39; // rax int v40; // edx cocos2d::CCString *v41; // rax const char *v42; // rax struct cocos2d::CCLabelBMFont *v43; // rdi __int64 v44; // rbx __int64 v45; // rax double v46; // xmm0_8 float v47; // xmm6_4 const struct cocos2d::CCSize *v48; // rax __int64 v49; // rax __int64 v50; // rbx __int64 v51; // rax char v52; // cl const char *v53; // rax const char *v54; // rcx cocos2d::CCObject *v55; // rdi cocos2d::CCObject *v56; // rax struct cocos2d::CCMenu *v57; // rsi __int64 v58; // rbx float v59; // xmm6_4 float v60; // xmm0_4 __int64 v61; // rax const char *v62; // rdx cocos2d::CCString *v63; // rax const char *v64; // rbx cocos2d::CCLabelBMFont *v65; // rdi float v66; // xmm6_4 double v67; // xmm0_8 __int64 v68; // rax __int64 v69; // rbx __int64 v70; // rax cocos2d::CCObject *v71; // rdi __int64 v72; // rbx __int64 v73; // rax struct cocos2d::CCSprite *v74; // rsi __int64 v75; // rdx void (__fastcall *v76)(char *, __int64); // r8 __int64 v77; // rbx float v78; // xmm7_4 float v79; // xmm6_4 float v80; // xmm6_4 __int64 v81; // rax struct cocos2d::CCSprite *v82; // rdi float v83; // xmm6_4 __int64 v84; // rbx __int64 v85; // rax __int64 v86; // rbx __int64 v87; // rax __int64 v88; // rax float v89; // xmm1_4 int v90; // r13d __int64 v91; // rbx __int64 v92; // rax cocos2d::CCString *v93; // rax const char *v94; // rax struct cocos2d::CCLabelBMFont *v95; // rdi __int64 v96; // rax __int64 v97; // rbx __int64 v98; // rax float v99; // xmm6_4 struct cocos2d::CCSprite *v100; // r13 __int64 v101; // rbx __int64 v102; // rax struct cocos2d::CCSprite *v103; // rdi __int64 v104; // rax __int64 v105; // rbx __int64 v106; // rax __int16 *v107; // rax cocos2d::CCLabelBMFont *v108; // rsi __int64 v109; // rbx __int64 v110; // rax __int64 v111; // rax __int64 v112; // rbx __int64 v113; // rax int v114; // r12d void (__fastcall *v115)(struct cocos2d::CCSprite *, struct cocos2d::CCSpriteFrame *); // rbx cocos2d::CCSpriteFrameCache *v116; // rcx const char *v117; // rdx struct cocos2d::CCSpriteFrame *v118; // rax __int64 v119; // rbx float v120; // xmm8_4 float v121; // xmm6_4 double v122; // xmm0_8 float v123; // xmm7_4 __int64 v124; // rax __int16 *v125; // rax cocos2d::CCLabelBMFont *v126; // r12 __int64 v127; // rbx __int64 v128; // rax __int64 v129; // rax __int64 v130; // rbx __int64 v131; // rax __int64 v132; // rax __int64 v133; // rbx __int64 v134; // rax struct cocos2d::CCSprite *v135; // rdi __int64 v136; // rax __int64 v137; // rbx __int64 v138; // rax __int64 v139; // rdi struct cocos2d::CCSprite *v140; // rsi __int64 v141; // rax __int64 v142; // rbx __int64 v143; // rax __int64 v144; // rbx float v145; // xmm8_4 float v146; // xmm6_4 double v147; // xmm0_8 float v148; // xmm7_4 __int64 v149; // rax cocos2d::CCString *v150; // rax const char *v151; // rax cocos2d::CCLabelBMFont *v152; // rdi __int64 v153; // rbx __int64 v154; // rax __int64 v155; // rax __int64 v156; // rbx __int64 v157; // rax struct cocos2d::CCSprite *v158; // rsi __int64 v159; // rbx float *v160; // rax __int64 v161; // rax const char *v162; // rcx struct cocos2d::CCLabelBMFont *v163; // rdi __int64 v164; // rbx __int64 v165; // rax __int64 v166; // rax __int64 v167; // rbx __int64 v168; // rax struct cocos2d::CCSprite *v169; // rax int v170; // ebx cocos2d::CCObject *v171; // rdi struct cocos2d::CCMenu *v172; // rsi float v173; // xmm6_4 double v174; // xmm0_8 __int64 v175; // rax __int64 v176; // rbx __int64 v177; // rax __int64 v178; // rbx __int64 v179; // rax void *v180; // rcx __int16 v181; // [rsp+48h] [rbp-C0h] BYREF char v182; // [rsp+4Ah] [rbp-BEh] char v183; // [rsp+4Ch] [rbp-BCh] _BYTE v184[8]; // [rsp+50h] [rbp-B8h] BYREF __int64 v185; // [rsp+58h] [rbp-B0h] struct cocos2d::CCMenu *v186; // [rsp+60h] [rbp-A8h] BYREF struct cocos2d::CCSprite *v187; // [rsp+68h] [rbp-A0h] BYREF __int16 v188; // [rsp+70h] [rbp-98h] BYREF __int16 v189; // [rsp+78h] [rbp-90h] BYREF char v190; // [rsp+7Ah] [rbp-8Eh] int v191[3]; // [rsp+7Ch] [rbp-8Ch] BYREF _BYTE v192[8]; // [rsp+88h] [rbp-80h] BYREF void *Block[2]; // [rsp+90h] [rbp-78h] BYREF __int64 v194; // [rsp+A0h] [rbp-68h] unsigned __int64 v195; // [rsp+A8h] [rbp-60h] _QWORD v196[4]; // [rsp+B0h] [rbp-58h] BYREF _QWORD v197[4]; // [rsp+D0h] [rbp-38h] BYREF __int16 v198[16]; // [rsp+F0h] [rbp-18h] BYREF v2 = a2; LOBYTE(a2) = 1; (*(void (__fastcall **)(_QWORD, int *))(**(_QWORD **)(a1 + 544) + 576LL))(*(_QWORD *)(a1 + 544), a2); v4 = *(cocos2d::CCObject **)(a1 + 560); if ( v4 ) cocos2d::CCObject::release(v4); *(_QWORD *)(a1 + 560) = v2; cocos2d::CCObject::retain((cocos2d::CCObject *)v2); v5 = *(_DWORD *)(*(_QWORD *)(a1 + 560) + 360LL); if ( v5 ) { if ( v5 <= 0xA ) { if ( v5 == 6 || v5 == 7 ) { ++v5; } else if ( v5 == 8 ) { v5 = 6; } } else { v5 = 0; } v6 = cocos2d::CCString::createWithFormat("difficulty_%02d_btn_001.png", v5); CString = cocos2d::CCString::getCString(v6); *(_OWORD *)Block = 0; v194 = 0; v195 = 0; v8 = -1; do ++v8; while ( CString[v8] ); sub_14003D230(Block, CString, v8); } else { *(_OWORD *)Block = 0; Block[0] = sub_14003D460(0x20u); v194 = 27; v195 = 31; strcpy((char *)Block[0], "difficulty_auto_btn_001.png"); } v9 = Block; if ( v195 > 0xF ) v9 = (void **)Block[0]; v10 = cocos2d::CCSprite::createWithSpriteFrameName((const char *)v9); v11 = *(_QWORD *)v10; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v186, 26.0, *(float *)(a1 + 532) * 0.5); (*(void (__fastcall **)(struct cocos2d::CCSprite *, __int64))(v11 + 184))(v10, v12); if ( *(_BYTE *)(a1 + 569) ) v13 = 5.0; else v13 = 0.0; (*(void (__fastcall **)(_QWORD, struct cocos2d::CCSprite *, __int64))(**(_QWORD **)(a1 + 544) + 456LL))( *(_QWORD *)(a1 + 544), v10, 2); v191[0] = GJLevelList::completedLevels(*(_QWORD *)(a1 + 560)); v14 = (__int64)(*(_QWORD *)(*(_QWORD *)(a1 + 560) + 328LL) - *(_QWORD *)(*(_QWORD *)(a1 + 560) + 320LL)) >> 2; v183 = 0; hasClaimedListReward = 0; LOBYTE(v185) = 0; if ( v2[96] > 0 && v2[97] > 0 ) { v183 = 1; v16 = qword_14090BFE0; if ( !qword_14090BFE0 ) { v186 = (struct cocos2d::CCMenu *)operator new(0x3E8u); qword_14090BFE0 = sub_1402D6480(v186); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFE0 + 72LL))(qword_14090BFE0); v16 = qword_14090BFE0; } hasClaimedListReward = GameStatsManager::hasClaimedListReward(v16, *(_QWORD *)(a1 + 560)); LOBYTE(v185) = hasClaimedListReward; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v186, 0.0, 5.0); v18 = v17; v19 = (*(__int64 (__fastcall **)(struct cocos2d::CCSprite *))(*(_QWORD *)v10 + 200LL))(v10); cocos2d::CCPoint::operator+(v19, &v187, v18); (*(void (__fastcall **)(struct cocos2d::CCSprite *, struct cocos2d::CCSprite **))(*(_QWORD *)v10 + 184LL))( v10, &v187); v20 = cocos2d::CCSprite::createWithSpriteFrameName("diamond_small01_001.png"); (*(void (__fastcall **)(_QWORD, struct cocos2d::CCSprite *))(**(_QWORD **)(a1 + 544) + 464LL))( *(_QWORD *)(a1 + 544), v20); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v186, 8.0, -30.0); v22 = v21; v23 = (*(__int64 (__fastcall **)(struct cocos2d::CCSprite *))(*(_QWORD *)v10 + 200LL))(v10); cocos2d::CCPoint::operator+(v23, &v187, v22); (*(void (__fastcall **)(struct cocos2d::CCSprite *, struct cocos2d::CCSprite **))(*(_QWORD *)v20 + 184LL))( v20, &v187); v24 = (const char *)GameToolbox::intToString(v197, *(_DWORD *)(*(_QWORD *)(a1 + 560) + 384LL)); if ( *((_QWORD *)v24 + 3) > 0xFu ) v24 = *(const char **)v24; v25 = cocos2d::CCLabelBMFont::create(v24, (const char *)&qword_140704F78); sub_14003D310((__int64)v197); (*(void (__fastcall **)(_QWORD, struct cocos2d::CCLabelBMFont *))(**(_QWORD **)(a1 + 544) + 464LL))( *(_QWORD *)(a1 + 544), v25); v26 = *(_QWORD *)v25; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v186, 1.0, 0.5); (*(void (__fastcall **)(struct cocos2d::CCLabelBMFont *, __int64))(v26 + 288))(v25, v27); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v186, -8.0, 0.0); v29 = v28; v30 = (*(__int64 (__fastcall **)(struct cocos2d::CCSprite *))(*(_QWORD *)v20 + 200LL))(v20); cocos2d::CCPoint::operator+(v30, &v187, v29); (*(void (__fastcall **)(struct cocos2d::CCLabelBMFont *, struct cocos2d::CCSprite **))(*(_QWORD *)v25 + 184LL))( v25, &v187); (*(void (__fastcall **)(struct cocos2d::CCLabelBMFont *))(*(_QWORD *)v25 + 160LL))(v25); if ( hasClaimedListReward ) { v181 = -156; v182 = -1; (**((void (__fastcall ***)(__int64, __int16 *))v25 + 46))((__int64)v25 + 368, &v181); } else { LODWORD(v14) = *(_DWORD *)(*(_QWORD *)(a1 + 560) + 388LL); } } if ( *(_BYTE *)(*(_QWORD *)(a1 + 560) + 397LL) ) { v31 = cocos2d::CCSprite::createWithSpriteFrameName("GJ_featuredCoin_001.png"); (*(void (__fastcall **)(_QWORD, struct cocos2d::CCSprite *, __int64))(**(_QWORD **)(a1 + 544) + 456LL))( *(_QWORD *)(a1 + 544), v31, 1); v32 = *(_QWORD *)v31; v33 = (*(__int64 (__fastcall **)(struct cocos2d::CCSprite *))(*(_QWORD *)v10 + 200LL))(v10); (*(void (__fastcall **)(struct cocos2d::CCSprite *, __int64))(v32 + 184))(v31, v33); } sub_14003F4F0((__int64)v197, *(_QWORD *)(a1 + 560) + 440LL); v34 = (const char *)v197; if ( v197[3] > 0xFu ) v34 = (const char *)v197[0]; v35 = cocos2d::CCLabelBMFont::create(v34, (const char *)&qword_140704F78); sub_14003D310((__int64)v197); (*(void (__fastcall **)(_QWORD, cocos2d::CCLabelBMFont *))(**(_QWORD **)(a1 + 544) + 464LL))( *(_QWORD *)(a1 + 544), v35); v36 = *(_QWORD *)v35; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v186, 0.0, 0.5); (*(void (__fastcall **)(cocos2d::CCLabelBMFont *, __int64))(v36 + 288))(v35, v37); (*(void (__fastcall **)(cocos2d::CCLabelBMFont *))(*(_QWORD *)v35 + 160LL))(v35); v38 = *(_QWORD *)v35; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v186, v13 + 50.0, (float)(*(float *)(a1 + 532) * 0.5) + 30.0); (*(void (__fastcall **)(cocos2d::CCLabelBMFont *, __int64))(v38 + 184))(v35, v39); cocos2d::CCLabelBMFont::limitLabelWidth(v35, 190.0, 0.69999999, 0.0); v40 = *(_DWORD *)(*(_QWORD *)(a1 + 560) + 372LL); if ( v40 > 0 ) { v41 = cocos2d::CCString::createWithFormat("Rev. %i", v40); v42 = cocos2d::CCString::getCString(v41); v43 = cocos2d::CCLabelBMFont::create(v42, "goldFont.fnt"); (*(void (__fastcall **)(_QWORD, struct cocos2d::CCLabelBMFont *))(**(_QWORD **)(a1 + 544) + 464LL))( *(_QWORD *)(a1 + 544), v43); v44 = *(_QWORD *)v43; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v186, 0.0, 0.5); (*(void (__fastcall **)(struct cocos2d::CCLabelBMFont *, __int64))(v44 + 288))(v43, v45); (*(void (__fastcall **)(struct cocos2d::CCLabelBMFont *))(*(_QWORD *)v43 + 160LL))(v43); v46 = (*(double (__fastcall **)(cocos2d::CCLabelBMFont *))(*(_QWORD *)v35 + 168LL))(v35); v47 = *(float *)&v46; v48 = (const struct cocos2d::CCSize *)(*(__int64 (__fastcall **)(cocos2d::CCLabelBMFont *))(*(_QWORD *)v35 + 320LL))(v35); cocos2d::CCSize::CCSize((cocos2d::CCSize *)&v187, v48); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v186, (float)(*(float *)&v187 * v47) + 30.0, -1.0); v50 = v49; v51 = (*(__int64 (__fastcall **)(cocos2d::CCLabelBMFont *))(*(_QWORD *)v35 + 200LL))(v35); cocos2d::CCPoint::operator+(v51, v184, v50); (*(void (__fastcall **)(struct cocos2d::CCLabelBMFont *, _BYTE *))(*(_QWORD *)v43 + 184LL))(v43, v184); } v52 = *(_BYTE *)(a1 + 568); if ( !v52 || *(_BYTE *)(a1 + 569) ) { v53 = "GJ_button_01.png"; if ( !v52 ) { v54 = "View"; goto LABEL_43; } } else { v53 = "GJ_button_02.png"; } v54 = "Add"; if ( *(_BYTE *)(a1 + 569) ) v54 = "Use"; LABEL_43: v55 = ButtonSprite::create_1((int)v54, 50, 0, 0.60000002, 0, (__int64)&qword_140704F78, (__int64)v53, 1106247680); v56 = CCMenuItemSpriteExtra::create((int)v55, 0, a1, (__int64)LevelListCell::onClick); v57 = cocos2d::CCMenu::create(v56, 0); v186 = v57; (*(void (__fastcall **)(_QWORD, struct cocos2d::CCMenu *, __int64))(**(_QWORD **)(a1 + 544) + 456LL))( *(_QWORD *)(a1 + 544), v57, 3); v58 = *(_QWORD *)v57; v59 = *(float *)(a1 + 532) * 0.5; v60 = *(float *)(*(__int64 (__fastcall **)(cocos2d::CCObject *))(*(_QWORD *)v55 + 320LL))(v55); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v184, (float)(*(float *)(a1 + 528) - (float)(v60 * 0.5)) - 9.0, v59); (*(void (__fastcall **)(struct cocos2d::CCMenu *, __int64))(v58 + 184))(v57, v61); sub_14003F4F0((__int64)v196, *(_QWORD *)(a1 + 560) + 408LL); v62 = (const char *)v196; if ( v196[3] > 0xFu ) v62 = (const char *)v196[0]; v63 = cocos2d::CCString::createWithFormat("By %s", v62); v64 = cocos2d::CCString::getCString(v63); sub_14003D310((__int64)v196); v65 = cocos2d::CCLabelBMFont::create(v64, "goldFont.fnt"); cocos2d::CCLabelBMFont::limitLabelWidth(v65, 140.0, 0.69999999, 0.0); v66 = *(float *)(*(__int64 (__fastcall **)(cocos2d::CCLabelBMFont *))(*(_QWORD *)v65 + 320LL))(v65) * 0.5; v67 = (*(double (__fastcall **)(cocos2d::CCLabelBMFont *))(*(_QWORD *)v65 + 168LL))(v65); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v184, (float)(*(float *)&v67 * v66) + 2.0, -21.0); v69 = v68; v70 = (*(__int64 (__fastcall **)(cocos2d::CCLabelBMFont *))(*(_QWORD *)v35 + 200LL))(v35); cocos2d::CCPoint::operator+(v70, v192, v69); v71 = CCMenuItemSpriteExtra::create((int)v65, 0, a1, (__int64)LevelListCell::onViewProfile); (*(void (__fastcall **)(struct cocos2d::CCMenu *, cocos2d::CCObject *))(*(_QWORD *)v57 + 464LL))(v57, v71); v72 = *(_QWORD *)v71; cocos2d::CCNode::convertToNodeSpace(v57, v184, v192); (*(void (__fastcall **)(cocos2d::CCObject *, __int64))(v72 + 184))(v71, v73); v189 = 0; v190 = 0; v74 = cocos2d::CCSprite::create("GJ_progressBar_001.png"); v187 = v74; (**((void (__fastcall ***)(__int64, __int16 *))v74 + 40))((__int64)v74 + 320, &v189); v75 = *((_QWORD *)v74 + 40); v76 = *(void (__fastcall **)(char *, __int64))(v75 + 40); LOBYTE(v75) = 125; v76((char *)v74 + 320, v75); (*(void (__fastcall **)(struct cocos2d::CCSprite *))(*(_QWORD *)v74 + 136LL))(v74); (*(void (__fastcall **)(struct cocos2d::CCSprite *))(*(_QWORD *)v74 + 120LL))(v74); (*(void (__fastcall **)(_QWORD, struct cocos2d::CCSprite *, __int64))(**(_QWORD **)(a1 + 544) + 456LL))( *(_QWORD *)(a1 + 544), v74, 3); v77 = *(_QWORD *)v74; v78 = (float)(*(float *)(a1 + 532) * 0.5) - 12.0; v79 = (float)(*(float *)(*(__int64 (__fastcall **)(struct cocos2d::CCSprite *))(*(_QWORD *)v74 + 320LL))(v74) * 0.48000002) * 0.5; v80 = v79 + *(float *)(*(__int64 (__fastcall **)(cocos2d::CCLabelBMFont *))(*(_QWORD *)v35 + 200LL))(v35); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v184, v80, v78); (*(void (__fastcall **)(struct cocos2d::CCSprite *, __int64))(v77 + 184))(v74, v81); v82 = cocos2d::CCSprite::create("GJ_progressBar_001.png"); (*(void (__fastcall **)(struct cocos2d::CCSprite *))(*(_QWORD *)v82 + 120LL))(v82); (*(void (__fastcall **)(struct cocos2d::CCSprite *))(*(_QWORD *)v82 + 136LL))(v82); if ( !v183 || hasClaimedListReward ) { v181 = -16816; v182 = -1; } else { v181 = 21759; v182 = 50; } (**((void (__fastcall ***)(__int64, __int16 *))v82 + 40))((__int64)v82 + 320, &v181); v83 = *((float *)v82 + 108); (*(void (__fastcall **)(struct cocos2d::CCSprite *, struct cocos2d::CCSprite *, __int64))(*(_QWORD *)v74 + 456LL))( v74, v82, 1); v84 = *(_QWORD *)v82; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v184, 0.0, 0.5); (*(void (__fastcall **)(struct cocos2d::CCSprite *, __int64))(v84 + 288))(v82, v85); v86 = *(_QWORD *)v82; v87 = (*(__int64 (__fastcall **)(struct cocos2d::CCSprite *))(*(_QWORD *)v74 + 320LL))(v74); cocos2d::CCPoint::CCPoint( (cocos2d::CCPoint *)v184, (float)(v83 - (float)(v83 * 0.97799999)) * 0.5, *(float *)(v87 + 4) * 0.5); (*(void (__fastcall **)(struct cocos2d::CCSprite *, __int64))(v86 + 184))(v82, v88); v89 = 0.0; v90 = v191[0]; if ( (int)v14 > 0 ) v89 = (float)v191[0] / (float)(int)v14; v91 = *(_QWORD *)v82; cocos2d::CCRect::CCRect( (cocos2d::CCRect *)v196, 0.0, 0.0, fminf(*((float *)v82 + 108), v89 * *((float *)v82 + 108)), *((float *)v82 + 109)); (*(void (__fastcall **)(struct cocos2d::CCSprite *, __int64))(v91 + 992))(v82, v92); v93 = cocos2d::CCString::createWithFormat("%i/%i", v90, v14); v94 = cocos2d::CCString::getCString(v93); v95 = cocos2d::CCLabelBMFont::create(v94, (const char *)&qword_140704F78); (*(void (__fastcall **)(_QWORD, struct cocos2d::CCLabelBMFont *, __int64))(**(_QWORD **)(a1 + 544) + 456LL))( *(_QWORD *)(a1 + 544), v95, 4); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v188, 0.0, 0.5); v97 = v96; v98 = (*(__int64 (__fastcall **)(struct cocos2d::CCSprite *))(*(_QWORD *)v74 + 200LL))(v74); cocos2d::CCPoint::operator+(v98, v184, v97); (*(void (__fastcall **)(struct cocos2d::CCLabelBMFont *, _BYTE *))(*(_QWORD *)v95 + 184LL))(v95, v184); (*(void (__fastcall **)(struct cocos2d::CCLabelBMFont *))(*(_QWORD *)v95 + 160LL))(v95); if ( *(_DWORD *)(*(_QWORD *)(a1 + 560) + 584LL) == 2 ) { v158 = cocos2d::CCSprite::createWithSpriteFrameName("GJ_infoIcon_001.png"); (*(void (__fastcall **)(_QWORD, struct cocos2d::CCSprite *))(**(_QWORD **)(a1 + 544) + 464LL))( *(_QWORD *)(a1 + 544), v158); v159 = *(_QWORD *)v158; v160 = (float *)(*(__int64 (__fastcall **)(cocos2d::CCLabelBMFont *))(*(_QWORD *)v35 + 200LL))(v35); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v196, *v160 + 8.0, 14.0); (*(void (__fastcall **)(struct cocos2d::CCSprite *, __int64))(v159 + 184))(v158, v161); (*(void (__fastcall **)(struct cocos2d::CCSprite *))(*(_QWORD *)v158 + 160LL))(v158); v162 = "Uploaded"; if ( !*(_BYTE *)(*(_QWORD *)(a1 + 560) + 395LL) ) v162 = "Unpublished"; v163 = cocos2d::CCLabelBMFont::create(v162, (const char *)&qword_140704F78); (*(void (__fastcall **)(_QWORD, struct cocos2d::CCLabelBMFont *))(**(_QWORD **)(a1 + 544) + 464LL))( *(_QWORD *)(a1 + 544), v163); v164 = *(_QWORD *)v163; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v188, 0.0, 0.5); (*(void (__fastcall **)(struct cocos2d::CCLabelBMFont *, __int64))(v164 + 288))(v163, v165); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v187, 13.0, 0.0); v167 = v166; v168 = (*(__int64 (__fastcall **)(struct cocos2d::CCSprite *))(*(_QWORD *)v158 + 200LL))(v158); cocos2d::CCPoint::operator+(v168, v184, v167); (*(void (__fastcall **)(struct cocos2d::CCLabelBMFont *, _BYTE *))(*(_QWORD *)v163 + 184LL))(v163, v184); (*(void (__fastcall **)(struct cocos2d::CCLabelBMFont *))(*(_QWORD *)v163 + 160LL))(v163); } else { v99 = *(float *)(*(__int64 (__fastcall **)(cocos2d::CCLabelBMFont *))(*(_QWORD *)v35 + 200LL))(v35) + 9.0; v100 = cocos2d::CCSprite::createWithSpriteFrameName("GJ_downloadsIcon_001.png"); (*(void (__fastcall **)(_QWORD, struct cocos2d::CCSprite *))(**(_QWORD **)(a1 + 544) + 464LL))( *(_QWORD *)(a1 + 544), v100); v101 = *(_QWORD *)v100; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v188, v99, 14.0); (*(void (__fastcall **)(struct cocos2d::CCSprite *, __int64))(v101 + 184))(v100, v102); (*(void (__fastcall **)(struct cocos2d::CCSprite *))(*(_QWORD *)v100 + 160LL))(v100); v103 = cocos2d::CCSprite::createWithSpriteFrameName("GJ_likesIcon_001.png"); (*(void (__fastcall **)(_QWORD, struct cocos2d::CCSprite *))(**(_QWORD **)(a1 + 544) + 464LL))( *(_QWORD *)(a1 + 544), v103); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v188, 80.0, 0.0); v105 = v104; v106 = (*(__int64 (__fastcall **)(struct cocos2d::CCSprite *))(*(_QWORD *)v100 + 200LL))(v100); cocos2d::CCPoint::operator+(v106, v184, v105); (*(void (__fastcall **)(struct cocos2d::CCSprite *, _BYTE *))(*(_QWORD *)v103 + 184LL))(v103, v184); (*(void (__fastcall **)(struct cocos2d::CCSprite *))(*(_QWORD *)v103 + 160LL))(v103); v107 = GameToolbox::intToShortString((__int16 *)v196, *(_DWORD *)(*(_QWORD *)(a1 + 560) + 352LL), 0); if ( *((_QWORD *)v107 + 3) > 0xFu ) v107 = *(__int16 **)v107; v108 = cocos2d::CCLabelBMFont::create((const char *)v107, (const char *)&qword_140704F78); sub_14003D310((__int64)v196); (*(void (__fastcall **)(_QWORD, cocos2d::CCLabelBMFont *))(**(_QWORD **)(a1 + 544) + 464LL))( *(_QWORD *)(a1 + 544), v108); v109 = *(_QWORD *)v108; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v188, 0.0, 0.5); (*(void (__fastcall **)(cocos2d::CCLabelBMFont *, __int64))(v109 + 288))(v108, v110); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v188, 9.0, 0.0); v112 = v111; v113 = (*(__int64 (__fastcall **)(struct cocos2d::CCSprite *))(*(_QWORD *)v100 + 200LL))(v100); cocos2d::CCPoint::operator+(v113, v184, v112); (*(void (__fastcall **)(cocos2d::CCLabelBMFont *, _BYTE *))(*(_QWORD *)v108 + 184LL))(v108, v184); (*(void (__fastcall **)(cocos2d::CCLabelBMFont *))(*(_QWORD *)v108 + 160LL))(v108); cocos2d::CCLabelBMFont::limitLabelWidth(v108, 45.0, 0.40000001, 0.0); v114 = *(_DWORD *)(*(_QWORD *)(a1 + 560) + 356LL); v115 = *(void (__fastcall **)(struct cocos2d::CCSprite *, struct cocos2d::CCSpriteFrame *))(*(_QWORD *)v103 + 1008LL); v116 = (cocos2d::CCSpriteFrameCache *)cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(); v117 = "GJ_likesIcon_001.png"; if ( v114 < 0 ) v117 = "GJ_dislikesIcon_001.png"; v118 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v116, v117); v115(v103, v118); v119 = *(_QWORD *)v103; v120 = *(float *)((*(__int64 (__fastcall **)(struct cocos2d::CCSprite *))(*(_QWORD *)v103 + 200LL))(v103) + 4); v121 = *(float *)(*(__int64 (__fastcall **)(cocos2d::CCLabelBMFont *))(*(_QWORD *)v108 + 320LL))(v108); v122 = (*(double (__fastcall **)(cocos2d::CCLabelBMFont *))(*(_QWORD *)v108 + 168LL))(v108); v123 = (float)((float)(*(float *)&v122 * v121) + *(float *)(*(__int64 (__fastcall **)(cocos2d::CCLabelBMFont *))(*(_QWORD *)v108 + 200LL))(v108)) + 25.0; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v188, v123, v120); (*(void (__fastcall **)(struct cocos2d::CCSprite *, __int64))(v119 + 184))(v103, v124); v125 = GameToolbox::intToShortString(v198, v114, 0); if ( *((_QWORD *)v125 + 3) > 0xFu ) v125 = *(__int16 **)v125; v126 = cocos2d::CCLabelBMFont::create((const char *)v125, (const char *)&qword_140704F78); sub_14003D310((__int64)v198); (*(void (__fastcall **)(_QWORD, cocos2d::CCLabelBMFont *))(**(_QWORD **)(a1 + 544) + 464LL))( *(_QWORD *)(a1 + 544), v126); v127 = *(_QWORD *)v126; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v188, 0.0, 0.5); (*(void (__fastcall **)(cocos2d::CCLabelBMFont *, __int64))(v127 + 288))(v126, v128); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v188, 10.0, 0.0); v130 = v129; v131 = (*(__int64 (__fastcall **)(struct cocos2d::CCSprite *))(*(_QWORD *)v103 + 200LL))(v103); cocos2d::CCPoint::operator+(v131, v184, v130); (*(void (__fastcall **)(cocos2d::CCLabelBMFont *, _BYTE *))(*(_QWORD *)v126 + 184LL))(v126, v184); (*(void (__fastcall **)(cocos2d::CCLabelBMFont *))(*(_QWORD *)v126 + 160LL))(v126); cocos2d::CCLabelBMFont::limitLabelWidth(v126, 45.0, 0.40000001, 0.0); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v196, 0.0, 1.0); v133 = v132; v134 = (*(__int64 (__fastcall **)(struct cocos2d::CCSprite *))(*(_QWORD *)v103 + 200LL))(v103); cocos2d::CCPoint::operator+(v134, v184, v133); (*(void (__fastcall **)(struct cocos2d::CCSprite *, _BYTE *))(*(_QWORD *)v103 + 184LL))(v103, v184); if ( v183 && !(_BYTE)v185 ) { v135 = cocos2d::CCSprite::createWithSpriteFrameName("diamond_small01_001.png"); (*(void (__fastcall **)(_QWORD, struct cocos2d::CCSprite *, __int64))(**(_QWORD **)(a1 + 544) + 456LL))( *(_QWORD *)(a1 + 544), v135, 10); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v196, 73.0, 0.0); v137 = v136; v138 = (*(__int64 (__fastcall **)(struct cocos2d::CCSprite *))(*(_QWORD *)v187 + 200LL))(v187); cocos2d::CCPoint::operator+(v138, v184, v137); (*(void (__fastcall **)(struct cocos2d::CCSprite *, _BYTE *))(*(_QWORD *)v135 + 184LL))(v135, v184); v139 = (__int64)(*(_QWORD *)(*(_QWORD *)(a1 + 560) + 328LL) - *(_QWORD *)(*(_QWORD *)(a1 + 560) + 320LL)) >> 2; v140 = cocos2d::CCSprite::createWithSpriteFrameName("GJ_completesIcon_001.png"); (*(void (__fastcall **)(_QWORD, struct cocos2d::CCSprite *))(**(_QWORD **)(a1 + 544) + 464LL))( *(_QWORD *)(a1 + 544), v140); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v188, 80.0, 0.0); v142 = v141; v143 = (*(__int64 (__fastcall **)(struct cocos2d::CCSprite *))(*(_QWORD *)v100 + 200LL))(v100); cocos2d::CCPoint::operator+(v143, v184, v142); (*(void (__fastcall **)(struct cocos2d::CCSprite *, _BYTE *))(*(_QWORD *)v140 + 184LL))(v140, v184); (*(void (__fastcall **)(struct cocos2d::CCSprite *))(*(_QWORD *)v140 + 160LL))(v140); v144 = *(_QWORD *)v140; v145 = *(float *)((*(__int64 (__fastcall **)(struct cocos2d::CCSprite *))(*(_QWORD *)v140 + 200LL))(v140) + 4); v146 = *(float *)(*(__int64 (__fastcall **)(cocos2d::CCLabelBMFont *))(*(_QWORD *)v126 + 320LL))(v126); v147 = (*(double (__fastcall **)(cocos2d::CCLabelBMFont *))(*(_QWORD *)v126 + 168LL))(v126); v148 = (float)((float)(*(float *)&v147 * v146) + *(float *)(*(__int64 (__fastcall **)(cocos2d::CCLabelBMFont *))(*(_QWORD *)v126 + 200LL))(v126)) + 25.0; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v196, v148, v145); (*(void (__fastcall **)(struct cocos2d::CCSprite *, __int64))(v144 + 184))(v140, v149); v150 = cocos2d::CCString::createWithFormat("%i/%i", v191[0], v139); v151 = cocos2d::CCString::getCString(v150); v152 = cocos2d::CCLabelBMFont::create(v151, (const char *)&qword_140704F78); (*(void (__fastcall **)(_QWORD, cocos2d::CCLabelBMFont *))(**(_QWORD **)(a1 + 544) + 464LL))( *(_QWORD *)(a1 + 544), v152); v153 = *(_QWORD *)v152; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v187, 0.0, 0.5); (*(void (__fastcall **)(cocos2d::CCLabelBMFont *, __int64))(v153 + 288))(v152, v154); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v191, 10.0, 0.0); v156 = v155; v157 = (*(__int64 (__fastcall **)(struct cocos2d::CCSprite *))(*(_QWORD *)v140 + 200LL))(v140); cocos2d::CCPoint::operator+(v157, v184, v156); (*(void (__fastcall **)(cocos2d::CCLabelBMFont *, _BYTE *))(*(_QWORD *)v152 + 184LL))(v152, v184); (*(void (__fastcall **)(cocos2d::CCLabelBMFont *))(*(_QWORD *)v152 + 160LL))(v152); cocos2d::CCLabelBMFont::limitLabelWidth(v152, 45.0, 0.40000001, 0.0); } } v169 = cocos2d::CCSprite::createWithSpriteFrameName("GJ_infoIcon_001.png"); v170 = (int)v169; (*(void (__fastcall **)(struct cocos2d::CCSprite *))(*(_QWORD *)v169 + 160LL))(v169); v171 = CCMenuItemSpriteExtra::create(v170, 0, a1, (__int64)LevelListCell::onListInfo); *((_DWORD *)v171 + 93) = 1067030938; v172 = v186; (*(void (__fastcall **)(struct cocos2d::CCMenu *, cocos2d::CCObject *))(*(_QWORD *)v186 + 464LL))(v186, v171); v173 = *(float *)(*(__int64 (__fastcall **)(cocos2d::CCLabelBMFont *))(*(_QWORD *)v35 + 320LL))(v35); v174 = (*(double (__fastcall **)(cocos2d::CCLabelBMFont *))(*(_QWORD *)v35 + 168LL))(v35); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v196, (float)(*(float *)&v174 * v173) + 15.0, -1.0); v176 = v175; v177 = (*(__int64 (__fastcall **)(cocos2d::CCLabelBMFont *))(*(_QWORD *)v35 + 200LL))(v35); cocos2d::CCPoint::operator+(v177, &v186, v176); v178 = *(_QWORD *)v171; cocos2d::CCNode::convertToNodeSpace(v172, &v188, &v186); (*(void (__fastcall **)(cocos2d::CCObject *, __int64))(v178 + 184))(v171, v179); if ( v195 > 0xF ) { v180 = Block[0]; if ( v195 + 1 >= 0x1000 ) { v180 = *((void **)Block[0] - 1); if ( (unsigned __int64)((char *)Block[0] - (char *)v180 - 8) > 0x1F ) invoke_watson(nullptr, nullptr, nullptr, 0, 0); } j_j_free(v180); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source