// // GauntletSelectLayer::init from 0x60ce78 to 0x60d69a (2082 bytes) // // 1 xrefs: // > GauntletSelectLayer::create @ 0x60d744 // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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:54:49 +0000 // cocos2d::CCTextureCache *__fastcall GauntletSelectLayer::init(GauntletSelectLayer *this, int a2) { cocos2d::CCTextureCache *v3; // r0 cocos2d::CCTextureCache *v4; // r0 cocos2d::CCSpriteFrameCache *v5; // r0 cocos2d::CCSpriteFrameCache *v6; // r0 cocos2d::CCDirector *v7; // r0 cocos2d::CCDictionary *WinSize; // r0 cocos2d::CCObject *v9; // r0 const char *v10; // r1 int v11; // r0 int v12; // r6 void (__fastcall *v13)(int, _DWORD *); // r8 int v14; // r6 void (__fastcall *v15)(int, _DWORD *); // r8 int v16; // r0 void (__fastcall *v17)(int, _DWORD *); // r2 const char *v18; // r1 int v19; // r6 cocos2d::CCDirector *v20; // r0 float v21; // s16 void (__fastcall *v22)(int, _DWORD *); // r8 cocos2d::CCDirector *v23; // r0 float v24; // r0 const char *v25; // r1 int v26; // r6 int (__fastcall *v27)(int, _DWORD *); // r8 cocos2d::CCDirector *v28; // r0 void (__fastcall *v29)(int, _DWORD *); // r8 cocos2d::CCDirector *v30; // r0 float v31; // s18 cocos2d::CCDirector *v32; // r0 float v33; // r0 const char *v34; // r1 cocos2d::CCSprite *v35; // r6 int (__fastcall *v36)(cocos2d::CCSprite *, _DWORD *); // r10 cocos2d::CCDirector *v37; // r0 void (__fastcall *v38)(cocos2d::CCSprite *, _DWORD *); // r10 cocos2d::CCDirector *v39; // r0 float v40; // s18 cocos2d::CCDirector *v41; // r0 float v42; // r0 const char *v43; // r1 cocos2d::CCSprite *v44; // r6 int (__fastcall *v45)(cocos2d::CCSprite *, _DWORD *); // r10 cocos2d::CCDirector *v46; // r0 void (__fastcall *v47)(cocos2d::CCSprite *, _DWORD *); // r10 cocos2d::CCDirector *v48; // r0 float v49; // s18 cocos2d::CCDirector *v50; // r0 float v51; // r0 const char *v52; // r1 cocos2d::CCSprite *v53; // r6 int (__fastcall *v54)(cocos2d::CCSprite *, _DWORD *); // r9 cocos2d::CCDirector *v55; // r0 void (__fastcall *v56)(cocos2d::CCSprite *, _DWORD *); // r9 cocos2d::CCDirector *v57; // r0 float v58; // s18 cocos2d::CCDirector *v59; // r0 float v60; // r0 cocos2d::CCMenu *v61; // r0 float v62; // s18 const cocos2d::CCPoint *v63; // r6 PlatformToolbox *v64; // r0 const char *v65; // r1 int isControllerConnected; // r9 char *v67; // r0 cocos2d::CCSprite *v68; // r8 int v69; // r0 cocos2d::CCDirector *v70; // r0 int v71; // r11 void (__fastcall *v72)(int, _DWORD *); // r8 cocos2d::CCDirector *v73; // r0 float v74; // r0 const char *v75; // r1 char *v76; // r0 int v77; // r5 int v78; // r0 cocos2d::CCDirector *v79; // r0 void (__fastcall *v80)(int, _DWORD *); // r11 cocos2d::CCDirector *v81; // r0 float v82; // r0 const char *v83; // r1 int v84; // r0 cocos2d::CCMenu *v85; // r11 const cocos2d::CCPoint *v86; // r6 cocos2d::CCDirector *v87; // r0 void (__fastcall *v88)(const cocos2d::CCPoint *, _DWORD *); // r10 cocos2d::CCDirector *v89; // r0 float v90; // s18 cocos2d::CCDirector *v91; // r0 float v92; // r0 const char *v93; // r1 int v94; // r0 int v95; // r10 cocos2d::CCDirector *v96; // r0 cocos2d::CCDirector *v97; // r0 float v98; // s20 cocos2d::CCDirector *v99; // r0 float v100; // r0 LoadingCircle *v101; // r0 cocos2d::CCMenuItem *v102; // r2 cocos2d::CCLayerColor *v103; // r0 int v104; // r0 void (__fastcall *v105)(int, _DWORD *); // r2 int v106; // r9 void (__fastcall *v107)(int, _DWORD *); // r10 const char *v108; // r1 int v109; // r5 int v110; // r0 cocos2d::CCDirector *v111; // r0 int v112; // r7 int (__fastcall *v113)(int, _BYTE *); // r9 cocos2d::CCDirector *v114; // r0 float v115; // r0 GameLevelManager *v116; // r0 cocos2d::CCDictionary **v117; // r0 GameLevelManager *v118; // r0 GameLevelManager *v119; // r0 GameLevelManager *v120; // r0 cocos2d::CCTextureCache *v122; // [sp+14h] [bp-68h] int v123; // [sp+1Ch] [bp-60h] int (__fastcall *v124)(int, _DWORD *); // [sp+1Ch] [bp-60h] _BYTE v125[4]; // [sp+24h] [bp-58h] BYREF float v126; // [sp+28h] [bp-54h] BYREF float v127; // [sp+2Ch] [bp-50h] char v128[8]; // [sp+30h] [bp-4Ch] BYREF _BYTE v129[8]; // [sp+38h] [bp-44h] BYREF int (__fastcall *v130)(cocos2d::CCArray ***, cocos2d::CCObject *); // [sp+40h] [bp-3Ch] int v131; // [sp+44h] [bp-38h] int (__fastcall *v132)(cocos2d::CCArray ***, cocos2d::CCObject *); // [sp+48h] [bp-34h] int v133; // [sp+4Ch] [bp-30h] _BYTE *(__fastcall *v134)(_BYTE *, cocos2d::CCObject *); // [sp+50h] [bp-2Ch] int v135; // [sp+54h] [bp-28h] _DWORD v136[2]; // [sp+58h] [bp-24h] BYREF _DWORD v137[2]; // [sp+60h] [bp-1Ch] BYREF int v138[3]; // [sp+68h] [bp-14h] BYREF v3 = (cocos2d::CCTextureCache *)cocos2d::CCLayer::init(this); v122 = v3; if ( v3 ) { v4 = (cocos2d::CCTextureCache *)cocos2d::CCTextureCache::sharedTextureCache(v3); v5 = (cocos2d::CCSpriteFrameCache *)cocos2d::CCTextureCache::addImage(v4, "GauntletSheet.png", 0); v6 = (cocos2d::CCSpriteFrameCache *)cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(v5); cocos2d::CCSpriteFrameCache::addSpriteFramesWithFile(v6, "GauntletSheet.plist"); (*(void (__fastcall **)(GauntletSelectLayer *, int))(*(_DWORD *)this + 536))(this, 1); v7 = (cocos2d::CCDirector *)(*(int (__fastcall **)(GauntletSelectLayer *, int))(*(_DWORD *)this + 544))(this, 1); cocos2d::CCDirector::sharedDirector(v7); WinSize = (cocos2d::CCDictionary *)cocos2d::CCDirector::getWinSize((cocos2d::CCDirector *)&v126); v9 = (cocos2d::CCObject *)cocos2d::CCDictionary::create(WinSize); *((_DWORD *)this + 90) = v9; cocos2d::CCObject::retain(v9); v11 = cocos2d::CCSprite::create((cocos2d::CCSprite *)"GJ_gradientBG.png", v10); *((_DWORD *)this + 82) = v11; v12 = v11; v13 = *(void (__fastcall **)(int, _DWORD *))(*(_DWORD *)v11 + 148); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v137, 0.0, 0.0); v13(v12, v137); (*(void (__fastcall **)(GauntletSelectLayer *, _DWORD, int))(*(_DWORD *)this + 232))( this, *((_DWORD *)this + 82), -2); (*(void (__fastcall **)(_DWORD, _DWORD))(**((_DWORD **)this + 82) + 64))( *((_DWORD *)this + 82), (float)(v126 + 10.0) / *(float *)(*((_DWORD *)this + 82) + 344)); (*(void (__fastcall **)(_DWORD, _DWORD))(**((_DWORD **)this + 82) + 72))( *((_DWORD *)this + 82), (float)(v127 + 10.0) / *(float *)(*((_DWORD *)this + 82) + 348)); v14 = *((_DWORD *)this + 82); v15 = *(void (__fastcall **)(int, _DWORD *))(*(_DWORD *)v14 + 92); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v137, -5.0, -5.0); v15(v14, v137); v16 = *((_DWORD *)this + 82); v17 = *(void (__fastcall **)(int, _DWORD *))(*(_DWORD *)v16 + 480); memset(v137, 51, 3); v17(v16, v137); v19 = cocos2d::CCSprite::createWithSpriteFrameName((cocos2d::CCSprite *)"theLostGauntletsLabel_001.png", v18); v20 = (cocos2d::CCDirector *)(*(int (__fastcall **)(GauntletSelectLayer *, int))(*(_DWORD *)this + 228))(this, v19); v21 = v126; v22 = *(void (__fastcall **)(int, _DWORD *))(*(_DWORD *)v19 + 92); v23 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(v20); v24 = COERCE_FLOAT(cocos2d::CCDirector::getScreenTop(v23)); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v137, v21 * 0.5, v24 - 28.0); v22(v19, v137); memset(v125, 76, 3); v26 = cocos2d::CCSprite::createWithSpriteFrameName((cocos2d::CCSprite *)"gauntletCorner_001.png", v25); v27 = *(int (__fastcall **)(int, _DWORD *))(*(_DWORD *)v26 + 148); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v137, 0.0, 0.0); v28 = (cocos2d::CCDirector *)v27(v26, v137); v29 = *(void (__fastcall **)(int, _DWORD *))(*(_DWORD *)v26 + 92); v30 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(v28); v31 = COERCE_FLOAT(cocos2d::CCDirector::getScreenLeft(v30)); v32 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector((cocos2d::CCDirector *)LODWORD(v31)); v33 = COERCE_FLOAT(cocos2d::CCDirector::getScreenBottom(v32)); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v137, v31 - 1.0, v33 - 1.0); v29(v26, v137); (*(void (__fastcall **)(GauntletSelectLayer *, int, int))(*(_DWORD *)this + 232))(this, v26, 1); (*(void (__fastcall **)(int, _BYTE *))(*(_DWORD *)v26 + 480))(v26, v125); v35 = (cocos2d::CCSprite *)cocos2d::CCSprite::createWithSpriteFrameName( (cocos2d::CCSprite *)"gauntletCorner_001.png", v34); v36 = *(int (__fastcall **)(cocos2d::CCSprite *, _DWORD *))(*(_DWORD *)v35 + 148); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v137, 1.0, 0.0); v37 = (cocos2d::CCDirector *)v36(v35, v137); v38 = *(void (__fastcall **)(cocos2d::CCSprite *, _DWORD *))(*(_DWORD *)v35 + 92); v39 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(v37); v40 = COERCE_FLOAT(cocos2d::CCDirector::getScreenRight(v39)); v41 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector((cocos2d::CCDirector *)LODWORD(v40)); v42 = COERCE_FLOAT(cocos2d::CCDirector::getScreenBottom(v41)); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v137, v40 + 1.0, v42 - 1.0); v38(v35, v137); cocos2d::CCSprite::setFlipX(v35, 1); (*(void (__fastcall **)(GauntletSelectLayer *, cocos2d::CCSprite *, int))(*(_DWORD *)this + 232))(this, v35, 1); (*(void (__fastcall **)(cocos2d::CCSprite *, _BYTE *))(*(_DWORD *)v35 + 480))(v35, v125); v44 = (cocos2d::CCSprite *)cocos2d::CCSprite::createWithSpriteFrameName( (cocos2d::CCSprite *)"gauntletCorner_001.png", v43); v45 = *(int (__fastcall **)(cocos2d::CCSprite *, _DWORD *))(*(_DWORD *)v44 + 148); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v137, 0.0, 1.0); v46 = (cocos2d::CCDirector *)v45(v44, v137); v47 = *(void (__fastcall **)(cocos2d::CCSprite *, _DWORD *))(*(_DWORD *)v44 + 92); v48 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(v46); v49 = COERCE_FLOAT(cocos2d::CCDirector::getScreenLeft(v48)); v50 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector((cocos2d::CCDirector *)LODWORD(v49)); v51 = COERCE_FLOAT(cocos2d::CCDirector::getScreenTop(v50)); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v137, v49 - 1.0, v51 + 1.0); v47(v44, v137); cocos2d::CCSprite::setFlipY(v44, 1); (*(void (__fastcall **)(GauntletSelectLayer *, cocos2d::CCSprite *, int))(*(_DWORD *)this + 232))(this, v44, 1); (*(void (__fastcall **)(cocos2d::CCSprite *, _BYTE *))(*(_DWORD *)v44 + 480))(v44, v125); v53 = (cocos2d::CCSprite *)cocos2d::CCSprite::createWithSpriteFrameName( (cocos2d::CCSprite *)"gauntletCorner_001.png", v52); v54 = *(int (__fastcall **)(cocos2d::CCSprite *, _DWORD *))(*(_DWORD *)v53 + 148); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v137, 1.0, 1.0); v55 = (cocos2d::CCDirector *)v54(v53, v137); v56 = *(void (__fastcall **)(cocos2d::CCSprite *, _DWORD *))(*(_DWORD *)v53 + 92); v57 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(v55); v58 = COERCE_FLOAT(cocos2d::CCDirector::getScreenRight(v57)); v59 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector((cocos2d::CCDirector *)LODWORD(v58)); v60 = COERCE_FLOAT(cocos2d::CCDirector::getScreenTop(v59)); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v137, v58 + 1.0, v60 + 1.0); v56(v53, v137); cocos2d::CCSprite::setFlipX(v53, 1); cocos2d::CCSprite::setFlipY(v53, 1); (*(void (__fastcall **)(GauntletSelectLayer *, cocos2d::CCSprite *, int))(*(_DWORD *)this + 232))(this, v53, 1); v61 = (cocos2d::CCMenu *)(*(int (__fastcall **)(cocos2d::CCSprite *, _BYTE *))(*(_DWORD *)v53 + 480))(v53, v125); v62 = v127 * 0.5; v63 = (const cocos2d::CCPoint *)cocos2d::CCMenu::create(v61); v64 = (PlatformToolbox *)(*(int (__fastcall **)(GauntletSelectLayer *, const cocos2d::CCPoint *, int))(*(_DWORD *)this + 232))( this, v63, 5); isControllerConnected = PlatformToolbox::isControllerConnected(v64); if ( isControllerConnected ) v67 = "controllerBtn_DPad_Left_001.png"; else v67 = "navArrowBtn_001.png"; v68 = (cocos2d::CCSprite *)cocos2d::CCSprite::createWithSpriteFrameName((cocos2d::CCSprite *)v67, v65); (*(void (__fastcall **)(cocos2d::CCSprite *, int))(*(_DWORD *)v68 + 80))(v68, 1061997773); if ( !isControllerConnected ) cocos2d::CCSprite::setFlipX(v68, 1); v131 = 0; v130 = GauntletSelectLayer::onPrev; v69 = CCMenuItemSpriteExtra::create((int)v68, 0, (int)this, (int)GauntletSelectLayer::onPrev, 0); *((_DWORD *)this + 84) = v69; (*(void (__fastcall **)(const cocos2d::CCPoint *, int))(*(_DWORD *)v63 + 228))(v63, v69); v70 = (cocos2d::CCDirector *)CCMenuItemSpriteExtra::setSizeMult(*((_DWORD *)this + 84), 2.0); v71 = *((_DWORD *)this + 84); v72 = *(void (__fastcall **)(int, _DWORD *))(*(_DWORD *)v71 + 92); v73 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(v70); v74 = COERCE_FLOAT(cocos2d::CCDirector::getScreenLeft(v73)); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v136, v74 + 25.0, v62); cocos2d::CCNode::convertToNodeSpace((cocos2d::CCNode *)v137, v63); v72(v71, v137); if ( isControllerConnected ) v76 = "controllerBtn_DPad_Right_001.png"; else v76 = "navArrowBtn_001.png"; v77 = cocos2d::CCSprite::createWithSpriteFrameName((cocos2d::CCSprite *)v76, v75); (*(void (__fastcall **)(int, int))(*(_DWORD *)v77 + 80))(v77, 1061997773); v133 = 0; v132 = GauntletSelectLayer::onNext; v78 = CCMenuItemSpriteExtra::create(v77, 0, (int)this, (int)GauntletSelectLayer::onNext, 0); *((_DWORD *)this + 85) = v78; (*(void (__fastcall **)(const cocos2d::CCPoint *, int))(*(_DWORD *)v63 + 228))(v63, v78); v79 = (cocos2d::CCDirector *)CCMenuItemSpriteExtra::setSizeMult(*((_DWORD *)this + 85), 2.0); v123 = *((_DWORD *)this + 85); v80 = *(void (__fastcall **)(int, _DWORD *))(*(_DWORD *)v123 + 92); v81 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(v79); v82 = COERCE_FLOAT(cocos2d::CCDirector::getScreenRight(v81)); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v136, v82 - 25.0, v62); cocos2d::CCNode::convertToNodeSpace((cocos2d::CCNode *)v137, v63); v80(v123, v137); v84 = cocos2d::CCSprite::createWithSpriteFrameName((cocos2d::CCSprite *)"GJ_arrow_01_001.png", v83); v135 = 0; v134 = GauntletSelectLayer::onBack; v85 = (cocos2d::CCMenu *)CCMenuItemSpriteExtra::create(v84, 0, (int)this, (int)GauntletSelectLayer::onBack, 0); CCMenuItemSpriteExtra::setSizeMult((int)v85, 1.6); v86 = (const cocos2d::CCPoint *)cocos2d::CCMenu::create(v85, nullptr); v87 = (cocos2d::CCDirector *)(*(int (__fastcall **)(GauntletSelectLayer *, const cocos2d::CCPoint *, int))(*(_DWORD *)this + 232))( this, v86, 1); v88 = *(void (__fastcall **)(const cocos2d::CCPoint *, _DWORD *))(*(_DWORD *)v86 + 92); v89 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(v87); v90 = COERCE_FLOAT(cocos2d::CCDirector::getScreenLeft(v89)); v91 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector((cocos2d::CCDirector *)LODWORD(v90)); v92 = COERCE_FLOAT(cocos2d::CCDirector::getScreenTop(v91)); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v137, v90 + 25.0, v92 - 22.0); v88(v86, v137); v94 = cocos2d::CCSprite::createWithSpriteFrameName((cocos2d::CCSprite *)"GJ_infoIcon_001.png", v93); v136[1] = 0; v136[0] = GauntletSelectLayer::onInfo; v95 = CCMenuItemSpriteExtra::create(v94, 0, (int)this, (int)GauntletSelectLayer::onInfo, 0); CCMenuItemSpriteExtra::setSizeMult(v95, 2.0); v96 = (cocos2d::CCDirector *)(*(int (__fastcall **)(const cocos2d::CCPoint *, int))(*(_DWORD *)v86 + 228))(v86, v95); v124 = *(int (__fastcall **)(int, _DWORD *))(*(_DWORD *)v95 + 92); v97 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(v96); v98 = COERCE_FLOAT(cocos2d::CCDirector::getScreenLeft(v97)); v99 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector((cocos2d::CCDirector *)LODWORD(v98)); v100 = COERCE_FLOAT(cocos2d::CCDirector::getScreenBottom(v99)); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v129, v98 + 30.0, v100 + 30.0); cocos2d::CCNode::convertToNodeSpace((cocos2d::CCNode *)v137, v86); v101 = (LoadingCircle *)v124(v95, v137); if ( isControllerConnected ) v101 = (LoadingCircle *)GameToolbox::addBackButton(this, v85, v102); v103 = LoadingCircle::create(v101); *((_DWORD *)this + 89) = v103; *((_DWORD *)v103 + 111) = this; *(_BYTE *)(*((_DWORD *)this + 89) + 448) = 0; cocos2d::CCObject::retain(*((cocos2d::CCObject **)this + 89)); LoadingCircle::show(*((cocos2d::CCNode ***)this + 89)); (*(void (__fastcall **)(_DWORD, _DWORD))(**((_DWORD **)this + 89) + 172))(*((_DWORD *)this + 89), 0); v104 = *(_DWORD *)(*((_DWORD *)this + 89) + 440); v105 = *(void (__fastcall **)(int, _DWORD *))(*(_DWORD *)v104 + 480); memset(v137, 100, 3); v105(v104, v137); memset(v138, 0, sizeof(v138)); std::string::__init(v138, "Something went wrong\nplease try again later", 0x2Bu); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v137, 0.5, 1.0); *((_DWORD *)this + 88) = TextArea::create( (int)v138, "bigFont.fnt", 1065353216, 1142292480, (const cocos2d::CCPoint *)v137, COERCE_INT(30.0), 0, 0); std::string::~string((int)v138); v106 = *((_DWORD *)this + 88); v107 = *(void (__fastcall **)(int, _DWORD *))(*(_DWORD *)v106 + 92); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v137, v126 * 0.5, (float)(v127 * 0.5) + 10.0); v107(v106, v137); (*(void (__fastcall **)(_DWORD, int))(**((_DWORD **)this + 88) + 80))(*((_DWORD *)this + 88), 1058642330); (*(void (__fastcall **)(GauntletSelectLayer *, _DWORD, int))(*(_DWORD *)this + 232))( this, *((_DWORD *)this + 88), 10); (*(void (__fastcall **)(_DWORD, _DWORD))(**((_DWORD **)this + 88) + 172))(*((_DWORD *)this + 88), 0); v109 = cocos2d::CCSprite::createWithSpriteFrameName((cocos2d::CCSprite *)"GJ_updateBtn_001.png", v108); (*(void (__fastcall **)(int, int))(*(_DWORD *)v109 + 80))(v109, 1061158912); v137[1] = 0; v137[0] = GauntletSelectLayer::onRefresh; v110 = CCMenuItemSpriteExtra::create(v109, 0, (int)this, (int)GauntletSelectLayer::onRefresh, 0); *((_DWORD *)this + 86) = v110; v111 = (cocos2d::CCDirector *)(*(int (__fastcall **)(const cocos2d::CCPoint *, int))(*(_DWORD *)v86 + 228))( v86, v110); v112 = *((_DWORD *)this + 86); v113 = *(int (__fastcall **)(int, _BYTE *))(*(_DWORD *)v112 + 92); v114 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(v111); v115 = COERCE_FLOAT(cocos2d::CCDirector::getScreenRight(v114)); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v128, v115 - 25.0, 25.0); cocos2d::CCNode::convertToNodeSpace((cocos2d::CCNode *)v129, v86); v116 = (GameLevelManager *)v113(v112, v129); v117 = (cocos2d::CCDictionary **)GameLevelManager::sharedState(v116); if ( GameLevelManager::areGauntletsLoaded(v117) ) { GauntletSelectLayer::setupGauntlets(this); } else { v118 = (GameLevelManager *)(*(int (__fastcall **)(_DWORD, int))(**((_DWORD **)this + 89) + 172))( *((_DWORD *)this + 89), 1); v119 = (GameLevelManager *)GameLevelManager::sharedState(v118); *((_DWORD *)v119 + 205) = (char *)this + 320; v120 = (GameLevelManager *)GameLevelManager::sharedState(v119); GameLevelManager::getGauntlets(v120); } GauntletSelectLayer::updateArrows(this); } return v122; }
GD Web Decomp Icon

GD Web Decomp

Raw Source