// // WorldLevelPage::init from 0xaa8c28 to 0xaa9b34 (3852 bytes) // // 2 xrefs: // > WorldLevelPage::create @ 0xaa9cc8 // > @ 0xcf328 // // 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 13:00:52 +0000 // __int64 __fastcall WorldLevelPage::init(GJGameLevel **this, GJGameLevel *a2, GJWorldNode *a3) { unsigned __int64 v5; // x0 cocos2d::CCDirector *v6; // x0 _QWORD *v7; // x26 __int64 v8; // x19 void (__fastcall *v9)(__int64, __int64 *); // x25 void (__fastcall *v10)(__int64, __int64 *); // x25 char v11; // w0 char *v12; // x2 __int64 v13; // x1 cocos2d::CCLabelBMFont *v14; // x0 cocos2d::CCLabelBMFont *v15; // x25 void (__fastcall *v16)(cocos2d::CCLabelBMFont *, __int64 *); // x27 char v17; // w0 char *v18; // x2 __int64 v19; // x1 cocos2d::CCLabelBMFont *v20; // x0 __int64 v21; // x28 int v22; // w19 cocos2d::CCLabelBMFont *v23; // x0 __int64 (__fastcall *v24)(cocos2d::CCLabelBMFont *); // x1 void (__fastcall *v25)(__int64, __int64 *); // x25 const char *v26; // x1 cocos2d::CCSprite *v27; // x28 void (__fastcall *v28)(cocos2d::CCSprite *, __int64 *); // x26 void (__fastcall *v29)(cocos2d::CCSprite *, __int64 *); // x19 const char *v30; // x1 __int64 v31; // x25 void (__fastcall *v32)(__int64, __int64 *); // x20 const char *v33; // x1 __int64 v34; // x0 __int64 v35; // x20 __int64 v36; // x28 float v37; // s8 void (__fastcall *v38)(__int64, __int64 *); // x20 void (__fastcall *v39)(__int64, __int64 *); // x20 __int64 v40; // x0 const char *v41; // x1 __int64 v42; // x26 void (__fastcall *v43)(__int64, __int64 *); // x19 __int64 v44; // x20 const char *v45; // x1 float *v46; // x19 void (__fastcall *v47)(float *, __int64 *); // x6 void (__fastcall *v48)(float *, __int64 *); // x20 void (__fastcall *v49)(float *, __int64); // x20 __int64 v50; // x0 const char *v51; // x2 __int64 v52; // x0 const char *v53; // x2 __int64 v54; // x20 __int64 v55; // x0 const char *v56; // x2 const char *v57; // x2 __int64 v58; // x25 int NormalPercent; // w0 float v60; // s2 void (__fastcall *v61)(__int64, __int64 *); // x26 float v62; // s2 void (__fastcall *v63)(float *, __int64 *); // x26 unsigned int v64; // w0 cocos2d::CCString *v65; // x0 __int64 CString; // x0 cocos2d::CCString *v67; // x0 __int64 v68; // x0 cocos2d::CCArray *v69; // x0 cocos2d::CCArray *v70; // x25 _BOOL4 v71; // w26 const char *v72; // x1 int v73; // w20 size_t v74; // x0 cocos2d::CCSprite *v75; // x0 cocos2d::CCObject *v76; // x19 __int64 v77; // x0 cocos2d::CCMenu *v78; // x19 __int64 v79; // x19 float v80; // s1 void (__fastcall *v81)(__int64, __int64 *); // x20 const char *v82; // x1 __int64 v83; // x19 __int64 v84; // x19 cocos2d::CCNode *v85; // x21 void (__fastcall *v86)(__int64, __int64 *); // x20 const char *v87; // x1 __int64 v88; // x19 __int64 v89; // x19 cocos2d::CCNode *v90; // x21 void (__fastcall *v91)(__int64, __int64 *); // x20 const char *v92; // x1 __int64 v93; // x0 __int64 v94; // x19 cocos2d::CCNode *v95; // x21 void (__fastcall *v96)(__int64, __int64 *); // x20 float v98; // s0 void (__fastcall *v99)(cocos2d::CCSprite *, __int64 *); // x26 __int64 v100; // [xsp+A8h] [xbp+A8h] void (__fastcall *v101)(__int64, __int64 *); // [xsp+B0h] [xbp+B0h] void (__fastcall *v102)(cocos2d::CCSprite *, __int64); // [xsp+B8h] [xbp+B8h] void (__fastcall *v103)(__int64, __int64); // [xsp+B8h] [xbp+B8h] __int64 v104; // [xsp+B8h] [xbp+B8h] __int64 v105; // [xsp+B8h] [xbp+B8h] void (__fastcall *v106)(__int64, __int64 *); // [xsp+B8h] [xbp+B8h] __int64 v107; // [xsp+C0h] [xbp+C0h] unsigned __int8 v108; // [xsp+CFh] [xbp+CFh] char *v109; // [xsp+D0h] [xbp+D0h] cocos2d::CCSprite *v111; // [xsp+D8h] [xbp+D8h] cocos2d::CCSprite *v112; // [xsp+D8h] [xbp+D8h] cocos2d::CCSprite *v113; // [xsp+D8h] [xbp+D8h] cocos2d::CCSprite *v114; // [xsp+D8h] [xbp+D8h] _BYTE v115[8]; // [xsp+E8h] [xbp+E8h] BYREF __int64 v116; // [xsp+F0h] [xbp+F0h] BYREF _BYTE v117[8]; // [xsp+F8h] [xbp+F8h] BYREF __int64 v118[2]; // [xsp+100h] [xbp+100h] BYREF char v119[8]; // [xsp+110h] [xbp+110h] BYREF __int64 v120; // [xsp+118h] [xbp+118h] cocos2d::CCLabelBMFont *v121; // [xsp+120h] [xbp+120h] FLAlertLayer::incrementForcePrio((cocos2d::CCObject *)this); v108 = FLAlertLayer::init((FLAlertLayer *)this, 125); v5 = v108; if ( !v108 ) return v108; *(this + 83) = a3; if ( a2 ) { *(this + 84) = a2; v5 = cocos2d::CCObject::retain(a2); } v6 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector((cocos2d::CCDirector *)v5); v7 = (_QWORD *)((char *)a2 + 344); cocos2d::CCDirector::getWinSize(&v116, v6); cocos2d::CCRect::CCRect((cocos2d::CCRect *)v118, 0.0, 0.0, 80.0, 80.0); v8 = cocos2d::extension::CCScale9Sprite::create("GJ_square01.png", v118); (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v8 + 912LL))(v8, 0xFFFFFFFFLL); v9 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v8 + 320LL); cocos2d::CCSize::CCSize((cocos2d::CCSize *)v118, 320.0, 260.0); v9(v8, v118); (*(void (__fastcall **)(_QWORD, __int64, __int64))(*(_QWORD *)*(this + 73) + 464LL))(*(this + 73), v8, 0xFFFFFFFFLL); v10 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v8 + 184LL); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v118, *(float *)&v116 * 0.5, *((float *)&v116 + 1) * 0.5); v10(v8, v118); *(_QWORD *)v119 = 0; v11 = *((_BYTE *)a2 + 344); v120 = 0; v121 = nullptr; if ( (v11 & 1) != 0 ) { std::string::__init((__int64 *)v119, *((void **)a2 + 45), *((_QWORD *)a2 + 44)); } else { v121 = *((cocos2d::CCLabelBMFont **)a2 + 45); v12 = v119; v13 = *((_QWORD *)a2 + 44); *(_QWORD *)v119 = *v7; v120 = v13; } v14 = (cocos2d::CCLabelBMFont *)&v119[1]; if ( (v119[0] & 1) != 0 ) v14 = v121; v15 = (cocos2d::CCLabelBMFont *)cocos2d::CCLabelBMFont::create(v14, "goldFont.fnt", v12); if ( (v119[0] & 1) != 0 ) operator delete(v121); cocos2d::CCLabelBMFont::limitLabelWidth(v15, 220.0, 0.0, 0.0); (*(void (__fastcall **)(_QWORD, cocos2d::CCLabelBMFont *, __int64))(*(_QWORD *)*(this + 73) + 464LL))( *(this + 73), v15, 1); v16 = *(void (__fastcall **)(cocos2d::CCLabelBMFont *, __int64 *))(*(_QWORD *)v15 + 184LL); cocos2d::CCPoint::CCPoint( (cocos2d::CCPoint *)v118, *(float *)&v116 * 0.5, (float)((float)(*((float *)&v116 + 1) * 0.5) + 130.0) - 25.0); v16(v15, v118); *(_QWORD *)v119 = 0; v17 = *((_BYTE *)a2 + 344); v120 = 0; v121 = nullptr; if ( (v17 & 1) != 0 ) { std::string::__init((__int64 *)v119, *((void **)a2 + 45), *((_QWORD *)a2 + 44)); } else { v121 = *((cocos2d::CCLabelBMFont **)a2 + 45); v18 = v119; v19 = *((_QWORD *)a2 + 44); *(_QWORD *)v119 = *v7; v120 = v19; } v20 = (cocos2d::CCLabelBMFont *)&v119[1]; if ( (v119[0] & 1) != 0 ) v20 = v121; v21 = cocos2d::CCLabelBMFont::create(v20, "goldFont.fnt", v18); if ( (v119[0] & 1) != 0 ) operator delete(v121); v22 = 1; v111 = *(cocos2d::CCSprite **)(*(_QWORD *)v21 + 160LL); (*(void (__fastcall **)(cocos2d::CCLabelBMFont *))(*(_QWORD *)v15 + 168LL))(v15); ((void (__fastcall *)(__int64))v111)(v21); (*(void (__fastcall **)(_QWORD, __int64, _QWORD))(*(_QWORD *)*(this + 73) + 464LL))(*(this + 73), v21, 0); v23 = v15; v24 = *(__int64 (__fastcall **)(cocos2d::CCLabelBMFont *))(*(_QWORD *)v15 + 192LL); v25 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v21 + 184LL); v112 = (cocos2d::CCSprite *)v24(v23); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v117, 0.0, -2.0); cocos2d::CCPoint::operator+(v118, v112); v25(v21, v118); (*(void (__fastcall **)(__int64, void *))(*(_QWORD *)v21 + 1072LL))(v21, &unk_117B208); (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v21 + 1024LL))(v21, 50); while ( 1 ) { while ( 1 ) { v27 = (cocos2d::CCSprite *)cocos2d::CCSprite::createWithSpriteFrameName( (cocos2d::CCSprite *)"dailyLevelCorner_001.png", v26); (*(void (__fastcall **)(_QWORD, cocos2d::CCSprite *, __int64))(*(_QWORD *)*(this + 73) + 464LL))( *(this + 73), v27, 8); if ( v22 != 3 ) break; cocos2d::CCSprite::setFlipX(v27, 1); cocos2d::CCSprite::setFlipY(v27, 1); v98 = 135.0; LABEL_39: ++v22; v99 = *(void (__fastcall **)(cocos2d::CCSprite *, __int64 *))(*(_QWORD *)v27 + 184LL); cocos2d::CCPoint::CCPoint( (cocos2d::CCPoint *)v118, v98 + (float)(*(float *)&v116 * 0.5), (float)(*((float *)&v116 + 1) * 0.5) + 105.0); v99(v27, v118); } if ( v22 == 4 ) break; if ( v22 == 2 ) { cocos2d::CCSprite::setFlipY(v27, 1); v98 = -135.0; goto LABEL_39; } v28 = *(void (__fastcall **)(cocos2d::CCSprite *, __int64 *))(*(_QWORD *)v27 + 184LL); cocos2d::CCPoint::CCPoint( (cocos2d::CCPoint *)v118, (float)(*(float *)&v116 * 0.5) + -135.0, (float)(*((float *)&v116 + 1) * 0.5) + -105.0); v28(v27, v118); ++v22; } cocos2d::CCSprite::setFlipX(v27, 1); v29 = *(void (__fastcall **)(cocos2d::CCSprite *, __int64 *))(*(_QWORD *)v27 + 184LL); cocos2d::CCPoint::CCPoint( (cocos2d::CCPoint *)v118, (float)(*(float *)&v116 * 0.5) + 135.0, (float)(*((float *)&v116 + 1) * 0.5) + -105.0); v29(v27, v118); v115[0] = 0; v115[1] = 0; v115[2] = 0; v31 = cocos2d::CCSprite::create((cocos2d::CCSprite *)"GJ_progressBar_001.png", v30); (*(void (__fastcall **)(__int64, _BYTE *))(*(_QWORD *)v31 + 960LL))(v31, v115); (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v31 + 912LL))(v31, 125); (*(void (__fastcall **)(__int64, float))(*(_QWORD *)v31 + 160LL))(v31, 0.8); (*(void (__fastcall **)(_QWORD, __int64, __int64))(*(_QWORD *)*(this + 73) + 464LL))(*(this + 73), v31, 3); v32 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v31 + 184LL); cocos2d::CCPoint::CCPoint( (cocos2d::CCPoint *)v118, *(float *)&v116 * 0.5, (float)(*((float *)&v116 + 1) * 0.5) + -48.0); v32(v31, v118); v34 = cocos2d::CCSprite::create((cocos2d::CCSprite *)"GJ_progressBar_001.png", v33); v35 = v34 + 424; v107 = v34 + 424; v36 = v34; (*(void (__fastcall **)(__int64, float))(*(_QWORD *)v34 + 128LL))(v34, 0.992); (*(void (__fastcall **)(__int64, float))(*(_QWORD *)v36 + 144LL))(v36, 0.86); (*(void (__fastcall **)(__int64, void *))(*(_QWORD *)v36 + 960LL))(v36, &unk_117B210); v37 = *(float *)(v35 + 8); (*(void (__fastcall **)(__int64, __int64, __int64))(*(_QWORD *)v31 + 464LL))(v31, v36, 1); v38 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v36 + 296LL); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v118, 0.0, 0.5); v38(v36, v118); v39 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v36 + 184LL); v40 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v31 + 328LL))(v31); cocos2d::CCPoint::CCPoint( (cocos2d::CCPoint *)v118, (float)(v37 - (float)(v37 * 0.992)) * 0.5, *(float *)(v40 + 4) * 0.5); v39(v36, v118); v42 = cocos2d::CCSprite::create((cocos2d::CCSprite *)"GJ_progressBar_001.png", v41); (*(void (__fastcall **)(__int64, _BYTE *))(*(_QWORD *)v42 + 960LL))(v42, v115); (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v42 + 912LL))(v42, 125); (*(void (__fastcall **)(__int64, float))(*(_QWORD *)v42 + 160LL))(v42, 0.8); (*(void (__fastcall **)(_QWORD, __int64, __int64))(*(_QWORD *)*(this + 73) + 464LL))(*(this + 73), v42, 3); v43 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v42 + 184LL); v44 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v31 + 192LL))(v31); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v117, 0.0, -45.0); cocos2d::CCPoint::operator+(v118, v44); v43(v42, v118); v46 = (float *)cocos2d::CCSprite::create((cocos2d::CCSprite *)"GJ_progressBar_001.png", v45); (*(void (__fastcall **)(float *, float))(*(_QWORD *)v46 + 128LL))(v46, 0.992); (*(void (__fastcall **)(float *, float))(*(_QWORD *)v46 + 144LL))(v46, 0.86); v47 = *(void (__fastcall **)(float *, __int64 *))(*(_QWORD *)v46 + 960LL); BYTE2(v118[0]) = -1; LOWORD(v118[0]) = -256; v47(v46, v118); (*(void (__fastcall **)(__int64, float *, __int64))(*(_QWORD *)v42 + 464LL))(v42, v46, 1); v48 = *(void (__fastcall **)(float *, __int64 *))(*(_QWORD *)v46 + 296LL); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v118, 0.0, 0.5); v48(v46, v118); v49 = *(void (__fastcall **)(float *, __int64))(*(_QWORD *)v46 + 184LL); v50 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v36 + 192LL))(v36); v49(v46, v50); v113 = (cocos2d::CCSprite *)cocos2d::CCLabelBMFont::create( (cocos2d::CCLabelBMFont *)&byte_11E1A70, "bigFont.fnt", v51); (*(void (__fastcall **)(_QWORD, cocos2d::CCSprite *, __int64))(*(_QWORD *)*(this + 73) + 464LL))( *(this + 73), v113, 4); v102 = *(void (__fastcall **)(cocos2d::CCSprite *, __int64))(*(_QWORD *)v113 + 184LL); v52 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v31 + 192LL))(v31); v102(v113, v52); (*(void (__fastcall **)(cocos2d::CCSprite *, float))(*(_QWORD *)v113 + 160LL))(v113, 0.4); v54 = cocos2d::CCLabelBMFont::create((cocos2d::CCLabelBMFont *)&byte_11E1A70, "bigFont.fnt", v53); (*(void (__fastcall **)(_QWORD, __int64, __int64))(*(_QWORD *)*(this + 73) + 464LL))(*(this + 73), v54, 4); v103 = *(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v54 + 184LL); v55 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v42 + 192LL))(v42); v103(v54, v55); (*(void (__fastcall **)(__int64, float))(*(_QWORD *)v54 + 160LL))(v54, 0.4); v104 = cocos2d::CCLabelBMFont::create((cocos2d::CCLabelBMFont *)"Normal Mode", "bigFont.fnt", v56); (*(void (__fastcall **)(_QWORD, __int64, __int64))(*(_QWORD *)*(this + 73) + 464LL))(*(this + 73), v104, 4); v100 = v104; v101 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v104 + 184LL); v105 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v31 + 192LL))(v31); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v117, 0.0, 20.0); cocos2d::CCPoint::operator+(v118, v105); v101(v100, v118); (*(void (__fastcall **)(__int64, float))(*(_QWORD *)v100 + 160LL))(v100, 0.4); v58 = cocos2d::CCLabelBMFont::create((cocos2d::CCLabelBMFont *)"Practice Mode", "bigFont.fnt", v57); (*(void (__fastcall **)(_QWORD, __int64, __int64))(*(_QWORD *)*(this + 73) + 464LL))(*(this + 73), v58, 4); v106 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v58 + 184LL); v109 = (char *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v42 + 192LL))(v42); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v117, 0.0, 20.0); cocos2d::CCPoint::operator+(v118, v109); v106(v58, v118); (*(void (__fastcall **)(__int64, float))(*(_QWORD *)v58 + 160LL))(v58, 0.4); NormalPercent = GJGameLevel::getNormalPercent(a2); v60 = v37; if ( v37 > (float)((float)((float)NormalPercent / 100.0) * v37) ) v60 = (float)((float)(int)GJGameLevel::getNormalPercent(a2) / 100.0) * v37; v61 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v36 + 1136LL); cocos2d::CCRect::CCRect((cocos2d::CCRect *)v118, 0.0, 0.0, v60, *(float *)(v107 + 12)); v61(v36, v118); v62 = (float)((float)*((int *)a2 + 222) / 100.0) * v37; if ( v37 <= v62 ) v62 = v37; v63 = *(void (__fastcall **)(float *, __int64 *))(*(_QWORD *)v46 + 1136LL); cocos2d::CCRect::CCRect((cocos2d::CCRect *)v118, 0.0, 0.0, v62, v46[109]); v63(v46, v118); v64 = GJGameLevel::getNormalPercent(a2); v65 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"%i%%", (const char *)v64); CString = cocos2d::CCString::getCString(v65); (*(void (__fastcall **)(cocos2d::CCSprite *, __int64))(*(_QWORD *)v113 + 928LL))(v113, CString); v67 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat( (cocos2d::CCString *)"%i%%", (const char *)*((unsigned int *)a2 + 222)); v68 = cocos2d::CCString::getCString(v67); v69 = (cocos2d::CCArray *)(*(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)v54 + 928LL))(v54, v68); v70 = (cocos2d::CCArray *)cocos2d::CCArray::create(v69); v71 = (int)GJGameLevel::getNormalPercent(*(this + 84)) > 99; if ( v71 ) v72 = "GJ_starsIcon_001.png"; else v72 = "GJ_starsIcon_gray_001.png"; v114 = (cocos2d::CCSprite *)v72; *(_QWORD *)v119 = 0; v73 = 0; v120 = 0; v121 = nullptr; v74 = strlen(v72); std::string::__init((__int64 *)v119, v114, v74); if ( *((_DWORD *)a2 + 237) - *((_DWORD *)a2 + 238) > 0 ) { do { v75 = (cocos2d::CCSprite *)&v119[1]; if ( (v119[0] & 1) != 0 ) v75 = v121; v76 = (cocos2d::CCObject *)cocos2d::CCSprite::createWithSpriteFrameName( v75, (const char *)(unsigned __int8)v119[0]); (*(void (__fastcall **)(_QWORD, cocos2d::CCObject *))(*(_QWORD *)*(this + 73) + 456LL))(*(this + 73), v76); (*(void (__fastcall **)(cocos2d::CCObject *, float))(*(_QWORD *)v76 + 160LL))(v76, 0.6); cocos2d::CCArray::addObject(v70, v76); if ( !v71 ) (*(void (__fastcall **)(cocos2d::CCObject *, __int64))(*(_QWORD *)v76 + 912LL))(v76, 4294967240LL); ++v73; } while ( v73 < *((_DWORD *)a2 + 237) - *((_DWORD *)a2 + 238) ); } cocos2d::CCPoint::CCPoint( (cocos2d::CCPoint *)v118, *(float *)&v116 * 0.5, (float)((float)(*((float *)&v116 + 1) * 0.5) + -130.0) + 16.0); GameToolbox::alignItemsHorisontally((__int64)v70, (__int64)v118, 0, 15.0); *((_DWORD *)this + 160) = -1; v77 = cocos2d::CCSprite::createWithSpriteFrameName( (cocos2d::CCSprite *)"GJ_closeBtn_001.png", (const char *)0xFFFFFFFFLL); v78 = (cocos2d::CCMenu *)CCMenuItemSpriteExtra::create(v77, 0, (__int64)this, (__int64)WorldLevelPage::onClose, 0); CCMenuItemSpriteExtra::setSizeMult((__int64)v78, 1.6); v79 = cocos2d::CCMenu::create(v78, nullptr); v80 = *(float *)&v116; *(this + 69) = (GJGameLevel *)v79; v81 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v79 + 184LL); cocos2d::CCPoint::CCPoint( (cocos2d::CCPoint *)v118, (float)((float)(v80 * 0.5) + -160.0) + 10.0, (float)((float)(*((float *)&v116 + 1) * 0.5) + 130.0) - 10.0); v81(v79, v118); (*(void (__fastcall **)(_QWORD, _QWORD, __int64))(*(_QWORD *)*(this + 73) + 464LL))(*(this + 73), *(this + 69), 10); v83 = cocos2d::CCSprite::createWithSpriteFrameName((cocos2d::CCSprite *)"GJ_playBtn2_001.png", v82); (*(void (__fastcall **)(__int64, float))(*(_QWORD *)v83 + 160LL))(v83, 1.0); v84 = CCMenuItemSpriteExtra::create(v83, 0, (__int64)this, (__int64)WorldLevelPage::onPlay, 0); (*(void (__fastcall **)(_QWORD, __int64))(*(_QWORD *)*(this + 69) + 456LL))(*(this + 69), v84); v85 = *(this + 69); v86 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v84 + 184LL); cocos2d::CCPoint::CCPoint( (cocos2d::CCPoint *)v117, *(float *)&v116 * 0.5, (float)(*((float *)&v116 + 1) * 0.5) + 32.0); cocos2d::CCNode::convertToNodeSpace(v118, v85, (const cocos2d::CCPoint *)v117); v86(v84, v118); v88 = cocos2d::CCSprite::createWithSpriteFrameName((cocos2d::CCSprite *)"GJ_playMusicBtn_001.png", v87); (*(void (__fastcall **)(__int64, float))(*(_QWORD *)v88 + 160LL))(v88, 0.8); v89 = CCMenuItemSpriteExtra::create(v88, 0, (__int64)this, (__int64)WorldLevelPage::onSong, 0); CCMenuItemSpriteExtra::setSizeMult(v89, 2.0); (*(void (__fastcall **)(_QWORD, __int64))(*(_QWORD *)*(this + 69) + 456LL))(*(this + 69), v89); v90 = *(this + 69); v91 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v89 + 184LL); cocos2d::CCPoint::CCPoint( (cocos2d::CCPoint *)v117, (float)((float)(*(float *)&v116 * 0.5) + 160.0) - 5.0, (float)((float)(*((float *)&v116 + 1) * 0.5) + -130.0) + 5.0); cocos2d::CCNode::convertToNodeSpace(v118, v90, (const cocos2d::CCPoint *)v117); v91(v89, v118); v93 = cocos2d::CCSprite::createWithSpriteFrameName((cocos2d::CCSprite *)"GJ_infoIcon_001.png", v92); v94 = CCMenuItemSpriteExtra::create(v93, 0, (__int64)this, (__int64)WorldLevelPage::onInfo, 0); CCMenuItemSpriteExtra::setSizeMult(v94, 2.0); (*(void (__fastcall **)(_QWORD, __int64))(*(_QWORD *)*(this + 69) + 456LL))(*(this + 69), v94); v95 = *(this + 69); v96 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v94 + 184LL); cocos2d::CCPoint::CCPoint( (cocos2d::CCPoint *)v117, (float)((float)(*(float *)&v116 * 0.5) + 160.0) - 5.0, (float)((float)(*((float *)&v116 + 1) * 0.5) + 130.0) - 5.0); cocos2d::CCNode::convertToNodeSpace(v118, v95, (const cocos2d::CCPoint *)v117); v96(v94, v118); if ( (v119[0] & 1) != 0 ) operator delete(v121); return v108; }
GD Web Decomp Icon

GD Web Decomp

Raw Source