// // GauntletLayer::setupGauntlet from 0x1402fbb10 to 0x1402fcb8c (4220 bytes) // // 3 xrefs: // > GauntletLayer::init @ 0x1402fb59b // > GauntletLayer::loadLevelsFinished @ 0x1402fb857 // > @ 0x14091e380 // // This function is hookable on this platform (idp: pc, 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 11:30:06 +0000 // // Hidden C++ exception states: #wind=7 void __fastcall GauntletLayer::setupGauntlet(_QWORD *a1, cocos2d::CCObject *a2) { __int64 v4; // rcx __int64 v5; // rax __int64 v6; // rcx __int64 v7; // r12 float v8; // xmm7_4 _BYTE *v9; // rdx signed int v10; // esi unsigned int v11; // ebx struct cocos2d::CCObject *v12; // rax unsigned int v13; // edi __int64 v14; // rcx signed int v15; // r13d struct cocos2d::CCObject *v16; // rax bool v17; // di int v18; // ebx float v19; // xmm2_4 __int64 v20; // rax bool v21; // si int v22; // r14d _DWORD *v23; // rdi __int64 v24; // rbx __int64 v25; // rax __int64 v26; // r14 int v27; // eax __int64 v28; // rax __int64 v29; // rbx __int64 v30; // rax __int64 v31; // r12 __int64 v32; // rbx float v33; // xmm6_4 float *v34; // rax __int64 v35; // rax __int64 v36; // rsi __int64 v37; // rbx float v38; // xmm6_4 float *v39; // rax __int64 v40; // rax const char *v41; // rcx struct cocos2d::CCSprite *v42; // rdi __int64 v43; // rbx __int64 v44; // rax __int64 v45; // rdx __int64 v46; // rdi const char *v47; // rcx struct cocos2d::CCObject *v48; // rbx int v49; // ecx int v50; // esi __int64 v51; // rbx __int64 v52; // rax cocos2d::CCString *v53; // rax const char *CString; // rax struct cocos2d::CCObject *v55; // rdi __int64 v56; // rbx __int64 v57; // rax __int64 v58; // rbx __int64 v59; // rax struct cocos2d::CCObject *v60; // rdi __int64 v61; // rbx __int64 v62; // rax __int64 v63; // rbx __int64 v64; // rax __int64 v65; // rcx __int64 v66; // rcx struct cocos2d::CCSprite *v67; // rdi __int64 v68; // rbx __int64 v69; // rax __int64 v70; // rbx __int64 v71; // rax struct cocos2d::CCObject *v72; // rdi __int64 v73; // rbx __int64 v74; // rax cocos2d::CCObject *v75; // rax unsigned int i; // ebx struct cocos2d::CCObject *v77; // rax __int64 v78; // rbx struct cocos2d::CCFiniteTimeAction *v79; // rax struct cocos2d::CCAction *v80; // rax const struct cocos2d::CCPoint *v81; // rdx float v82; // xmm0_4 int v83; // r12d int v84; // r13d char *v85; // rdx struct cocos2d::CCSprite *v86; // rdi float v87; // xmm0_4 char *v88; // rbx double v89; // xmm0_8 struct cocos2d::CCActionInterval *v90; // rax struct cocos2d::CCFiniteTimeAction *v91; // r14 struct cocos2d::CCFadeIn *v92; // rsi unsigned __int8 v93; // di unsigned __int8 v94; // bl unsigned __int8 *v95; // rax struct cocos2d::CCTintTo *v96; // rbx cocos2d::CCNode *v97; // rdi struct cocos2d::CCSpawn *v98; // rbx int v99; // ecx struct cocos2d::CCFiniteTimeAction *v100; // rax struct cocos2d::CCAction *v101; // rax bool v102; // [rsp+30h] [rbp-D0h] float v103; // [rsp+38h] [rbp-C8h] BYREF signed int v104; // [rsp+40h] [rbp-C0h] __int16 v105; // [rsp+44h] [rbp-BCh] __int16 v106; // [rsp+48h] [rbp-B8h] BYREF char v107; // [rsp+4Ah] [rbp-B6h] signed int v108; // [rsp+4Ch] [rbp-B4h] float v109; // [rsp+50h] [rbp-B0h] BYREF float v110; // [rsp+54h] [rbp-ACh] struct cocos2d::CCObject *v111; // [rsp+58h] [rbp-A8h] struct cocos2d::CCObject *v112; // [rsp+60h] [rbp-A0h] char v113[8]; // [rsp+68h] [rbp-98h] BYREF float v114[2]; // [rsp+70h] [rbp-90h] BYREF struct cocos2d::CCObject *v115; // [rsp+78h] [rbp-88h] char v116[8]; // [rsp+80h] [rbp-80h] BYREF void *v117; // [rsp+88h] [rbp-78h] BYREF char v118[8]; // [rsp+90h] [rbp-70h] BYREF char v119[8]; // [rsp+98h] [rbp-68h] BYREF struct cocos2d::CCObject *v120; // [rsp+A0h] [rbp-60h] char v121[8]; // [rsp+A8h] [rbp-58h] BYREF char v122[8]; // [rsp+B0h] [rbp-50h] BYREF char v123[8]; // [rsp+B8h] [rbp-48h] BYREF char v124[8]; // [rsp+C0h] [rbp-40h] BYREF char v125[8]; // [rsp+C8h] [rbp-38h] BYREF char v126[8]; // [rsp+D0h] [rbp-30h] BYREF char v127[8]; // [rsp+D8h] [rbp-28h] BYREF char v128[8]; // [rsp+E0h] [rbp-20h] BYREF char v129[8]; // [rsp+E8h] [rbp-18h] BYREF __int64 v130; // [rsp+F0h] [rbp-10h] char v131[8]; // [rsp+F8h] [rbp-8h] BYREF _DWORD *v132; // [rsp+100h] [rbp+0h] char v133[8]; // [rsp+108h] [rbp+8h] BYREF void *v134; // [rsp+110h] [rbp+10h] char v135[8]; // [rsp+118h] [rbp+18h] BYREF char v136[8]; // [rsp+120h] [rbp+20h] BYREF char v137[8]; // [rsp+128h] [rbp+28h] BYREF char v138[8]; // [rsp+130h] [rbp+30h] BYREF char v139[8]; // [rsp+138h] [rbp+38h] BYREF char v140[8]; // [rsp+140h] [rbp+40h] BYREF char v141[8]; // [rsp+148h] [rbp+48h] BYREF char v142[8]; // [rsp+150h] [rbp+50h] BYREF char v143[8]; // [rsp+158h] [rbp+58h] BYREF char v144[8]; // [rsp+160h] [rbp+60h] BYREF char v145[8]; // [rsp+168h] [rbp+68h] BYREF char v146[8]; // [rsp+170h] [rbp+70h] BYREF char v147[8]; // [rsp+178h] [rbp+78h] BYREF char v148[8]; // [rsp+180h] [rbp+80h] BYREF void *v149; // [rsp+188h] [rbp+88h] char v150[8]; // [rsp+190h] [rbp+90h] BYREF char v151[8]; // [rsp+198h] [rbp+98h] BYREF char v152[8]; // [rsp+1A0h] [rbp+A0h] BYREF _QWORD v153[3]; // [rsp+1A8h] [rbp+A8h] BYREF unsigned __int64 v154; // [rsp+1C0h] [rbp+C0h] _QWORD v155[4]; // [rsp+1C8h] [rbp+C8h] BYREF _QWORD v156[4]; // [rsp+1E8h] [rbp+E8h] BYREF if ( a2 && cocos2d::CCArray::count(a2) == 5 && !a1[52] ) { a1[52] = a2; cocos2d::CCObject::retain(a2); v5 = cocos2d::CCDirector::sharedDirector(v4); cocos2d::CCDirector::getWinSize(v5, v114); v7 = cocos2d::CCMenu::create(v6); v130 = v7; (*(void (__fastcall **)(_QWORD *, __int64, __int64))(*a1 + 456LL))(a1, v7, 2); v8 = 12.0; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v118, v114[0] * 0.5, (float)(v114[1] * 0.5) - 12.0); GauntletNode::frameForType(v153, *((unsigned int *)a1 + 108)); v9 = v153; if ( v154 > 0xF ) v9 = (_BYTE *)v153[0]; sub_1402FA820(v156, v9); v10 = 0; v104 = 0; v11 = 0; if ( cocos2d::CCArray::count((cocos2d::CCArray *)a1[52]) ) { do { v12 = cocos2d::CCArray::objectAtIndex((cocos2d::CCArray *)a1[52], v11); v13 = *((_DWORD *)v12 + 82) - *((_DWORD *)v12 + 83); v14 = qword_14090BFE0; if ( !qword_14090BFE0 ) { v117 = operator new(0x3E8u); qword_14090BFE0 = sub_1402D6480((__int64)v117); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFE0 + 72LL))(qword_14090BFE0); v14 = qword_14090BFE0; } if ( !GameStatsManager::hasCompletedGauntletLevel(v14, v13) ) break; ++v10; ++v11; } while ( v11 < cocos2d::CCArray::count((cocos2d::CCArray *)a1[52]) ); v104 = v10; } cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v116, (const struct cocos2d::CCPoint *)&unk_14090A9F0); switch ( *((_DWORD *)a1 + 108) ) { case 0x10: case 0x1E: v8 = 3.0; break; case 0x11: case 0x1C: case 0x23: case 0x29: case 0x31: v8 = 4.0; break; case 0x12: v8 = 1.0; break; case 0x13: case 0x32: v8 = 5.0; break; case 0x16: v8 = 20.0; break; case 0x19: case 0x20: case 0x27: case 0x28: case 0x2A: v8 = 6.0; break; case 0x1A: v8 = 7.0; break; case 0x1B: case 0x25: case 0x2C: case 0x2D: v8 = 2.0; break; case 0x1F: case 0x3C: case 0x3D: case 0x3E: v8 = 11.0; break; case 0x24: v8 = 18.0; break; case 0x26: case 0x2E: case 0x2F: case 0x30: v8 = 8.0; break; case 0x2B: case 0x33: case 0x34: case 0x35: case 0x36: case 0x3B: v8 = 16.0; break; case 0x37: case 0x38: v8 = 13.0; break; case 0x39: break; case 0x3A: v8 = 17.0; break; default: v8 = 0.0; break; } v15 = 0; v108 = 0; while ( 1 ) { v16 = cocos2d::CCArray::objectAtIndex((cocos2d::CCArray *)a1[52], v15); v115 = v16; v17 = v15 == v10 && v15 && !*((_BYTE *)v16 + 722); v102 = v17; v18 = v15 & 1; LODWORD(v111) = v18; if ( (v15 & 1) != 0 ) v19 = 50.0; else v19 = -50.0; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v131, (float)(v15 - 2) * 90.0, v19); cocos2d::CCPoint::operator+(v118, v113, v20); v21 = v15 > v10 || v17; v22 = *((_DWORD *)a1 + 108); v23 = operator new(0x148u); v132 = v23; memset(v23, 0, 0x148u); cocos2d::CCNode::CCNode((cocos2d::CCNode *)v23); *(_QWORD *)v23 = &GauntletSprite::`vftable'; if ( cocos2d::CCNode::init((cocos2d::CCNode *)v23) ) { v23[80] = v22; v24 = *(_QWORD *)v23; cocos2d::CCSize::CCSize((cocos2d::CCSize *)v133, 60.0, 60.0); (*(void (__fastcall **)(_DWORD *, __int64))(v24 + 312))(v23, v25); GauntletSprite::toggleLockedSprite(v23, v21); cocos2d::CCObject::autorelease((cocos2d::CCObject *)v23); v18 = (int)v111; } else { (*(void (__fastcall **)(_DWORD *, __int64))(*(_QWORD *)v23 + 8LL))(v23, 1); v23 = nullptr; } v134 = operator new(0x208u); v26 = CCMenuItemSpriteExtra::CCMenuItemSpriteExtra((__int64)v134); if ( !v26 ) goto LABEL_48; if ( !CCMenuItemSpriteExtra::init((__int64 *)v26, (__int64 *)v23, 0, (__int64)a1, (__int64)GauntletLayer::onLevel) ) break; cocos2d::CCObject::autorelease((cocos2d::CCObject *)v26); LABEL_49: *(_DWORD *)(v26 + 400) = 1067030938; *(_DWORD *)(v26 + 372) = 1067030938; (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v26 + 64LL))(v26, (unsigned int)v15); (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v7 + 464LL))(v7, v26); v27 = 0; if ( !v18 ) v27 = -6; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v135, 0.0, (float)v27); cocos2d::CCPoint::operator+(v113, v119, v28); v29 = *(_QWORD *)v26; cocos2d::CCNode::convertToNodeSpace(v7, v136, v119); (*(void (__fastcall **)(__int64, __int64))(v29 + 184))(v26, v30); v31 = cocos2d::CCNode::create(); (*(void (__fastcall **)(__int64, void *))(*(_QWORD *)v31 + 312LL))(v31, &unk_14090AA08); (*(void (__fastcall **)(_DWORD *, __int64, __int64))(*(_QWORD *)v23 + 456LL))(v23, v31, 1); v32 = *(_QWORD *)v31; v33 = *(float *)((*(__int64 (__fastcall **)(_DWORD *, char *))(*(_QWORD *)v23 + 328LL))(v23, v137) + 4) * 0.5; v34 = (float *)(*(__int64 (__fastcall **)(_DWORD *, char *))(*(_QWORD *)v23 + 328LL))(v23, v138); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v139, *v34 * 0.5, v33); (*(void (__fastcall **)(__int64, __int64))(v32 + 184))(v31, v35); v36 = cocos2d::CCNode::create(); (*(void (__fastcall **)(__int64, void *))(*(_QWORD *)v36 + 312LL))(v36, &unk_14090AA08); (*(void (__fastcall **)(_DWORD *, __int64, __int64))(*(_QWORD *)v23 + 456LL))(v23, v36, 0xFFFFFFFFLL); v37 = *(_QWORD *)v36; v38 = *(float *)((*(__int64 (__fastcall **)(_DWORD *, char *))(*(_QWORD *)v23 + 328LL))(v23, v140) + 4) * 0.5; v39 = (float *)(*(__int64 (__fastcall **)(_DWORD *, char *))(*(_QWORD *)v23 + 328LL))(v23, v141); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v142, *v39 * 0.5, v38); (*(void (__fastcall **)(__int64, __int64))(v37 + 184))(v36, v40); v41 = (const char *)v153; if ( v154 > 0xF ) v41 = (const char *)v153[0]; v42 = cocos2d::CCSprite::createWithSpriteFrameName(v41); (*(void (__fastcall **)(__int64, struct cocos2d::CCSprite *, __int64))(*(_QWORD *)v36 + 456LL))( v36, v42, 0xFFFFFFFFLL); v43 = *(_QWORD *)v42; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v143, 0.0, -10.0); (*(void (__fastcall **)(struct cocos2d::CCSprite *, __int64))(v43 + 184))(v42, v44); (*(void (__fastcall **)(struct cocos2d::CCSprite *))(*(_QWORD *)v42 + 136LL))(v42); (**((void (__fastcall ***)(__int64, void *))v42 + 40))((__int64)v42 + 320, &unk_140703438); LOBYTE(v45) = 75; (*(void (__fastcall **)(__int64, __int64))(*((_QWORD *)v42 + 40) + 40LL))((__int64)v42 + 320, v45); v10 = v104; if ( v15 > v104 ) { (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v26 + 936LL))(v26, 0); } else { v46 = (__int64)v115; sub_14003F4F0((__int64)v155, (__int64)v115 + 344); v47 = (const char *)v155; if ( v155[3] > 0xFu ) v47 = (const char *)v155[0]; v48 = cocos2d::CCLabelBMFont::create(v47, (const char *)&qword_140704F78); v112 = v48; sub_14003D310((__int64)v155); v49 = 120; v50 = (int)v111; if ( !(_DWORD)v111 ) v49 = 80; cocos2d::CCLabelBMFont::limitLabelWidth(v48, (float)v49, 0.5, 0.0); (*(void (__fastcall **)(__int64, struct cocos2d::CCObject *, __int64))(*(_QWORD *)v31 + 456LL))(v31, v48, 3); v51 = *(_QWORD *)v48; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v144, 0.0, v8 + 40.0); (*(void (__fastcall **)(struct cocos2d::CCObject *, __int64))(v51 + 184))(v112, v52); v53 = cocos2d::CCString::createWithFormat( (const char *)&word_1406ED6F8, (unsigned int)(*(_DWORD *)(v46 + 1020) - *(_DWORD *)(v46 + 1024))); CString = cocos2d::CCString::getCString(v53); v55 = cocos2d::CCLabelBMFont::create(CString, (const char *)&qword_140704F78); v111 = v55; v56 = *(_QWORD *)v55; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v145, 1.0, 0.5); (*(void (__fastcall **)(struct cocos2d::CCObject *, __int64))(v56 + 288))(v55, v57); (*(void (__fastcall **)(struct cocos2d::CCObject *))(*(_QWORD *)v55 + 160LL))(v55); (*(void (__fastcall **)(__int64, struct cocos2d::CCObject *, __int64))(*(_QWORD *)v31 + 456LL))(v31, v55, 2); v58 = *(_QWORD *)v55; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v146, -4.0, -38.0); (*(void (__fastcall **)(struct cocos2d::CCObject *, __int64))(v58 + 184))(v55, v59); v60 = cocos2d::CCSprite::createWithSpriteFrameName("GJ_bigStar_001.png"); v120 = v60; v61 = *(_QWORD *)v60; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v147, 0.0, 0.5); (*(void (__fastcall **)(struct cocos2d::CCObject *, __int64))(v61 + 288))(v60, v62); (*(void (__fastcall **)(struct cocos2d::CCObject *))(*(_QWORD *)v60 + 160LL))(v60); (*(void (__fastcall **)(__int64, struct cocos2d::CCObject *, __int64))(*(_QWORD *)v31 + 456LL))(v31, v60, 2); v63 = *(_QWORD *)v60; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v148, -4.0, -38.0); (*(void (__fastcall **)(struct cocos2d::CCObject *, __int64))(v63 + 184))(v60, v64); v65 = qword_14090BFE0; if ( !qword_14090BFE0 ) { v149 = operator new(0x3E8u); qword_14090BFE0 = sub_1402D6480((__int64)v149); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFE0 + 72LL))(qword_14090BFE0); v65 = qword_14090BFE0; } if ( GameStatsManager::hasCompletedLevel(v65, (__int64)v115) ) { v67 = cocos2d::CCSprite::createWithSpriteFrameName("GJ_completesIcon_001.png"); v68 = *(_QWORD *)v67; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v150, 0.0, 0.5); (*(void (__fastcall **)(struct cocos2d::CCSprite *, __int64))(v68 + 288))(v67, v69); (*(void (__fastcall **)(__int64, struct cocos2d::CCSprite *, __int64))(*(_QWORD *)v31 + 456LL))(v31, v67, 5); (*(void (__fastcall **)(struct cocos2d::CCSprite *))(*(_QWORD *)v67 + 160LL))(v67); v70 = *(_QWORD *)v67; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v151, 8.0, -5.0); (*(void (__fastcall **)(struct cocos2d::CCSprite *, __int64))(v70 + 184))(v67, v71); } v72 = nullptr; if ( v15 == 4 ) { v72 = cocos2d::CCSprite::createWithSpriteFrameName("miniSkull_001.png"); (*(void (__fastcall **)(__int64, struct cocos2d::CCObject *, __int64))(*(_QWORD *)v31 + 456LL))(v31, v72, 4); (*(void (__fastcall **)(struct cocos2d::CCObject *))(*(_QWORD *)v72 + 160LL))(v72); v73 = *(_QWORD *)v72; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v152, 0.0, 5.0); (*(void (__fastcall **)(struct cocos2d::CCObject *, __int64))(v73 + 184))(v72, v74); } if ( v102 ) { v75 = (cocos2d::CCObject *)cocos2d::CCArray::create(v66); a1[58] = v75; cocos2d::CCObject::retain(v75); cocos2d::CCArray::addObject((cocos2d::CCArray *)a1[58], v112); cocos2d::CCArray::addObject((cocos2d::CCArray *)a1[58], v111); cocos2d::CCArray::addObject((cocos2d::CCArray *)a1[58], v120); if ( v72 ) cocos2d::CCArray::addObject((cocos2d::CCArray *)a1[58], v72); for ( i = 0; i < cocos2d::CCArray::count((cocos2d::CCArray *)a1[58]); ++i ) { v77 = cocos2d::CCArray::objectAtIndex((cocos2d::CCArray *)a1[58], i); (*(void (__fastcall **)(struct cocos2d::CCObject *, _QWORD))(*(_QWORD *)v77 + 336LL))(v77, 0); } a1[57] = v26; (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v26 + 936LL))(v26, 0); v78 = cocos2d::CCCallFunc::create(a1, GauntletLayer::unlockActiveItem); v79 = cocos2d::CCDelayTime::create(2.0); v80 = cocos2d::CCSequence::create(v79, v78, 0); cocos2d::CCNode::runAction((cocos2d::CCNode *)a1, v80); } if ( v15 ) { v81 = (const struct cocos2d::CCPoint *)v116; if ( !v50 ) v81 = (const struct cocos2d::CCPoint *)v113; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v109, v81); v110 = v110 + -2.0; if ( v50 ) v82 = v109 + 27.0; else v82 = v109 + -27.0; v109 = v82; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v129, -2.0, -1.0); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v121, 10.0, 2.5); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v122, 21.0, 11.5); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v123, 25.0, 26.0); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v124, 20.5, 41.0); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v125, 15.0, 56.0); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v126, 10.5, 71.0); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v127, 14.5, 85.5); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v128, 25.0, 96.0); v83 = 1; LODWORD(v111) = v15; v84 = v15 & 1; do { cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v103); switch ( v83 ) { case 0: v85 = v129; break; case 1: v85 = v121; break; case 2: v85 = v122; break; case 3: v85 = v123; break; case 4: v85 = v124; break; case 5: v85 = v125; break; case 6: v85 = v126; break; case 7: v85 = v127; break; case 8: v85 = v128; break; } cocos2d::CCPoint::operator=(&v103, v85); if ( !v84 ) v103 = v103 * -1.0; cocos2d::CCPoint::operator+(&v109, &v117, &v103); v86 = cocos2d::CCSprite::createWithSpriteFrameName("uiDot_001.png"); v112 = v86; (*(void (__fastcall **)(_QWORD *, struct cocos2d::CCSprite *, __int64))(*a1 + 456LL))(a1, v86, 1); if ( (v83 & 1) != 0 ) v87 = 0.60000002; else v87 = 0.69999999; LOBYTE(v105) = (int)(float)(v87 * 255.0); HIBYTE(v105) = v105; v106 = v105; v107 = v105; v88 = (char *)v86 + 320; (**((void (__fastcall ***)(__int64, __int16 *))v86 + 40))((__int64)v86 + 320, &v106); (*(void (__fastcall **)(struct cocos2d::CCSprite *, void **))(*(_QWORD *)v86 + 184LL))(v86, &v117); if ( v102 ) { (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v88 + 40LL))((__int64)v86 + 320, 0); v89 = (*(double (__fastcall **)(struct cocos2d::CCSprite *))(*(_QWORD *)v86 + 168LL))(v86); (*(void (__fastcall **)(struct cocos2d::CCSprite *))(*(_QWORD *)v86 + 160LL))(v86); v90 = cocos2d::CCScaleTo::create(0.30000001, *(float *)&v89); v91 = cocos2d::CCEaseBounceOut::create(v90); v92 = cocos2d::CCFadeIn::create(0.1); v93 = *(_BYTE *)((*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v88 + 8LL))((__int64)v86 + 320) + 2); v94 = *(_BYTE *)((*(__int64 (__fastcall **)(char *))(*(_QWORD *)v88 + 8LL))(v88) + 1); v95 = (unsigned __int8 *)(*(__int64 (__fastcall **)(char *))(*((_QWORD *)v112 + 40) + 8LL))((char *)v112 + 320); v96 = cocos2d::CCTintTo::create(0.5, *v95, v94, v93); v97 = v112; (**((void (__fastcall ***)(char *, void *))v112 + 40))((char *)v112 + 320, &unk_14070343C); v98 = cocos2d::CCSpawn::create(v91, v92, v96, 0); v99 = 9 - v83; if ( v84 ) v99 = v83; v100 = cocos2d::CCDelayTime::create((float)((float)v99 * 0.15000001) + 0.64999998); v101 = cocos2d::CCSequence::create(v100, v98, 0); cocos2d::CCNode::runAction(v97, v101); } ++v83; } while ( v83 < 9 ); v15 = v108; } v10 = v104; } cocos2d::CCPoint::operator=(v116, v113); v108 = ++v15; v7 = v130; if ( v15 >= 5 ) { sub_14003D310((__int64)v156); sub_14003D310((__int64)v153); return; } } (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v26 + 8LL))(v26, 1); LABEL_48: v26 = 0; goto LABEL_49; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source