// // GauntletSelectLayer::init from 0xa76a70 to 0xa774b0 (2624 bytes) // // 2 xrefs: // > GauntletSelectLayer::create @ 0xa77580 // > @ 0x90b80 // // 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:26 +0000 // __int64 __fastcall GauntletSelectLayer::init(GauntletSelectLayer *this) { cocos2d::CCTextureCache *v2; // x0 unsigned int v3; // w24 cocos2d::CCTextureCache *v5; // x0 cocos2d::CCSpriteFrameCache *v6; // x0 cocos2d::CCSpriteFrameCache *v7; // x0 cocos2d::CCDirector *v8; // x0 cocos2d::CCDirector *v9; // x0 cocos2d::CCDictionary *WinSize; // x0 cocos2d::CCObject *v11; // x0 const char *v12; // x1 __int64 v13; // x22 void (__fastcall *v14)(__int64, __int64 *); // x25 __int64 v15; // x22 void (__fastcall *v16)(__int64, __int64 *); // x25 __int64 v17; // x0 void (__fastcall *v18)(__int64, __int64 *); // x3 const char *v19; // x1 cocos2d::CCDirector **v20; // x22 float v21; // s9 void (__fastcall *v22)(cocos2d::CCDirector **, __int64 *); // x25 cocos2d::CCDirector *v23; // x0 float v24; // s0 cocos2d::CCDirector **v25; // x22 void (__fastcall *v26)(cocos2d::CCDirector **, __int64 *); // x26 void (__fastcall *v27)(cocos2d::CCDirector **, __int64 *); // x26 cocos2d::CCDirector *v28; // x0 cocos2d::CCDirector *ScreenLeft; // x0 float v30; // s0 float v31; // s9 cocos2d::CCDirector *v32; // x0 float v33; // s0 const char *v34; // x1 cocos2d::CCDirector **v35; // x22 void (__fastcall *v36)(cocos2d::CCDirector **, __int64 *); // x26 void (__fastcall *v37)(cocos2d::CCDirector **, __int64 *); // x26 cocos2d::CCDirector *v38; // x0 cocos2d::CCDirector *ScreenRight; // x0 float v40; // s0 float v41; // s9 cocos2d::CCDirector *v42; // x0 float v43; // s0 const char *v44; // x1 cocos2d::CCDirector **v45; // x22 void (__fastcall *v46)(cocos2d::CCDirector **, __int64 *); // x26 void (__fastcall *v47)(cocos2d::CCDirector **, __int64 *); // x26 cocos2d::CCDirector *v48; // x0 cocos2d::CCDirector *v49; // x0 float v50; // s0 float v51; // s9 cocos2d::CCDirector *v52; // x0 float v53; // s0 const char *v54; // x1 cocos2d::CCDirector **v55; // x22 void (__fastcall *v56)(cocos2d::CCDirector **, __int64 *); // x25 void (__fastcall *v57)(cocos2d::CCDirector **, __int64 *); // x25 cocos2d::CCDirector *v58; // x0 cocos2d::CCDirector *v59; // x0 float v60; // s0 float v61; // s9 cocos2d::CCDirector *v62; // x0 float v63; // s0 cocos2d::CCMenu *v64; // x0 float v65; // s8 cocos2d::CCNode *v66; // x22 PlatformToolbox *v67; // x0 unsigned __int8 isControllerConnected; // w0 const char *v69; // x1 int v70; // w25 cocos2d::CCSprite *v71; // x23 __int64 v72; // x0 cocos2d::CCDirector **v73; // x26 void (__fastcall *v74)(cocos2d::CCDirector **, __int64 *); // x27 cocos2d::CCDirector *v75; // x0 float v76; // s0 const char *v77; // x1 char *v78; // x0 __int64 v79; // x26 __int64 v80; // x0 cocos2d::CCDirector **v81; // x26 void (__fastcall *v82)(cocos2d::CCDirector **, __int64 *); // x27 cocos2d::CCDirector *v83; // x0 float v84; // s0 const char *v85; // x1 __int64 v86; // x0 cocos2d::CCMenu *v87; // x27 cocos2d::CCDirector **v88; // x22 void (__fastcall *v89)(cocos2d::CCDirector **, __int64 *); // x26 cocos2d::CCDirector *v90; // x0 cocos2d::CCDirector *v91; // x0 float v92; // s0 float v93; // s8 cocos2d::CCDirector *v94; // x0 float v95; // s0 const char *v96; // x1 __int64 v97; // x0 cocos2d::CCDirector **v98; // x26 __int64 (__fastcall *v99)(cocos2d::CCDirector **, __int64 *); // x28 cocos2d::CCDirector *v100; // x0 cocos2d::CCDirector *v101; // x0 float v102; // s0 float v103; // s8 cocos2d::CCDirector *v104; // x0 float v105; // s0 LoadingCircle *v106; // x0 cocos2d::CCMenuItem *v107; // x2 __int64 v108; // x0 __int64 v109; // x0 void (__fastcall *v110)(__int64, __int64 *); // x3 __int64 v111; // x25 void (__fastcall *v112)(__int64, __int64 *); // x26 const char *v113; // x1 __int64 v114; // x25 __int64 v115; // x0 cocos2d::CCDirector **v116; // x25 __int64 (__fastcall *v117)(cocos2d::CCDirector **, __int64 *); // x26 cocos2d::CCDirector *v118; // x0 float v119; // s0 GameLevelManager *v120; // x0 cocos2d::CCDictionary **v121; // x0 GameLevelManager *v122; // x0 GameLevelManager *v123; // x0 GameLevelManager *v124; // x0 _BYTE v125[8]; // [xsp+80h] [xbp+80h] BYREF __int64 v126; // [xsp+88h] [xbp+88h] BYREF _BYTE v127[8]; // [xsp+90h] [xbp+90h] BYREF __int64 v128; // [xsp+98h] [xbp+98h] BYREF __int64 v129[2]; // [xsp+A0h] [xbp+A0h] BYREF void *v130; // [xsp+B0h] [xbp+B0h] v2 = (cocos2d::CCTextureCache *)(unsigned __int8)cocos2d::CCLayer::init(this); v3 = (unsigned __int8)v2; if ( (_BYTE)v2 ) { v5 = (cocos2d::CCTextureCache *)cocos2d::CCTextureCache::sharedTextureCache(v2); v6 = (cocos2d::CCSpriteFrameCache *)cocos2d::CCTextureCache::addImage(v5, "GauntletSheet.png", 0); v7 = (cocos2d::CCSpriteFrameCache *)cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(v6); cocos2d::CCSpriteFrameCache::addSpriteFramesWithFile(v7, "GauntletSheet.plist"); (*(void (__fastcall **)(GauntletSelectLayer *, __int64))(*(_QWORD *)this + 1072LL))(this, 1); v8 = (cocos2d::CCDirector *)(*(__int64 (__fastcall **)(GauntletSelectLayer *, __int64))(*(_QWORD *)this + 1088LL))( this, 1); v9 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(v8); WinSize = (cocos2d::CCDictionary *)cocos2d::CCDirector::getWinSize(&v126, v9); v11 = (cocos2d::CCObject *)cocos2d::CCDictionary::create(WinSize); *((_QWORD *)this + 62) = v11; cocos2d::CCObject::retain(v11); v13 = cocos2d::CCSprite::create((cocos2d::CCSprite *)"GJ_gradientBG.png", v12); *((_QWORD *)this + 54) = v13; v14 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v13 + 296LL); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v128, 0.0, 0.0); v14(v13, &v128); (*(void (__fastcall **)(GauntletSelectLayer *, _QWORD, __int64))(*(_QWORD *)this + 464LL))( this, *((_QWORD *)this + 54), 4294967294LL); (*(void (__fastcall **)(_QWORD, float))(**((_QWORD **)this + 54) + 128LL))( *((_QWORD *)this + 54), (float)(*(float *)&v126 + 10.0) / *(float *)(*((_QWORD *)this + 54) + 432LL)); (*(void (__fastcall **)(_QWORD, float))(**((_QWORD **)this + 54) + 144LL))( *((_QWORD *)this + 54), (float)(*((float *)&v126 + 1) + 10.0) / *(float *)(*((_QWORD *)this + 54) + 436LL)); v15 = *((_QWORD *)this + 54); v16 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v15 + 184LL); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v128, -5.0, -5.0); v16(v15, &v128); v17 = *((_QWORD *)this + 54); v18 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v17 + 960LL); memset(&v128, 51, 3); v18(v17, &v128); v20 = (cocos2d::CCDirector **)cocos2d::CCSprite::createWithSpriteFrameName( (cocos2d::CCSprite *)"theLostGauntletsLabel_001.png", v19); (*(void (__fastcall **)(GauntletSelectLayer *, cocos2d::CCDirector **))(*(_QWORD *)this + 456LL))(this, v20); v21 = *(float *)&v126 * 0.5; v22 = *((void (__fastcall **)(cocos2d::CCDirector **, __int64 *))*v20 + 23); v23 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(*v20); cocos2d::CCDirector::getScreenTop(v23); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v128, v21, v24 - 28.0); v22(v20, &v128); v125[0] = (unsigned __int8)&qword_48 + 4; v125[1] = (unsigned __int8)&qword_48 + 4; v125[2] = (unsigned __int8)&qword_48 + 4; v25 = (cocos2d::CCDirector **)cocos2d::CCSprite::createWithSpriteFrameName( (cocos2d::CCSprite *)"gauntletCorner_001.png", (const char *)&qword_48 + 4); v26 = *((void (__fastcall **)(cocos2d::CCDirector **, __int64 *))*v25 + 37); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v128, 0.0, 0.0); v26(v25, &v128); v27 = *((void (__fastcall **)(cocos2d::CCDirector **, __int64 *))*v25 + 23); v28 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(*v25); ScreenLeft = (cocos2d::CCDirector *)cocos2d::CCDirector::getScreenLeft(v28); v31 = v30; v32 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(ScreenLeft); cocos2d::CCDirector::getScreenBottom(v32); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v128, v31 - 1.0, v33 - 1.0); v27(v25, &v128); (*(void (__fastcall **)(GauntletSelectLayer *, cocos2d::CCDirector **, __int64))(*(_QWORD *)this + 464LL))( this, v25, 1); (*((void (__fastcall **)(cocos2d::CCDirector **, _BYTE *))*v25 + 120))(v25, v125); v35 = (cocos2d::CCDirector **)cocos2d::CCSprite::createWithSpriteFrameName( (cocos2d::CCSprite *)"gauntletCorner_001.png", v34); v36 = *((void (__fastcall **)(cocos2d::CCDirector **, __int64 *))*v35 + 37); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v128, 1.0, 0.0); v36(v35, &v128); v37 = *((void (__fastcall **)(cocos2d::CCDirector **, __int64 *))*v35 + 23); v38 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(*v35); ScreenRight = (cocos2d::CCDirector *)cocos2d::CCDirector::getScreenRight(v38); v41 = v40; v42 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(ScreenRight); cocos2d::CCDirector::getScreenBottom(v42); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v128, v41 + 1.0, v43 - 1.0); v37(v35, &v128); cocos2d::CCSprite::setFlipX((cocos2d::CCSprite *)v35, 1); (*(void (__fastcall **)(GauntletSelectLayer *, cocos2d::CCDirector **, __int64))(*(_QWORD *)this + 464LL))( this, v35, 1); (*((void (__fastcall **)(cocos2d::CCDirector **, _BYTE *))*v35 + 120))(v35, v125); v45 = (cocos2d::CCDirector **)cocos2d::CCSprite::createWithSpriteFrameName( (cocos2d::CCSprite *)"gauntletCorner_001.png", v44); v46 = *((void (__fastcall **)(cocos2d::CCDirector **, __int64 *))*v45 + 37); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v128, 0.0, 1.0); v46(v45, &v128); v47 = *((void (__fastcall **)(cocos2d::CCDirector **, __int64 *))*v45 + 23); v48 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(*v45); v49 = (cocos2d::CCDirector *)cocos2d::CCDirector::getScreenLeft(v48); v51 = v50; v52 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(v49); cocos2d::CCDirector::getScreenTop(v52); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v128, v51 - 1.0, v53 + 1.0); v47(v45, &v128); cocos2d::CCSprite::setFlipY((cocos2d::CCSprite *)v45, 1); (*(void (__fastcall **)(GauntletSelectLayer *, cocos2d::CCDirector **, __int64))(*(_QWORD *)this + 464LL))( this, v45, 1); (*((void (__fastcall **)(cocos2d::CCDirector **, _BYTE *))*v45 + 120))(v45, v125); v55 = (cocos2d::CCDirector **)cocos2d::CCSprite::createWithSpriteFrameName( (cocos2d::CCSprite *)"gauntletCorner_001.png", v54); v56 = *((void (__fastcall **)(cocos2d::CCDirector **, __int64 *))*v55 + 37); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v128, 1.0, 1.0); v56(v55, &v128); v57 = *((void (__fastcall **)(cocos2d::CCDirector **, __int64 *))*v55 + 23); v58 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(*v55); v59 = (cocos2d::CCDirector *)cocos2d::CCDirector::getScreenRight(v58); v61 = v60; v62 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(v59); cocos2d::CCDirector::getScreenTop(v62); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v128, v61 + 1.0, v63 + 1.0); v57(v55, &v128); cocos2d::CCSprite::setFlipX((cocos2d::CCSprite *)v55, 1); cocos2d::CCSprite::setFlipY((cocos2d::CCSprite *)v55, 1); (*(void (__fastcall **)(GauntletSelectLayer *, cocos2d::CCDirector **, __int64))(*(_QWORD *)this + 464LL))( this, v55, 1); v64 = (cocos2d::CCMenu *)(*((__int64 (__fastcall **)(cocos2d::CCDirector **, _BYTE *))*v55 + 120))(v55, v125); v65 = *((float *)&v126 + 1) * 0.5; v66 = (cocos2d::CCNode *)cocos2d::CCMenu::create(v64); v67 = (PlatformToolbox *)(*(__int64 (__fastcall **)(GauntletSelectLayer *, cocos2d::CCNode *, __int64))(*(_QWORD *)this + 464LL))( this, v66, 5); isControllerConnected = PlatformToolbox::isControllerConnected(v67); v70 = isControllerConnected; if ( isControllerConnected ) { v71 = (cocos2d::CCSprite *)cocos2d::CCSprite::createWithSpriteFrameName( (cocos2d::CCSprite *)"controllerBtn_DPad_Left_001.png", v69); (*(void (__fastcall **)(cocos2d::CCSprite *, float))(*(_QWORD *)v71 + 160LL))(v71, 0.8); } else { v71 = (cocos2d::CCSprite *)cocos2d::CCSprite::createWithSpriteFrameName( (cocos2d::CCSprite *)"navArrowBtn_001.png", v69); (*(void (__fastcall **)(cocos2d::CCSprite *, float))(*(_QWORD *)v71 + 160LL))(v71, 0.8); cocos2d::CCSprite::setFlipX(v71, 1); } v72 = CCMenuItemSpriteExtra::create((__int64)v71, 0, (__int64)this, (__int64)GauntletSelectLayer::onPrev, 0); *((_QWORD *)this + 56) = v72; (*(void (__fastcall **)(cocos2d::CCNode *, __int64))(*(_QWORD *)v66 + 456LL))(v66, v72); CCMenuItemSpriteExtra::setSizeMult(*((_QWORD *)this + 56), 2.0); v73 = *((cocos2d::CCDirector ***)this + 56); v74 = *((void (__fastcall **)(cocos2d::CCDirector **, __int64 *))*v73 + 23); v75 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(*v73); cocos2d::CCDirector::getScreenLeft(v75); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v127, v76 + 25.0, v65); cocos2d::CCNode::convertToNodeSpace(&v128, v66, (const cocos2d::CCPoint *)v127); v74(v73, &v128); if ( v70 ) v78 = "controllerBtn_DPad_Right_001.png"; else v78 = "navArrowBtn_001.png"; v79 = cocos2d::CCSprite::createWithSpriteFrameName((cocos2d::CCSprite *)v78, v77); (*(void (__fastcall **)(__int64, float))(*(_QWORD *)v79 + 160LL))(v79, 0.8); v80 = CCMenuItemSpriteExtra::create(v79, 0, (__int64)this, (__int64)GauntletSelectLayer::onNext, 0); *((_QWORD *)this + 57) = v80; (*(void (__fastcall **)(cocos2d::CCNode *, __int64))(*(_QWORD *)v66 + 456LL))(v66, v80); CCMenuItemSpriteExtra::setSizeMult(*((_QWORD *)this + 57), 2.0); v81 = *((cocos2d::CCDirector ***)this + 57); v82 = *((void (__fastcall **)(cocos2d::CCDirector **, __int64 *))*v81 + 23); v83 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(*v81); cocos2d::CCDirector::getScreenRight(v83); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v127, v84 - 25.0, v65); cocos2d::CCNode::convertToNodeSpace(&v128, v66, (const cocos2d::CCPoint *)v127); v82(v81, &v128); v86 = cocos2d::CCSprite::createWithSpriteFrameName((cocos2d::CCSprite *)"GJ_arrow_01_001.png", v85); v87 = (cocos2d::CCMenu *)CCMenuItemSpriteExtra::create( v86, 0, (__int64)this, (__int64)GauntletSelectLayer::onBack, 0); CCMenuItemSpriteExtra::setSizeMult((__int64)v87, 1.6); v88 = (cocos2d::CCDirector **)cocos2d::CCMenu::create(v87, nullptr); (*(void (__fastcall **)(GauntletSelectLayer *, cocos2d::CCDirector **, __int64))(*(_QWORD *)this + 464LL))( this, v88, 1); v89 = *((void (__fastcall **)(cocos2d::CCDirector **, __int64 *))*v88 + 23); v90 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(*v88); v91 = (cocos2d::CCDirector *)cocos2d::CCDirector::getScreenLeft(v90); v93 = v92; v94 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(v91); cocos2d::CCDirector::getScreenTop(v94); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v128, v93 + 25.0, v95 - 22.0); v89(v88, &v128); v97 = cocos2d::CCSprite::createWithSpriteFrameName((cocos2d::CCSprite *)"GJ_infoIcon_001.png", v96); v98 = (cocos2d::CCDirector **)CCMenuItemSpriteExtra::create( v97, 0, (__int64)this, (__int64)GauntletSelectLayer::onInfo, 0); CCMenuItemSpriteExtra::setSizeMult((__int64)v98, 2.0); (*((void (__fastcall **)(cocos2d::CCDirector **, cocos2d::CCDirector **))*v88 + 57))(v88, v98); v99 = *((__int64 (__fastcall **)(cocos2d::CCDirector **, __int64 *))*v98 + 23); v100 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(*v98); v101 = (cocos2d::CCDirector *)cocos2d::CCDirector::getScreenLeft(v100); v103 = v102; v104 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(v101); cocos2d::CCDirector::getScreenBottom(v104); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v127, v103 + 30.0, v105 + 30.0); cocos2d::CCNode::convertToNodeSpace(&v128, (cocos2d::CCNode *)v88, (const cocos2d::CCPoint *)v127); v106 = (LoadingCircle *)v99(v98, &v128); if ( v70 ) v106 = (LoadingCircle *)GameToolbox::addBackButton(this, v87, v107); v108 = LoadingCircle::create(v106); *((_QWORD *)this + 61) = v108; *(_QWORD *)(v108 + 552) = this; *(_BYTE *)(*((_QWORD *)this + 61) + 560LL) = 0; cocos2d::CCObject::retain(*((cocos2d::CCObject **)this + 61)); LoadingCircle::show(*((cocos2d::CCNode ***)this + 61)); (*(void (__fastcall **)(_QWORD, _QWORD))(**((_QWORD **)this + 61) + 344LL))(*((_QWORD *)this + 61), 0); v109 = *(_QWORD *)(*((_QWORD *)this + 61) + 544LL); v110 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v109 + 960LL); memset(&v128, 100, 3); v110(v109, &v128); v129[0] = 0; v129[1] = 0; v130 = nullptr; std::string::__init(v129, "Something went wrong\nplease try again later", 0x2Bu); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v128, 0.5, 1.0); v111 = TextArea::create((char *)v129, "bigFont.fnt", (const cocos2d::CCPoint *)&v128, 0, 0, 1.0, 600.0, 30.0); *((_QWORD *)this + 60) = v111; if ( (v129[0] & 1) != 0 ) { operator delete(v130); v111 = *((_QWORD *)this + 60); } v112 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v111 + 184LL); cocos2d::CCPoint::CCPoint( (cocos2d::CCPoint *)&v128, *(float *)&v126 * 0.5, (float)(*((float *)&v126 + 1) * 0.5) + 10.0); v112(v111, &v128); (*(void (__fastcall **)(_QWORD, float))(**((_QWORD **)this + 60) + 160LL))(*((_QWORD *)this + 60), 0.6); (*(void (__fastcall **)(GauntletSelectLayer *, _QWORD, __int64))(*(_QWORD *)this + 464LL))( this, *((_QWORD *)this + 60), 10); (*(void (__fastcall **)(_QWORD, _QWORD))(**((_QWORD **)this + 60) + 344LL))(*((_QWORD *)this + 60), 0); v114 = cocos2d::CCSprite::createWithSpriteFrameName((cocos2d::CCSprite *)"GJ_updateBtn_001.png", v113); (*(void (__fastcall **)(__int64, float))(*(_QWORD *)v114 + 160LL))(v114, 0.75); v115 = CCMenuItemSpriteExtra::create(v114, 0, (__int64)this, (__int64)GauntletSelectLayer::onRefresh, 0); *((_QWORD *)this + 58) = v115; (*((void (__fastcall **)(cocos2d::CCDirector **, __int64))*v88 + 57))(v88, v115); v116 = *((cocos2d::CCDirector ***)this + 58); v117 = *((__int64 (__fastcall **)(cocos2d::CCDirector **, __int64 *))*v116 + 23); v118 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(*v116); cocos2d::CCDirector::getScreenRight(v118); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v127, v119 - 25.0, 25.0); cocos2d::CCNode::convertToNodeSpace(&v128, (cocos2d::CCNode *)v88, (const cocos2d::CCPoint *)v127); v120 = (GameLevelManager *)v117(v116, &v128); v121 = (cocos2d::CCDictionary **)GameLevelManager::sharedState(v120); if ( GameLevelManager::areGauntletsLoaded(v121) ) { GauntletSelectLayer::setupGauntlets(this); } else { v122 = (GameLevelManager *)(*(__int64 (__fastcall **)(_QWORD, __int64))(**((_QWORD **)this + 61) + 344LL))( *((_QWORD *)this + 61), 1); v123 = (GameLevelManager *)GameLevelManager::sharedState(v122); *((_QWORD *)v123 + 153) = (char *)this + 416; v124 = (GameLevelManager *)GameLevelManager::sharedState(v123); GameLevelManager::getGauntlets(v124); } GauntletSelectLayer::updateArrows(this); } return v3; }
GD Web Decomp Icon

GD Web Decomp

Raw Source