// // CreatorLayer::init from 0x100281ff0 to 0x100282f71 (3969 bytes) // // 3 xrefs: // > CreatorLayer::scene @ 0x100281e91 // > CreatorLayer::create @ 0x100281fad // > @ 0x100afe2e0 // // 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 12:27:44 +0000 // __int64 __fastcall CreatorLayer::init(char **a1, __int64 a2) { __int64 result; // rax __int64 v3; // rdx __int64 v4; // rax __int64 v5; // rdx double v6; // xmm0_8 __int64 v7; // rax __int64 v8; // rax float *v9; // rbx char **v10; // r14 __int64 v11; // rsi char *v12; // rax double v13; // xmm0_8 float v14; // xmm2_4 __m128 v15; // xmm1 __m128 v16; // xmm4 __m128 v17; // xmm5 float v18; // xmm5_4 float v19; // xmm4_4 float v20; // xmm3_4 __m128 v21; // xmm1 char *v22; // r12 char v23; // r14 __int64 (__fastcall *v24)(); // rbx std::string::pointer data; // rdi const char *v26; // r15 size_t v27; // rax size_t v28; // r13 char *v29; // r14 std::string *v30; // rax char *v31; // r15 char *v32; // rbx double v33; // xmm0_8 unsigned int v34; // r12d __m128 v35; // xmm1 char *v36; // rdi double *v37; // rsi __int64 v38; // rdx char canCollectQuests; // r14 char *v40; // r13 char **v41; // rax double v42; // xmm0_8 __int64 v43; // rax __int64 v44; // rdi __int64 v45; // rdx int v46; // eax double v47; // xmm0_8 __int64 v48; // rax unsigned __int8 v49; // al char **v50; // r13 size_t v51; // r12 double v52; // xmm0_8 __int64 v53; // rdx __int64 v54; // rax __int64 v55; // rax char *v56; // r15 __int64 v57; // rdi __int64 v58; // rax double v59; // xmm0_8 double v60; // xmm0_8 unsigned __int8 *v61; // r15 __int64 v62; // rdi __int64 v63; // rax double v64; // xmm0_8 float v65; // xmm1_4 double v66; // xmm0_8 unsigned __int8 *v67; // r15 __int64 v68; // rdi __int64 v69; // rax double v70; // xmm0_8 double v71; // xmm0_8 unsigned __int8 *v72; // rbx __int64 v73; // rdi __int64 v74; // rax double v75; // xmm0_8 float v76; // xmm1_4 __m128 v77; // xmm0 __int64 v78; // rax int Stat; // r12d const char *v80; // rdi void *v81; // rbx __int64 v82; // r15 std::string *p_src; // rsi __int64 v84; // rax double v85; // xmm0_8 char *v86; // r13 char *v87; // r15 __int64 v88; // rax __int64 CString; // rax __int64 v90; // r13 __int64 v91; // rdx double v92; // xmm0_8 __int64 v93; // rax const char *v94; // rdi char *v95; // rax char **v96; // r12 _WORD *v97; // rbx __int64 v98; // r13 char *v99; // rax std::string *v100; // rbx int v101; // edx int v102; // ecx int v103; // r8d int v104; // r9d __int64 v105; // r14 __int64 v106; // rdi __int64 v107; // rax double v108; // xmm0_8 _QWORD *v109; // rdi std::string *v110; // rsi __int64 v111; // rdx __int64 v112; // rax __int64 v113; // rdx double v114; // xmm0_8 __int64 v115; // rax __int64 v116; // rdx double v117; // xmm0_8 __int64 v118; // rax __int64 v119; // rax float v120; // [rsp+0h] [rbp-E0h] unsigned __int64 v121; // [rsp+18h] [rbp-C8h] BYREF char **v122; // [rsp+20h] [rbp-C0h] char **v123; // [rsp+28h] [rbp-B8h] char **v124; // [rsp+30h] [rbp-B0h] char **v125; // [rsp+38h] [rbp-A8h] float v126; // [rsp+44h] [rbp-9Ch] __int64 v127; // [rsp+48h] [rbp-98h] unsigned __int64 v128; // [rsp+50h] [rbp-90h] BYREF double __dst[2]; // [rsp+58h] [rbp-88h] BYREF void *__p; // [rsp+68h] [rbp-78h] float v131; // [rsp+74h] [rbp-6Ch] BYREF float v132; // [rsp+78h] [rbp-68h] float v133; // [rsp+7Ch] [rbp-64h] char **v134; // [rsp+80h] [rbp-60h] char *v135; // [rsp+88h] [rbp-58h] std::string __src; // [rsp+90h] [rbp-50h] BYREF unsigned __int8 v137; // [rsp+B3h] [rbp-2Dh] float v138; // [rsp+B4h] [rbp-2Ch] result = cocos2d::CCLayer::init(a1); if ( (_BYTE)result ) { v137 = result; GameManager::sharedState(a1, a2, v3); *(_DWORD *)(v4 + 964) = -1; *(_QWORD *)&v6 = GameManager::sharedState(a1, a2, v5).u64[0]; *(_DWORD *)(v7 + 968) = -1; (*((void (__fastcall **)(char **, __int64, double))*a1 + 134))(a1, 1, v6); (*((void (__fastcall **)(char **, __int64))*a1 + 136))(a1, 1); v8 = cocos2d::CCDirector::sharedDirector(a1, 1); cocos2d::CCDirector::getWinSize(&v131, v8); v9 = (float *)cocos2d::CCSprite::create_1((__int64)"GJ_gradientBG.png"); v134 = a1; sub_100278250((float *)&__src, 0.0, 0.0); (*(void (__fastcall **)(float *, std::string *))(*(_QWORD *)v9 + 296LL))(v9, &__src); (*((void (__fastcall **)(char **, float *, __int64))*v134 + 58))(v134, v9, 4294967294LL); (*(void (__fastcall **)(float *, float))(*(_QWORD *)v9 + 128LL))(v9, (float)(v131 + 10.0) / v9[108]); (*(void (__fastcall **)(float *, float))(*(_QWORD *)v9 + 144LL))(v9, (float)(v132 + 10.0) / v9[109]); sub_100278250((float *)&__src, -5.0, -5.0); v10 = v134; (*(void (__fastcall **)(float *, std::string *))(*(_QWORD *)v9 + 184LL))(v9, &__src); __src.__r_.__value_.__s.__data_[1] = -1; *(_WORD *)&__src.__r_.__value_.__l.0 = 26112; (*(void (__fastcall **)(float *, std::string *))(*(_QWORD *)v9 + 960LL))(v9, &__src); v11 = cocos2d::CCMenu::create(); v12 = *v10; v127 = v11; v13 = (*((double (__fastcall **)(char **))v12 + 57))(v10); v14 = *((float *)cocos2d::CCSprite::createWithSpriteFrameName((__int64)"GJ_searchBtn_001.png", v13) + 108); v133 = 0.80000001; v15 = (__m128)0xC2C80000; v15.f32[0] = (float)(v131 + -100.0) / (float)((float)(v14 * 0.80000001) + 360.0); v16 = _mm_cmplt_ss(v15, (__m128)0x3F800000u); v17 = _mm_cmpge_ss((__m128)0x3F666666u, v15); LODWORD(v18) = v17.i32[0] & 0x3F666666 | _mm_andnot_ps( v17, _mm_or_ps(_mm_andnot_ps(v16, (__m128)0x3F800000u), _mm_and_ps(v16, (__m128)0x3F666666u))).u32[0]; v19 = v18; v20 = v15.f32[0]; if ( v15.f32[0] >= 1.0 ) v20 = v18; if ( v15.f32[0] > 0.89999998 ) v19 = v20; v133 = v133 * v19; v120 = v19 * 90.0; v21 = (__m128)LODWORD(v132); sub_100278250((float *)&__src, v131 * 0.5, v132 * 0.5); cocos2d::CCNode::convertToNodeSpace((double *)&v121, v127, (unsigned int *)&__src); v126 = -0.5 * v120; v123 = v10 + 59; v124 = v10 + 58; v125 = v10 + 57; v122 = v10 + 56; v22 = nullptr; while ( 2 ) { memset(&__src, 0, sizeof(__src)); v135 = v22; switch ( (int)v22 ) { case 1: std::string::assign(&__src, "GJ_savedBtn_001.png"); v138 = 0.0; v23 = 0; v24 = CreatorLayer::onSavedLevels; data = __src.__r_.__value_.__s.__data_; if ( (*(_BYTE *)&__src.__r_.__value_.__s.0 & 1) != 0 ) goto LABEL_40; goto LABEL_41; case 2: std::string::assign(&__src, "GJ_highscoreBtn_001.png"); v138 = 0.0; v23 = 0; v24 = CreatorLayer::onLeaderboards; data = __src.__r_.__value_.__s.__data_; if ( (*(_BYTE *)&__src.__r_.__value_.__s.0 & 1) == 0 ) goto LABEL_41; goto LABEL_40; case 3: std::string::assign(&__src, "GJ_challengeBtn_001.png"); v23 = 1; v138 = 0.0; v24 = CreatorLayer::onChallenge; data = __src.__r_.__value_.__s.__data_; if ( (*(_BYTE *)&__src.__r_.__value_.__s.0 & 1) == 0 ) goto LABEL_41; goto LABEL_40; case 4: std::string::assign(&__src, "GJ_versusBtn_001.png"); v24 = CreatorLayer::onMultiplayer; goto LABEL_21; case 5: std::string::assign(&__src, "GJ_mapBtn_001.png"); v24 = CreatorLayer::onAdventureMap; LABEL_21: v26 = __src.__r_.__value_.__s.__data_; if ( (*(_BYTE *)&__src.__r_.__value_.__s.0 & 1) != 0 ) v26 = __src.__r_.__value_.__l.__data_; v27 = strlen(v26); if ( v27 >= 0xFFFFFFFFFFFFFFF8LL ) sub_100003630(); v28 = v27; if ( v27 >= 0x17 ) { v51 = (v27 | 7) + 1; if ( (v27 | 7) == 0x17 ) v51 = 26; v29 = (char *)operator new(v51); __p = v29; *(_QWORD *)&__dst[0] = v51 | 1; *(_QWORD *)&__dst[1] = v28; } else { LOBYTE(__dst[0]) = 2 * v27; v29 = (char *)__dst + 1; if ( !v27 ) goto LABEL_64; } memmove(v29, v26, v28); LABEL_64: v29[v28] = 0; v31 = (char *)CCSpriteGrayscale::createWithSpriteFrameName(__dst); if ( (LOBYTE(__dst[0]) & 1) != 0 ) operator delete(__p); CCSpriteWithHue::setEvenLuminance(v31, 1.0); BYTE2(__dst[0]) = -81; LOWORD(__dst[0]) = -20561; (*(void (__fastcall **)(char *, double *))(*(_QWORD *)v31 + 960LL))(v31, __dst); v23 = 0; v138 = 0.0; LABEL_42: (*(void (__fastcall **)(char *, float))(*(_QWORD *)v31 + 160LL))(v31, v133); v32 = (char *)CCMenuItemSpriteExtra::create((__int64)v31, 0, (__int64)v134, (__int64)v24, 0); (*(void (__fastcall **)(__int64, char *))(*(_QWORD *)v127 + 456LL))(v127, v32); HIDWORD(v33) = 0; *(float *)&v33 = (float)((float)((float)((unsigned __int8)v135 % 5u) + -1.5) * v120) + v126; v34 = (unsigned int)v135; v21.f32[0] = (float)(int)v135 / 5.0; v35 = _mm_round_ss(v21, v21, 9); v35.f32[0] = v35.f32[0] + -1.0; v21 = _mm_xor_ps(v35, (__m128)xmmword_100A035F0); sub_100278250((float *)&v128, *(float *)&v33, v21.f32[0] * v120); sub_100278350(__dst, &v121, &v128); v36 = v32; v37 = __dst; (*(void (__fastcall **)(char *, double *))(*(_QWORD *)v32 + 184LL))(v32, __dst); if ( v23 ) { v134[55] = v31; canCollectQuests = ChallengesPage::canCollectQuests(); v36 = v31; (*(void (__fastcall **)(char *))(*(_QWORD *)v31 + 576LL))(v31); if ( canCollectQuests ) { v40 = cocos2d::CCSprite::createWithSpriteFrameName((__int64)"exMark_001.png", v33); (*(void (__fastcall **)(char *, char *, __int64))(*(_QWORD *)v31 + 464LL))(v31, v40, 10); (*(void (__fastcall **)(char *, float))(*(_QWORD *)v40 + 160LL))(v40, 0.80000001); (*(void (__fastcall **)(unsigned __int64 *, char *))(*(_QWORD *)v31 + 336LL))(&v128, v31); v21 = (__m128)HIDWORD(v128); sub_100278250((float *)__dst, 20.0, *((float *)&v128 + 1)); v36 = v40; v37 = __dst; (*(void (__fastcall **)(char *, double *))(*(_QWORD *)v40 + 184LL))(v40, __dst); } } v41 = v122; switch ( v34 ) { case 6u: goto LABEL_49; case 7u: v41 = v125; goto LABEL_49; case 8u: v41 = v124; goto LABEL_49; case 9u: v41 = v123; LABEL_49: *v41 = v31; break; default: break; } *(_QWORD *)&v42 = GameManager::sharedState(v36, __dst, v38).u64[0]; v44 = v43; if ( !(unsigned __int8)GameManager::offlineModeEnabled(v43, v42) ) { *(_QWORD *)&v47 = GameManager::sharedState(v44, __dst, v45).u64[0]; v49 = GameManager::onlyCuratedLevels(v48, v47); if ( (v49 & (unsigned __int8)(LOBYTE(v138) | (v34 == 11))) != 1 ) goto LABEL_56; LABEL_55: (*(void (__fastcall **)(char *, _QWORD))(*(_QWORD *)v32 + 1056LL))(v32, 0); v37 = nullptr; (*(void (__fastcall **)(char *, _QWORD))(*(_QWORD *)v32 + 344LL))(v32, 0); goto LABEL_56; } if ( v34 > 0xC ) goto LABEL_55; v46 = 4107; if ( !_bittest(&v46, v34) ) goto LABEL_55; LABEL_56: v50 = v134; if ( (*(_BYTE *)&__src.__r_.__value_.__s.0 & 1) != 0 ) operator delete(__src.__r_.__value_.__l.__data_); v22 = (char *)(v34 + 1); if ( (_DWORD)v22 != 15 ) continue; v52 = CreatorLayer::checkTimedStatus(v50); if ( !*(_BYTE *)(GameLevelManager::sharedState(v52) + 912) ) { *(_QWORD *)&v52 = GameManager::sharedState(v50, v37, v53).u64[0]; if ( !(unsigned __int8)GameManager::offlineModeEnabled(v54, v52) ) { *(_QWORD *)(GameLevelManager::sharedState(v52) + 1440) = v50 + 53; v55 = GameLevelManager::sharedState(v52); v52 = sub_10055DB80(v55); } } v56 = cocos2d::CCSprite::createWithSpriteFrameName((__int64)"GJ_sideArt_001.png", v52); sub_100278250((float *)&__src, 0.0, 0.0); (*(void (__fastcall **)(char *, std::string *))(*(_QWORD *)v56 + 296LL))(v56, &__src); v57 = cocos2d::CCDirector::sharedDirector(v56, &__src); *(float *)&v135 = sub_100479760(v57) + -1.0; v58 = cocos2d::CCDirector::sharedDirector(v57, &__src); v59 = sub_100479750(v58); sub_100278250((float *)&__src, *(float *)&v135, *(float *)&v59 + -1.0); (*(void (__fastcall **)(char *, std::string *))(*(_QWORD *)v56 + 184LL))(v56, &__src); v60 = (*((double (__fastcall **)(char **, char *, __int64))*v50 + 58))(v50, v56, 1); v61 = (unsigned __int8 *)cocos2d::CCSprite::createWithSpriteFrameName((__int64)"GJ_sideArt_001.png", v60); sub_100278250((float *)&__src, 1.0, 0.0); (*(void (__fastcall **)(unsigned __int8 *, std::string *))(*(_QWORD *)v61 + 296LL))(v61, &__src); v62 = cocos2d::CCDirector::sharedDirector(v61, &__src); *(float *)&v135 = sub_100479770(v62) + 1.0; v63 = cocos2d::CCDirector::sharedDirector(v62, &__src); v64 = sub_100479750(v63); v65 = *(float *)&v64 + -1.0; *(_QWORD *)&v66 = (unsigned int)v135; sub_100278250((float *)&__src, *(float *)&v135, v65); (*(void (__fastcall **)(unsigned __int8 *, std::string *))(*(_QWORD *)v61 + 184LL))(v61, &__src); cocos2d::CCSprite::setFlipX(v61, 1u); v67 = (unsigned __int8 *)cocos2d::CCSprite::createWithSpriteFrameName((__int64)"GJ_sideArt_001.png", v66); sub_100278250((float *)&__src, 0.0, 1.0); (*(void (__fastcall **)(unsigned __int8 *, std::string *))(*(_QWORD *)v67 + 296LL))(v67, &__src); v68 = cocos2d::CCDirector::sharedDirector(v67, &__src); *(float *)&v135 = sub_100479760(v68) + -1.0; v69 = cocos2d::CCDirector::sharedDirector(v68, &__src); v70 = sub_100479740(v69); sub_100278250((float *)&__src, *(float *)&v135, *(float *)&v70 + 1.0); (*(void (__fastcall **)(unsigned __int8 *, std::string *))(*(_QWORD *)v67 + 184LL))(v67, &__src); cocos2d::CCSprite::setFlipY(v67, 1u); v71 = (*((double (__fastcall **)(char **, unsigned __int8 *, __int64))*v50 + 58))(v50, v67, 0xFFFFFFFFLL); v72 = (unsigned __int8 *)cocos2d::CCSprite::createWithSpriteFrameName((__int64)"GJ_sideArt_001.png", v71); sub_100278250((float *)&__src, 1.0, 1.0); (*(void (__fastcall **)(unsigned __int8 *, std::string *))(*(_QWORD *)v72 + 296LL))(v72, &__src); v73 = cocos2d::CCDirector::sharedDirector(v72, &__src); *(float *)&v135 = sub_100479770(v73) + 1.0; v74 = cocos2d::CCDirector::sharedDirector(v73, &__src); v75 = sub_100479740(v74); v76 = *(float *)&v75 + 1.0; v77 = (__m128)(unsigned int)v135; sub_100278250((float *)&__src, *(float *)&v135, v76); (*(void (__fastcall **)(unsigned __int8 *, std::string *))(*(_QWORD *)v72 + 184LL))(v72, &__src); cocos2d::CCSprite::setFlipY(v72, 1u); cocos2d::CCSprite::setFlipX(v72, 1u); v78 = GameStatsManager::sharedState(); Stat = GameStatsManager::getStat(v78, "13", v77); v80 = "GJ_lockGray_001.png"; if ( Stat >= 50 ) v80 = "GJ_lock_open_001.png"; v135 = cocos2d::CCSprite::createWithSpriteFrameName((__int64)v80, *(double *)v77.i64); v81 = CCMenuItemSpriteExtra::create((__int64)v135, 0, (__int64)v50, (__int64)CreatorLayer::onSecretVault, 0); v82 = v127; (*(void (__fastcall **)(__int64, void *))(*(_QWORD *)v127 + 456LL))(v127, v81); sub_100278250((float *)__dst, v131 + -22.0, v132 + -18.0); cocos2d::CCNode::convertToNodeSpace((double *)&__src, v82, (unsigned int *)__dst); p_src = &__src; (*(void (__fastcall **)(void *, std::string *))(*(_QWORD *)v81 + 184LL))(v81, &__src); if ( Stat <= 49 ) { v138 = *(float *)(*(__int64 (__fastcall **)(void *))(*(_QWORD *)v81 + 328LL))(v81) * 0.5; v84 = (*(__int64 (__fastcall **)(void *))(*(_QWORD *)v81 + 328LL))(v81); *(_QWORD *)&v85 = LODWORD(v138); sub_100278250((float *)&__src, v138, (float)(0.5 * *(float *)(v84 + 4)) + -22.0); v86 = cocos2d::CCSprite::createWithSpriteFrameName((__int64)"GJ_diamondsIcon_001.png", v85); v87 = v135; (*(void (__fastcall **)(char *, char *))(*(_QWORD *)v135 + 456LL))(v135, v86); sub_100278250((float *)&v128, 9.0, -1.0); sub_100278350(__dst, (unsigned __int64 *)&__src, &v128); (*(void (__fastcall **)(char *, double *))(*(_QWORD *)v86 + 184LL))(v86, __dst); (*(void (__fastcall **)(char *, float))(*(_QWORD *)v86 + 160LL))(v86, 0.69999999); v88 = sub_10088E820("%i", SLOBYTE(v120)); CString = cocos2d::CCString::getCString(v88); v90 = cocos2d::CCLabelBMFont::create_3(CString, "bigFont.fnt"); (*(void (__fastcall **)(char *, __int64))(*(_QWORD *)v87 + 456LL))(v87, v90); sub_100278250((float *)&v128, -8.5, 0.0); sub_100278350(__dst, (unsigned __int64 *)&__src, &v128); p_src = (std::string *)__dst; (*(void (__fastcall **)(__int64, double *))(*(_QWORD *)v90 + 184LL))(v90, __dst); (*(void (__fastcall **)(__int64, float))(*(_QWORD *)v90 + 160LL))(v90, 0.40000001); } CCMenuItemSpriteExtra::setSizeMult((__int64)v81, 2.0); *(_QWORD *)&v92 = GameManager::sharedState(v81, p_src, v91).u64[0]; v94 = "secretDoorBtn_closed_001.png"; if ( (unsigned __int8)GameManager::getUGV(v93, "5", v92) ) v94 = "secretDoorBtn_open_001.png"; v95 = cocos2d::CCSprite::createWithSpriteFrameName((__int64)v94, v92); v96 = v134; v134[54] = v95; v97 = CCMenuItemSpriteExtra::create((__int64)v95, 0, (__int64)v96, (__int64)CreatorLayer::onTreasureRoom, 0); v97[204] = 256; v98 = v127; (*(void (__fastcall **)(__int64, _WORD *))(*(_QWORD *)v127 + 456LL))(v127, v97); sub_100278250((float *)__dst, v131 + -22.0, 24.0); cocos2d::CCNode::convertToNodeSpace((double *)&__src, v98, (unsigned int *)__dst); (*(void (__fastcall **)(_WORD *, std::string *))(*(_QWORD *)v97 + 184LL))(v97, &__src); CCMenuItemSpriteExtra::setSizeMult((__int64)v97, 1.2); v99 = cocos2d::CCSprite::createWithSpriteFrameName((__int64)"GJ_arrow_03_001.png", COERCE_DOUBLE(1067030938)); v100 = (std::string *)CCMenuItemSpriteExtra::create( (__int64)v99, 0, (__int64)v96, (__int64)CreatorLayer::onBack, 0); CCMenuItemSpriteExtra::setSizeMult((__int64)v100, 1.6); v105 = sub_1008735E0((_DWORD)v100, 0, v101, v102, v103, v104); (*((void (__fastcall **)(char **, __int64, __int64))*v96 + 58))(v96, v105, 1); v106 = cocos2d::CCDirector::sharedDirector(v96, v105); *(float *)&v135 = sub_100479760(v106) + 24.0; v107 = cocos2d::CCDirector::sharedDirector(v106, v105); v108 = sub_100479740(v107); sub_100278250((float *)&__src, *(float *)&v135, *(float *)&v108 + -23.0); v109 = (_QWORD *)v105; v110 = &__src; (*(void (__fastcall **)(__int64, std::string *))(*(_QWORD *)v105 + 184LL))(v105, &__src); GameManager::sharedState(v105, &__src, v111); *(_DWORD *)(v112 + 964) = 0; *(_QWORD *)&v114 = GameManager::sharedState(v105, &__src, v113).u64[0]; *(_DWORD *)(v115 + 968) = 0; if ( (unsigned __int8)PlatformToolbox::isControllerConnected(v114) ) { v109 = v96; v110 = v100; GameToolbox::addBackButton(v96, v100); } *(_QWORD *)&v117 = GameManager::sharedState(v109, v110, v116).u64[0]; if ( *(_DWORD *)(v118 + 660) == *(_DWORD *)(v118 + 664) ) { v119 = GameLevelManager::sharedState(v117); GameLevelManager::updateUserScore(v119); } result = v137; break; case 6: std::string::assign(&__src, "GJ_dailyBtn_001.png"); v138 = 0.0; v23 = 0; v24 = CreatorLayer::onDailyLevel; data = __src.__r_.__value_.__s.__data_; if ( (*(_BYTE *)&__src.__r_.__value_.__s.0 & 1) == 0 ) goto LABEL_41; goto LABEL_40; case 7: std::string::assign(&__src, "GJ_weeklyBtn_001.png"); v138 = 0.0; v23 = 0; v24 = CreatorLayer::onWeeklyLevel; data = __src.__r_.__value_.__s.__data_; if ( (*(_BYTE *)&__src.__r_.__value_.__s.0 & 1) == 0 ) goto LABEL_41; goto LABEL_40; case 8: std::string::assign(&__src, "GJ_eventBtn_001.png"); v138 = 0.0; v23 = 0; v24 = CreatorLayer::onEventLevel; data = __src.__r_.__value_.__s.__data_; if ( (*(_BYTE *)&__src.__r_.__value_.__s.0 & 1) == 0 ) goto LABEL_41; goto LABEL_40; case 9: std::string::assign(&__src, "GJ_gauntletsBtn_001.png"); v138 = 0.0; v23 = 0; v24 = CreatorLayer::onGauntlets; data = __src.__r_.__value_.__s.__data_; if ( (*(_BYTE *)&__src.__r_.__value_.__s.0 & 1) != 0 ) goto LABEL_40; goto LABEL_41; case 10: std::string::assign(&__src, "GJ_featuredBtn_001.png"); v138 = 0.0; v23 = 0; v24 = CreatorLayer::onFeaturedLevels; data = __src.__r_.__value_.__s.__data_; if ( (*(_BYTE *)&__src.__r_.__value_.__s.0 & 1) == 0 ) goto LABEL_41; goto LABEL_40; case 11: std::string::assign(&__src, "GJ_listsBtn_001.png"); v138 = 0.0; v23 = 0; v24 = CreatorLayer::onTopLists; data = __src.__r_.__value_.__s.__data_; if ( (*(_BYTE *)&__src.__r_.__value_.__s.0 & 1) == 0 ) goto LABEL_41; goto LABEL_40; case 12: std::string::assign(&__src, "GJ_pathsBtn_001.png"); v138 = 0.0; v23 = 0; v24 = CreatorLayer::onPaths; data = __src.__r_.__value_.__s.__data_; if ( (*(_BYTE *)&__src.__r_.__value_.__s.0 & 1) == 0 ) goto LABEL_41; goto LABEL_40; case 13: std::string::assign(&__src, "GJ_mapPacksBtn_001.png"); v138 = 0.0; v23 = 0; v24 = CreatorLayer::onMapPacks; data = __src.__r_.__value_.__s.__data_; if ( (*(_BYTE *)&__src.__r_.__value_.__s.0 & 1) == 0 ) goto LABEL_41; goto LABEL_40; case 14: v30 = std::string::assign(&__src, "GJ_searchBtn_001.png"); LOBYTE(v30) = 1; v138 = *(float *)&v30; v23 = 0; v24 = CreatorLayer::onOnlineLevels; data = __src.__r_.__value_.__s.__data_; if ( (*(_BYTE *)&__src.__r_.__value_.__s.0 & 1) == 0 ) goto LABEL_41; goto LABEL_40; default: std::string::assign(&__src, "GJ_createBtn_001.png"); v138 = 0.0; v23 = 0; v24 = CreatorLayer::onMyLevels; data = __src.__r_.__value_.__s.__data_; if ( (*(_BYTE *)&__src.__r_.__value_.__s.0 & 1) == 0 ) goto LABEL_41; LABEL_40: data = __src.__r_.__value_.__l.__data_; LABEL_41: v31 = cocos2d::CCSprite::createWithSpriteFrameName((__int64)data, 0.0); goto LABEL_42; } break; } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source