// // SecretLayer5::init from 0x6e5ba4 to 0x6e6574 (2512 bytes) // // 1 xrefs: // > SecretLayer5::create @ 0x6e2970 // // 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:57:24 +0000 // int __fastcall SecretLayer5::init(SecretLayer5 *this) { cocos2d::CCTextureCache *v2; // r0 cocos2d::CCTextureCache *v3; // r10 cocos2d::CCTextureCache *v4; // r0 cocos2d::CCSpriteFrameCache *v5; // r0 cocos2d::CCSpriteFrameCache *v6; // r0 cocos2d::CCTextureCache *v7; // r0 cocos2d::CCTextureCache *v8; // r0 cocos2d::CCSpriteFrameCache *v9; // r0 cocos2d::CCSpriteFrameCache *v10; // r0 GameManager *v11; // r0 FMODAudioEngine *v12; // r5 cocos2d::CCDirector *v13; // r0 time_t v14; // r0 unsigned int v15; // r8 int v16; // r7 unsigned int v17; // r1 const char *v18; // r1 int v19; // r0 int v20; // r7 void (__fastcall *v21)(int, _DWORD *); // r8 int v22; // r7 void (__fastcall *v23)(int, _DWORD *); // r8 int v24; // r0 void (__fastcall *v25)(int, _DWORD *); // r3 const char *v26; // r2 int v27; // r0 int v28; // r3 int v29; // r9 int v30; // r0 int *v31; // r0 int v32; // r3 int v33; // r7 const char *v34; // r1 int v35; // r0 cocos2d::CCMenu *v36; // r8 const cocos2d::CCPoint *v37; // r9 cocos2d::CCDirector *v38; // r0 int (__fastcall *v39)(const cocos2d::CCPoint *, _DWORD *); // r11 cocos2d::CCDirector *v40; // r0 float v41; // s17 cocos2d::CCDirector *v42; // r0 float v43; // r0 PlatformToolbox *v44; // r0 cocos2d::CCMenuItem *v45; // r2 int v46; // r0 void (__fastcall *v47)(int, _DWORD *); // r3 const cocos2d::CCPoint *v48; // r11 void (__fastcall *v49)(cocos2d::CCArray *, _DWORD *); // r8 const char *v50; // r1 int *v51; // lr int v52; // r3 int v53; // r8 void (__fastcall *v54)(int, _DWORD *); // r11 const char *v55; // r1 cocos2d::CCNode *v56; // r0 int v57; // r8 const char *v58; // r1 int v59; // r0 void (__fastcall *v60)(int, _DWORD *); // r11 int v61; // r11 void (__fastcall *v62)(int, _DWORD *); // r7 int v63; // r0 void (__fastcall *v64)(int, _DWORD *); // r3 int v65; // r0 int v66; // r0 int v67; // r11 float v68; // r1 cocos2d::CCSprite *v69; // r0 int v70; // r0 int (__fastcall *v71)(int, _DWORD *); // r3 GameManager *v72; // r0 int v73; // r0 GameManager *v74; // r0 GameManager *v75; // r0 const char *FontFile; // r7 int v77; // r6 void (__fastcall *v78)(int, _DWORD *); // r7 int v79; // r6 int (__fastcall *v80)(int, _DWORD *); // r7 cocos2d::CCArray *v81; // r0 int v82; // r7 cocos2d::CCObject *v83; // r0 const char *v84; // r1 int v85; // r6 void (__fastcall *v86)(int, _DWORD *); // r3 float v87; // s15 int (__fastcall *v88)(int, _DWORD *); // r9 cocos2d::CCArray *v89; // r0 cocos2d::CCArray *v90; // r9 int v91; // r6 cocos2d::CCObject *v92; // r0 cocos2d::CCObject *v93; // r0 GameLevelManager *v94; // r0 GameManager *v95; // r0 GameManager *v96; // r0 int UGV; // r0 float v98; // r1 cocos2d::CCSequence *v99; // r0 cocos2d::CCSequence *v100; // r7 cocos2d::CCFiniteTimeAction *v101; // r0 cocos2d::CCAction *v102; // r0 const char *v104; // [sp+8h] [bp-8Ch] cocos2d::CCArray *v105; // [sp+10h] [bp-84h] cocos2d::CCArray *v106; // [sp+10h] [bp-84h] cocos2d::CCArray *v107; // [sp+10h] [bp-84h] cocos2d::CCArray *v108; // [sp+10h] [bp-84h] cocos2d::CCPoint *v109; // [sp+18h] [bp-7Ch] cocos2d::CCPoint *v110; // [sp+18h] [bp-7Ch] void (__fastcall *v111)(int, _DWORD *); // [sp+1Ch] [bp-78h] float v112; // [sp+20h] [bp-74h] BYREF float v113; // [sp+24h] [bp-70h] _BYTE v114[8]; // [sp+28h] [bp-6Ch] BYREF _BYTE v115[8]; // [sp+30h] [bp-64h] BYREF int v116; // [sp+38h] [bp-5Ch] int v117; // [sp+3Ch] [bp-58h] int v118; // [sp+40h] [bp-54h] int v119; // [sp+44h] [bp-50h] _BYTE v120[8]; // [sp+48h] [bp-4Ch] BYREF int (__fastcall *v121)(int, cocos2d::CCObject *); // [sp+50h] [bp-44h] int v122; // [sp+54h] [bp-40h] _DWORD v123[2]; // [sp+58h] [bp-3Ch] BYREF int v124; // [sp+60h] [bp-34h] BYREF int v125; // [sp+64h] [bp-30h] int v126; // [sp+68h] [bp-2Ch] _BYTE v127[16]; // [sp+6Ch] [bp-28h] BYREF _DWORD v128[4]; // [sp+7Ch] [bp-18h] BYREF v2 = (cocos2d::CCTextureCache *)cocos2d::CCLayer::init(this); v3 = v2; if ( v2 ) { v4 = (cocos2d::CCTextureCache *)cocos2d::CCTextureCache::sharedTextureCache(v2); v5 = (cocos2d::CCSpriteFrameCache *)cocos2d::CCTextureCache::addImage(v4, "SecretSheet.png", 0); v6 = (cocos2d::CCSpriteFrameCache *)cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(v5); v7 = (cocos2d::CCTextureCache *)cocos2d::CCSpriteFrameCache::addSpriteFramesWithFile(v6, "SecretSheet.plist"); v8 = (cocos2d::CCTextureCache *)cocos2d::CCTextureCache::sharedTextureCache(v7); v9 = (cocos2d::CCSpriteFrameCache *)cocos2d::CCTextureCache::addImage(v8, "TowerSheet.png", 0); v10 = (cocos2d::CCSpriteFrameCache *)cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(v9); v11 = (GameManager *)cocos2d::CCSpriteFrameCache::addSpriteFramesWithFile(v10, "TowerSheet.plist"); v124 = 0; v125 = 0; v126 = 0; v12 = (FMODAudioEngine *)GameManager::sharedState(v11); std::string::__init(&v124, "secretLoop04.ogg", 0x10u); GameManager::fadeInMusic(v12, (unsigned __int8 *)&v124); std::string::~string((int)&v124); (*(void (__fastcall **)(SecretLayer5 *, int))(*(_DWORD *)this + 536))(this, 1); v13 = (cocos2d::CCDirector *)(*(int (__fastcall **)(SecretLayer5 *, int))(*(_DWORD *)this + 544))(this, 1); cocos2d::CCDirector::sharedDirector(v13); cocos2d::CCDirector::getWinSize((cocos2d::CCDirector *)&v112); std::vector::assign((_DWORD *)this + 106, byte_BF0098, byte_BF00DC); v14 = time(nullptr); srand(v14); v15 = *((_DWORD *)this + 106); v16 = *((_DWORD *)this + 107); v17 = rand() % 0x7FFFFFFFu; if ( !v17 ) v17 = 1; v128[0] = v17; std::shuffle,std::linear_congruential_engine>( v15, v16, (int)v128); v19 = cocos2d::CCSprite::create((cocos2d::CCSprite *)"GJ_gradientBG.png", v18); *((_DWORD *)this + 104) = v19; v20 = v19; v21 = *(void (__fastcall **)(int, _DWORD *))(*(_DWORD *)v19 + 148); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v128, 0.0, 0.0); v21(v20, v128); (*(void (__fastcall **)(SecretLayer5 *, _DWORD, int))(*(_DWORD *)this + 232))(this, *((_DWORD *)this + 104), -3); (*(void (__fastcall **)(_DWORD, _DWORD))(**((_DWORD **)this + 104) + 64))( *((_DWORD *)this + 104), (float)(v112 + 10.0) / *(float *)(*((_DWORD *)this + 104) + 344)); (*(void (__fastcall **)(_DWORD, _DWORD))(**((_DWORD **)this + 104) + 72))( *((_DWORD *)this + 104), (float)(v113 + 10.0) / *(float *)(*((_DWORD *)this + 104) + 348)); v22 = *((_DWORD *)this + 104); v23 = *(void (__fastcall **)(int, _DWORD *))(*(_DWORD *)v22 + 92); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v128, -5.0, -5.0); v23(v22, v128); v24 = *((_DWORD *)this + 104); v25 = *(void (__fastcall **)(int, _DWORD *))(*(_DWORD *)v24 + 480); LOWORD(v128[0]) = 3613; BYTE2(v128[0]) = 47; v25(v24, v128); cocos2d::CCRect::CCRect((cocos2d::CCRect *)v127, 0.0, 0.0, 40.0, 40.0); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v114, v112 * 0.5, (float)(v113 * 0.5) + 55.0); v27 = cocos2d::CCLabelBMFont::create((cocos2d::CCLabelBMFont *)" ", "bigFont.fnt", v26); v28 = *(_DWORD *)this; *((_DWORD *)this + 90) = v27; (*(void (__fastcall **)(SecretLayer5 *, int))(v28 + 228))(this, v27); v29 = *((_DWORD *)this + 90); v105 = *(cocos2d::CCArray **)(*(_DWORD *)v29 + 92); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v123, 0.0, 43.0); cocos2d::CCPoint::operator+(v128, v114, v123); ((void (__fastcall *)(int, _DWORD *))v105)(v29, v128); SecretLayer5::getMessage((SecretLayer5 *)&v124); SecretLayer5::updateMessageLabel((int)this, (int)&v124); std::string::~string((int)&v124); cocos2d::CCRect::CCRect((cocos2d::CCRect *)v128, (const cocos2d::CCRect *)v127); v30 = cocos2d::extension::CCScale9Sprite::create("square02b_small.png", v128); *((_DWORD *)this + 110) = v30; (*(void (__fastcall **)(int, int))(*(_DWORD *)v30 + 456))(v30, 100); cocos2d::CCSize::CCSize((cocos2d::CCSize *)v115, 200.0, 40.0); (*(void (__fastcall **)(_DWORD, _BYTE *))(**((_DWORD **)this + 110) + 160))(*((_DWORD *)this + 110), v115); (*(void (__fastcall **)(SecretLayer5 *, _DWORD, int))(*(_DWORD *)this + 232))(this, *((_DWORD *)this + 110), -2); (*(void (__fastcall **)(_DWORD, _BYTE *))(**((_DWORD **)this + 110) + 92))(*((_DWORD *)this + 110), v114); (*(void (__fastcall **)(_DWORD, char *))(**((_DWORD **)this + 110) + 480))(*((_DWORD *)this + 110), byte_BF00DC); v31 = CCTextInputNode::create( (CCTextInputNode *)0x43340000, 50.0, "...", "Thonburi", (const char *)&dword_18, "bigFont.fnt", v104); v32 = *(_DWORD *)this; *((_DWORD *)this + 89) = v31; (*(void (__fastcall **)(SecretLayer5 *, int *, int))(v32 + 232))(this, v31, 20); *(_DWORD *)(*((_DWORD *)this + 89) + 420) = (char *)this + 316; (*(void (__fastcall **)(_DWORD, _BYTE *))(**((_DWORD **)this + 89) + 92))(*((_DWORD *)this + 89), v114); CCTextInputNode::setMaxLabelScale(*((_DWORD *)this + 89), 0.7); CCTextInputNode::setMaxLabelWidth(*((_DWORD *)this + 89), 180.0); (*(void (__fastcall **)(_DWORD, _DWORD))(**(_DWORD **)(*((_DWORD *)this + 89) + 416) + 172))( *(_DWORD *)(*((_DWORD *)this + 89) + 416), 0); *(_DWORD *)(*((_DWORD *)this + 89) + 424) = 100; v33 = *((_DWORD *)this + 89); v124 = 0; v125 = 0; v126 = 0; std::string::__init( &v124, " abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.,-!?:;)(/\\\"'`*=+-_%[]<>|@&^#{}%$~", 0x61u); CCTextInputNode::setAllowedChars(v33, (unsigned __int8 *)&v124); std::string::~string((int)&v124); SecretLayer5::updateSearchLabel(this, (const char *)&unk_B6B226); v35 = cocos2d::CCSprite::createWithSpriteFrameName((cocos2d::CCSprite *)"GJ_arrow_01_001.png", v34); v121 = SecretLayer5::onBack; v122 = 0; v36 = (cocos2d::CCMenu *)CCMenuItemSpriteExtra::create(v35, 0, (int)this, (int)SecretLayer5::onBack, 0); CCMenuItemSpriteExtra::setSizeMult((int)v36, 1.5); v37 = (const cocos2d::CCPoint *)cocos2d::CCMenu::create(v36, nullptr); v38 = (cocos2d::CCDirector *)(*(int (__fastcall **)(SecretLayer5 *, const cocos2d::CCPoint *, int))(*(_DWORD *)this + 232))( this, v37, 1); v39 = *(int (__fastcall **)(const cocos2d::CCPoint *, _DWORD *))(*(_DWORD *)v37 + 92); v40 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(v38); v41 = COERCE_FLOAT(cocos2d::CCDirector::getScreenLeft(v40)); v42 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector((cocos2d::CCDirector *)LODWORD(v41)); v43 = COERCE_FLOAT(cocos2d::CCDirector::getScreenTop(v42)); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v128, v41 + 24.0, v43 - 23.0); v44 = (PlatformToolbox *)v39(v37, v128); if ( PlatformToolbox::isControllerConnected(v44) ) GameToolbox::addBackButton(this, v36, v45); v124 = 0; v125 = 0; v126 = 0; std::string::__init(&v124, "GJ_secretLock4_001.png", 0x16u); *((_DWORD *)this + 101) = CCSpriteWithHue::createWithSpriteFrameName((char *)&v124); std::string::~string((int)&v124); v124 = 0; v125 = 0; v126 = 0; std::string::__init(&v124, "GJ_secretLock4_001.png", 0x16u); *((_DWORD *)this + 102) = CCSpriteGrayscale::createWithSpriteFrameName((char *)&v124); std::string::~string((int)&v124); v46 = *((_DWORD *)this + 102); v47 = *(void (__fastcall **)(int, _DWORD *))(*(_DWORD *)v46 + 480); LOWORD(v128[0]) = 25800; BYTE2(v128[0]) = -1; v47(v46, v128); (*(void (__fastcall **)(_DWORD, _DWORD, int))(**((_DWORD **)this + 101) + 232))( *((_DWORD *)this + 101), *((_DWORD *)this + 102), 1); (*(void (__fastcall **)(_DWORD, _DWORD))(**((_DWORD **)this + 102) + 456))(*((_DWORD *)this + 102), 0); v48 = *((const cocos2d::CCPoint **)this + 101); v106 = *((cocos2d::CCArray **)this + 102); v49 = *(void (__fastcall **)(cocos2d::CCArray *, _DWORD *))(*(_DWORD *)v106 + 92); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v123, 0.0, 0.0); cocos2d::CCNode::convertToNodeSpace((cocos2d::CCNode *)v128, v48); v49(v106, v128); v51 = (int *)cocos2d::CCSprite::createWithSpriteFrameName((cocos2d::CCSprite *)"GJ_secretLock4_eyes_001.png", v50); *((_DWORD *)this + 103) = v51; v52 = *v51; v116 = 770; v117 = 1; (*(void (__fastcall **)(int *, int, int))(v52 + 540))(v51, 770, 1); (*(void (__fastcall **)(_DWORD, _DWORD, int))(**((_DWORD **)this + 101) + 232))( *((_DWORD *)this + 101), *((_DWORD *)this + 103), 2); v53 = *((_DWORD *)this + 103); v54 = *(void (__fastcall **)(int, _DWORD *))(*(_DWORD *)v53 + 92); v109 = *((cocos2d::CCPoint **)this + 101); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v123, 0.0, 0.0); cocos2d::CCNode::convertToNodeSpace((cocos2d::CCNode *)v128, v109); v54(v53, v128); (*(void (__fastcall **)(_DWORD, _DWORD))(**((_DWORD **)this + 103) + 456))(*((_DWORD *)this + 103), 0); v56 = (cocos2d::CCNode *)cocos2d::CCSprite::createWithSpriteFrameName( (cocos2d::CCSprite *)"GJ_secretLock2_2_001.png", v55); v57 = cocos2d::CCNode::create(v56); v59 = cocos2d::CCSprite::createWithSpriteFrameName((cocos2d::CCSprite *)"GJ_secretLock2_2_001.png", v58); *((_DWORD *)this + 105) = v59; (*(void (__fastcall **)(int, int, int))(*(_DWORD *)v57 + 232))(v57, v59, -1); (*(void (__fastcall **)(_DWORD, int, int))(**((_DWORD **)this + 101) + 232))(*((_DWORD *)this + 101), v57, -2); v60 = *(void (__fastcall **)(int, _DWORD *))(*(_DWORD *)v57 + 92); v110 = *((cocos2d::CCPoint **)this + 101); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v123, 0.0, -30.0); cocos2d::CCNode::convertToNodeSpace((cocos2d::CCNode *)v128, v110); v60(v57, v128); v61 = *((_DWORD *)this + 105); v62 = *(void (__fastcall **)(int, _DWORD *))(*(_DWORD *)v61 + 92); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v128, 0.0, 25.0); v62(v61, v128); v63 = *((_DWORD *)this + 105); v64 = *(void (__fastcall **)(int, _DWORD *))(*(_DWORD *)v63 + 480); LOWORD(v128[0]) = 18286; BYTE2(v128[0]) = -103; v64(v63, v128); (*(void (__fastcall **)(_DWORD, int))(**((_DWORD **)this + 101) + 80))(*((_DWORD *)this + 101), 1067030938); v65 = *((_DWORD *)this + 101); v123[0] = SecretLayer5::onSubmit; v123[1] = 0; v66 = CCMenuItemSpriteExtra::create(v65, 0, (int)this, (int)SecretLayer5::onSubmit, 0); *((_DWORD *)this + 91) = v66; (*(void (__fastcall **)(const cocos2d::CCPoint *, int))(*(_DWORD *)v37 + 228))(v37, v66); v67 = *((_DWORD *)this + 91); v111 = *(void (__fastcall **)(int, _DWORD *))(*(_DWORD *)v67 + 92); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v120, v112 * 0.5, (float)(v113 * 0.5) - 25.0); cocos2d::CCNode::convertToNodeSpace((cocos2d::CCNode *)v128, v37); v111(v67, v128); CCMenuItemSpriteExtra::setSizeMult(*((_DWORD *)this + 91), 0.7); v69 = LoadingCircleSprite::create((LoadingCircleSprite *)0x3F000000, v68); *((_DWORD *)this + 111) = v69; (*(void (__fastcall **)(cocos2d::CCSprite *, int))(*(_DWORD *)v69 + 80))(v69, 1056964608); (*(void (__fastcall **)(SecretLayer5 *, _DWORD, int))(*(_DWORD *)this + 232))(this, *((_DWORD *)this + 111), 28); (*(void (__fastcall **)(_DWORD, _DWORD))(**((_DWORD **)this + 111) + 456))(*((_DWORD *)this + 111), 0); (*(void (__fastcall **)(_DWORD, _BYTE *))(**((_DWORD **)this + 111) + 92))(*((_DWORD *)this + 111), v114); v118 = 770; v119 = 1; (*(void (__fastcall **)(_DWORD, int, int))(**((_DWORD **)this + 111) + 540))(*((_DWORD *)this + 111), 770, 1); v70 = *((_DWORD *)this + 111); v71 = *(int (__fastcall **)(int, _DWORD *))(*(_DWORD *)v70 + 480); LOWORD(v128[0]) = 25800; BYTE2(v128[0]) = -1; v72 = (GameManager *)v71(v70, v128); v73 = GameManager::sharedState(v72); GameManager::loadFont(v73, 19); v124 = 0; v125 = 0; v126 = 0; v74 = (GameManager *)std::string::__init(&v124, " ", 1u); v75 = (GameManager *)GameManager::sharedState(v74); FontFile = GameManager::getFontFile(v75, 19); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v128, 0.5, 1.0); *((_DWORD *)this + 112) = TextArea::create( (int)&v124, FontFile, 1065353216, 1141200213, (const cocos2d::CCPoint *)v128, 1101004800, 0, 0); std::string::~string((int)&v124); v77 = *((_DWORD *)this + 112); v78 = *(void (__fastcall **)(int, _DWORD *))(*(_DWORD *)v77 + 148); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v128, 0.5, 0.5); v78(v77, v128); (*(void (__fastcall **)(_DWORD, int))(**((_DWORD **)this + 112) + 80))(*((_DWORD *)this + 112), 1061158912); (*(void (__fastcall **)(SecretLayer5 *, _DWORD, int))(*(_DWORD *)this + 232))(this, *((_DWORD *)this + 112), 3); v79 = *((_DWORD *)this + 112); v80 = *(int (__fastcall **)(int, _DWORD *))(*(_DWORD *)v79 + 92); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v120, 0.0, 60.0); cocos2d::CCPoint::operator+(v128, v114, v120); v81 = (cocos2d::CCArray *)v80(v79, v128); v82 = 0; v83 = (cocos2d::CCObject *)cocos2d::CCArray::create(v81); *((_DWORD *)this + 94) = v83; cocos2d::CCObject::retain(v83); while ( 1 ) { v85 = cocos2d::CCSprite::createWithSpriteFrameName((cocos2d::CCSprite *)"towerTorchInner_001.png", v84); v86 = *(void (__fastcall **)(int, _DWORD *))(*(_DWORD *)v85 + 480); LOWORD(v128[0]) = 23160; BYTE2(v128[0]) = -103; v86(v85, v128); (*(void (__fastcall **)(SecretLayer5 *, int, int))(*(_DWORD *)this + 232))(this, v85, 4); v87 = v82 ? 195.0 : -195.0; v88 = *(int (__fastcall **)(int, _DWORD *))(*(_DWORD *)v85 + 92); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v128, v87 + (float)(v112 * 0.5), (float)(v113 * 0.5) + 4.0); v89 = (cocos2d::CCArray *)v88(v85, v128); v90 = (cocos2d::CCArray *)cocos2d::CCArray::create(v89); v91 = (*(int (__fastcall **)(int))(*(_DWORD *)v85 + 96))(v85); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v120, 0.0, 33.0); cocos2d::CCPoint::operator+(v128, v91, v120); LevelAreaLayer::addTorch((int)this, (int)v128, 2, 1.0, 4, 1, 1, v90); v107 = *((cocos2d::CCArray **)this + 94); v92 = (cocos2d::CCObject *)cocos2d::CCArray::objectAtIndex(v90, 0); cocos2d::CCArray::addObject(v107, v92); v108 = *((cocos2d::CCArray **)this + 94); v93 = (cocos2d::CCObject *)cocos2d::CCArray::objectAtIndex(v90, 1u); cocos2d::CCArray::addObject(v108, v93); if ( v82 == 1 ) break; v82 = 1; } v94 = (GameLevelManager *)cocos2d::CCNode::scheduleUpdate(this); v95 = (GameManager *)GameLevelManager::sharedState(v94); *((_DWORD *)v95 + 229) = (char *)this + 328; v96 = (GameManager *)GameManager::sharedState(v95); UGV = GameManager::getUGV(v96, "38"); if ( UGV ) { return UGV; } else { *((_BYTE *)this + 400) = 1; v99 = (cocos2d::CCSequence *)cocos2d::CCDelayTime::create((cocos2d::CCDelayTime *)0x3F99999A, v98); v128[1] = 0; v128[0] = SecretLayer5::showFirstDialog; v100 = v99; v101 = (cocos2d::CCFiniteTimeAction *)cocos2d::CCCallFunc::create(this, SecretLayer5::showFirstDialog, 0); v102 = (cocos2d::CCAction *)cocos2d::CCSequence::create(v100, v101, 0); cocos2d::CCNode::runAction(this, v102); (*(void (__fastcall **)(_DWORD, _DWORD))(**((_DWORD **)this + 89) + 500))(*((_DWORD *)this + 89), 0); } } return (int)v3; }
GD Web Decomp Icon

GD Web Decomp

Raw Source