// // GauntletLayer::setupGauntlet from 0x1401f6d40 to 0x1401f7d90 (4176 bytes) // // 3 xrefs: // > GauntletLayer::init @ 0x1401f6837 // > GauntletLayer::loadLevelsFinished @ 0x1401f6ad7 // > @ 0x1406cc8f4 // // 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 // // Hidden C++ exception states: #wind=7 void GauntletLayer::setupGauntlet(GauntletLayer *a1, cocos2d::CCArray *a2) { GauntletLayer *v3; // r14 __int64 v4; // rcx cocos2d::CCDirector *v5; // rax __int64 v6; // rcx cocos2d::CCNode *v7; // r12 float v8; // xmm0_4 _BYTE *v9; // rdx signed int v10; // esi unsigned int v11; // ebx struct cocos2d::CCObject *v12; // rax int v13; // edi GameStatsManager *v14; // rcx double v15; // xmm0_8 signed int v16; // r13d GJGameLevel *v17; // rax bool v18; // di int v19; // ebx double v20; // xmm0_8 bool v21; // si GauntletType m_gauntletType; // r15d GauntletSprite *v23; // rdi GauntletSprite_vtbl *v24; // rbx const cocos2d::CCSize *v25; // rax CCMenuItemSpriteExtra *v26; // r15 double v27; // xmm0_8 CCMenuItemSpriteExtra_vtbl *v28; // rbx struct cocos2d::CCPoint v29; // rax __int64 v30; // r12 __int64 v31; // rbx float *v32; // rax double v33; // xmm0_8 __int64 v34; // rax __int64 v35; // rsi __int64 v36; // rbx float *v37; // rax __int64 v38; // rax const char *v39; // rcx struct cocos2d::CCSprite *v40; // rdi float v41; // xmm0_4 cocos2d::CCSprite_vtbl *v42; // rbx const cocos2d::CCPoint *v43; // rax __int64 v44; // rdx GJGameLevel *v45; // rdi const char *v46; // rcx struct cocos2d::CCLabelBMFont *v47; // rbx int v48; // ecx int v49; // esi float v50; // xmm0_4 cocos2d::CCLabelBMFont_vtbl *v51; // rbx double v52; // xmm0_8 const cocos2d::CCPoint *v53; // rax cocos2d::CCString *v54; // rax const char *CString; // rax struct cocos2d::CCLabelBMFont *v56; // rdi cocos2d::CCLabelBMFont_vtbl *v57; // rbx const cocos2d::CCPoint *v58; // rax float v59; // xmm0_4 cocos2d::CCLabelBMFont_vtbl *v60; // rbx double v61; // xmm0_8 const cocos2d::CCPoint *v62; // rax struct cocos2d::CCSprite *v63; // rdi cocos2d::CCSprite_vtbl *v64; // rbx const cocos2d::CCPoint *v65; // rax float v66; // xmm0_4 cocos2d::CCSprite_vtbl *v67; // rbx double v68; // xmm0_8 const cocos2d::CCPoint *v69; // rax GameStatsManager *v70; // rcx __int64 v71; // rcx struct cocos2d::CCSprite *v72; // rdi cocos2d::CCSprite_vtbl *v73; // rbx const cocos2d::CCPoint *v74; // rax float v75; // xmm0_4 cocos2d::CCSprite_vtbl *v76; // rbx const cocos2d::CCPoint *v77; // rax struct cocos2d::CCSprite *v78; // rdi float v79; // xmm0_4 cocos2d::CCSprite_vtbl *v80; // rbx const cocos2d::CCPoint *v81; // rax cocos2d::CCObject *v82; // rax unsigned int i; // ebx struct cocos2d::CCObject *v84; // rax __int64 v85; // rbx struct cocos2d::CCDelayTime *v86; // rax struct cocos2d::CCSequence *v87; // rax cocos2d::ccColor3B *v88; // r8 float v89; // xmm0_4 double v90; // xmm0_8 double v91; // xmm0_8 double v92; // xmm0_8 double v93; // xmm0_8 double v94; // xmm0_8 double v95; // xmm0_8 double v96; // xmm0_8 double v97; // xmm0_8 int v98; // r13d int v99; // ebx char *v100; // rdx CCLightFlash *v101; // r12 float v102; // xmm0_4 cocos2d::CCArray **p_m_lightStripArray; // r15 double v104; // xmm0_8 struct cocos2d::CCScaleTo *v105; // rax struct cocos2d::CCEaseBounceOut *v106; // r14 struct cocos2d::CCFadeIn *v107; // rsi unsigned __int8 v108; // di unsigned __int8 v109; // bl unsigned __int8 *v110; // rax struct cocos2d::CCTintTo *v111; // rbx struct cocos2d::CCSpawn *v112; // rbx int v113; // ecx struct cocos2d::CCDelayTime *v114; // rax struct cocos2d::CCSequence *v115; // rax cocos2d::ccColor3B *v116; // r8 float v117; // [rsp+20h] [rbp-E0h] bool v118; // [rsp+30h] [rbp-D0h] cocos2d::CCPoint v119; // [rsp+38h] [rbp-C8h] BYREF signed int v120; // [rsp+40h] [rbp-C0h] struct cocos2d::CCLabelBMFont *v121; // [rsp+48h] [rbp-B8h] __int16 v122; // [rsp+50h] [rbp-B0h] __int16 v123; // [rsp+54h] [rbp-ACh] BYREF char v124; // [rsp+56h] [rbp-AAh] signed int v125; // [rsp+58h] [rbp-A8h] cocos2d::CCPoint v126; // [rsp+60h] [rbp-A0h] BYREF char v127[8]; // [rsp+68h] [rbp-98h] BYREF float v128; // [rsp+70h] [rbp-90h] GJGameLevel *v129; // [rsp+78h] [rbp-88h] struct cocos2d::CCLabelBMFont *v130; // [rsp+80h] [rbp-80h] cocos2d::CCPoint v131; // [rsp+88h] [rbp-78h] BYREF void *v132; // [rsp+90h] [rbp-70h] BYREF char v133[8]; // [rsp+98h] [rbp-68h] BYREF char v134[8]; // [rsp+A0h] [rbp-60h] BYREF struct cocos2d::CCSprite *v135; // [rsp+A8h] [rbp-58h] char v136; // [rsp+B0h] [rbp-50h] BYREF char v137; // [rsp+B8h] [rbp-48h] BYREF char v138; // [rsp+C0h] [rbp-40h] BYREF char v139; // [rsp+C8h] [rbp-38h] BYREF char v140; // [rsp+D0h] [rbp-30h] BYREF char v141; // [rsp+D8h] [rbp-28h] BYREF char v142; // [rsp+E0h] [rbp-20h] BYREF char v143; // [rsp+E8h] [rbp-18h] BYREF char v144; // [rsp+F0h] [rbp-10h] BYREF GauntletLayer *v145; // [rsp+F8h] [rbp-8h] cocos2d::CCNode *v146; // [rsp+100h] [rbp+0h] GauntletSprite *v147; // [rsp+110h] [rbp+10h] cocos2d::CCSize v148; // [rsp+118h] [rbp+18h] BYREF CCMenuItemSpriteExtra *v149; // [rsp+120h] [rbp+20h] struct cocos2d::CCPoint v150; // [rsp+130h] [rbp+30h] BYREF char v151[8]; // [rsp+138h] [rbp+38h] BYREF char v152[8]; // [rsp+140h] [rbp+40h] BYREF char v153[8]; // [rsp+150h] [rbp+50h] BYREF char v154[8]; // [rsp+158h] [rbp+58h] BYREF void *v155; // [rsp+198h] [rbp+98h] _QWORD v156[3]; // [rsp+1B8h] [rbp+B8h] BYREF unsigned __int64 v157; // [rsp+1D0h] [rbp+D0h] _QWORD v158[4]; // [rsp+1D8h] [rbp+D8h] BYREF char v159[32]; // [rsp+1F8h] [rbp+F8h] BYREF if ( a2 ) { v3 = a1; v145 = a1; if ( cocos2d::CCArray::count(a2) == 5 && !v3->m_levels ) { v3->m_levels = a2; cocos2d::CCObject::retain(a2); v5 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(v4); cocos2d::CCDirector::getWinSize(v5); v7 = (cocos2d::CCNode *)cocos2d::CCMenu::create(v6); v146 = v7; v8 = ((float (__fastcall *)(GauntletLayer *, cocos2d::CCNode *, __int64))v3->addChild_0)(v3, v7, 2); cocos2d::CCPoint::CCPoint(v8, v128 * 0.5); GauntletNode::frameForType(v156, (unsigned int)v3->m_gauntletType); v9 = v156; if ( v157 > 0xF ) v9 = (_BYTE *)v156[0]; sub_1401F5A70(v159, v9); v10 = 0; v120 = 0; v11 = 0; if ( cocos2d::CCArray::count(v3->m_levels) ) { do { v12 = cocos2d::CCArray::objectAtIndex(v3->m_levels, v11); v13 = v12[5].m_uOrderOfArrival - v12[5].m_unknown5; v14 = (GameStatsManager *)qword_1406C2EE8; if ( !qword_1406C2EE8 ) { v132 = operator new(0x3E0u); qword_1406C2EE8 = sub_1401D0AE0((__int64)v132); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2EE8 + 72LL))(qword_1406C2EE8); v14 = (GameStatsManager *)qword_1406C2EE8; } if ( !GameStatsManager::hasCompletedGauntletLevel(v14, v13) ) break; ++v10; ++v11; } while ( v11 < cocos2d::CCArray::count(v3->m_levels) ); v120 = v10; } cocos2d::CCPoint::CCPoint(&v131); LODWORD(v15) = 1084227584; v16 = 0; v125 = 0; while ( 1 ) { v17 = (GJGameLevel *)cocos2d::CCArray::objectAtIndex(v3->m_levels, v16); v129 = v17; v18 = v16 == v10 && v16 && !v17->m_gauntletLevel2; v118 = v18; v19 = v16 & 1; LODWORD(v121) = v19; cocos2d::CCPoint::CCPoint(*(float *)&v15, (float)(v16 - 2) * 90.0); v20 = cocos2d::CCPoint::operator+(v133, v127); v21 = v16 > v10 || v18; m_gauntletType = v3->m_gauntletType; v23 = (GauntletSprite *)operator new(0x148u); v147 = v23; memset(v23, 0, sizeof(GauntletSprite)); cocos2d::CCNode::CCNode(v23); v23->__vftable = (GauntletSprite_vtbl *)&GauntletSprite::`vftable'; if ( cocos2d::CCNode::init(v23) ) { v23->m_gauntletType = m_gauntletType; v24 = v23->__vftable; v20 = cocos2d::CCSize::CCSize(&v148, 60.0, 60.0); v24->setContentSize(v23, v25); GauntletSprite::toggleLockedSprite(v23, v21); cocos2d::CCObject::autorelease(v23); } else { ((void (__fastcall *)(GauntletSprite *, __int64))v23->~GauntletSprite)(v23, 1); v23 = nullptr; } v149 = (CCMenuItemSpriteExtra *)operator new(0x208u); v26 = CCMenuItemSpriteExtra::CCMenuItemSpriteExtra(v149); if ( !v26 ) goto LABEL_29; if ( !CCMenuItemSpriteExtra::init(v26, v23, nullptr, v3, (cocos2d::SEL_MenuHandler *)GauntletLayer::onLevel) ) break; cocos2d::CCObject::autorelease(v26); LABEL_30: LODWORD(v26->m_pDisabledImage) = 1067030938; HIDWORD(v26->m_pfnSelector.adj) = 1067030938; v26->setTag(v26, v16); v7->addChild_1(v7, v26); cocos2d::CCPoint::CCPoint(*(float *)&v20, 0.0); v27 = cocos2d::CCPoint::operator+(v127, v134); v28 = v26->cocos2d::CCMenuItemSprite::cocos2d::CCMenuItem::cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable; v29 = cocos2d::CCNode::convertToNodeSpace(v7, &v150); ((void (__fastcall *)(CCMenuItemSpriteExtra *, struct cocos2d::CCPoint))v28->setPosition_0)(v26, v29); v30 = cocos2d::CCNode::create(); (*(void (__fastcall **)(__int64, cocos2d::CCSize *))(*(_QWORD *)v30 + 296LL))(v30, &stru_1406C1CC0); v23->addChild_0(v23, (cocos2d::CCNode *)v30, 1); v31 = *(_QWORD *)v30; ((void (__fastcall *)(GauntletSprite *, char *))v23->getScaledContentSize)(v23, v151); v32 = (float *)((__int64 (__fastcall *)(GauntletSprite *, char *))v23->getScaledContentSize)(v23, v152); v33 = cocos2d::CCPoint::CCPoint(*(float *)&v27, *v32 * 0.5); (*(void (__fastcall **)(__int64, __int64))(v31 + 184))(v30, v34); v35 = cocos2d::CCNode::create(); (*(void (__fastcall **)(__int64, cocos2d::CCSize *))(*(_QWORD *)v35 + 296LL))(v35, &stru_1406C1CC0); v23->addChild_0(v23, (cocos2d::CCNode *)v35, -1); v36 = *(_QWORD *)v35; ((__int64 (__fastcall *)(GauntletSprite *, char *))v23->getScaledContentSize)(v23, v153); v37 = (float *)((__int64 (__fastcall *)(GauntletSprite *, char *))v23->getScaledContentSize)(v23, v154); cocos2d::CCPoint::CCPoint(*(float *)&v33, *v37 * 0.5); (*(void (__fastcall **)(__int64, __int64))(v36 + 184))(v35, v38); v39 = (const char *)v156; if ( v157 > 0xF ) v39 = (const char *)v156[0]; v40 = cocos2d::CCSprite::createWithSpriteFrameName(v39); v41 = (*(float (__fastcall **)(__int64, struct cocos2d::CCSprite *, __int64))(*(_QWORD *)v35 + 440LL))( v35, v40, 0xFFFFFFFFLL); v42 = v40->cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable; cocos2d::CCPoint::CCPoint(v41, 0.0); v42->setPosition_0(v40, v43); ((void (__fastcall *)(struct cocos2d::CCSprite *))v40->setScaleY)(v40); v40->setColor(&v40->cocos2d::CCRGBAProtocol, &stru_140529A84); LOBYTE(v44) = 75; v40->setOpacity(&v40->cocos2d::CCRGBAProtocol, v44); v10 = v120; if ( v16 > v120 ) { v26->setEnabled(v26, 0); } else { v45 = v129; sub_14003BDB0((__int64)v158, (__int64)&v129->m_levelName); v46 = (const char *)v158; if ( v158[3] > 0xFu ) v46 = (const char *)v158[0]; v47 = cocos2d::CCLabelBMFont::create(v46, (const char *)&qword_14052A4D8); v130 = v47; sub_14003A830((__int64)v158); v48 = 120; v49 = (int)v121; if ( !(_DWORD)v121 ) v48 = 80; cocos2d::CCLabelBMFont::limitLabelWidth(v47, (float)v48, 0.5, 0.0); v50 = (*(float (__fastcall **)(__int64, struct cocos2d::CCLabelBMFont *, __int64))(*(_QWORD *)v30 + 440LL))( v30, v47, 3); v51 = v47->cocos2d::CCSpriteBatchNode::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable; v52 = cocos2d::CCPoint::CCPoint(v50, 0.0); v51->setPosition_0(v130, v53); v54 = cocos2d::CCString::createWithFormat("%i", v45->m_stars.random - v45->m_stars.seed); CString = cocos2d::CCString::getCString(v54); v56 = cocos2d::CCLabelBMFont::create(CString, (const char *)&qword_14052A4D8); v121 = v56; v57 = v56->cocos2d::CCSpriteBatchNode::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable; cocos2d::CCPoint::CCPoint(*(float *)&v52, 1.0); v57->setAnchorPoint(v56, v58); ((void (__fastcall *)(struct cocos2d::CCLabelBMFont *))v56->setScale_0)(v56); v59 = (*(float (__fastcall **)(__int64, struct cocos2d::CCLabelBMFont *, __int64))(*(_QWORD *)v30 + 440LL))( v30, v56, 2); v60 = v56->cocos2d::CCSpriteBatchNode::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable; v61 = cocos2d::CCPoint::CCPoint(v59, -4.0); v60->setPosition_0(v56, v62); v63 = cocos2d::CCSprite::createWithSpriteFrameName("GJ_bigStar_001.png"); v135 = v63; v64 = v63->cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable; cocos2d::CCPoint::CCPoint(*(float *)&v61, 0.0); v64->setAnchorPoint(v63, v65); ((void (__fastcall *)(struct cocos2d::CCSprite *))v63->setScale_0)(v63); v66 = (*(float (__fastcall **)(__int64, struct cocos2d::CCSprite *, __int64))(*(_QWORD *)v30 + 440LL))( v30, v63, 2); v67 = v63->cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable; v68 = cocos2d::CCPoint::CCPoint(v66, -4.0); v67->setPosition_0(v63, v69); v70 = (GameStatsManager *)qword_1406C2EE8; if ( !qword_1406C2EE8 ) { v155 = operator new(0x3E0u); qword_1406C2EE8 = sub_1401D0AE0((__int64)v155); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2EE8 + 72LL))(qword_1406C2EE8); v70 = (GameStatsManager *)qword_1406C2EE8; } if ( GameStatsManager::hasCompletedLevel(v70, v129) ) { v72 = cocos2d::CCSprite::createWithSpriteFrameName("GJ_completesIcon_001.png"); v73 = v72->cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable; cocos2d::CCPoint::CCPoint(*(float *)&v68, 0.0); v73->setAnchorPoint(v72, v74); (*(void (__fastcall **)(__int64, struct cocos2d::CCSprite *, __int64))(*(_QWORD *)v30 + 440LL))(v30, v72, 5); v75 = ((float (__fastcall *)(struct cocos2d::CCSprite *))v72->setScale_0)(v72); v76 = v72->cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable; cocos2d::CCPoint::CCPoint(v75, 8.0); v76->setPosition_0(v72, v77); } v78 = nullptr; if ( v16 == 4 ) { v78 = cocos2d::CCSprite::createWithSpriteFrameName("miniSkull_001.png"); (*(void (__fastcall **)(__int64, struct cocos2d::CCSprite *, __int64))(*(_QWORD *)v30 + 440LL))(v30, v78, 4); v79 = ((float (__fastcall *)(struct cocos2d::CCSprite *))v78->setScale_0)(v78); v80 = v78->cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable; cocos2d::CCPoint::CCPoint(v79, 0.0); v80->setPosition_0(v78, v81); } if ( v118 ) { v82 = (cocos2d::CCObject *)cocos2d::CCArray::create(v71); v3->m_activeObjects = (cocos2d::CCArray *)v82; cocos2d::CCObject::retain(v82); cocos2d::CCArray::addObject(v3->m_activeObjects, v130); cocos2d::CCArray::addObject(v3->m_activeObjects, v121); cocos2d::CCArray::addObject(v3->m_activeObjects, v135); if ( v78 ) cocos2d::CCArray::addObject(v3->m_activeObjects, v78); for ( i = 0; i < cocos2d::CCArray::count(v3->m_activeObjects); ++i ) { v84 = cocos2d::CCArray::objectAtIndex(v3->m_activeObjects, i); ((void (__fastcall *)(struct cocos2d::CCObject *, _QWORD))v84->__vftable[4].update)(v84, 0); } v3->m_activeItemButton = v26; v26->setEnabled(v26, 0); v85 = cocos2d::CCCallFunc::create(v3, GauntletLayer::unlockActiveItem); v86 = cocos2d::CCDelayTime::create(2.0); v87 = cocos2d::CCSequence::create(v86, v85, 0); cocos2d::CCNode::runAction((CCLightFlash *)v3, (cocos2d::CCPoint)v87, v88, 0.0, v117); } if ( v16 ) { cocos2d::CCPoint::CCPoint(&v126); v126.y = v126.y + -2.0; if ( v49 ) v89 = v126.x + 27.0; else v89 = v126.x + -27.0; v126.x = v89; v90 = cocos2d::CCPoint::CCPoint(v89, -2.0); v91 = cocos2d::CCPoint::CCPoint(*(float *)&v90, 10.0); v92 = cocos2d::CCPoint::CCPoint(*(float *)&v91, 21.0); v93 = cocos2d::CCPoint::CCPoint(*(float *)&v92, 25.0); v94 = cocos2d::CCPoint::CCPoint(*(float *)&v93, 20.5); v95 = cocos2d::CCPoint::CCPoint(*(float *)&v94, 15.0); v96 = cocos2d::CCPoint::CCPoint(*(float *)&v95, 10.5); v97 = cocos2d::CCPoint::CCPoint(*(float *)&v96, 14.5); cocos2d::CCPoint::CCPoint(*(float *)&v97, 25.0); v98 = 1; v99 = v125 & 1; LODWORD(v121) = v99; do { cocos2d::CCPoint::CCPoint(&v119); switch ( v98 ) { case 1: v100 = &v136; break; case 2: v100 = &v137; break; case 3: v100 = &v138; break; case 4: v100 = &v139; break; case 5: v100 = &v140; break; case 6: v100 = &v141; break; case 7: v100 = &v142; break; case 8: v100 = &v143; break; default: v100 = &v144; break; } cocos2d::CCPoint::operator=(&v119, v100); if ( !v99 ) v119.x = v119.x * -1.0; cocos2d::CCPoint::operator+(&v126, &v132); v101 = (CCLightFlash *)cocos2d::CCSprite::createWithSpriteFrameName("uiDot_001.png"); v3->addChild_0(v3, v101, 1); if ( (v98 & 1) != 0 ) v102 = 0.60000002; else v102 = 0.69999999; LOBYTE(v122) = (int)(float)(v102 * 255.0); HIBYTE(v122) = v122; v123 = v122; v124 = v122; p_m_lightStripArray = &v101->m_lightStripArray; ((void (__fastcall *)(cocos2d::CCArray **, __int16 *))v101->m_lightStripArray->__vftable)( &v101->m_lightStripArray, &v123); v101->setPosition_0(v101, (const cocos2d::CCPoint *)&v132); if ( v118 ) { (*(void (__fastcall **)(cocos2d::CCArray **, _QWORD))&(*p_m_lightStripArray)->m_unknown2)( &v101->m_lightStripArray, 0); v104 = ((double (__fastcall *)(CCLightFlash *))v101->getScale)(v101); ((void (__fastcall *)(CCLightFlash *))v101->setScale_0)(v101); v105 = cocos2d::CCScaleTo::create(0.30000001, *(float *)&v104); v106 = cocos2d::CCEaseBounceOut::create(v105); v107 = cocos2d::CCFadeIn::create(0.1); v108 = *(_BYTE *)((*(__int64 (__fastcall **)(cocos2d::CCArray **))&(*p_m_lightStripArray)->m_uID)(&v101->m_lightStripArray) + 2); v109 = *(_BYTE *)((*(__int64 (__fastcall **)(cocos2d::CCArray **))&(*p_m_lightStripArray)->m_uID)(&v101->m_lightStripArray) + 1); v110 = (unsigned __int8 *)(*(__int64 (__fastcall **)(cocos2d::CCArray **))&(*p_m_lightStripArray)->m_uID)(&v101->m_lightStripArray); v111 = cocos2d::CCTintTo::create(0.5, *v110, v109, v108); ((void (__fastcall *)(cocos2d::CCArray **, void *))(*p_m_lightStripArray)->__vftable)( &v101->m_lightStripArray, &unk_140529A88); v112 = cocos2d::CCSpawn::create(v106, v107, v111, 0); v113 = 9 - v98; if ( (_DWORD)v121 ) v113 = v98; v114 = cocos2d::CCDelayTime::create((float)((float)v113 * 0.15000001) + 0.64999998); v115 = cocos2d::CCSequence::create(v114, v112, 0); cocos2d::CCNode::runAction(v101, (cocos2d::CCPoint)v115, v116, 0.0, v117); v3 = v145; v99 = (int)v121; } ++v98; } while ( v98 < 9 ); v16 = v125; } v10 = v120; } v15 = cocos2d::CCPoint::operator=(&v131, v127); v125 = ++v16; v7 = v146; if ( v16 >= 5 ) { sub_14003A830((__int64)v159); sub_14003A830((__int64)v156); return; } } ((void (__fastcall *)(CCMenuItemSpriteExtra *, __int64))v26->~CCMenuItemSpriteExtra)(v26, 1); LABEL_29: v26 = nullptr; goto LABEL_30; } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source