// // LevelPage::updateDynamicPage from 0x100482dc0 to 0x100483ca0 (3808 bytes) // // 1 xrefs: // > LevelSelectLayer::updatePageWithObject @ 0x100482d68 // // 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 11:05:47 +0000 // __int64 __fastcall LevelPage::updateDynamicPage(__int64 result, __int64 a2) { __int64 v3; // x19 unsigned int v4; // w21 __int64 v5; // x0 __int64 v6; // x0 int v7; // w20 unsigned int v8; // w20 __int64 v9; // x0 unsigned int v10; // w20 __int64 v11; // x0 float v12; // s9 int NormalPercent; // w0 float v14; // s8 float *v15; // x20 float v16; // s0 float v17; // s2 float *v18; // x20 int v19; // w0 void *v20; // x0 __int64 CString; // x0 void *v22; // x0 __int64 v23; // x0 __int64 v24; // x0 int Stat; // w20 int v26; // w23 __int64 v27; // x21 __int64 v28; // x8 __int64 v29; // x8 int v30; // w0 unsigned int v31; // w20 __int64 v32; // x0 void *v33; // x20 void *v34; // x0 __int64 v35; // x1 __int64 v36; // x2 __int64 v37; // x3 __int64 v38; // x4 __int64 v39; // x5 __int64 v40; // x6 __int64 v41; // x7 __int64 v42; // x21 void *v43; // x21 float v44; // s8 __int64 v45; // x0 _OWORD *v46; // x0 _OWORD *v47; // x21 _OWORD *v48; // x0 char v49; // w0 __int64 v50; // x1 __int64 v51; // x2 __int64 v52; // x3 __int64 v53; // x4 __int64 v54; // x5 __int64 v55; // x6 __int64 v56; // x7 __int64 v57; // x0 _DWORD *v58; // x0 __int64 v59; // x21 float v60; // s8 __int64 v61; // x0 __int64 v62; // x22 float v63; // s8 __int64 v64; // x0 __int64 v65; // x23 float v66; // s8 __int64 v67; // x0 int v68; // w20 void **v69; // x1 __n128 v70; // q0 __int64 v71; // x21 float *v72; // x0 __int64 v73; // x21 int v74; // w8 int v75; // w9 int v76; // w8 void *v77; // x0 char *v78; // x21 __int64 v79; // x22 __int64 v80; // x0 __int64 v81; // x0 float *v82; // x0 float v83; // s8 float v84; // s8 float v85; // s9 float v86; // s0 __int64 v87; // x21 __int64 v88; // x21 float *v89; // x0 __int64 v90; // x21 void *v91; // x0 __int64 v92; // x0 __int64 v93; // x0 _BOOL4 v94; // w8 __int64 v95; // x0 __int64 v96; // x21 __int64 v97; // x22 const char *CoinKey_1; // x0 _BOOL4 hasSecretCoin; // w23 char *v100; // x24 unsigned int v101; // w21 __int64 v102; // x22 __int64 v103; // x0 __int64 v104; // x0 unsigned int v105; // w21 __int64 v106; // x0 void *v107; // x21 void *v108; // x22 void *v109; // x0 const char *v110; // x0 void *v111; // x20 float32x2_t *v112; // x23 double v113; // d0 __int64 v114; // x0 __int64 v115; // x0 unsigned int BaseCurrencyForLevel; // w21 __int64 v117; // x0 int AwardedCurrencyForLevel; // w22 void *v119; // x20 void *v120; // x0 const char *v121; // x0 void *v122; // x21 float v123; // s8 float v124; // s9 float v125; // s8 __int64 v126; // x0 unsigned int v127; // w20 __int64 v128; // x0 void *v129; // x20 int v130; // [xsp+18h] [xbp-E8h] float v131; // [xsp+28h] [xbp-D8h] BYREF void *__p[2]; // [xsp+30h] [xbp-D0h] BYREF char v133; // [xsp+47h] [xbp-B9h] void *v134[2]; // [xsp+48h] [xbp-B8h] BYREF char v135; // [xsp+5Fh] [xbp-A1h] void *__dst[2]; // [xsp+60h] [xbp-A0h] BYREF __int64 v137; // [xsp+70h] [xbp-90h] float v138[4]; // [xsp+80h] [xbp-80h] BYREF if ( (*(_BYTE *)(result + 416) & 1) == 0 ) { v3 = result; result = *(_QWORD *)(result + 424); if ( result ) { if ( *(_DWORD *)(a2 + 328) - *(_DWORD *)(a2 + 332) == *(_DWORD *)(result + 328) - *(_DWORD *)(result + 332) ) return result; cocos2d::CCObject::release((_DWORD *)result); *(_QWORD *)(v3 + 424) = 0; } if ( (unsigned int)sub_1002E757C(*(_QWORD *)(v3 + 536)) ) { v4 = 0; do { v5 = sub_1002E75A0(*(_QWORD *)(v3 + 536), v4); (*(void (__fastcall **)(__int64))(*(_QWORD *)v5 + 520LL))(v5); ++v4; } while ( v4 < (unsigned int)sub_1002E757C(*(_QWORD *)(v3 + 536)) ); } sub_1002E7674(*(_QWORD *)(v3 + 536)); *(_QWORD *)(v3 + 568) = 0; *(_QWORD *)(v3 + 424) = a2; cocos2d::CCObject::retain(a2); v6 = cocos2d::CCDirector::sharedDirector(); cocos2d::CCDirector::getWinSize(v6, v138); v7 = *(_DWORD *)(*(_QWORD *)(v3 + 424) + 328LL) - *(_DWORD *)(*(_QWORD *)(v3 + 424) + 332LL); if ( v7 < 1 ) { v30 = sub_1002E757C(*(_QWORD *)(v3 + 552)); if ( v7 == -2 ) { if ( v30 ) { v31 = 0; do { v32 = sub_1002E75A0(*(_QWORD *)(v3 + 552), v31); (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v32 + 344LL))(v32, 0); ++v31; } while ( v31 < (unsigned int)sub_1002E757C(*(_QWORD *)(v3 + 552)) ); } v33 = cocos2d::CCSprite::createWithSpriteFrameName((__int64)"theTowerDoor_001.png"); v34 = CCMenuItemSpriteExtra::create((__int64)v33, 0, v3, (__int64)LevelPage::onTheTower, 0); v42 = cocos2d::CCMenu::createWithItem((__int64)v34, v35, v36, v37, v38, v39, v40, v41); (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v3 + 456LL))(v3, v42); sub_1000262BC((float *)__dst, v138[0] * 0.5, (float)(v138[1] * 0.5) + -5.0); (*(void (__fastcall **)(__int64, void **))(*(_QWORD *)v42 + 184LL))(v42, __dst); sub_1002E74E0(*(_QWORD *)(v3 + 536)); v43 = cocos2d::CCSprite::createWithSpriteFrameName((__int64)"theTowerLabel_001.png"); (*(void (__fastcall **)(void *, void *))(*(_QWORD *)v33 + 456LL))(v33, v43); v44 = *(float *)(*(__int64 (__fastcall **)(void *))(*(_QWORD *)v33 + 328LL))(v33) * 0.5; v45 = (*(__int64 (__fastcall **)(void *))(*(_QWORD *)v33 + 328LL))(v33); sub_1000262BC((float *)__dst, v44, *(float *)(v45 + 4) + 23.0); (*(void (__fastcall **)(void *, void **))(*(_QWORD *)v43 + 184LL))(v43, __dst); sub_1000262BC((float *)__dst, 0.0, 5.0); v46 = cocos2d::CCMoveBy::create((double *)__dst, 2.5); v47 = cocos2d::CCEaseInOut::create((__int64)v46, 1.8); sub_1000262BC((float *)__dst, 0.0, -5.0); v48 = cocos2d::CCMoveBy::create((double *)__dst, 2.5); v49 = (unsigned __int8)cocos2d::CCEaseInOut::create((__int64)v48, 1.8); v57 = sub_10021D420((__int64)v47, v50, v51, v52, v53, v54, v55, v56, v49); v58 = cocos2d::CCRepeatForever::create(v57); cocos2d::CCNode::runAction((__int64)v33, (__int64)v58); sub_100009900( __dst, "30a-1a2.2a0.48a11a90a180a29a0a11a0a0a0a0a0a0a0a5a1a0a0a0.0745098a0a0a0a0.611765a0a1a0a2a1a0a0a0a0a0.937255a0a1" "a0a1a0a0.54a0a0.57a0a56a0a11a0a-25a17a1a2a1a0a0a1a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0"); v59 = GameToolbox::particleFromString((__int64)__dst, 0, 0); (*(void (__fastcall **)(void *, __int64, __int64))(*(_QWORD *)v33 + 464LL))(v33, v59, 11); (*(void (__fastcall **)(__int64, float))(*(_QWORD *)v59 + 160LL))(v59, 1.0); cocos2d::CCParticleSystem::resetSystem(v59); v60 = *(float *)(*(__int64 (__fastcall **)(void *))(*(_QWORD *)v33 + 328LL))(v33); v61 = (*(__int64 (__fastcall **)(void *))(*(_QWORD *)v33 + 328LL))(v33); sub_1000262BC((float *)v134, v60 * 0.5, *(float *)(v61 + 4) * 0.5); (*(void (__fastcall **)(__int64, void **))(*(_QWORD *)v59 + 184LL))(v59, v134); sub_100009900( v134, "20a-1a2a0.3a8a90a90a0a2a27a30a0a0a0a0a0a0a75a28a0a360a0a0a0.839216a0a1a0a0.05a0a0a0a0a0a0.184314a0a0a0a1a0a0.0" "5a0a0.73a0a0.71a0a0a0a0a0a0a0a0a2a1a1a0a0a184a0a0a0a0a0a0a1a0a0a0a0a0a0a0"); v62 = GameToolbox::particleFromString((__int64)v134, 0, 0); (*(void (__fastcall **)(void *, __int64, __int64))(*(_QWORD *)v33 + 464LL))(v33, v62, 11); (*(void (__fastcall **)(__int64, float))(*(_QWORD *)v62 + 160LL))(v62, 1.0); cocos2d::CCParticleSystem::resetSystem(v62); v63 = *(float *)(*(__int64 (__fastcall **)(void *))(*(_QWORD *)v33 + 328LL))(v33); v64 = (*(__int64 (__fastcall **)(void *))(*(_QWORD *)v33 + 328LL))(v33); sub_1000262BC((float *)__p, v63 * 0.5, *(float *)(v64 + 4) * 0.5); (*(void (__fastcall **)(__int64, void **))(*(_QWORD *)v62 + 184LL))(v62, __p); sub_100009900( __p, "3a-1a3a0.3a1a90a90a0a2a11a13a0a0a0a0a0a0a15a5a0a0a0a0a0.839216a0a1a0a0.15a0.16a0a0a0a0a0.184314a0a0a0a1a0a0.21" "a0.07a1a0a1a0a0a0a0a0a0a0a0a2a1a1a0a0a34a0a0a0a0a0a0a1a0a0a0a0a0a0a0"); v65 = GameToolbox::particleFromString((__int64)__p, 0, 0); (*(void (__fastcall **)(void *, __int64, __int64))(*(_QWORD *)v33 + 464LL))(v33, v65, 11); (*(void (__fastcall **)(__int64, float))(*(_QWORD *)v65 + 160LL))(v65, 1.0); cocos2d::CCParticleSystem::resetSystem(v65); v66 = *(float *)(*(__int64 (__fastcall **)(void *))(*(_QWORD *)v33 + 328LL))(v33); v67 = (*(__int64 (__fastcall **)(void *))(*(_QWORD *)v33 + 328LL))(v33); sub_1000262BC(&v131, v66 * 0.5, *(float *)(v67 + 4) * 0.5); (*(void (__fastcall **)(__int64, float *))(*(_QWORD *)v65 + 184LL))(v65, &v131); v68 = 20; do { (*(void (__fastcall **)(__int64, float))(*(_QWORD *)v59 + 40LL))(v59, 0.1); (*(void (__fastcall **)(__int64, float))(*(_QWORD *)v62 + 40LL))(v62, 0.1); --v68; } while ( v68 ); if ( v133 < 0 ) operator delete(__p[0]); if ( v135 < 0 ) operator delete(v134[0]); if ( SHIBYTE(v137) < 0 ) operator delete(__dst[0]); } else { if ( v30 ) { v127 = 0; do { v128 = sub_1002E75A0(*(_QWORD *)(v3 + 552), v127); (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v128 + 344LL))(v128, 0); ++v127; } while ( v127 < (unsigned int)sub_1002E757C(*(_QWORD *)(v3 + 552)) ); } v129 = cocos2d::CCLabelBMFont::create_1("Coming Soon!", "bigFont.fnt"); (*(void (__fastcall **)(__int64, void *))(*(_QWORD *)v3 + 456LL))(v3, v129); sub_1000262BC((float *)__dst, v138[0] * 0.5, (float)(v138[1] * 0.5) + 50.0); (*(void (__fastcall **)(void *, void **))(*(_QWORD *)v129 + 184LL))(v129, __dst); sub_1002E74E0(*(_QWORD *)(v3 + 536)); LevelPage::addSecretDoor(v3); } } else { if ( (unsigned int)sub_1002E757C(*(_QWORD *)(v3 + 552)) ) { v8 = 0; do { v9 = sub_1002E75A0(*(_QWORD *)(v3 + 552), v8); (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v9 + 344LL))(v9, 1); ++v8; } while ( v8 < (unsigned int)sub_1002E757C(*(_QWORD *)(v3 + 552)) ); } if ( (unsigned int)sub_1002E757C(*(_QWORD *)(v3 + 544)) ) { v10 = 0; do { v11 = sub_1002E75A0(*(_QWORD *)(v3 + 544), v10); (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v11 + 344LL))(v11, 1); ++v10; } while ( v10 < (unsigned int)sub_1002E757C(*(_QWORD *)(v3 + 544)) ); } v12 = *(float *)(v3 + 480); NormalPercent = GJGameLevel::getNormalPercent(*(_QWORD *)(v3 + 424)); v14 = *(float *)(v3 + 480); if ( v12 > (float)(v12 * (float)((float)NormalPercent / 100.0)) ) v14 = v14 * (float)((float)(int)GJGameLevel::getNormalPercent(*(_QWORD *)(v3 + 424)) / 100.0); v15 = *(float **)(v3 + 488); sub_1000262CC((float *)__dst, 0.0, 0.0, v14, v15[109]); (*(void (__fastcall **)(float *, void **))(*(_QWORD *)v15 + 1136LL))(v15, __dst); v16 = *(float *)(v3 + 480); if ( v16 <= (float)(v16 * (float)((float)*(int *)(*(_QWORD *)(v3 + 424) + 888LL) / 100.0)) ) v17 = *(float *)(v3 + 480); else v17 = v16 * (float)((float)*(int *)(*(_QWORD *)(v3 + 424) + 888LL) / 100.0); v18 = *(float **)(v3 + 496); sub_1000262CC((float *)__dst, 0.0, 0.0, v17, v18[109]); (*(void (__fastcall **)(float *, void **))(*(_QWORD *)v18 + 1136LL))(v18, __dst); v19 = GJGameLevel::getNormalPercent(*(_QWORD *)(v3 + 424)); v20 = sub_1003065B0("%i%%", v19); CString = cocos2d::CCString::getCString((__int64)v20); (*(void (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(v3 + 448) + 928LL))(*(_QWORD *)(v3 + 448), CString); v22 = sub_1003065B0("%i%%", *(_DWORD *)(*(_QWORD *)(v3 + 424) + 888LL)); v23 = cocos2d::CCString::getCString((__int64)v22); (*(void (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(v3 + 456) + 928LL))(*(_QWORD *)(v3 + 456), v23); v24 = GameStatsManager::sharedState(); Stat = GameStatsManager::getStat(v24, "8"); v26 = *(_DWORD *)(*(_QWORD *)(v3 + 424) + 1108LL); (*(void (__fastcall **)(_QWORD, float))(**(_QWORD **)(v3 + 464) + 160LL))(*(_QWORD *)(v3 + 464), 1.0); v27 = *(_QWORD *)(v3 + 464); v28 = *(_QWORD *)(v3 + 424); if ( *(char *)(v28 + 367) < 0 ) { sub_1000097D0(__dst, *(void **)(v28 + 344), *(_QWORD *)(v28 + 352)); } else { v29 = v28 + 344; *(_OWORD *)__dst = *(_OWORD *)v29; v137 = *(_QWORD *)(v29 + 16); } if ( v137 >= 0 ) v69 = __dst; else v69 = (void **)__dst[0]; (*(void (__fastcall **)(__int64, void **))(*(_QWORD *)v27 + 928LL))(v27, v69); if ( SHIBYTE(v137) < 0 ) operator delete(__dst[0]); v70.n128_u32[0] = *(_DWORD *)(*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(v3 + 464) + 328LL))(*(_QWORD *)(v3 + 464)); if ( v70.n128_f32[0] > 250.0 ) { v71 = *(_QWORD *)(v3 + 464); v72 = (float *)(*(__int64 (__fastcall **)(__int64, float))(*(_QWORD *)v71 + 328LL))(v71, v70.n128_f32[0]); (*(void (__fastcall **)(__int64, float))(*(_QWORD *)v71 + 160LL))(v71, 250.0 / *v72); } v73 = *(_QWORD *)(v3 + 464); if ( (*(float (__fastcall **)(__int64, __n128))(*(_QWORD *)v73 + 168LL))(v73, v70) <= 1.0 ) (*(void (__fastcall **)(_QWORD))(**(_QWORD **)(v3 + 464) + 168LL))(*(_QWORD *)(v3 + 464)); (*(void (__fastcall **)(__int64))(*(_QWORD *)v73 + 160LL))(v73); v74 = *(_DWORD *)(*(_QWORD *)(v3 + 424) + 600LL); if ( (unsigned int)v74 >= 6 ) v75 = 6; else v75 = *(_DWORD *)(*(_QWORD *)(v3 + 424) + 600LL); if ( v74 < 1 ) v76 = 1; else v76 = v75; v77 = sub_1003065B0("diffIcon_%02d_btn_001.png", v76); v78 = (char *)cocos2d::CCString::getCString((__int64)v77); v79 = *(_QWORD *)(v3 + 504); v80 = cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(); v81 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v80, v78); (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v79 + 1160LL))(v79, v81); v82 = *(float **)(v3 + 504); v83 = v82[108]; v84 = v83 * (*(float (__fastcall **)(float *))(*(_QWORD *)v82 + 168LL))(v82); v85 = *(float *)(*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(v3 + 464) + 328LL))(*(_QWORD *)(v3 + 464)); v86 = (*(float (__fastcall **)(_QWORD))(**(_QWORD **)(v3 + 464) + 168LL))(*(_QWORD *)(v3 + 464)); v87 = *(_QWORD *)(v3 + 504); sub_1000262BC( (float *)__dst, (float)(v84 * 0.5) + (float)((float)(*(float *)(v3 + 520) * 0.5) - (float)((float)((float)((float)(v84 * 0.5) + (float)((float)(v85 * v86) + 5.0)) + 30.0) * 0.5)), (float)(*(float *)(v3 + 524) * 0.5) + 3.0); (*(void (__fastcall **)(__int64, void **))(*(_QWORD *)v87 + 184LL))(v87, __dst); v88 = *(_QWORD *)(v3 + 464); v89 = (float *)(*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(v3 + 504) + 192LL))(*(_QWORD *)(v3 + 504)); sub_1000262BC((float *)__dst, *v89 + 30.0, (float)(*(float *)(v3 + 524) * 0.5) + 3.0); (*(void (__fastcall **)(__int64, void **))(*(_QWORD *)v88 + 184LL))(v88, __dst); v90 = *(_QWORD *)(v3 + 472); v91 = sub_1003065B0("%i", *(_DWORD *)(*(_QWORD *)(v3 + 424) + 948LL) - *(_DWORD *)(*(_QWORD *)(v3 + 424) + 952LL)); v92 = cocos2d::CCString::getCString((__int64)v91); (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v90 + 928LL))(v90, v92); v93 = GameStatsManager::sharedState(); v94 = sub_1003CEC70(v93, *(_QWORD *)(v3 + 424)); v95 = *(_QWORD *)(v3 + 472); v130 = v26; if ( v94 ) { BYTE2(__dst[0]) = 50; LOWORD(__dst[0]) = -1; } (*(void (**)(void))(*(_QWORD *)v95 + 1072LL))(); v96 = 1; do { v97 = GameStatsManager::sharedState(); CoinKey_1 = (const char *)GJGameLevel::getCoinKey_1(*(_QWORD *)(v3 + 424), v96); hasSecretCoin = GameStatsManager::hasSecretCoin(v97, CoinKey_1); if ( hasSecretCoin ) v100 = "GJ_coinsIcon_001.png"; else v100 = "GJ_coinsIcon_gray_001.png"; v101 = v96 - 1; v102 = sub_1002E75A0(*(_QWORD *)(v3 + 528), v101); v103 = cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(); v104 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v103, v100); (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v102 + 1160LL))(v102, v104); if ( hasSecretCoin ) { BYTE2(__dst[0]) = -1; LOWORD(__dst[0]) = -1; } else { BYTE2(__dst[0]) = -31; LOWORD(__dst[0]) = -7711; } (*(void (__fastcall **)(__int64, void **))(*(_QWORD *)v102 + 960LL))(v102, __dst); v96 = v101 + 2; } while ( (_DWORD)v96 != 4 ); if ( v130 <= Stat ) { v115 = GameStatsManager::sharedState(); BaseCurrencyForLevel = GameStatsManager::getBaseCurrencyForLevel(v115, *(_DWORD **)(v3 + 424)); v117 = GameStatsManager::sharedState(); AwardedCurrencyForLevel = GameStatsManager::getAwardedCurrencyForLevel(v117, *(_QWORD *)(v3 + 424)); v119 = cocos2d::CCSprite::createWithSpriteFrameName((__int64)"currencyOrbIcon_001.png"); (*(void (__fastcall **)(_QWORD, void *))(**(_QWORD **)(v3 + 440) + 456LL))(*(_QWORD *)(v3 + 440), v119); (*(void (__fastcall **)(void *, float))(*(_QWORD *)v119 + 160LL))(v119, 0.7); v120 = sub_1003065B0( "%i/%i", AwardedCurrencyForLevel, BaseCurrencyForLevel + (int)vcvts_n_f32_s32(BaseCurrencyForLevel, 2u)); v121 = (const char *)cocos2d::CCString::getCString((__int64)v120); v122 = cocos2d::CCLabelBMFont::create_1(v121, "bigFont.fnt"); (*(void (__fastcall **)(_QWORD, void *))(**(_QWORD **)(v3 + 440) + 456LL))(*(_QWORD *)(v3 + 440), v122); sub_1000262BC((float *)__dst, 0.0, 0.5); (*(void (__fastcall **)(void *, void **))(*(_QWORD *)v122 + 296LL))(v122, __dst); sub_1000262BC((float *)__dst, 8.0, 12.0); (*(void (__fastcall **)(void *, void **))(*(_QWORD *)v122 + 184LL))(v122, __dst); (*(void (__fastcall **)(void *, float))(*(_QWORD *)v122 + 160LL))(v122, 0.4); v123 = *(float *)(*(__int64 (__fastcall **)(void *))(*(_QWORD *)v122 + 192LL))(v122); v124 = *(float *)(*(__int64 (__fastcall **)(void *))(*(_QWORD *)v122 + 328LL))(v122); v125 = (float)(v123 + (float)(v124 * (*(float (__fastcall **)(void *))(*(_QWORD *)v122 + 168LL))(v122))) + 9.0; v126 = (*(__int64 (__fastcall **)(void *))(*(_QWORD *)v122 + 192LL))(v122); sub_1000262BC((float *)__dst, v125, *(float *)(v126 + 4) + -0.5); (*(void (__fastcall **)(void *, void **))(*(_QWORD *)v119 + 184LL))(v119, __dst); sub_1002E74E0(*(_QWORD *)(v3 + 536)); v114 = *(_QWORD *)(v3 + 536); } else { if ( (unsigned int)sub_1002E757C(*(_QWORD *)(v3 + 544)) ) { v105 = 0; do { v106 = sub_1002E75A0(*(_QWORD *)(v3 + 544), v105); (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v106 + 344LL))(v106, 0); ++v105; } while ( v105 < (unsigned int)sub_1002E757C(*(_QWORD *)(v3 + 544)) ); } v107 = cocos2d::CCSprite::createWithSpriteFrameName((__int64)"GJLargeLock_001.png"); (*(void (__fastcall **)(_QWORD, void *))(**(_QWORD **)(v3 + 440) + 456LL))(*(_QWORD *)(v3 + 440), v107); sub_1000262BC((float *)__dst, *(float *)(v3 + 520) * 0.5, *(float *)(v3 + 524) * 0.5); (*(void (__fastcall **)(void *, void **))(*(_QWORD *)v107 + 184LL))(v107, __dst); v108 = cocos2d::CCSprite::createWithSpriteFrameName((__int64)"GJ_coinsIcon_001.png"); (*(void (__fastcall **)(_QWORD, void *))(**(_QWORD **)(v3 + 440) + 456LL))(*(_QWORD *)(v3 + 440), v108); (*(void (__fastcall **)(void *, float))(*(_QWORD *)v108 + 160LL))(v108, 1.0); sub_1000262BC((float *)__dst, *(float *)(v3 + 520) + -15.0, 15.0); (*(void (__fastcall **)(void *, void **))(*(_QWORD *)v108 + 184LL))(v108, __dst); v109 = sub_1003065B0("%i/%i", Stat, v130); v110 = (const char *)cocos2d::CCString::getCString((__int64)v109); v111 = cocos2d::CCLabelBMFont::create_1(v110, "bigFont.fnt"); (*(void (__fastcall **)(_QWORD, void *))(**(_QWORD **)(v3 + 440) + 456LL))(*(_QWORD *)(v3 + 440), v111); sub_1000262BC((float *)__dst, 1.0, 0.5); (*(void (__fastcall **)(void *, void **))(*(_QWORD *)v111 + 296LL))(v111, __dst); v112 = (float32x2_t *)(*(__int64 (__fastcall **)(void *))(*(_QWORD *)v108 + 192LL))(v108); sub_1000262BC((float *)v134, -15.0, 0.5); *(float32x2_t *)&v113 = sub_100026318(v112, (float32x2_t *)v134, (float32x2_t *)__dst); (*(void (__fastcall **)(void *, void **, double))(*(_QWORD *)v111 + 184LL))(v111, __dst, v113); (*(void (__fastcall **)(void *, float))(*(_QWORD *)v111 + 160LL))(v111, 0.7); sub_1002E74E0(*(_QWORD *)(v3 + 536)); sub_1002E74E0(*(_QWORD *)(v3 + 536)); v114 = *(_QWORD *)(v3 + 536); } sub_1002E74E0(v114); } result = *(_QWORD *)(v3 + 560); if ( result ) result = (*(__int64 (__fastcall **)(__int64, bool))(*(_QWORD *)result + 344LL))( result, *(_DWORD *)(*(_QWORD *)(v3 + 424) + 328LL) - *(_DWORD *)(*(_QWORD *)(v3 + 424) + 332LL) == -1); *(_BYTE *)(v3 + 416) = 0; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source