// // SecretLayer2::init from 0x942208 to 0x943068 (3680 bytes) // // 3 xrefs: // > SecretLayer2::create @ 0x93f76c // > @ 0x4b558 // > @ 0x11b2a20 // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // bool SecretLayer2::init(SecretLayer2 *a1) { bool v2; // w24 cocos2d::CCTextureCache *v4; // x0 cocos2d::CCSpriteFrameCache *v5; // x0 GameManager *v6; // x22 void *v7; // x0 cocos2d::CCDirector *v8; // x0 cocos2d::CCDictionary *v9; // x0 AchievementManager *v10; // x0 AchievementManager *v11; // x0 AchievementManager *v12; // x0 AchievementManager *v13; // x0 AchievementManager *v14; // x0 AchievementManager *v15; // x0 AchievementManager *v16; // x0 GameManager *v17; // x0 const char *v18; // x1 cocos2d::CCNode *v19; // x27 int (__fastcall *getTag)(const cocos2d::CCObject *__hidden); // x2 cocos2d::CCLabelBMFont *v21; // x27 void (__fastcall *setPosition)(cocos2d::CCNode *__hidden, const cocos2d::CCPoint *); // x28 cocos2d::CCLabelBMFont *v23; // x0 SecretLayer2_vtbl *v24; // x2 void (__fastcall *v25)(cocos2d::CCSize *, cocos2d::CCRect *); // x27 void *v26; // x0 cocos2d::CCRect *v27; // x1 cocos2d::CCNode *v28; // x27 CCTextInputNode *v29; // x0 CCTextInputNode *m_searchInput; // x26 void *v31; // x0 cocos2d::CCSprite *v32; // x0 CCMenuItemSpriteExtra *v33; // x26 cocos2d::CCNode *v34; // x22 void (__fastcall *v35)(cocos2d::CCNode *__hidden, const cocos2d::CCPoint *); // x27 cocos2d::CCDirector *v36; // x0 float v37; // s0 float v38; // s8 cocos2d::CCDirector *v39; // x0 float v40; // s0 cocos2d::CCSprite *v41; // x26 cocos2d::CCSprite *v42; // x27 CCMenuItemSpriteExtra *v43; // x0 cocos2d::CCNode_vtbl *v44; // x2 CCMenuItemSpriteExtra *m_submitButton; // x26 void (__fastcall *v46)(cocos2d::CCNode *__hidden, const cocos2d::CCPoint *); // x27 GameManager *v47; // x0 const char *v48; // x0 cocos2d::CCSprite *v49; // x0 CCMenuItemSpriteExtra *v50; // x0 cocos2d::CCNode_vtbl *v51; // x3 void (__fastcall *addChild)(cocos2d::CCNode *__hidden, cocos2d::CCNode *); // x3 __int64 (__fastcall *v53)(cocos2d::CCSize *, cocos2d::CCRect *, float, float); // x27 cocos2d::CCArray *v54; // x0 cocos2d::CCArray *v55; // x0 cocos2d::CCSprite *v56; // x27 CCMenuItemSpriteExtra *v57; // x0 cocos2d::CCNode_vtbl *v58; // x2 CCMenuItemSpriteExtra *m_secretLevelButton; // x27 cocos2d::CCNode *v60; // x0 void (__fastcall *v61)(cocos2d::CCNode *__hidden, const cocos2d::CCPoint *); // x22 cocos2d::CCLabelBMFont *v62; // x22 void (__fastcall *v63)(cocos2d::CCNode *__hidden, const cocos2d::CCPoint *); // x27 cocos2d::CCLabelBMFont *v64; // x27 cocos2d::CCLabelBMFont *v65; // x0 const cocos2d::CCPoint *(__fastcall *getPosition)(cocos2d::CCNode *__hidden); // x1 void (__fastcall *v67)(cocos2d::CCNode *__hidden, const cocos2d::CCPoint *); // x22 GameStatsManager *v68; // x0 GameManager *v69; // x0 GameManager *v70; // x0 GameLevelManager *v71; // x0 GJGameLevel *MainLevel; // x0 cocos2d::CCSequence *v73; // x20 cocos2d::CCFiniteTimeAction *v74; // x0 cocos2d::CCAction *v75; // x0 unsigned int v76; // w20 unsigned int v77; // w1 __int64 v78; // x0 cocos2d::CCRect *v79; // x27 cocos2d::CCSprite *v80; // x22 void (__fastcall *v81)(cocos2d::CCSprite *__hidden, const cocos2d::CCPoint *); // x26 cocos2d::CCString *v82; // x0 cocos2d::CCLabelBMFont *v83; // x22 void (__fastcall *v84)(cocos2d::CCNode *__hidden, const cocos2d::CCPoint *); // x25 cocos2d::CCDictionary *v85; // x25 cocos2d::CCNode *v86; // x0 cocos2d::CCDictionary *v87; // x25 cocos2d::CCNode *v88; // x0 cocos2d::CCDictionary *v89; // x25 cocos2d::CCNode *v90; // x0 cocos2d::CCDictionary *v91; // x25 cocos2d::CCNode *v92; // x0 cocos2d::CCDictionary *v93; // x25 cocos2d::CCNode *v94; // x0 cocos2d::CCDictionary *v95; // x25 cocos2d::CCNode *v96; // x0 AchievementManager *v97; // x0 cocos2d::CCDictionary *v98; // x25 cocos2d::CCNode *v99; // x0 cocos2d::CCDictionary *m_messageThreads; // x25 cocos2d::CCNode *v101; // x0 unsigned int *v102; // x1 int v103; // w2 unsigned int *v104; // x1 int v105; // w2 unsigned int *v106; // x1 int v107; // w2 __int64 v108; // [xsp+0h] [xbp+0h] BYREF cocos2d::CCSize *setAnchorPoint; // [xsp+80h] [xbp+80h] cocos2d::CCRect *v110; // [xsp+88h] [xbp+88h] float v111; // [xsp+98h] [xbp+98h] float v112; // [xsp+9Ch] [xbp+9Ch] cocos2d::CCPoint v113; // [xsp+A0h] [xbp+A0h] BYREF cocos2d::CCSize v114; // [xsp+A8h] [xbp+A8h] BYREF cocos2d::CCPoint v115; // [xsp+B0h] [xbp+B0h] BYREF char v116; // [xsp+B8h] [xbp+B8h] BYREF cocos2d::CCPoint v117; // [xsp+C0h] [xbp+C0h] BYREF _BYTE v118[16]; // [xsp+C8h] [xbp+C8h] BYREF cocos2d::CCRect v119; // [xsp+D8h] [xbp+D8h] BYREF cocos2d::CCPoint v120; // 0:kr08_8.8 cocos2d::CCPoint v121; // 0:kr10_8.8 cocos2d::CCPoint v122; // 0:kr18_8.8 cocos2d::CCPoint v123; // 0:kr20_8.8 cocos2d::SEL_MenuHandler v124; // 0:x2.16 cocos2d::SEL_MenuHandler v125; // 0:x2.16 cocos2d::SEL_MenuHandler v126; // 0:x2.16 cocos2d::SEL_MenuHandler v127; // 0:x2.16 cocos2d::CCRect v128; // 0:s0.4,4:s1.4,8:s2.4,12:s3.4 v2 = cocos2d::CCLayer::init(a1); if ( v2 ) { v4 = cocos2d::CCTextureCache::sharedTextureCache(); cocos2d::CCTextureCache::addImage(v4, "SecretSheet.png", 0); v5 = cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(); cocos2d::CCSpriteFrameCache::addSpriteFramesWithFile(v5, "SecretSheet.plist"); v6 = GameManager::sharedState(); sub_D153B8((unsigned int)&v108 + 216, "secretLoop02.mp3"); GameManager::fadeInMusic((__int64)v6, &v119); v7 = (void *)(*(_QWORD *)&v119.origin - 24LL); if ( (__int64 *)(*(_QWORD *)&v119.origin - 24LL) == &qword_124B6B0 ) goto LABEL_4; if ( &pthread_create ) { v106 = (unsigned int *)(*(_QWORD *)&v119.origin - 8LL); do v107 = __ldaxr(v106); while ( __stlxr(v107 - 1, v106) ); } else { v107 = *(_DWORD *)(*(_QWORD *)&v119.origin - 8LL); *(_DWORD *)(*(_QWORD *)&v119.origin - 8LL) = v107 - 1; } if ( v107 > 0 ) { LABEL_4: v110 = (cocos2d::CCRect *)v118; } else { v110 = (cocos2d::CCRect *)v118; operator delete(v7); } a1->setKeypadEnabled(a1, 1); a1->setKeyboardEnabled(a1, 1); v8 = cocos2d::CCDirector::sharedDirector(); cocos2d::CCDirector::getWinSize(v8); v9 = cocos2d::CCDictionary::create(); a1->m_messageThreads = v9; cocos2d::CCObject::retain(v9); v10 = AchievementManager::sharedState(); if ( !AchievementManager::isAchievementEarned(v10, "geometry.ach.v2.secret01") ) { m_messageThreads = a1->m_messageThreads; v101 = SecretLayer2::nodeWithTag(a1, 1); cocos2d::CCDictionary::setObject(m_messageThreads, v101, 1); } v11 = AchievementManager::sharedState(); if ( AchievementManager::isAchievementEarned(v11, "geometry.ach.secret06") ) { v97 = AchievementManager::sharedState(); if ( !AchievementManager::isAchievementEarned(v97, "geometry.ach.v2.secret03") ) { v98 = a1->m_messageThreads; v99 = SecretLayer2::nodeWithTag(a1, 3); cocos2d::CCDictionary::setObject(v98, v99, 3); } } v12 = AchievementManager::sharedState(); if ( !AchievementManager::isAchievementEarned(v12, "geometry.ach.v2.secret05") ) { v95 = a1->m_messageThreads; v96 = SecretLayer2::nodeWithTag(a1, 5); cocos2d::CCDictionary::setObject(v95, v96, 5); } v13 = AchievementManager::sharedState(); if ( !AchievementManager::isAchievementEarned(v13, "geometry.ach.v2.secret06") ) { v93 = a1->m_messageThreads; v94 = SecretLayer2::nodeWithTag(a1, 6); cocos2d::CCDictionary::setObject(v93, v94, 6); } v14 = AchievementManager::sharedState(); if ( !AchievementManager::isAchievementEarned(v14, "geometry.ach.v2.secret08") ) { v91 = a1->m_messageThreads; v92 = SecretLayer2::nodeWithTag(a1, 8); cocos2d::CCDictionary::setObject(v91, v92, 8); } v15 = AchievementManager::sharedState(); if ( !AchievementManager::isAchievementEarned(v15, "geometry.ach.v2.secret09") ) { v89 = a1->m_messageThreads; v90 = SecretLayer2::nodeWithTag(a1, 9); cocos2d::CCDictionary::setObject(v89, v90, 9); } v16 = AchievementManager::sharedState(); if ( !AchievementManager::isAchievementEarned(v16, "geometry.ach.v2.secret10") ) { v87 = a1->m_messageThreads; v88 = SecretLayer2::nodeWithTag(a1, 10); cocos2d::CCDictionary::setObject(v87, v88, 10); } v17 = GameManager::sharedState(); if ( !GameManager::getUGV(v17, "1") ) { v85 = a1->m_messageThreads; v86 = SecretLayer2::nodeWithTag(a1, 20); cocos2d::CCDictionary::setObject(v85, v86, 20); } v19 = (cocos2d::CCNode *)cocos2d::CCSprite::create((cocos2d::CCSprite *)"GJ_gradientBG.png", v18); setAnchorPoint = (cocos2d::CCSize *)v19->setAnchorPoint; cocos2d::CCPoint::CCPoint(&v119.origin, 0.0, 0.0); ((void (__fastcall *)(cocos2d::CCNode *, cocos2d::CCRect *))setAnchorPoint)(v19, &v119); a1->addChild_0(a1, v19, -3); v19->setScaleX(v19, (float)(v111 + 10.0) / v19[1].m_obContentSize.height); v19->setScaleY(v19, (float)(v112 + 10.0) / v19[1].m_sAdditionalTransform.a); setAnchorPoint = (cocos2d::CCSize *)v19->setPosition; cocos2d::CCPoint::CCPoint(&v119.origin, -5.0, -5.0); ((void (__fastcall *)(cocos2d::CCNode *, cocos2d::CCRect *))setAnchorPoint)(v19, &v119); getTag = v19->__vftable[1].getTag; LOWORD(v119.origin.x) = 75; BYTE2(v119.origin.x) = 100; ((void (__fastcall *)(cocos2d::CCNode *, cocos2d::CCRect *))getTag)(v19, &v119); cocos2d::CCRect::CCRect(v110, 0.0, 0.0, 40.0, 40.0); v21 = cocos2d::CCLabelBMFont::create(); v21->setScale(v21, 1.0); a1->addChild(a1, v21); setPosition = v21->setPosition; cocos2d::CCPoint::CCPoint(&v119.origin, v111 * 0.5, v112 - 24.0); setPosition(v21, &v119.origin); cocos2d::CCPoint::CCPoint(&v113, v111 * 0.5, (float)(v112 * 0.5) + 50.0); v23 = cocos2d::CCLabelBMFont::create(); v24 = a1->cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable; a1->m_messageLabel = v23; ((void (__fastcall *)(SecretLayer2 *))v24->addChild)(a1); setAnchorPoint = (cocos2d::CCSize *)a1->m_messageLabel; v25 = *(void (__fastcall **)(cocos2d::CCSize *, cocos2d::CCRect *))(*(_QWORD *)setAnchorPoint + 184LL); cocos2d::CCPoint::CCPoint(&v117, 0.0, 43.0); cocos2d::CCPoint::operator+(&v119, &v113, &v117); v25(setAnchorPoint, &v119); SecretLayer2::getMessage(a1, (__int64)&v119); SecretLayer2::updateMessageLabel((__int64)a1, &v119); v26 = (void *)(*(_QWORD *)&v119.origin - 24LL); if ( (__int64 *)(*(_QWORD *)&v119.origin - 24LL) != &qword_124B6B0 ) { if ( &pthread_create ) { v104 = (unsigned int *)(*(_QWORD *)&v119.origin - 8LL); do v105 = __ldaxr(v104); while ( __stlxr(v105 - 1, v104) ); } else { v105 = *(_DWORD *)(*(_QWORD *)&v119.origin - 8LL); *(_DWORD *)(*(_QWORD *)&v119.origin - 8LL) = v105 - 1; } if ( v105 <= 0 ) operator delete(v26); } v27 = v110; v110 = (cocos2d::CCRect *)&v116; cocos2d::CCRect::CCRect(&v119, v27); v28 = (cocos2d::CCNode *)cocos2d::extension::CCScale9Sprite::create( (cocos2d::extension::CCScale9Sprite *)"square02b_small.png", (const char *)&v119, v128); ((void (__fastcall *)(cocos2d::CCNode *, __int64))v28->__vftable[1].~CCNode_0)(v28, 100); setAnchorPoint = &v114; cocos2d::CCSize::CCSize(&v114, 200.0, 40.0); v28->setContentSize(v28, setAnchorPoint); a1->addChild_0(a1, v28, -2); v28->setPosition(v28, &v113); ((void (__fastcall *)(cocos2d::CCNode *, void *))v28->__vftable[1].getTag)(v28, &unk_EF65B8); v29 = CCTextInputNode::create(180.0, 50.0, "...", "Thonburi"); a1->m_searchInput = v29; a1->addChild_0(a1, v29, 20); a1->m_searchInput->m_delegate = &a1->TextInputDelegate; a1->m_searchInput->setPosition(a1->m_searchInput, &v113); CCTextInputNode::setMaxLabelScale(a1->m_searchInput, 0.7); CCTextInputNode::setMaxLabelWidth(a1->m_searchInput, 180.0); a1->m_searchInput->m_textField->setVisible(a1->m_searchInput->m_textField, 0); m_searchInput = a1->m_searchInput; m_searchInput->m_maxLabelLength = 100; sub_D153B8( (int)&v119, " abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.,-!?:;)(/\\\"'`*=+-_%[]<>|@&^#{}%$~"); CCTextInputNode::setAllowedChars((__int64)m_searchInput, (__int64)&v119); v31 = (void *)(*(_QWORD *)&v119.origin - 24LL); if ( (__int64 *)(*(_QWORD *)&v119.origin - 24LL) != &qword_124B6B0 ) { if ( &pthread_create ) { v102 = (unsigned int *)(*(_QWORD *)&v119.origin - 8LL); do v103 = __ldaxr(v102); while ( __stlxr(v103 - 1, v102) ); } else { v103 = *(_DWORD *)(*(_QWORD *)&v119.origin - 8LL); *(_DWORD *)(*(_QWORD *)&v119.origin - 8LL) = v103 - 1; } if ( v103 <= 0 ) operator delete(v31); } SecretLayer2::updateSearchLabel(a1, &byte_F288A0); v32 = cocos2d::CCSprite::createWithSpriteFrameName("GJ_arrow_01_001.png"); v124.ptr = (void (__cdecl *)(cocos2d::CCObject *))a1; v124.adj = (size_t)SecretLayer2::onBack; v33 = CCMenuItemSpriteExtra::create(v32, nullptr, v124); CCMenuItemSpriteExtra::setSizeMult(v33, 1.5); v34 = (cocos2d::CCNode *)cocos2d::CCMenu::create((cocos2d::CCMenu *)v33, nullptr); a1->addChild_0(a1, v34, 1); v35 = v34->setPosition; v36 = cocos2d::CCDirector::sharedDirector(); cocos2d::CCDirector::getScreenLeft(v36); v38 = v37; v39 = cocos2d::CCDirector::sharedDirector(); cocos2d::CCDirector::getScreenTop(v39); cocos2d::CCPoint::CCPoint(&v119.origin, v38 + 24.0, v40 - 23.0); v35(v34, &v119.origin); if ( PlatformToolbox::isControllerConnected() ) GameToolbox::addBackButton(a1, v33); v41 = cocos2d::CCSprite::createWithSpriteFrameName("GJ_secretLock2_001.png"); v42 = cocos2d::CCSprite::createWithSpriteFrameName("GJ_secretLock2_2_001.png"); v41->addChild_0(v41, v42, -1); setAnchorPoint = (cocos2d::CCSize *)v42->setPosition; v120 = cocos2d::CCNode::convertToNodeSpace(v41, &stru_1243530); ((void (__fastcall *)(cocos2d::CCSprite *, cocos2d::CCRect *, float, float))setAnchorPoint)( v42, &v119, v120.x, v120.y); v125.ptr = (void (__cdecl *)(cocos2d::CCObject *))a1; v125.adj = (size_t)SecretLayer2::onSubmit; v43 = CCMenuItemSpriteExtra::create(v41, nullptr, v125); v44 = v34->__vftable; a1->m_submitButton = v43; ((void (__fastcall *)(cocos2d::CCNode *))v44->addChild)(v34); m_submitButton = a1->m_submitButton; v46 = m_submitButton->setPosition; cocos2d::CCPoint::CCPoint(&v117, v111 * 0.5, (float)(v112 * 0.5) + -20.0); v121 = cocos2d::CCNode::convertToNodeSpace(v34, &v117); ((void (__fastcall *)(CCMenuItemSpriteExtra *, cocos2d::CCRect *, float, float))v46)( m_submitButton, &v119, v121.x, v121.y); CCMenuItemSpriteExtra::setSizeMult(a1->m_submitButton, 0.7); v47 = GameManager::sharedState(); if ( GameManager::getUGV(v47, &byte_F2CA20) ) v48 = "secretDoor_open_001.png"; else v48 = "secretDoor_closed_001.png"; v49 = cocos2d::CCSprite::createWithSpriteFrameName(v48); v126.ptr = (void (__cdecl *)(cocos2d::CCObject *))a1; v126.adj = (size_t)SecretLayer2::onDoor; v50 = CCMenuItemSpriteExtra::create(v49, nullptr, v126); v51 = v34->__vftable; a1->m_secretDoorButton = v50; v50->m_animationEnabled = 0; addChild = v51->addChild; v50->m_colorEnabled = 1; addChild(v34, v50); setAnchorPoint = (cocos2d::CCSize *)a1->m_secretDoorButton; v53 = *(__int64 (__fastcall **)(cocos2d::CCSize *, cocos2d::CCRect *, float, float))(*(_QWORD *)setAnchorPoint + 184LL); cocos2d::CCPoint::CCPoint(&v117, v111 - 45.0, 45.0); v122 = cocos2d::CCNode::convertToNodeSpace(v34, &v117); v54 = (cocos2d::CCArray *)v53(setAnchorPoint, &v119, v122.x, v122.y); v55 = (cocos2d::CCArray *)cocos2d::CCArray::create(v54); a1->m_secretLevelLabels = v55; cocos2d::CCObject::retain(v55); v56 = cocos2d::CCSprite::createWithSpriteFrameName("GJ_playBtn2_001.png"); v56->setScale(v56, 0.5); v127.ptr = (void (__cdecl *)(cocos2d::CCObject *))a1; v127.adj = (size_t)SecretLayer2::onSecretLevel; v57 = CCMenuItemSpriteExtra::create(v56, nullptr, v127); v58 = v34->__vftable; a1->m_secretLevelButton = v57; v58->addChild(v34, v57); cocos2d::CCPoint::CCPoint(&v115, v111 - 45.0, 130.0); m_secretLevelButton = a1->m_secretLevelButton; v60 = v34; v61 = m_secretLevelButton->setPosition; v123 = cocos2d::CCNode::convertToNodeSpace(v60, &v115); ((void (__fastcall *)(CCMenuItemSpriteExtra *, cocos2d::CCRect *, float, float))v61)( m_secretLevelButton, &v119, v123.x, v123.y); v62 = cocos2d::CCLabelBMFont::create(); v62->setScale(v62, 0.4); a1->addChild(a1, v62); v63 = v62->setPosition; cocos2d::CCPoint::CCPoint(&v117, 0.0, 46.0); cocos2d::CCPoint::operator+(&v119, &v115, &v117); v63(v62, &v119.origin); cocos2d::CCArray::addObject(a1->m_secretLevelLabels, v62); v64 = cocos2d::CCLabelBMFont::create(); v64->setScale(v64, 0.4); a1->addChild(a1, v64); v65 = v62; getPosition = v62->getPosition; v67 = v64->setPosition; setAnchorPoint = (cocos2d::CCSize *)getPosition(v65); cocos2d::CCPoint::CCPoint(&v117, 0.0, -15.0); cocos2d::CCPoint::operator+(&v119, setAnchorPoint, &v117); v67(v64, &v119.origin); cocos2d::CCArray::addObject(a1->m_secretLevelLabels, v64); v68 = GameStatsManager::sharedState(); if ( GameStatsManager::getStat(v68, "13") <= 199 ) { cocos2d::CCPoint::CCPoint(&v119.origin, 3.0, -30.0); v79 = v110; cocos2d::CCPoint::operator+(v110, &v115, &v119); v80 = cocos2d::CCSprite::createWithSpriteFrameName("GJ_diamondsIcon_001.png"); a1->addChild(a1, v80); v81 = v80->setPosition; cocos2d::CCPoint::CCPoint(&v117, 12.0, -1.0); cocos2d::CCPoint::operator+(&v119, v79, &v117); v81(v80, &v119.origin); v80->setScale(v80, 0.7); cocos2d::CCArray::addObject(a1->m_secretLevelLabels, v80); v82 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"%i", (const char *)&qword_C8); cocos2d::CCString::getCString(v82); v83 = cocos2d::CCLabelBMFont::create(); a1->addChild(a1, v83); v84 = v83->setPosition; cocos2d::CCPoint::CCPoint(&v117, -8.5, 0.0); cocos2d::CCPoint::operator+(&v119, v79, &v117); v84(v83, &v119.origin); v83->setScale(v83, 0.4); cocos2d::CCArray::addObject(a1->m_secretLevelLabels, v83); } v69 = GameManager::sharedState(); if ( !GameManager::getUGV(v69, "1") ) { v76 = 0; a1->m_secretLevelButton->setEnabled(a1->m_secretLevelButton, 0); a1->m_secretLevelButton->setVisible(a1->m_secretLevelButton, 0); while ( v76 < (unsigned int)cocos2d::CCArray::count(a1->m_secretLevelLabels) ) { v77 = v76++; v78 = cocos2d::CCArray::objectAtIndex(a1->m_secretLevelLabels, v77); (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v78 + 328LL))(v78, 0); } } v70 = GameManager::sharedState(); if ( !GameManager::getUGV(v70, &byte_F2CA20) ) { v71 = GameLevelManager::sharedState(); MainLevel = GameLevelManager::getMainLevel(v71, 3001, 1); if ( GJGameLevel::getNormalPercent(MainLevel) > 99 ) { v73 = (cocos2d::CCSequence *)cocos2d::CCDelayTime::create(0.8); v74 = (cocos2d::CCFiniteTimeAction *)cocos2d::CCCallFunc::create(a1, SecretLayer2::showCompletedLevel, 0); v75 = (cocos2d::CCAction *)cocos2d::CCSequence::create(v73, v74, 0); cocos2d::CCNode::runAction(a1, v75); } } } return v2; }
GD Web Decomp Icon

GD Web Decomp

Raw Source