// // LevelListLayer::updateStatsArt from 0x14042cf30 to 0x14042df08 (4056 bytes) // // 6 xrefs: // > LevelListLayer::init @ 0x14042ce19 // > LevelListLayer::onEnter @ 0x14042cf00 // > LevelListLayer::loadLevelsFinished @ 0x14042e884 // > LevelListLayer::likedItem @ 0x14042fa47 // > LevelListLayer::iconSelectClosed @ 0x14042fce8 // > @ 0x140926b40 // // 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:32:14 +0000 // // Hidden C++ exception states: #wind=3 void __fastcall LevelListLayer::updateStatsArt(__int64 a1) { __int64 v2; // rax unsigned int *v3; // rbx __int64 v4; // rax _QWORD *v5; // rbx _QWORD *i; // rdi unsigned int v7; // edx __int64 v8; // rdx __int64 v9; // rcx cocos2d::CCString *v10; // rax const char *CString; // rax size_t v12; // r8 void **v13; // rsi __int64 v14; // rdi __int64 v15; // rbx cocos2d::CCSpriteFrameCache *v16; // rax struct cocos2d::CCSpriteFrame *v17; // rax void *v18; // rcx __int64 v19; // rcx __int64 v20; // rax __int64 v21; // rcx __int64 v22; // r15 char v23; // r12 bool hasClaimedListReward; // r13 __int64 v25; // rcx struct cocos2d::CCObject *v26; // rsi __int64 v27; // rdx void (__fastcall *v28)(char *, __int64); // r8 __int64 v29; // rbx __int64 v30; // rax struct cocos2d::CCSprite *v31; // rdi __int16 *v32; // rdx __int64 v33; // rdx float v34; // xmm6_4 __int64 v35; // rbx __int64 v36; // rax __int64 v37; // rbx __int64 v38; // rax __int64 v39; // rax float v40; // xmm1_4 __int64 v41; // rbx __int64 v42; // rax cocos2d::CCString *v43; // rax const char *v44; // rax struct cocos2d::CCObject *v45; // rdi __int64 v46; // rax __int64 v47; // rbx __int64 v48; // rax int v49; // eax float v50; // xmm6_4 struct cocos2d::CCObject *v51; // r15 __int64 v52; // rbx __int64 v53; // rax __int16 *v54; // rax struct cocos2d::CCObject *v55; // rdi __int64 v56; // rax __int64 v57; // rbx __int64 v58; // rax const char *v59; // rcx struct cocos2d::CCObject *v60; // r12 __int64 v61; // rax __int64 v62; // rbx __int64 v63; // rax __int16 *v64; // rax struct cocos2d::CCObject *v65; // rdi __int64 v66; // rax __int64 v67; // rbx __int64 v68; // rax struct cocos2d::CCObject *v69; // rdi __int64 v70; // rax __int64 v71; // rbx __int64 v72; // rax struct cocos2d::CCObject *v73; // r15 __int64 v74; // rax __int64 v75; // rbx __int64 v76; // rax int v77; // esi cocos2d::CCString *v78; // rax const char *v79; // rax struct cocos2d::CCObject *v80; // rdi __int64 v81; // rax __int64 v82; // rbx __int64 v83; // rax __int64 v84; // rdx __int64 v85; // rcx __int64 v86; // rdi __int64 v87; // rbx __int64 v88; // rax __int64 v89; // rdx __int64 v90; // rcx __int64 v91; // r15 __int64 v92; // rbx float v93; // xmm6_4 float *v94; // rax __int64 v95; // rax cocos2d::CCSprite *v96; // rsi cocos2d::CCObject *v97; // r13 __int64 v98; // rax __int64 v99; // rbx __int64 v100; // rax __int64 v101; // rdi __int64 v102; // rax struct cocos2d::CCSprite *v103; // r12 __int64 v104; // rax __int64 v105; // rbx __int64 v106; // rax const char *v107; // rax struct cocos2d::CCLabelBMFont *v108; // rdi __int64 v109; // rbx __int64 v110; // rax __int64 v111; // rax __int64 v112; // rbx __int64 v113; // rax struct cocos2d::CCObject *v114; // rdx struct cocos2d::CCObject *v115; // rsi __int64 v116; // rax __int64 v117; // rbx __int64 v118; // rax __int16 *v119; // rax struct cocos2d::CCLabelBMFont *v120; // rdi __int64 v121; // rax __int64 v122; // rbx __int64 v123; // rax char v124; // [rsp+38h] [rbp-99h] __int16 v125; // [rsp+3Ah] [rbp-97h] BYREF char v126; // [rsp+3Ch] [rbp-95h] __int16 v127; // [rsp+3Eh] [rbp-93h] BYREF __int64 v128; // [rsp+40h] [rbp-91h] struct cocos2d::CCObject *v129; // [rsp+48h] [rbp-89h] BYREF _BYTE v130[8]; // [rsp+50h] [rbp-81h] BYREF int v131; // [rsp+58h] [rbp-79h] __int16 v132; // [rsp+5Ch] [rbp-75h] BYREF char v133; // [rsp+5Eh] [rbp-73h] float v134[2]; // [rsp+60h] [rbp-71h] BYREF void *Block[2]; // [rsp+68h] [rbp-69h] BYREF __int64 v136; // [rsp+78h] [rbp-59h] unsigned __int64 v137; // [rsp+80h] [rbp-51h] __int128 v138; // [rsp+88h] [rbp-49h] BYREF __int64 v139; // [rsp+98h] [rbp-39h] __int64 v140; // [rsp+A0h] [rbp-31h] *(_BYTE *)(a1 + 1024) = 0; v2 = *(_QWORD *)(a1 + 992); if ( v2 ) { v3 = *(unsigned int **)(v2 + 56); v4 = *v3; if ( (_DWORD)v4 ) { v5 = *((_QWORD **)v3 + 2); for ( i = &v5[v4 - 1]; v5 <= i; ++v5 ) { if ( !*v5 ) break; (*(void (__fastcall **)(_QWORD))(*(_QWORD *)*v5 + 528LL))(*v5); } } } cocos2d::CCArray::removeAllObjects(*(cocos2d::CCArray **)(a1 + 992)); v7 = *(_DWORD *)(*(_QWORD *)(a1 + 920) + 360LL); if ( v7 ) { if ( v7 > 0xA ) { v7 = 0; } else if ( v7 == 6 || v7 == 7 ) { ++v7; } else if ( v7 == 8 ) { v7 = 6; } v10 = cocos2d::CCString::createWithFormat("diffIcon_%02d_btn_001.png", v7); CString = cocos2d::CCString::getCString(v10); *(_OWORD *)Block = 0; v136 = 0; v137 = 0; v12 = -1; do ++v12; while ( CString[v12] ); sub_14003D230(Block, CString, v12); } else { *(_OWORD *)Block = 0; Block[0] = sub_14003D460(0x20u); v136 = 25; v137 = 31; strcpy((char *)Block[0], "diffIcon_auto_btn_001.png"); v9 = 103; } v13 = Block; if ( v137 > 0xF ) v13 = (void **)Block[0]; v14 = **(_QWORD **)(a1 + 1000); v15 = *(_QWORD *)(a1 + 1000); v16 = (cocos2d::CCSpriteFrameCache *)cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(v9, v8); v17 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v16, (const char *)v13); (*(void (__fastcall **)(__int64, struct cocos2d::CCSpriteFrame *))(v14 + 1008))(v15, v17); if ( v137 > 0xF ) { v18 = Block[0]; if ( v137 + 1 >= 0x1000 ) { v18 = *((void **)Block[0] - 1); if ( (unsigned __int64)((char *)Block[0] - (char *)v18 - 8) > 0x1F ) invoke_watson(nullptr, nullptr, nullptr, 0, 0); } j_j_free(v18); } (*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 1008) + 336LL))( *(_QWORD *)(a1 + 1008), *(unsigned __int8 *)(*(_QWORD *)(a1 + 920) + 397LL)); v20 = cocos2d::CCDirector::sharedDirector(v19); cocos2d::CCDirector::getWinSize(v20, v134); v131 = GJLevelList::completedLevels(*(_QWORD *)(a1 + 920)); v21 = *(_QWORD *)(a1 + 920); v22 = (__int64)(*(_QWORD *)(v21 + 328) - *(_QWORD *)(v21 + 320)) >> 2; v23 = 0; v124 = 0; hasClaimedListReward = 0; if ( *(int *)(v21 + 384) > 0 && *(int *)(v21 + 388) > 0 ) { v23 = 1; v124 = 1; v25 = qword_14090BFE0; if ( !qword_14090BFE0 ) { v129 = (struct cocos2d::CCObject *)operator new(0x3E8u); qword_14090BFE0 = sub_1402D6480((__int64)v129); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFE0 + 72LL))(qword_14090BFE0); v25 = qword_14090BFE0; } hasClaimedListReward = GameStatsManager::hasClaimedListReward(v25, *(_QWORD *)(a1 + 920)); if ( !hasClaimedListReward ) LODWORD(v22) = *(_DWORD *)(*(_QWORD *)(a1 + 920) + 388LL); } v132 = 0; v133 = 0; v26 = cocos2d::CCSprite::create("GJ_progressBar_001.png"); (**((void (__fastcall ***)(__int64, __int16 *))v26 + 40))((__int64)v26 + 320, &v132); v27 = *((_QWORD *)v26 + 40); v28 = *(void (__fastcall **)(char *, __int64))(v27 + 40); LOBYTE(v27) = 125; v28((char *)v26 + 320, v27); (*(void (__fastcall **)(struct cocos2d::CCObject *))(*(_QWORD *)v26 + 136LL))(v26); (*(void (__fastcall **)(struct cocos2d::CCObject *))(*(_QWORD *)v26 + 120LL))(v26); (*(void (__fastcall **)(__int64, struct cocos2d::CCObject *, __int64))(*(_QWORD *)a1 + 456LL))(a1, v26, 3); cocos2d::CCArray::addObject(*(cocos2d::CCArray **)(a1 + 992), v26); v29 = *(_QWORD *)v26; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v129, v134[0] * 0.5, 16.0); (*(void (__fastcall **)(struct cocos2d::CCObject *, __int64))(v29 + 184))(v26, v30); v31 = cocos2d::CCSprite::create("GJ_progressBar_001.png"); (*(void (__fastcall **)(struct cocos2d::CCSprite *))(*(_QWORD *)v31 + 120LL))(v31); (*(void (__fastcall **)(struct cocos2d::CCSprite *))(*(_QWORD *)v31 + 136LL))(v31); if ( !v23 || hasClaimedListReward ) { v125 = -16816; v127 = -16816; LOBYTE(v128) = -1; v32 = &v127; } else { v125 = 21759; v126 = 50; v32 = &v125; } (**((void (__fastcall ***)(__int64, __int16 *))v31 + 40))((__int64)v31 + 320, v32); LOBYTE(v33) = -31; (*(void (__fastcall **)(__int64, __int64))(*((_QWORD *)v31 + 40) + 40LL))((__int64)v31 + 320, v33); v34 = *((float *)v31 + 108); (*(void (__fastcall **)(struct cocos2d::CCObject *, struct cocos2d::CCSprite *, __int64))(*(_QWORD *)v26 + 456LL))( v26, v31, 1); v35 = *(_QWORD *)v31; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v129, 0.0, 0.5); (*(void (__fastcall **)(struct cocos2d::CCSprite *, __int64))(v35 + 288))(v31, v36); v37 = *(_QWORD *)v31; v38 = (*(__int64 (__fastcall **)(struct cocos2d::CCObject *))(*(_QWORD *)v26 + 320LL))(v26); cocos2d::CCPoint::CCPoint( (cocos2d::CCPoint *)&v129, (float)(v34 - (float)(v34 * 0.98000002)) * 0.5, *(float *)(v38 + 4) * 0.5); (*(void (__fastcall **)(struct cocos2d::CCSprite *, __int64))(v37 + 184))(v31, v39); v40 = 0.0; if ( (int)v22 > 0 ) v40 = (float)v131 / (float)(int)v22; v41 = *(_QWORD *)v31; cocos2d::CCRect::CCRect( (cocos2d::CCRect *)Block, 0.0, 0.0, fminf(*((float *)v31 + 108), *((float *)v31 + 108) * v40), *((float *)v31 + 109)); (*(void (__fastcall **)(struct cocos2d::CCSprite *, __int64))(v41 + 992))(v31, v42); v43 = cocos2d::CCString::createWithFormat("%i/%i", v131, v22); v44 = cocos2d::CCString::getCString(v43); v45 = cocos2d::CCLabelBMFont::create(v44, (const char *)&qword_140704F78); (*(void (__fastcall **)(__int64, struct cocos2d::CCObject *, __int64))(*(_QWORD *)a1 + 456LL))(a1, v45, 4); cocos2d::CCArray::addObject(*(cocos2d::CCArray **)(a1 + 992), v45); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v129, 0.0, 1.0); v47 = v46; v48 = (*(__int64 (__fastcall **)(struct cocos2d::CCObject *))(*(_QWORD *)v26 + 200LL))(v26); cocos2d::CCPoint::operator+(v48, v130, v47); (*(void (__fastcall **)(struct cocos2d::CCObject *, _BYTE *))(*(_QWORD *)v45 + 184LL))(v45, v130); (*(void (__fastcall **)(struct cocos2d::CCObject *))(*(_QWORD *)v45 + 160LL))(v45); if ( *(_DWORD *)(*(_QWORD *)(a1 + 920) + 584LL) != 2 ) { if ( !v23 || (v49 = 45, hasClaimedListReward) ) v49 = 52; v50 = (float)v49; v51 = cocos2d::CCSprite::createWithSpriteFrameName("GJ_downloadsIcon_001.png"); (*(void (__fastcall **)(struct cocos2d::CCObject *))(*(_QWORD *)v51 + 160LL))(v51); v52 = *(_QWORD *)v51; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v129, 26.0, (float)(v134[1] * 0.5) + 88.0); (*(void (__fastcall **)(struct cocos2d::CCObject *, __int64))(v52 + 184))(v51, v53); (*(void (__fastcall **)(__int64, struct cocos2d::CCObject *, __int64))(*(_QWORD *)a1 + 456LL))(a1, v51, 1); cocos2d::CCArray::addObject(*(cocos2d::CCArray **)(a1 + 992), v51); v54 = GameToolbox::intToShortString((__int16 *)&v138, *(_DWORD *)(*(_QWORD *)(a1 + 920) + 352LL), 0); if ( *((_QWORD *)v54 + 3) > 0xFu ) v54 = *(__int16 **)v54; v55 = cocos2d::CCLabelBMFont::create((const char *)v54, (const char *)&qword_140704F78); sub_14003D310((__int64)&v138); (*(void (__fastcall **)(struct cocos2d::CCObject *))(*(_QWORD *)v55 + 160LL))(v55); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v129, 0.0, -21.0); v57 = v56; v58 = (*(__int64 (__fastcall **)(struct cocos2d::CCObject *))(*(_QWORD *)v51 + 200LL))(v51); cocos2d::CCPoint::operator+(v58, v130, v57); (*(void (__fastcall **)(struct cocos2d::CCObject *, _BYTE *))(*(_QWORD *)v55 + 184LL))(v55, v130); (*(void (__fastcall **)(__int64, struct cocos2d::CCObject *, __int64))(*(_QWORD *)a1 + 456LL))(a1, v55, 1); cocos2d::CCArray::addObject(*(cocos2d::CCArray **)(a1 + 992), v55); v59 = "GJ_dislikesIcon_001.png"; if ( *(int *)(*(_QWORD *)(a1 + 920) + 356LL) >= 0 ) v59 = "GJ_likesIcon_001.png"; v60 = cocos2d::CCSprite::createWithSpriteFrameName(v59); (*(void (__fastcall **)(struct cocos2d::CCObject *))(*(_QWORD *)v60 + 160LL))(v60); cocos2d::CCPoint::CCPoint( (cocos2d::CCPoint *)&v129, 0.0, (float)((*(int *)(*(_QWORD *)(a1 + 920) + 356LL) >> 31) & 4) - v50); v62 = v61; v63 = (*(__int64 (__fastcall **)(struct cocos2d::CCObject *))(*(_QWORD *)v51 + 200LL))(v51); cocos2d::CCPoint::operator+(v63, v130, v62); (*(void (__fastcall **)(struct cocos2d::CCObject *, _BYTE *))(*(_QWORD *)v60 + 184LL))(v60, v130); (*(void (__fastcall **)(__int64, struct cocos2d::CCObject *, __int64))(*(_QWORD *)a1 + 456LL))(a1, v60, 1); cocos2d::CCArray::addObject(*(cocos2d::CCArray **)(a1 + 992), v60); v64 = GameToolbox::intToShortString((__int16 *)&v138, *(_DWORD *)(*(_QWORD *)(a1 + 920) + 356LL), 0); if ( *((_QWORD *)v64 + 3) > 0xFu ) v64 = *(__int16 **)v64; v65 = cocos2d::CCLabelBMFont::create((const char *)v64, (const char *)&qword_140704F78); sub_14003D310((__int64)&v138); (*(void (__fastcall **)(struct cocos2d::CCObject *))(*(_QWORD *)v65 + 160LL))(v65); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v129, 0.0, -21.0); v67 = v66; v68 = (*(__int64 (__fastcall **)(struct cocos2d::CCObject *))(*(_QWORD *)v60 + 200LL))(v60); cocos2d::CCPoint::operator+(v68, v130, v67); (*(void (__fastcall **)(struct cocos2d::CCObject *, _BYTE *))(*(_QWORD *)v65 + 184LL))(v65, v130); (*(void (__fastcall **)(__int64, struct cocos2d::CCObject *, __int64))(*(_QWORD *)a1 + 456LL))(a1, v65, 1); cocos2d::CCArray::addObject(*(cocos2d::CCArray **)(a1 + 992), v65); if ( v124 ) { if ( hasClaimedListReward ) { v115 = cocos2d::CCSprite::createWithSpriteFrameName("GJ_diamondsIcon_001.png"); (*(void (__fastcall **)(__int64, struct cocos2d::CCObject *))(*(_QWORD *)a1 + 464LL))(a1, v115); cocos2d::CCArray::addObject(*(cocos2d::CCArray **)(a1 + 992), v115); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)Block, 0.0, -v50); v117 = v116; v118 = (*(__int64 (__fastcall **)(struct cocos2d::CCObject *))(*(_QWORD *)v60 + 200LL))(v60); cocos2d::CCPoint::operator+(v118, &v129, v117); (*(void (__fastcall **)(struct cocos2d::CCObject *, struct cocos2d::CCObject **))(*(_QWORD *)v115 + 184LL))( v115, &v129); (*(void (__fastcall **)(struct cocos2d::CCObject *))(*(_QWORD *)v115 + 160LL))(v115); v119 = GameToolbox::intToShortString((__int16 *)&v138, *(_DWORD *)(*(_QWORD *)(a1 + 920) + 384LL), 0); if ( *((_QWORD *)v119 + 3) > 0xFu ) v119 = *(__int16 **)v119; v120 = cocos2d::CCLabelBMFont::create((const char *)v119, (const char *)&qword_140704F78); sub_14003D310((__int64)&v138); (*(void (__fastcall **)(struct cocos2d::CCLabelBMFont *))(*(_QWORD *)v120 + 160LL))(v120); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)Block, 0.0, -21.0); v122 = v121; v123 = (*(__int64 (__fastcall **)(struct cocos2d::CCObject *))(*(_QWORD *)v115 + 200LL))(v115); cocos2d::CCPoint::operator+(v123, &v129, v122); (*(void (__fastcall **)(struct cocos2d::CCLabelBMFont *, struct cocos2d::CCObject **))(*(_QWORD *)v120 + 184LL))( v120, &v129); (*(void (__fastcall **)(__int64, struct cocos2d::CCLabelBMFont *, __int64))(*(_QWORD *)a1 + 456LL))(a1, v120, 1); v114 = v120; } else { v69 = cocos2d::CCSprite::createWithSpriteFrameName("diamond_small01_001.png"); (*(void (__fastcall **)(__int64, struct cocos2d::CCObject *, __int64))(*(_QWORD *)a1 + 456LL))(a1, v69, 10); cocos2d::CCArray::addObject(*(cocos2d::CCArray **)(a1 + 992), v69); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v129, 125.0, 0.0); v71 = v70; v72 = (*(__int64 (__fastcall **)(struct cocos2d::CCObject *))(*(_QWORD *)v26 + 200LL))(v26); cocos2d::CCPoint::operator+(v72, v130, v71); (*(void (__fastcall **)(struct cocos2d::CCObject *, _BYTE *))(*(_QWORD *)v69 + 184LL))(v69, v130); v73 = cocos2d::CCSprite::createWithSpriteFrameName("GJ_completesIcon_001.png"); v129 = v73; (*(void (__fastcall **)(__int64, struct cocos2d::CCObject *))(*(_QWORD *)a1 + 464LL))(a1, v73); cocos2d::CCArray::addObject(*(cocos2d::CCArray **)(a1 + 992), v73); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)Block, 0.0, -v50); v75 = v74; v76 = (*(__int64 (__fastcall **)(struct cocos2d::CCObject *))(*(_QWORD *)v60 + 200LL))(v60); cocos2d::CCPoint::operator+(v76, v130, v75); (*(void (__fastcall **)(struct cocos2d::CCObject *, _BYTE *))(*(_QWORD *)v73 + 184LL))(v73, v130); (*(void (__fastcall **)(struct cocos2d::CCObject *))(*(_QWORD *)v73 + 160LL))(v73); v77 = v131; v78 = cocos2d::CCString::createWithFormat( "%i/%i", v131, (__int64)(*(_QWORD *)(*(_QWORD *)(a1 + 920) + 328LL) - *(_QWORD *)(*(_QWORD *)(a1 + 920) + 320LL)) >> 2); v79 = cocos2d::CCString::getCString(v78); v80 = cocos2d::CCLabelBMFont::create(v79, (const char *)&qword_140704F78); (*(void (__fastcall **)(__int64, struct cocos2d::CCObject *))(*(_QWORD *)a1 + 464LL))(a1, v80); cocos2d::CCArray::addObject(*(cocos2d::CCArray **)(a1 + 992), v80); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)Block, 0.0, -21.0); v82 = v81; v83 = (*(__int64 (__fastcall **)(struct cocos2d::CCObject *))(*(_QWORD *)v73 + 200LL))(v73); cocos2d::CCPoint::operator+(v83, v130, v82); (*(void (__fastcall **)(struct cocos2d::CCObject *, _BYTE *))(*(_QWORD *)v80 + 184LL))(v80, v130); (*(void (__fastcall **)(struct cocos2d::CCObject *))(*(_QWORD *)v80 + 160LL))(v80); v86 = cocos2d::CCNode::create(v85, v84); v87 = *(_QWORD *)v86; cocos2d::CCSize::CCSize((cocos2d::CCSize *)Block, 50.0, 50.0); (*(void (__fastcall **)(__int64, __int64))(v87 + 312))(v86, v88); v91 = cocos2d::CCNode::create(v90, v89); (*(void (__fastcall **)(__int64, void *))(*(_QWORD *)v91 + 312LL))(v91, &unk_14090AFD0); (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v86 + 464LL))(v86, v91); v92 = *(_QWORD *)v91; v93 = *(float *)((*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v86 + 320LL))(v86) + 4) * 0.5; v94 = (float *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v86 + 320LL))(v86); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)Block, *v94 * 0.5, v93); (*(void (__fastcall **)(__int64, __int64))(v92 + 184))(v91, v95); if ( v77 < *(_DWORD *)(*(_QWORD *)(a1 + 920) + 388LL) ) { v138 = 0; v139 = 0; v140 = 0; *(_QWORD *)&v138 = sub_14003D460(0x20u); v139 = 20; v140 = 31; strcpy((char *)v138, "GJ_rewardBtn_001.png"); v96 = CCSpriteGrayscale::createWithSpriteFrameName((__int64)&v138); sub_14003D310((__int64)&v138); *((_DWORD *)v96 + 151) = 1051260355; *((_DWORD *)v96 + 152) = 1051260355; *((_DWORD *)v96 + 153) = 1051260355; v127 = -20561; LOBYTE(v128) = -81; (**((void (__fastcall ***)(__int64, __int16 *))v96 + 40))((__int64)v96 + 320, &v127); } else { v96 = cocos2d::CCSprite::createWithSpriteFrameName("GJ_rewardBtn_001.png"); } (*(void (__fastcall **)(cocos2d::CCSprite *))(*(_QWORD *)v96 + 160LL))(v96); (*(void (__fastcall **)(__int64, cocos2d::CCSprite *))(*(_QWORD *)v91 + 464LL))(v91, v96); v97 = CCMenuItemSpriteExtra::create(v86, 0, a1, (__int64)LevelListLayer::onClaimReward); (*(void (__fastcall **)(_QWORD, cocos2d::CCObject *))(**(_QWORD **)(a1 + 880) + 464LL))( *(_QWORD *)(a1 + 880), v97); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)Block, 0.0, -54.0); v99 = v98; v100 = (*(__int64 (__fastcall **)(struct cocos2d::CCObject *))(*(_QWORD *)v129 + 200LL))(v129); cocos2d::CCPoint::operator+(v100, v130, v99); cocos2d::CCPoint::operator=(a1 + 1016, v130); v101 = *(_QWORD *)v97; cocos2d::CCNode::convertToNodeSpace(*(_QWORD *)(a1 + 880), Block, a1 + 1016); (*(void (__fastcall **)(cocos2d::CCObject *, __int64))(v101 + 184))(v97, v102); v103 = cocos2d::CCSprite::createWithSpriteFrameName("diamond_small01_001.png"); (*(void (__fastcall **)(__int64, struct cocos2d::CCSprite *))(*(_QWORD *)v91 + 464LL))(v91, v103); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)Block, 8.0, -25.0); v105 = v104; v106 = (*(__int64 (__fastcall **)(cocos2d::CCSprite *))(*(_QWORD *)v96 + 200LL))(v96); cocos2d::CCPoint::operator+(v106, &v129, v105); (*(void (__fastcall **)(struct cocos2d::CCSprite *, struct cocos2d::CCObject **))(*(_QWORD *)v103 + 184LL))( v103, &v129); v107 = (const char *)GameToolbox::intToString(&v138, *(_DWORD *)(*(_QWORD *)(a1 + 920) + 384LL)); if ( *((_QWORD *)v107 + 3) > 0xFu ) v107 = *(const char **)v107; v108 = cocos2d::CCLabelBMFont::create(v107, (const char *)&qword_140704F78); sub_14003D310((__int64)&v138); (*(void (__fastcall **)(__int64, struct cocos2d::CCLabelBMFont *))(*(_QWORD *)v91 + 464LL))(v91, v108); v109 = *(_QWORD *)v108; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)Block, 1.0, 0.5); (*(void (__fastcall **)(struct cocos2d::CCLabelBMFont *, __int64))(v109 + 288))(v108, v110); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)Block, -8.0, 0.0); v112 = v111; v113 = (*(__int64 (__fastcall **)(struct cocos2d::CCSprite *))(*(_QWORD *)v103 + 200LL))(v103); cocos2d::CCPoint::operator+(v113, &v129, v112); (*(void (__fastcall **)(struct cocos2d::CCLabelBMFont *, struct cocos2d::CCObject **))(*(_QWORD *)v108 + 184LL))( v108, &v129); (*(void (__fastcall **)(struct cocos2d::CCLabelBMFont *))(*(_QWORD *)v108 + 160LL))(v108); v114 = v97; } cocos2d::CCArray::addObject(*(cocos2d::CCArray **)(a1 + 992), v114); } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source