// // MenuLayer::init from 0x1404720c0 to 0x140473b6f (6831 bytes) // // 5 xrefs: // > MenuLayer::scene @ 0x140472030 // > MenuLayer::scene @ 0x140472037 // > MenuLayer::scene @ 0x140472021 // > @ 0x1407b4430 // > @ 0x1409281f0 // // 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:40 +0000 // // Hidden C++ exception states: #wind=41 bool __fastcall MenuLayer::init(__int64 a1) { bool result; // al __int64 v3; // rcx __int64 v4; // rdx __int64 v5; // rax __int64 v6; // rdx __int64 v7; // rcx __int64 v8; // rax char *v9; // rbx bool (__fastcall *v10)(__int64); // rdx bool v11; // al struct cocos2d::CCSprite *v12; // rdi __int64 v13; // rbx __int64 v14; // rcx cocos2d::CCDirector *v15; // rax float v16; // xmm0_4 __int64 v17; // rax __int64 v18; // rcx int v19; // eax cocos2d::CCObject *v20; // r15 __int64 v21; // rbx __int64 v22; // rax int v23; // eax __int128 v24; // rdi __int64 v25; // rax __int64 v26; // rbx __int64 v27; // rax __int64 v28; // rax struct cocos2d::CCSprite *v29; // rax __int64 v30; // rax __int64 v31; // rbx __int64 v32; // rax __int64 v33; // rax int v34; // eax cocos2d::CCObject *v35; // r14 __int64 v36; // rax __int64 v37; // rbx __int64 v38; // rax __int64 v39; // rcx __int64 v40; // rax __int64 v41; // rax __int64 v42; // rbx __int64 v43; // rax __int64 v44; // rax cocos2d::CCDirector *v45; // rax float v46; // xmm12_4 __int64 v47; // rcx cocos2d::CCMenu *v48; // rdi struct cocos2d::CCSprite *v49; // rax int v50; // ebx cocos2d::CCObject *v51; // rax struct cocos2d::CCSprite *v52; // rax int v53; // ebx struct cocos2d::CCSprite *v54; // rax int v55; // ebx cocos2d::CCObject *v56; // rax __int64 v57; // rbx struct cocos2d::CCSprite *v58; // rbx cocos2d::CCObject *v59; // rax __int64 v60; // rbx __int64 v61; // rax __int64 v62; // rcx cocos2d::CCDirector *v63; // rax float v64; // xmm8_4 struct cocos2d::CCSprite *v65; // rax cocos2d::CCObject *v66; // rax struct cocos2d::CCMenu *v67; // rsi __int64 v68; // rbx __int64 v69; // rcx cocos2d::CCDirector *v70; // rax float v71; // xmm0_4 __int64 v72; // rax struct cocos2d::CCSprite *v73; // rax cocos2d::CCObject *v74; // r15 struct cocos2d::CCSprite *v75; // rax cocos2d::CCObject *v76; // r14 struct cocos2d::CCSprite *v77; // rax cocos2d::CCObject *v78; // r12 struct cocos2d::CCSprite *v79; // rax cocos2d::CCObject *v80; // rdi struct cocos2d::CCSprite *v81; // rax cocos2d::CCObject *v82; // rsi __int64 v83; // rbx __int64 v84; // rcx cocos2d::CCDirector *v85; // rax float v86; // xmm0_4 __int64 v87; // rax __int64 v88; // rax __int64 v89; // rax __int64 v90; // rbx __int64 v91; // rax __int64 v92; // rax __int64 v93; // rbx __int64 v94; // rax __int64 v95; // rax __int64 v96; // rbx __int64 v97; // rax __int64 v98; // rax __int64 v99; // rbx __int64 v100; // rax __int64 v101; // rbx struct cocos2d::CCSprite *v102; // rbx cocos2d::CCObject *v103; // rdi struct cocos2d::CCMenu *v104; // rsi __int64 v105; // rbx __int64 v106; // rcx cocos2d::CCDirector *v107; // rax float v108; // xmm0_4 __int64 v109; // rax __int64 v110; // rcx __int64 v111; // rax struct cocos2d::CCSprite *v112; // rax int v113; // ebx cocos2d::CCObject *v114; // rdi __int64 v115; // rbx __int64 v116; // rcx cocos2d::CCDirector *v117; // rax float v118; // xmm0_4 __int64 v119; // rax __int64 v120; // rax __int64 v121; // rcx struct cocos2d::CCSprite *v122; // rbx __int64 v123; // rax __int64 v124; // r15 __int64 v125; // rax __int64 v126; // rax struct cocos2d::CCSprite *v127; // rsi cocos2d::CCObject *v128; // r14 __int64 (__fastcall *v129)(cocos2d::CCObject *); // rdi __int64 v130; // rbx __int64 v131; // rax __int64 v132; // rax __int64 v133; // rax __int64 v134; // rax struct cocos2d::CCSprite *v135; // rsi __int64 v136; // r14 __int64 (__fastcall *v137)(__int64); // rdi __int64 v138; // rbx __int64 v139; // rax __int64 v140; // rax __int64 v141; // rax __int64 v142; // rax struct cocos2d::CCSprite *v143; // rsi cocos2d::CCObject *v144; // r14 __int64 (__fastcall *v145)(cocos2d::CCObject *); // rdi __int64 v146; // rbx __int64 v147; // rax __int64 v148; // rax __int64 v149; // rax __int64 v150; // rax __int64 v151; // rcx __int64 v152; // rax bool v153; // cc int v154; // eax float v155; // xmm7_4 struct cocos2d::CCSprite *v156; // rsi __int64 v157; // rbx float v158; // xmm6_4 __int64 v159; // rcx cocos2d::CCDirector *v160; // rax float v161; // xmm0_4 __int64 v162; // rax struct cocos2d::CCSprite *v163; // r14 __int64 v164; // rax __int64 v165; // rbx __int64 v166; // rax struct cocos2d::CCLabelBMFont *v167; // rdi __int64 v168; // rbx __int64 v169; // rax __int64 v170; // rax __int64 v171; // rbx __int64 v172; // rax struct cocos2d::CCLabelBMFont *v173; // rdi __int64 v174; // rbx __int64 v175; // rax __int64 v176; // rax __int64 v177; // rbx __int64 v178; // rax int v179; // eax cocos2d::CCObject *v180; // rax __int64 v181; // rdi __int64 v182; // rbx __int64 v183; // rax struct cocos2d::CCLabelBMFont *v184; // rax __int64 v185; // rax __int64 v186; // rbx struct cocos2d::CCSprite *v187; // rax int v188; // ebx cocos2d::CCObject *v189; // rax __int64 v190; // rax __int64 v191; // rdi __int64 v192; // rbx __int64 v193; // rax __int64 v194; // rcx __int64 v195; // rdx __int64 v196; // r8 __int64 v197; // rax struct cocos2d::CCSprite *v198; // rax __int64 v199; // rax __int64 v200; // rax int v201; // eax cocos2d::CCObject *v202; // rdi cocos2d::CCMenu *v203; // rsi float v204; // xmm6_4 __int64 v205; // rbx __int64 v206; // rcx cocos2d::CCDirector *v207; // rax float v208; // xmm0_4 __int64 v209; // rax __int64 v210; // rax __int64 v211; // rcx __int64 v212; // rbx struct cocos2d::CCFiniteTimeAction *v213; // rax struct cocos2d::CCAction *v214; // rax __int64 v215; // rax __int64 v216; // rbx struct cocos2d::CCFiniteTimeAction *v217; // rax struct cocos2d::CCAction *v218; // rax __int64 v219; // rcx __int64 v220; // rcx __int64 v221; // rcx __int64 v222; // rbx struct cocos2d::CCFiniteTimeAction *v223; // rax struct cocos2d::CCAction *v224; // rax void *v225; // [rsp+28h] [rbp-A9h] BYREF cocos2d::CCObject *v226; // [rsp+30h] [rbp-A1h] BYREF __int64 v227; // [rsp+38h] [rbp-99h] BYREF void *v228; // [rsp+40h] [rbp-91h] BYREF cocos2d::CCMenu *v229; // [rsp+48h] [rbp-89h] BYREF cocos2d::CCObject *v230; // [rsp+50h] [rbp-81h] BYREF cocos2d::CCObject *v231; // [rsp+58h] [rbp-79h] BYREF __int128 v232; // [rsp+60h] [rbp-71h] BYREF struct cocos2d::CCMenu *v233; // [rsp+140h] [rbp+6Fh] BYREF float v234; // [rsp+148h] [rbp+77h] BYREF float v235; // [rsp+14Ch] [rbp+7Bh] char v236; // [rsp+150h] [rbp+7Fh] BYREF result = cocos2d::CCLayer::init((cocos2d::CCLayer *)a1); if ( result ) { v3 = qword_14090BFD0; if ( !qword_14090BFD0 ) { v233 = (struct cocos2d::CCMenu *)operator new(0x6E8u); qword_14090BFD0 = GameManager::GameManager((__int64)v233); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFD0 + 72LL))(qword_14090BFD0); v3 = qword_14090BFD0; } GameManager::fadeInMenuMusic(v3); v5 = qword_14090BFD0; if ( !qword_14090BFD0 ) { v233 = (struct cocos2d::CCMenu *)operator new(0x6E8u); qword_14090BFD0 = GameManager::GameManager((__int64)v233); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFD0 + 72LL))(qword_14090BFD0); v5 = qword_14090BFD0; } *(_BYTE *)(v5 + 600) = 1; *(_DWORD *)(v5 + 740) = 0; *(_BYTE *)(v5 + 1096) = 0; LOBYTE(v4) = 1; (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)a1 + 992LL))(a1, v4); LOBYTE(v6) = 1; (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)a1 + 1008LL))(a1, v6); v8 = cocos2d::CCDirector::sharedDirector(v7); cocos2d::CCDirector::getWinSize(v8, &v234); v9 = (char *)operator new(0x1D0u); v233 = (struct cocos2d::CCMenu *)v9; cocos2d::CCLayer::CCLayer((cocos2d::CCLayer *)v9); *(_QWORD *)v9 = &MenuGameLayer::`vftable'; *((_QWORD *)v9 + 40) = &MenuGameLayer::`vftable'; *((_QWORD *)v9 + 41) = &MenuGameLayer::`vftable'; *((_QWORD *)v9 + 42) = &MenuGameLayer::`vftable'; *((_QWORD *)v9 + 43) = &MenuGameLayer::`vftable'; *((_QWORD *)v9 + 44) = &MenuGameLayer::`vftable'; v9[408] = 0; *((_DWORD *)v9 + 103) = 0; v9[416] = 0; *((_DWORD *)v9 + 105) = 0; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)(v9 + 424)); *((_QWORD *)v9 + 54) = 0; *((_QWORD *)v9 + 55) = 0; *((_QWORD *)v9 + 56) = 0; *((_DWORD *)v9 + 114) = 0; v10 = *(bool (__fastcall **)(__int64))(*(_QWORD *)v9 + 72LL); if ( v10 == MenuGameLayer::init ) v11 = MenuGameLayer::init((__int64)v9); else v11 = v10((__int64)v9); if ( v11 ) { cocos2d::CCObject::autorelease((cocos2d::CCObject *)v9); } else { (*(void (__fastcall **)(char *, __int64))(*(_QWORD *)v9 + 8LL))(v9, 1); v9 = nullptr; } *(_QWORD *)(a1 + 504) = v9; (*(void (__fastcall **)(__int64, char *))(*(_QWORD *)a1 + 464LL))(a1, v9); v12 = cocos2d::CCSprite::createWithSpriteFrameName("GJ_logo_001.png"); (*(void (__fastcall **)(__int64, struct cocos2d::CCSprite *, __int64))(*(_QWORD *)a1 + 456LL))(a1, v12, 2); v13 = *(_QWORD *)v12; v15 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(v14); v16 = cocos2d::CCDirector::getScreenTop(v15) - 50.0; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v233, v234 * 0.5, v16); (*(void (__fastcall **)(struct cocos2d::CCSprite *, __int64))(v13 + 184))(v12, v17); *((_QWORD *)&v24 + 1) = cocos2d::CCMenu::create(v18); v19 = (unsigned int)cocos2d::CCSprite::createWithSpriteFrameName("GJ_playBtn_001.png"); v20 = CCMenuItemSpriteExtra::create(v19, 0, a1, (__int64)MenuLayer::onPlay); v230 = v20; (*(void (__fastcall **)(_QWORD, cocos2d::CCObject *))(**((_QWORD **)&v24 + 1) + 464LL))(*((_QWORD *)&v24 + 1), v20); (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)a1 + 464LL))(a1, *((_QWORD *)&v24 + 1)); v21 = **((_QWORD **)&v24 + 1); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v233, v234 * 0.5, (float)(v235 * 0.5) + 10.0); (*(void (__fastcall **)(_QWORD, __int64))(v21 + 184))(*((_QWORD *)&v24 + 1), v22); v23 = (unsigned int)cocos2d::CCSprite::createWithSpriteFrameName("GJ_garageBtn_001.png"); *(_QWORD *)&v24 = CCMenuItemSpriteExtra::create(v23, 0, a1, (__int64)MenuLayer::onGarage); v232 = v24; (*(void (__fastcall **)(_QWORD, _QWORD))(**((_QWORD **)&v24 + 1) + 464LL))(*((_QWORD *)&v24 + 1), v24); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v229, -110.0, 0.0); v26 = v25; v27 = (*(__int64 (__fastcall **)(cocos2d::CCObject *))(*(_QWORD *)v20 + 200LL))(v20); cocos2d::CCPoint::operator+(v27, &v233, v26); (*(void (__fastcall **)(_QWORD, struct cocos2d::CCMenu **))(*(_QWORD *)v24 + 184LL))(v24, &v233); v28 = qword_14090BFD0; if ( !qword_14090BFD0 ) { v226 = (cocos2d::CCObject *)operator new(0x6E8u); qword_14090BFD0 = GameManager::GameManager((__int64)v226); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFD0 + 72LL))(qword_14090BFD0); v28 = qword_14090BFD0; } if ( !*(_BYTE *)(v28 + 959) ) { v29 = cocos2d::CCSprite::createWithSpriteFrameName("GJ_chrSel_001.png"); *(_QWORD *)(a1 + 480) = v29; (*(void (__fastcall **)(__int64, struct cocos2d::CCSprite *))(*(_QWORD *)a1 + 464LL))(a1, v29); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v229, -50.0, -50.0); v31 = v30; v32 = (*(__int64 (__fastcall **)(_QWORD))(*(_QWORD *)v24 + 200LL))(v24); cocos2d::CCNode::convertToWorldSpace(*((_QWORD *)&v24 + 1), &v226, v32); cocos2d::CCPoint::operator+(v33, &v233, v31); (*(void (__fastcall **)(_QWORD, struct cocos2d::CCMenu **))(**(_QWORD **)(a1 + 480) + 184LL))( *(_QWORD *)(a1 + 480), &v233); } v34 = (unsigned int)cocos2d::CCSprite::createWithSpriteFrameName("GJ_creatorBtn_001.png"); v35 = CCMenuItemSpriteExtra::create(v34, 0, a1, (__int64)MenuLayer::onCreator); v231 = v35; (*(void (__fastcall **)(_QWORD, cocos2d::CCObject *))(**((_QWORD **)&v24 + 1) + 464LL))(*((_QWORD *)&v24 + 1), v35); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v229, 110.0, 0.0); v37 = v36; v38 = (*(__int64 (__fastcall **)(cocos2d::CCObject *))(*(_QWORD *)v20 + 200LL))(v20); cocos2d::CCPoint::operator+(v38, &v233, v37); (*(void (__fastcall **)(cocos2d::CCObject *, struct cocos2d::CCMenu **))(*(_QWORD *)v35 + 184LL))(v35, &v233); v40 = qword_14090BFD0; if ( !qword_14090BFD0 ) { v226 = (cocos2d::CCObject *)operator new(0x6E8u); qword_14090BFD0 = GameManager::GameManager((__int64)v226); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFD0 + 72LL))(qword_14090BFD0); v40 = qword_14090BFD0; } if ( !*(_BYTE *)(v40 + 960) ) { *(_QWORD *)&v24 = cocos2d::CCSprite::createWithSpriteFrameName("GJ_lvlEdit_001.png"); (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)a1 + 464LL))(a1, v24); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v229, 50.0, -50.0); v42 = v41; v43 = (*(__int64 (__fastcall **)(cocos2d::CCObject *))(*(_QWORD *)v35 + 200LL))(v35); cocos2d::CCNode::convertToWorldSpace(*((_QWORD *)&v24 + 1), &v226, v43); cocos2d::CCPoint::operator+(v44, &v233, v42); (*(void (__fastcall **)(_QWORD, struct cocos2d::CCMenu **))(*(_QWORD *)v24 + 184LL))(v24, &v233); } v45 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(v39); v46 = cocos2d::CCDirector::getScreenBottom(v45) + 45.0; v48 = (cocos2d::CCMenu *)cocos2d::CCMenu::create(v47); v229 = v48; (*(void (__fastcall **)(__int64, cocos2d::CCMenu *))(*(_QWORD *)a1 + 464LL))(a1, v48); v49 = cocos2d::CCSprite::createWithSpriteFrameName("GJ_achBtn_001.png"); v50 = (int)v49; (*(void (__fastcall **)(struct cocos2d::CCSprite *))(*(_QWORD *)v49 + 160LL))(v49); v51 = CCMenuItemSpriteExtra::create(v50, 0, a1, (__int64)MenuLayer::onAchievements); (*(void (__fastcall **)(cocos2d::CCMenu *, cocos2d::CCObject *))(*(_QWORD *)v48 + 464LL))(v48, v51); v52 = cocos2d::CCSprite::createWithSpriteFrameName("GJ_optionsBtn_001.png"); v53 = (int)v52; (*(void (__fastcall **)(struct cocos2d::CCSprite *))(*(_QWORD *)v52 + 160LL))(v52); v226 = CCMenuItemSpriteExtra::create(v53, 0, a1, (__int64)MenuLayer::onOptions); (*(void (__fastcall **)(cocos2d::CCMenu *, cocos2d::CCObject *))(*(_QWORD *)v48 + 464LL))(v48, v226); v54 = cocos2d::CCSprite::createWithSpriteFrameName("GJ_statsBtn_001.png"); v55 = (int)v54; (*(void (__fastcall **)(struct cocos2d::CCSprite *))(*(_QWORD *)v54 + 160LL))(v54); v56 = CCMenuItemSpriteExtra::create(v55, 0, a1, (__int64)MenuLayer::onStats); (*(void (__fastcall **)(cocos2d::CCMenu *, cocos2d::CCObject *))(*(_QWORD *)v48 + 464LL))(v48, v56); v57 = qword_14090BFD0; if ( !qword_14090BFD0 ) { v233 = (struct cocos2d::CCMenu *)operator new(0x6E8u); qword_14090BFD0 = GameManager::GameManager((__int64)v233); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFD0 + 72LL))(qword_14090BFD0); v57 = qword_14090BFD0; } if ( !GameManager::getGameVariable(v57, "0218") && !GameManager::getGameVariable(v57, "0219") ) { v58 = cocos2d::CCSprite::createWithSpriteFrameName("GJ_ngBtn_001.png"); (*(void (__fastcall **)(struct cocos2d::CCSprite *))(*(_QWORD *)v58 + 160LL))(v58); v59 = CCMenuItemSpriteExtra::create((int)v58, 0, a1, (__int64)MenuLayer::onNewgrounds); (*(void (__fastcall **)(cocos2d::CCMenu *, cocos2d::CCObject *))(*(_QWORD *)v48 + 464LL))(v48, v59); } v60 = *(_QWORD *)v48; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v233, v234 * 0.5, v46); (*(void (__fastcall **)(cocos2d::CCMenu *, __int64))(v60 + 184))(v48, v61); cocos2d::CCMenu::alignItemsHorizontallyWithPadding(v48, 5.0); v63 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(v62); v64 = cocos2d::CCDirector::getScreenBottom(v63) + 30.0; v65 = cocos2d::CCSprite::createWithSpriteFrameName("robtoplogo_small.png"); LODWORD(v60) = (_DWORD)v65; (*(void (__fastcall **)(struct cocos2d::CCSprite *))(*(_QWORD *)v65 + 160LL))(v65); v66 = CCMenuItemSpriteExtra::create(v60, 0, a1, (__int64)MenuLayer::onRobTop); *((_DWORD *)v66 + 93) = 1066192077; v67 = cocos2d::CCMenu::create(v66, 0); v233 = v67; (*(void (__fastcall **)(__int64, struct cocos2d::CCMenu *, __int64))(*(_QWORD *)a1 + 456LL))(a1, v67, 2); v68 = *(_QWORD *)v67; v70 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(v69); v71 = cocos2d::CCDirector::getScreenLeft(v70) + 50.0; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v227, v71, v64 - 5.0); (*(void (__fastcall **)(struct cocos2d::CCMenu *, __int64))(v68 + 184))(v67, v72); v73 = cocos2d::CCSprite::createWithSpriteFrameName("gj_fbIcon_001.png"); LODWORD(v68) = (_DWORD)v73; (*(void (__fastcall **)(struct cocos2d::CCSprite *))(*(_QWORD *)v73 + 160LL))(v73); v74 = CCMenuItemSpriteExtra::create(v68, 0, a1, (__int64)MenuLayer::onFacebook); *((_DWORD *)v74 + 93) = 1069547520; (*(void (__fastcall **)(struct cocos2d::CCMenu *, cocos2d::CCObject *))(*(_QWORD *)v67 + 464LL))(v67, v74); v75 = cocos2d::CCSprite::createWithSpriteFrameName("gj_twIcon_001.png"); LODWORD(v68) = (_DWORD)v75; (*(void (__fastcall **)(struct cocos2d::CCSprite *))(*(_QWORD *)v75 + 160LL))(v75); v76 = CCMenuItemSpriteExtra::create(v68, 0, a1, (__int64)MenuLayer::onTwitter); *((_DWORD *)v76 + 93) = 1069547520; (*(void (__fastcall **)(struct cocos2d::CCMenu *, cocos2d::CCObject *))(*(_QWORD *)v67 + 464LL))(v67, v76); v77 = cocos2d::CCSprite::createWithSpriteFrameName("gj_ytIcon_001.png"); LODWORD(v68) = (_DWORD)v77; (*(void (__fastcall **)(struct cocos2d::CCSprite *))(*(_QWORD *)v77 + 160LL))(v77); v78 = CCMenuItemSpriteExtra::create(v68, 0, a1, (__int64)MenuLayer::onYouTube); *((_DWORD *)v78 + 93) = 1069547520; (*(void (__fastcall **)(struct cocos2d::CCMenu *, cocos2d::CCObject *))(*(_QWORD *)v67 + 464LL))(v67, v78); v79 = cocos2d::CCSprite::createWithSpriteFrameName("gj_twitchIcon_001.png"); LODWORD(v68) = (_DWORD)v79; (*(void (__fastcall **)(struct cocos2d::CCSprite *))(*(_QWORD *)v79 + 160LL))(v79); v80 = CCMenuItemSpriteExtra::create(v68, 0, a1, (__int64)MenuLayer::onTwitch); *((_DWORD *)v80 + 93) = 1069547520; (*(void (__fastcall **)(struct cocos2d::CCMenu *, cocos2d::CCObject *))(*(_QWORD *)v67 + 464LL))(v67, v80); v81 = cocos2d::CCSprite::createWithSpriteFrameName("gj_discordIcon_001.png"); LODWORD(v68) = (_DWORD)v81; (*(void (__fastcall **)(struct cocos2d::CCSprite *))(*(_QWORD *)v81 + 160LL))(v81); v82 = CCMenuItemSpriteExtra::create(v68, 0, a1, (__int64)MenuLayer::onDiscord); *((_DWORD *)v82 + 93) = 1069547520; (*(void (__fastcall **)(struct cocos2d::CCMenu *, cocos2d::CCObject *))(*(_QWORD *)v233 + 464LL))(v233, v82); v83 = *(_QWORD *)v74; v85 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(v84); v86 = cocos2d::CCDirector::getScreenLeft(v85) + 22.0; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v227, v86, v64 + 25.0); cocos2d::CCNode::convertToNodeSpace(v233, &v228, v87); (*(void (__fastcall **)(cocos2d::CCObject *, __int64))(v83 + 184))(v74, v88); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v228, 29.0, 0.0); v90 = v89; v91 = (*(__int64 (__fastcall **)(cocos2d::CCObject *))(*(_QWORD *)v74 + 200LL))(v74); cocos2d::CCPoint::operator+(v91, &v227, v90); (*(void (__fastcall **)(cocos2d::CCObject *, __int64 *))(*(_QWORD *)v76 + 184LL))(v76, &v227); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v228, 29.0, 0.0); v93 = v92; v94 = (*(__int64 (__fastcall **)(cocos2d::CCObject *))(*(_QWORD *)v76 + 200LL))(v76); cocos2d::CCPoint::operator+(v94, &v227, v93); (*(void (__fastcall **)(cocos2d::CCObject *, __int64 *))(*(_QWORD *)v78 + 184LL))(v78, &v227); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v228, 29.0, 0.0); v96 = v95; v97 = (*(__int64 (__fastcall **)(cocos2d::CCObject *))(*(_QWORD *)v78 + 200LL))(v78); cocos2d::CCPoint::operator+(v97, &v227, v96); (*(void (__fastcall **)(cocos2d::CCObject *, __int64 *))(*(_QWORD *)v80 + 184LL))(v80, &v227); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v228, 29.0, -29.0); v99 = v98; v100 = (*(__int64 (__fastcall **)(cocos2d::CCObject *))(*(_QWORD *)v78 + 200LL))(v78); cocos2d::CCPoint::operator+(v100, &v227, v99); (*(void (__fastcall **)(cocos2d::CCObject *, __int64 *))(*(_QWORD *)v82 + 184LL))(v82, &v227); v101 = qword_14090BFD0; if ( !qword_14090BFD0 ) { v225 = operator new(0x6E8u); qword_14090BFD0 = GameManager::GameManager((__int64)v225); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFD0 + 72LL))(qword_14090BFD0); v101 = qword_14090BFD0; } if ( GameManager::getGameVariable(v101, "0218") || GameManager::getGameVariable(v101, "0219") ) (*(void (__fastcall **)(struct cocos2d::CCMenu *, _QWORD))(*(_QWORD *)v233 + 336LL))(v233, 0); v102 = cocos2d::CCSprite::createWithSpriteFrameName("GJ_newsBtn_001.png"); (*(void (__fastcall **)(struct cocos2d::CCSprite *))(*(_QWORD *)v102 + 160LL))(v102); v103 = CCMenuItemSpriteExtra::create((int)v102, 0, a1, (__int64)MenuLayer::onNews); *(_QWORD *)(a1 + 488) = v102; v104 = cocos2d::CCMenu::create(v103, 0); (*(void (__fastcall **)(__int64, struct cocos2d::CCMenu *, __int64))(*(_QWORD *)a1 + 456LL))(a1, v104, 2); v105 = *(_QWORD *)v104; v107 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(v106); v108 = cocos2d::CCDirector::getScreenRight(v107) - 43.0; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v233, v108, v46); (*(void (__fastcall **)(struct cocos2d::CCMenu *, __int64))(v105 + 184))(v104, v109); v110 = qword_14090BFD0; if ( !qword_14090BFD0 ) { v225 = operator new(0x6E8u); qword_14090BFD0 = GameManager::GameManager((__int64)v225); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFD0 + 72LL))(qword_14090BFD0); v110 = qword_14090BFD0; } if ( GameManager::getGameVariable(v110, "0219") ) { (*(void (__fastcall **)(cocos2d::CCObject *, _QWORD))(*(_QWORD *)v103 + 336LL))(v103, 0); (*(void (__fastcall **)(cocos2d::CCObject *, _QWORD))(*(_QWORD *)v103 + 936LL))(v103, 0); } v111 = qword_14090BFD0; if ( !qword_14090BFD0 ) { v233 = (struct cocos2d::CCMenu *)operator new(0x6E8u); qword_14090BFD0 = GameManager::GameManager((__int64)v233); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFD0 + 72LL))(qword_14090BFD0); v111 = qword_14090BFD0; } *(_BYTE *)(v111 + 616) = 0; v112 = cocos2d::CCSprite::createWithSpriteFrameName("GJ_closeBtn_001.png"); v113 = (int)v112; (*(void (__fastcall **)(struct cocos2d::CCSprite *))(*(_QWORD *)v112 + 160LL))(v112); v114 = CCMenuItemSpriteExtra::create(v113, 0, a1, (__int64)MenuLayer::onQuit); (*(void (__fastcall **)(struct cocos2d::CCMenu *, cocos2d::CCObject *))(*(_QWORD *)v104 + 464LL))(v104, v114); v115 = *(_QWORD *)v114; v117 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(v116); v118 = cocos2d::CCDirector::getScreenTop(v117) - 18.0; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v233, 18.0, v118); cocos2d::CCNode::convertToNodeSpace(v104, &v225, v119); (*(void (__fastcall **)(cocos2d::CCObject *, __int64))(v115 + 184))(v114, v120); if ( *(_BYTE *)(cocos2d::CCApplication::sharedApplication(v121) + 209) ) { v122 = cocos2d::CCSprite::createWithSpriteFrameName("controllerBtn_Start_001.png"); (*(void (__fastcall **)(__int64, struct cocos2d::CCSprite *))(*(_QWORD *)a1 + 464LL))(a1, v122); v123 = (*(__int64 (__fastcall **)(cocos2d::CCObject *))(*(_QWORD *)v230 + 200LL))(v230); v124 = *((_QWORD *)&v232 + 1); cocos2d::CCNode::convertToWorldSpace(*((_QWORD *)&v232 + 1), &v225, v123); cocos2d::CCNode::convertToNodeSpace(a1, &v233, v125); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v225, 0.0, -66.0); cocos2d::CCPoint::operator+(&v233, &v230, v126); (*(void (__fastcall **)(struct cocos2d::CCSprite *, cocos2d::CCObject **))(*(_QWORD *)v122 + 184LL))(v122, &v230); v127 = cocos2d::CCSprite::createWithSpriteFrameName("controllerBtn_Y_001.png"); (*(void (__fastcall **)(__int64, struct cocos2d::CCSprite *))(*(_QWORD *)a1 + 464LL))(a1, v127); v128 = v231; v129 = *(__int64 (__fastcall **)(cocos2d::CCObject *))(*(_QWORD *)v231 + 504LL); v130 = (*(__int64 (__fastcall **)(cocos2d::CCObject *))(*(_QWORD *)v231 + 200LL))(v231); v131 = v129(v128); cocos2d::CCNode::convertToWorldSpace(v131, &v225, v130); cocos2d::CCNode::convertToNodeSpace(a1, &v228, v132); cocos2d::CCPoint::operator=(&v233, v133); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v225, 0.0, -45.0); cocos2d::CCPoint::operator+(&v233, &v231, v134); (*(void (__fastcall **)(struct cocos2d::CCSprite *, cocos2d::CCObject **))(*(_QWORD *)v127 + 184LL))(v127, &v231); (*(void (__fastcall **)(struct cocos2d::CCSprite *))(*(_QWORD *)v127 + 160LL))(v127); v135 = cocos2d::CCSprite::createWithSpriteFrameName("controllerBtn_X_001.png"); (*(void (__fastcall **)(__int64, struct cocos2d::CCSprite *))(*(_QWORD *)a1 + 464LL))(a1, v135); v136 = v232; v137 = *(__int64 (__fastcall **)(__int64))(*(_QWORD *)v232 + 504LL); v138 = (*(__int64 (__fastcall **)(_QWORD))(*(_QWORD *)v232 + 200LL))(v232); v139 = v137(v136); cocos2d::CCNode::convertToWorldSpace(v139, &v225, v138); cocos2d::CCNode::convertToNodeSpace(a1, &v228, v140); cocos2d::CCPoint::operator=(&v233, v141); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v225, 0.0, -45.0); cocos2d::CCPoint::operator+(&v233, &v232, v142); (*(void (__fastcall **)(struct cocos2d::CCSprite *, __int128 *))(*(_QWORD *)v135 + 184LL))(v135, &v232); (*(void (__fastcall **)(struct cocos2d::CCSprite *))(*(_QWORD *)v135 + 160LL))(v135); v143 = cocos2d::CCSprite::createWithSpriteFrameName("controllerBtn_DPad_Down_001.png"); (*(void (__fastcall **)(__int64, struct cocos2d::CCSprite *))(*(_QWORD *)a1 + 464LL))(a1, v143); v144 = v226; v145 = *(__int64 (__fastcall **)(cocos2d::CCObject *))(*(_QWORD *)v226 + 504LL); v146 = (*(__int64 (__fastcall **)(cocos2d::CCObject *))(*(_QWORD *)v226 + 200LL))(v226); v147 = v145(v144); cocos2d::CCNode::convertToWorldSpace(v147, &v225, v146); cocos2d::CCNode::convertToNodeSpace(a1, &v228, v148); cocos2d::CCPoint::operator=(&v233, v149); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v225, 0.0, -34.0); cocos2d::CCPoint::operator+(&v233, &v226, v150); (*(void (__fastcall **)(struct cocos2d::CCSprite *, cocos2d::CCObject **))(*(_QWORD *)v143 + 184LL))(v143, &v226); (*(void (__fastcall **)(struct cocos2d::CCSprite *))(*(_QWORD *)v143 + 160LL))(v143); v151 = qword_14090BFD0; if ( !qword_14090BFD0 ) { v225 = operator new(0x6E8u); qword_14090BFD0 = GameManager::GameManager((__int64)v225); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFD0 + 72LL))(qword_14090BFD0); v151 = qword_14090BFD0; } if ( !GameManager::getGameVariable(v151, "0028") ) { v152 = GJAccountManager::sharedState(); v153 = *(_DWORD *)(v152 + 360) - *(_DWORD *)(v152 + 364) <= 0; v154 = 0; if ( !v153 ) v154 = 15; v155 = (float)v154; v156 = cocos2d::CCSprite::createWithSpriteFrameName("controllerBtn_LThumb_001.png"); (*(void (__fastcall **)(__int64, struct cocos2d::CCSprite *))(*(_QWORD *)a1 + 464LL))(a1, v156); v157 = *(_QWORD *)v156; v158 = (float)((float)((float)(v235 * 0.5) + 15.0) + 10.0) + v155; v160 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(v159); v161 = cocos2d::CCDirector::getScreenLeft(v160) + 25.0; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v225, v161, v158); (*(void (__fastcall **)(struct cocos2d::CCSprite *, __int64))(v157 + 184))(v156, v162); v163 = cocos2d::CCSprite::createWithSpriteFrameName("controllerBtn_A_001.png"); (*(void (__fastcall **)(__int64, struct cocos2d::CCSprite *))(*(_QWORD *)a1 + 464LL))(a1, v163); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v228, 0.0, -30.0); v165 = v164; v166 = (*(__int64 (__fastcall **)(struct cocos2d::CCSprite *))(*(_QWORD *)v156 + 200LL))(v156); cocos2d::CCPoint::operator+(v166, &v226, v165); (*(void (__fastcall **)(struct cocos2d::CCSprite *, cocos2d::CCObject **))(*(_QWORD *)v163 + 184LL))( v163, &v226); v167 = cocos2d::CCLabelBMFont::create("Mouse", "goldFont.fnt"); (*(void (__fastcall **)(struct cocos2d::CCLabelBMFont *))(*(_QWORD *)v167 + 160LL))(v167); (*(void (__fastcall **)(__int64, struct cocos2d::CCLabelBMFont *))(*(_QWORD *)a1 + 464LL))(a1, v167); v168 = *(_QWORD *)v167; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v232, 0.0, 0.60000002); (*(void (__fastcall **)(struct cocos2d::CCLabelBMFont *, __int64))(v168 + 288))(v167, v169); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v231, 16.0, 1.0); v171 = v170; v172 = (*(__int64 (__fastcall **)(struct cocos2d::CCSprite *))(*(_QWORD *)v156 + 200LL))(v156); cocos2d::CCPoint::operator+(v172, &v226, v171); (*(void (__fastcall **)(struct cocos2d::CCLabelBMFont *, cocos2d::CCObject **))(*(_QWORD *)v167 + 184LL))( v167, &v226); v173 = cocos2d::CCLabelBMFont::create("Click", "goldFont.fnt"); (*(void (__fastcall **)(struct cocos2d::CCLabelBMFont *))(*(_QWORD *)v173 + 160LL))(v173); (*(void (__fastcall **)(__int64, struct cocos2d::CCLabelBMFont *))(*(_QWORD *)a1 + 464LL))(a1, v173); v174 = *(_QWORD *)v173; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v230, 0.0, 0.60000002); (*(void (__fastcall **)(struct cocos2d::CCLabelBMFont *, __int64))(v174 + 288))(v173, v175); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v227, 16.0, 1.0); v177 = v176; v178 = (*(__int64 (__fastcall **)(struct cocos2d::CCSprite *))(*(_QWORD *)v163 + 200LL))(v163); cocos2d::CCPoint::operator+(v178, &v226, v177); (*(void (__fastcall **)(struct cocos2d::CCLabelBMFont *, cocos2d::CCObject **))(*(_QWORD *)v173 + 184LL))( v173, &v226); } } else { v124 = *((_QWORD *)&v232 + 1); } v179 = (unsigned int)cocos2d::CCSprite::createWithSpriteFrameName("GJ_profileButton_001.png"); v180 = CCMenuItemSpriteExtra::create(v179, 0, a1, (__int64)MenuLayer::onMyProfile); *(_QWORD *)(a1 + 464) = v180; (*(void (__fastcall **)(__int64, cocos2d::CCObject *, __int64))(*(_QWORD *)v124 + 456LL))(v124, v180, 2); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v236, 45.0, 105.0); v181 = **(_QWORD **)(a1 + 464); v182 = *(_QWORD *)(a1 + 464); cocos2d::CCNode::convertToNodeSpace(v124, &v233, &v236); (*(void (__fastcall **)(__int64, __int64))(v181 + 184))(v182, v183); v184 = cocos2d::CCLabelBMFont::create(" ", "goldFont.fnt"); *(_QWORD *)(a1 + 456) = v184; (*(void (__fastcall **)(__int64, struct cocos2d::CCLabelBMFont *, __int64))(*(_QWORD *)a1 + 456LL))(a1, v184, 2); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v225, 2.0, 36.0); cocos2d::CCPoint::operator+(&v236, &v233, v185); (*(void (__fastcall **)(_QWORD, struct cocos2d::CCMenu **))(**(_QWORD **)(a1 + 456) + 184LL))( *(_QWORD *)(a1 + 456), &v233); cocos2d::CCLabelBMFont::limitLabelWidth(*(cocos2d::CCLabelBMFont **)(a1 + 456), 70.0, 0.69999999, 0.0); v186 = qword_14090BFD0; if ( !qword_14090BFD0 ) { v233 = (struct cocos2d::CCMenu *)operator new(0x6E8u); qword_14090BFD0 = GameManager::GameManager((__int64)v233); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFD0 + 72LL))(qword_14090BFD0); v186 = qword_14090BFD0; } if ( !GameManager::getGameVariable(v186, "0235") && *(_DWORD *)(v186 + 1064) - *(_DWORD *)(v186 + 1068) == 2 ) { v187 = cocos2d::CCSprite::createWithSpriteFrameName("modBadge_02_001.png"); v188 = (int)v187; (*(void (__fastcall **)(struct cocos2d::CCSprite *))(*(_QWORD *)v187 + 160LL))(v187); v189 = CCMenuItemSpriteExtra::create(v188, 0, a1, (__int64)MenuLayer::onReportQueue); *(_QWORD *)(a1 + 472) = v189; *((_DWORD *)v189 + 93) = 1069547520; (*(void (__fastcall **)(__int64, _QWORD, __int64))(*(_QWORD *)v124 + 456LL))(v124, *(_QWORD *)(a1 + 472), 2); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v225, 0.0, 75.0); cocos2d::CCPoint::operator+(&v236, &v233, v190); v191 = **(_QWORD **)(a1 + 472); v192 = *(_QWORD *)(a1 + 472); cocos2d::CCNode::convertToNodeSpace(v124, &v228, &v233); (*(void (__fastcall **)(__int64, __int64))(v191 + 184))(v192, v193); } v194 = qword_14090BFD0; if ( !qword_14090BFD0 ) { v226 = (cocos2d::CCObject *)operator new(0x6E8u); qword_14090BFD0 = GameManager::GameManager((__int64)v226); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFD0 + 72LL))(qword_14090BFD0); v194 = qword_14090BFD0; } if ( !GameManager::getGameVariable(v194, "0048") ) { v197 = qword_14090BFD0; if ( !qword_14090BFD0 ) { v233 = (struct cocos2d::CCMenu *)operator new(0x6E8u); qword_14090BFD0 = GameManager::GameManager((__int64)v233); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFD0 + 72LL))(qword_14090BFD0); v197 = qword_14090BFD0; } if ( *(_BYTE *)(v197 + 959) ) { v198 = cocos2d::CCSprite::createWithSpriteFrameName("GJ_viewProfileTxt_001.png"); *(_QWORD *)(a1 + 448) = v198; (*(void (__fastcall **)(__int64, struct cocos2d::CCSprite *, __int64))(*(_QWORD *)a1 + 456LL))(a1, v198, 2); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v225, 76.0, -1.0); cocos2d::CCPoint::operator+(&v236, &v233, v199); (*(void (__fastcall **)(_QWORD, struct cocos2d::CCMenu **))(**(_QWORD **)(a1 + 448) + 184LL))( *(_QWORD *)(a1 + 448), &v233); } } MenuLayer::updateUserProfileButton(a1, v195, v196); v200 = qword_14090BFD0; if ( !qword_14090BFD0 ) { v233 = (struct cocos2d::CCMenu *)operator new(0x6E8u); qword_14090BFD0 = GameManager::GameManager((__int64)v233); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFD0 + 72LL))(qword_14090BFD0); v200 = qword_14090BFD0; } *(_QWORD *)(v200 + 592) = a1; v201 = (unsigned int)cocos2d::CCSprite::createWithSpriteFrameName("GJ_dailyRewardBtn_001.png"); v202 = CCMenuItemSpriteExtra::create(v201, 0, a1, (__int64)MenuLayer::onDaily); v203 = v229; (*(void (__fastcall **)(cocos2d::CCMenu *, cocos2d::CCObject *))(*(_QWORD *)v229 + 464LL))(v229, v202); v204 = (float)(v235 * 0.5) + 20.0; v205 = *(_QWORD *)v202; v207 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(v206); v208 = (float)(cocos2d::CCDirector::getScreenRight(v207) - 40.0) - 0.0; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v233, v208, v204); cocos2d::CCNode::convertToNodeSpace(v203, &v225, v209); (*(void (__fastcall **)(cocos2d::CCObject *, __int64))(v205 + 184))(v202, v210); *((_DWORD *)v202 + 93) = 1069547520; v211 = qword_14090BFD0; if ( !qword_14090BFD0 ) { v228 = operator new(0x6E8u); qword_14090BFD0 = GameManager::GameManager((__int64)v228); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFD0 + 72LL))(qword_14090BFD0); v211 = qword_14090BFD0; } if ( !GameManager::getUGV(v211, &word_14075A9D0) ) { *(_BYTE *)(a1 + 432) = 1; v212 = cocos2d::CCCallFunc::create(a1, MenuLayer::showTOS); v213 = cocos2d::CCDelayTime::create(0.0099999998); v214 = cocos2d::CCSequence::create(v213, v212, 0); cocos2d::CCNode::runAction((cocos2d::CCNode *)a1, v214); } v215 = *(_QWORD *)&qword_14090BFB0; if ( !*(_QWORD *)&qword_14090BFB0 ) { v233 = (struct cocos2d::CCMenu *)operator new(0x690u); *(_QWORD *)&qword_14090BFB0 = GameLevelManager::GameLevelManager((__int64)v233); (*(void (__fastcall **)(_QWORD))(**(_QWORD **)&qword_14090BFB0 + 72LL))(*(_QWORD *)&qword_14090BFB0); v215 = *(_QWORD *)&qword_14090BFB0; } if ( !*(_BYTE *)(v215 + 1672) ) { v216 = cocos2d::CCCallFunc::create(a1, MenuLayer::firstNetworkTest); v217 = cocos2d::CCDelayTime::create(0.0099999998); v218 = cocos2d::CCSequence::create(v217, v216, 0); cocos2d::CCNode::runAction((cocos2d::CCNode *)a1, v218); } v219 = qword_14090C070; if ( !qword_14090C070 ) { v233 = (struct cocos2d::CCMenu *)operator new(0x3D0u); qword_14090C070 = MusicDownloadManager::MusicDownloadManager(v233); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090C070 + 72LL))(qword_14090C070); v219 = qword_14090C070; } MusicDownloadManager::addMusicDownloadDelegate(v219, a1 + 424); v220 = qword_14090BFD0; if ( !qword_14090BFD0 ) { v233 = (struct cocos2d::CCMenu *)operator new(0x6E8u); qword_14090BFD0 = GameManager::GameManager((__int64)v233); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFD0 + 72LL))(qword_14090BFD0); v220 = qword_14090BFD0; } if ( !GameManager::getGameVariable(v220, "0219") ) { if ( !qword_14090C070 ) { v233 = (struct cocos2d::CCMenu *)operator new(0x3D0u); qword_14090C070 = MusicDownloadManager::MusicDownloadManager(v233); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090C070 + 72LL))(qword_14090C070); } MusicDownloadManager::tryUpdateNewsFeed(); MenuLayer::updateNewsBadge(a1); v221 = *(_QWORD *)&qword_14090BFB0; if ( !*(_QWORD *)&qword_14090BFB0 ) { v233 = (struct cocos2d::CCMenu *)operator new(0x690u); *(_QWORD *)&qword_14090BFB0 = GameLevelManager::GameLevelManager((__int64)v233); (*(void (__fastcall **)(_QWORD))(**(_QWORD **)&qword_14090BFB0 + 72LL))(*(_QWORD *)&qword_14090BFB0); v221 = *(_QWORD *)&qword_14090BFB0; } GameLevelManager::syncFollowListIfNeeded(v221); } v222 = cocos2d::CCCallFunc::create(a1, MenuLayer::checkParentalPending); v223 = cocos2d::CCDelayTime::create(0.0099999998); v224 = cocos2d::CCSequence::create(v223, v222, 0); cocos2d::CCNode::runAction((cocos2d::CCNode *)a1, v224); return 1; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source