// // LevelTools::getLevel from 0x1004fb910 to 0x1004fd8e6 (8150 bytes) // // 7 xrefs: // > GameLevelManager::getMainLevel @ 0x10052c013 // > GameLevelManager::getMainLevel @ 0x10052c053 // > GameLevelManager::getStarLevelsString @ 0x10053583c // > GameLevelManager::getStarLevelsString @ 0x100535945 // > GameLevelManager::getStarLevelsString @ 0x100535ac6 // > GameLevelManager::getStarLevelsString @ 0x100535c47 // > GameLevelManager::getStarLevelsString @ 0x100535dc8 // // 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 // GJGameLevel *__fastcall LevelTools::getLevel(int a1, bool a2) { GJGameLevel *v2; // rbx float v3; // xmm0_4 unsigned int v4; // r15d std::string::pointer data; // rdi float v6; // xmm0_4 float v7; // xmm0_4 char v8; // r12 float v9; // xmm0_4 float v10; // xmm0_4 float v11; // xmm0_4 float v12; // xmm0_4 float v13; // xmm0_4 float v14; // xmm0_4 int v15; // eax float v16; // xmm0_4 float v17; // xmm0_4 float v18; // xmm0_4 int v19; // eax float v20; // xmm0_4 float v21; // xmm0_4 float v22; // xmm0_4 float v23; // xmm0_4 float v24; // xmm0_4 float v25; // xmm0_4 float v26; // xmm0_4 float v27; // xmm0_4 float v28; // xmm0_4 float v29; // xmm0_4 float v30; // xmm0_4 float v31; // xmm0_4 float v32; // xmm0_4 float v33; // xmm0_4 float v34; // xmm0_4 float v35; // xmm0_4 LocalLevelManager *v36; // rax int v37; // eax std::string v39; // [rsp+8h] [rbp-548h] BYREF std::string v40; // [rsp+20h] [rbp-530h] BYREF std::string v41; // [rsp+38h] [rbp-518h] BYREF std::string v42; // [rsp+50h] [rbp-500h] BYREF std::string v43; // [rsp+68h] [rbp-4E8h] BYREF std::string v44; // [rsp+80h] [rbp-4D0h] BYREF std::string v45; // [rsp+98h] [rbp-4B8h] BYREF std::string v46; // [rsp+B0h] [rbp-4A0h] BYREF std::string v47; // [rsp+C8h] [rbp-488h] BYREF std::string v48; // [rsp+E0h] [rbp-470h] BYREF std::string v49; // [rsp+F8h] [rbp-458h] BYREF std::string v50; // [rsp+110h] [rbp-440h] BYREF std::string v51; // [rsp+128h] [rbp-428h] BYREF std::string v52; // [rsp+140h] [rbp-410h] BYREF std::string v53; // [rsp+158h] [rbp-3F8h] BYREF std::string v54; // [rsp+170h] [rbp-3E0h] BYREF std::string v55; // [rsp+188h] [rbp-3C8h] BYREF std::string v56; // [rsp+1A0h] [rbp-3B0h] BYREF std::string v57; // [rsp+1B8h] [rbp-398h] BYREF std::string v58; // [rsp+1D0h] [rbp-380h] BYREF std::string v59; // [rsp+1E8h] [rbp-368h] BYREF std::string v60; // [rsp+200h] [rbp-350h] BYREF std::string v61; // [rsp+218h] [rbp-338h] BYREF std::string v62; // [rsp+230h] [rbp-320h] BYREF std::string v63; // [rsp+248h] [rbp-308h] BYREF std::string v64; // [rsp+260h] [rbp-2F0h] BYREF std::string v65; // [rsp+278h] [rbp-2D8h] BYREF std::string v66; // [rsp+290h] [rbp-2C0h] BYREF std::string v67; // [rsp+2A8h] [rbp-2A8h] BYREF std::string v68; // [rsp+2C0h] [rbp-290h] BYREF std::string v69; // [rsp+2D8h] [rbp-278h] BYREF std::string v70; // [rsp+2F0h] [rbp-260h] BYREF std::string v71; // [rsp+308h] [rbp-248h] BYREF std::string __str; // [rsp+320h] [rbp-230h] BYREF std::string v73; // [rsp+338h] [rbp-218h] BYREF std::string v74; // [rsp+350h] [rbp-200h] BYREF std::string v75; // [rsp+368h] [rbp-1E8h] BYREF std::string v76; // [rsp+380h] [rbp-1D0h] BYREF std::string v77; // [rsp+398h] [rbp-1B8h] BYREF std::string v78; // [rsp+3B0h] [rbp-1A0h] BYREF std::string v79; // [rsp+3C8h] [rbp-188h] BYREF std::string v80; // [rsp+3E0h] [rbp-170h] BYREF std::string v81; // [rsp+3F8h] [rbp-158h] BYREF std::string v82; // [rsp+410h] [rbp-140h] BYREF std::string v83; // [rsp+428h] [rbp-128h] BYREF std::string v84; // [rsp+440h] [rbp-110h] BYREF std::string v85; // [rsp+458h] [rbp-F8h] BYREF std::string v86; // [rsp+470h] [rbp-E0h] BYREF std::string v87; // [rsp+488h] [rbp-C8h] BYREF std::string v88; // [rsp+4A0h] [rbp-B0h] BYREF std::string v89; // [rsp+4B8h] [rbp-98h] BYREF std::string v90; // [rsp+4D0h] [rbp-80h] BYREF std::string v91; // [rsp+4E8h] [rbp-68h] BYREF std::string v92; // [rsp+500h] [rbp-50h] BYREF std::string v93; // [rsp+518h] [rbp-38h] BYREF v2 = GJGameLevel::create_1(); switch ( a1 ) { case 1: LABEL_114: v71.__r_.__value_.__s.0 = (std::string::__short::$7162EEB0FEF29CC674EFA33D0008C7E0)28; strcpy(v71.__r_.__value_.__s.__data_, "Stereo Madness"); std::string::operator=((std::string *)&v2->m_levelName, &v71); if ( (*(_BYTE *)&v71.__r_.__value_.__s.0 & 1) != 0 ) operator delete(v71.__r_.__value_.__l.__data_); *(_QWORD *)&v2->m_difficulty = 1; v2->m_stars.value = 1; v35 = (float)((float)rand() * 4.6566129e-10) * 1000.0; v2->m_stars.seed = (int)v35; v2->m_stars.random = (int)v35 + 1; v40.__r_.__value_.__r.__words[2] = (std::string::size_type)operator new(0x38u); v40.__r_.__value_.__r.__words[0] = 57; v40.__r_.__value_.__l.__size_ = 48; strcpy(v40.__r_.__value_.__l.__data_, "29_98_29_40_29_29_29_29_29_29_177_29_73_29_29_29"); std::string::operator=((std::string *)&v2->m_capacityString, &v40); v4 = 1; if ( (*(_BYTE *)&v40.__r_.__value_.__s.0 & 1) == 0 ) goto LABEL_119; data = v40.__r_.__value_.__l.__data_; break; case 2: __str.__r_.__value_.__s.0 = (std::string::__short::$7162EEB0FEF29CC674EFA33D0008C7E0)26; strcpy(__str.__r_.__value_.__s.__data_, "Back On Track"); std::string::operator=((std::string *)&v2->m_levelName, &__str); if ( (*(_BYTE *)&__str.__r_.__value_.__s.0 & 1) != 0 ) operator delete(__str.__r_.__value_.__l.__data_); *(_QWORD *)&v2->m_difficulty = 0x100000001LL; v2->m_stars.value = 2; v3 = (float)((float)rand() * 4.6566129e-10) * 1000.0; v2->m_stars.seed = (int)v3; v2->m_stars.random = (int)v3 + 2; v41.__r_.__value_.__r.__words[2] = (std::string::size_type)operator new(0x30u); v41.__r_.__value_.__r.__words[0] = 49; v41.__r_.__value_.__l.__size_ = 47; strcpy(v41.__r_.__value_.__l.__data_, "29_54_29_40_29_29_29_29_29_29_98_29_54_29_29_29"); std::string::operator=((std::string *)&v2->m_capacityString, &v41); v4 = 2; if ( (*(_BYTE *)&v41.__r_.__value_.__s.0 & 1) == 0 ) goto LABEL_119; data = v41.__r_.__value_.__l.__data_; break; case 3: v73.__r_.__value_.__s.0 = (std::string::__short::$7162EEB0FEF29CC674EFA33D0008C7E0)20; strcpy(v73.__r_.__value_.__s.__data_, "Polargeist"); std::string::operator=((std::string *)&v2->m_levelName, &v73); if ( (*(_BYTE *)&v73.__r_.__value_.__s.0 & 1) != 0 ) operator delete(v73.__r_.__value_.__l.__data_); *(_QWORD *)&v2->m_difficulty = 0x200000002LL; v2->m_stars.value = 3; v16 = (float)((float)rand() * 4.6566129e-10) * 1000.0; v2->m_stars.seed = (int)v16; v2->m_stars.random = (int)v16 + 3; v42.__r_.__value_.__r.__words[2] = (std::string::size_type)operator new(0x30u); v42.__r_.__value_.__r.__words[0] = 49; v42.__r_.__value_.__l.__size_ = 47; strcpy(v42.__r_.__value_.__l.__data_, "29_98_29_40_29_29_29_29_29_29_29_29_98_29_29_29"); std::string::operator=((std::string *)&v2->m_capacityString, &v42); v4 = 3; if ( (*(_BYTE *)&v42.__r_.__value_.__s.0 & 1) == 0 ) goto LABEL_119; data = v42.__r_.__value_.__l.__data_; break; case 4: v74.__r_.__value_.__s.0 = (std::string::__short::$7162EEB0FEF29CC674EFA33D0008C7E0)14; strcpy(v74.__r_.__value_.__s.__data_, "Dry Out"); std::string::operator=((std::string *)&v2->m_levelName, &v74); if ( (*(_BYTE *)&v74.__r_.__value_.__s.0 & 1) != 0 ) operator delete(v74.__r_.__value_.__l.__data_); *(_QWORD *)&v2->m_difficulty = 0x300000002LL; v2->m_stars.value = 4; v20 = (float)((float)rand() * 4.6566129e-10) * 1000.0; v2->m_stars.seed = (int)v20; v2->m_stars.random = (int)v20 + 4; v43.__r_.__value_.__r.__words[2] = (std::string::size_type)operator new(0x30u); v43.__r_.__value_.__r.__words[0] = 49; v43.__r_.__value_.__l.__size_ = 47; strcpy(v43.__r_.__value_.__l.__data_, "29_73_29_40_29_29_29_29_29_29_73_29_73_29_29_29"); std::string::operator=((std::string *)&v2->m_capacityString, &v43); v4 = 4; if ( (*(_BYTE *)&v43.__r_.__value_.__s.0 & 1) == 0 ) goto LABEL_119; data = v43.__r_.__value_.__l.__data_; break; case 5: v75.__r_.__value_.__s.0 = (std::string::__short::$7162EEB0FEF29CC674EFA33D0008C7E0)30; strcpy(v75.__r_.__value_.__s.__data_, "Base After Base"); std::string::operator=((std::string *)&v2->m_levelName, &v75); if ( (*(_BYTE *)&v75.__r_.__value_.__s.0 & 1) != 0 ) operator delete(v75.__r_.__value_.__l.__data_); *(_QWORD *)&v2->m_difficulty = 0x400000003LL; v2->m_stars.value = 5; v12 = (float)((float)rand() * 4.6566129e-10) * 1000.0; v2->m_stars.seed = (int)v12; v2->m_stars.random = (int)v12 + 5; v44.__r_.__value_.__r.__words[2] = (std::string::size_type)operator new(0x30u); v44.__r_.__value_.__r.__words[0] = 49; v44.__r_.__value_.__l.__size_ = 47; strcpy(v44.__r_.__value_.__l.__data_, "29_73_29_40_29_29_29_29_29_29_98_29_73_29_29_29"); std::string::operator=((std::string *)&v2->m_capacityString, &v44); v4 = 5; if ( (*(_BYTE *)&v44.__r_.__value_.__s.0 & 1) == 0 ) goto LABEL_119; data = v44.__r_.__value_.__l.__data_; break; case 6: v76.__r_.__value_.__s.0 = (std::string::__short::$7162EEB0FEF29CC674EFA33D0008C7E0)22; strcpy(v76.__r_.__value_.__s.__data_, "Cant Let Go"); std::string::operator=((std::string *)&v2->m_levelName, &v76); if ( (*(_BYTE *)&v76.__r_.__value_.__s.0 & 1) != 0 ) operator delete(v76.__r_.__value_.__l.__data_); *(_QWORD *)&v2->m_difficulty = 0x500000003LL; v2->m_stars.value = 6; v25 = (float)((float)rand() * 4.6566129e-10) * 1000.0; v2->m_stars.seed = (int)v25; v2->m_stars.random = (int)v25 + 6; v45.__r_.__value_.__r.__words[2] = (std::string::size_type)operator new(0x30u); v45.__r_.__value_.__r.__words[0] = 49; v45.__r_.__value_.__l.__size_ = 47; strcpy(v45.__r_.__value_.__l.__data_, "29_73_29_40_29_29_29_29_29_29_29_29_73_29_29_29"); std::string::operator=((std::string *)&v2->m_capacityString, &v45); v4 = 6; if ( (*(_BYTE *)&v45.__r_.__value_.__s.0 & 1) == 0 ) goto LABEL_119; data = v45.__r_.__value_.__l.__data_; break; case 7: v77.__r_.__value_.__s.0 = (std::string::__short::$7162EEB0FEF29CC674EFA33D0008C7E0)12; strcpy(v77.__r_.__value_.__s.__data_, "Jumper"); std::string::operator=((std::string *)&v2->m_levelName, &v77); if ( (*(_BYTE *)&v77.__r_.__value_.__s.0 & 1) != 0 ) operator delete(v77.__r_.__value_.__l.__data_); *(_QWORD *)&v2->m_difficulty = 0x600000004LL; v2->m_stars.value = 7; v29 = (float)((float)rand() * 4.6566129e-10) * 1000.0; v2->m_stars.seed = (int)v29; v2->m_stars.random = (int)v29 + 7; v46.__r_.__value_.__r.__words[2] = (std::string::size_type)operator new(0x30u); v46.__r_.__value_.__r.__words[0] = 49; v46.__r_.__value_.__l.__size_ = 47; strcpy(v46.__r_.__value_.__l.__data_, "29_98_29_40_29_29_29_29_29_29_98_29_98_29_29_29"); std::string::operator=((std::string *)&v2->m_capacityString, &v46); v4 = 7; if ( (*(_BYTE *)&v46.__r_.__value_.__s.0 & 1) == 0 ) goto LABEL_119; data = v46.__r_.__value_.__l.__data_; break; case 8: v78.__r_.__value_.__s.0 = (std::string::__short::$7162EEB0FEF29CC674EFA33D0008C7E0)24; strcpy(v78.__r_.__value_.__s.__data_, "Time Machine"); std::string::operator=((std::string *)&v2->m_levelName, &v78); if ( (*(_BYTE *)&v78.__r_.__value_.__s.0 & 1) != 0 ) operator delete(v78.__r_.__value_.__l.__data_); *(_QWORD *)&v2->m_difficulty = 0x700000004LL; v2->m_stars.value = 8; v21 = (float)((float)rand() * 4.6566129e-10) * 1000.0; v2->m_stars.seed = (int)v21; v2->m_stars.random = (int)v21 + 8; v47.__r_.__value_.__r.__words[2] = (std::string::size_type)operator new(0x38u); v47.__r_.__value_.__r.__words[0] = 57; v47.__r_.__value_.__l.__size_ = 48; strcpy(v47.__r_.__value_.__l.__data_, "29_132_29_40_29_29_29_29_29_29_73_29_98_29_29_29"); std::string::operator=((std::string *)&v2->m_capacityString, &v47); v4 = 8; if ( (*(_BYTE *)&v47.__r_.__value_.__s.0 & 1) == 0 ) goto LABEL_119; data = v47.__r_.__value_.__l.__data_; break; case 9: v79.__r_.__value_.__s.0 = (std::string::__short::$7162EEB0FEF29CC674EFA33D0008C7E0)12; strcpy(v79.__r_.__value_.__s.__data_, "Cycles"); std::string::operator=((std::string *)&v2->m_levelName, &v79); if ( (*(_BYTE *)&v79.__r_.__value_.__s.0 & 1) != 0 ) operator delete(v79.__r_.__value_.__l.__data_); *(_QWORD *)&v2->m_difficulty = 0x800000004LL; v2->m_stars.value = 9; v32 = (float)((float)rand() * 4.6566129e-10) * 1000.0; v2->m_stars.seed = (int)v32; v2->m_stars.random = (int)v32 + 9; v48.__r_.__value_.__r.__words[2] = (std::string::size_type)operator new(0x30u); v48.__r_.__value_.__r.__words[0] = 49; v48.__r_.__value_.__l.__size_ = 47; strcpy(v48.__r_.__value_.__l.__data_, "29_98_29_40_29_29_29_40_29_29_98_29_98_29_29_29"); std::string::operator=((std::string *)&v2->m_capacityString, &v48); v4 = 9; if ( (*(_BYTE *)&v48.__r_.__value_.__s.0 & 1) == 0 ) goto LABEL_119; data = v48.__r_.__value_.__l.__data_; break; case 10: strcpy((char *)&v49, "\nxStep"); std::string::operator=((std::string *)&v2->m_levelName, &v49); if ( (*(_BYTE *)&v49.__r_.__value_.__s.0 & 1) != 0 ) operator delete(v49.__r_.__value_.__l.__data_); *(_QWORD *)&v2->m_difficulty = 0x900000005LL; v2->m_stars.value = 10; v14 = (float)((float)rand() * 4.6566129e-10) * 1000.0; v2->m_stars.seed = (int)v14; v2->m_stars.random = (int)v14 + 10; v50.__r_.__value_.__r.__words[2] = (std::string::size_type)operator new(0x38u); v50.__r_.__value_.__r.__words[0] = 57; v50.__r_.__value_.__l.__size_ = 49; strcpy(v50.__r_.__value_.__l.__data_, "29_132_29_40_29_29_29_54_29_29_132_29_73_29_29_29"); std::string::operator=((std::string *)&v2->m_capacityString, &v50); v4 = 10; if ( (*(_BYTE *)&v50.__r_.__value_.__s.0 & 1) == 0 ) goto LABEL_119; data = v50.__r_.__value_.__l.__data_; break; case 11: v80.__r_.__value_.__s.0 = (std::string::__short::$7162EEB0FEF29CC674EFA33D0008C7E0)22; strcpy(v80.__r_.__value_.__s.__data_, "Clutterfunk"); std::string::operator=((std::string *)&v2->m_levelName, &v80); if ( (*(_BYTE *)&v80.__r_.__value_.__s.0 & 1) != 0 ) operator delete(v80.__r_.__value_.__l.__data_); *(_QWORD *)&v2->m_difficulty = 0xA00000005LL; v2->m_stars.value = 11; v31 = (float)((float)rand() * 4.6566129e-10) * 1000.0; v2->m_stars.seed = (int)v31; v2->m_stars.random = (int)v31 + 11; v51.__r_.__value_.__r.__words[2] = (std::string::size_type)operator new(0x38u); v51.__r_.__value_.__r.__words[0] = 57; v51.__r_.__value_.__l.__size_ = 48; strcpy(v51.__r_.__value_.__l.__data_, "29_237_29_40_29_29_29_73_29_29_29_29_98_29_29_29"); std::string::operator=((std::string *)&v2->m_capacityString, &v51); v4 = 11; if ( (*(_BYTE *)&v51.__r_.__value_.__s.0 & 1) == 0 ) goto LABEL_119; data = v51.__r_.__value_.__l.__data_; break; case 12: strcpy((char *)&v81, "(Theory of Everything"); std::string::operator=((std::string *)&v2->m_levelName, &v81); if ( (*(_BYTE *)&v81.__r_.__value_.__s.0 & 1) != 0 ) operator delete(v81.__r_.__value_.__l.__data_); *(_QWORD *)&v2->m_difficulty = 0xB00000005LL; v2->m_stars.value = 12; v11 = (float)((float)rand() * 4.6566129e-10) * 1000.0; v2->m_stars.seed = (int)v11; v2->m_stars.random = (int)v11 + 12; v52.__r_.__value_.__r.__words[2] = (std::string::size_type)operator new(0x38u); v52.__r_.__value_.__r.__words[0] = 57; v52.__r_.__value_.__l.__size_ = 50; strcpy(v52.__r_.__value_.__l.__data_, "29_237_29_54_29_29_29_73_29_29_132_29_132_29_29_29"); std::string::operator=((std::string *)&v2->m_capacityString, &v52); v4 = 12; if ( (*(_BYTE *)&v52.__r_.__value_.__s.0 & 1) == 0 ) goto LABEL_119; data = v52.__r_.__value_.__l.__data_; break; case 13: strcpy((char *)&v82, "*Electroman Adventures"); std::string::operator=((std::string *)&v2->m_levelName, &v82); if ( (*(_BYTE *)&v82.__r_.__value_.__s.0 & 1) != 0 ) operator delete(v82.__r_.__value_.__l.__data_); *(_QWORD *)&v2->m_difficulty = 0xC00000005LL; v2->m_stars.value = 10; v13 = (float)((float)rand() * 4.6566129e-10) * 1000.0; v2->m_stars.seed = (int)v13; v2->m_stars.random = (int)v13 + 10; v53.__r_.__value_.__r.__words[2] = (std::string::size_type)operator new(0x38u); v53.__r_.__value_.__r.__words[0] = 57; v53.__r_.__value_.__l.__size_ = 49; strcpy(v53.__r_.__value_.__l.__data_, "29_237_29_40_29_29_29_98_29_29_98_29_132_29_29_29"); std::string::operator=((std::string *)&v2->m_capacityString, &v53); v4 = 13; if ( (*(_BYTE *)&v53.__r_.__value_.__s.0 & 1) == 0 ) goto LABEL_119; data = v53.__r_.__value_.__l.__data_; break; case 14: v54.__r_.__value_.__s.0 = (std::string::__short::$7162EEB0FEF29CC674EFA33D0008C7E0)16; strcpy(v54.__r_.__value_.__s.__data_, "Clubstep"); std::string::operator=((std::string *)&v2->m_levelName, &v54); if ( (*(_BYTE *)&v54.__r_.__value_.__s.0 & 1) != 0 ) operator delete(v54.__r_.__value_.__l.__data_); *(_QWORD *)&v2->m_difficulty = 0xD00000006LL; v2->m_stars.value = 14; v27 = (float)((float)rand() * 4.6566129e-10) * 1000.0; v2->m_stars.seed = (int)v27; v2->m_stars.random = (int)v27 + 14; v2->m_requiredCoins = 10; v2->m_demon.value = 1; v28 = (float)((float)rand() * 4.6566129e-10) * 1000.0; v2->m_demon.seed = (int)v28; v2->m_demon.random = (int)v28 + 1; v55.__r_.__value_.__r.__words[2] = (std::string::size_type)operator new(0x38u); v55.__r_.__value_.__r.__words[0] = 57; v55.__r_.__value_.__l.__size_ = 50; strcpy(v55.__r_.__value_.__l.__data_, "29_237_29_54_29_29_29_132_29_29_98_29_132_29_29_29"); std::string::operator=((std::string *)&v2->m_capacityString, &v55); v4 = 14; if ( (*(_BYTE *)&v55.__r_.__value_.__s.0 & 1) == 0 ) goto LABEL_119; data = v55.__r_.__value_.__l.__data_; break; case 15: v83.__r_.__value_.__s.0 = (std::string::__short::$7162EEB0FEF29CC674EFA33D0008C7E0)28; strcpy(v83.__r_.__value_.__s.__data_, "Electrodynamix"); std::string::operator=((std::string *)&v2->m_levelName, &v83); if ( (*(_BYTE *)&v83.__r_.__value_.__s.0 & 1) != 0 ) operator delete(v83.__r_.__value_.__l.__data_); *(_QWORD *)&v2->m_difficulty = 0xE00000005LL; v2->m_stars.value = 12; v10 = (float)((float)rand() * 4.6566129e-10) * 1000.0; v2->m_stars.seed = (int)v10; v2->m_stars.random = (int)v10 + 12; v56.__r_.__value_.__r.__words[2] = (std::string::size_type)operator new(0x38u); v56.__r_.__value_.__r.__words[0] = 57; v56.__r_.__value_.__l.__size_ = 50; strcpy(v56.__r_.__value_.__l.__data_, "29_237_98_40_29_29_29_237_29_29_98_73_177_29_29_29"); std::string::operator=((std::string *)&v2->m_capacityString, &v56); v4 = 15; if ( (*(_BYTE *)&v56.__r_.__value_.__s.0 & 1) == 0 ) goto LABEL_119; data = v56.__r_.__value_.__l.__data_; break; case 16: v84.__r_.__value_.__s.0 = (std::string::__short::$7162EEB0FEF29CC674EFA33D0008C7E0)26; strcpy(v84.__r_.__value_.__s.__data_, "Hexagon Force"); std::string::operator=((std::string *)&v2->m_levelName, &v84); if ( (*(_BYTE *)&v84.__r_.__value_.__s.0 & 1) != 0 ) operator delete(v84.__r_.__value_.__l.__data_); *(_QWORD *)&v2->m_difficulty = 0xF00000005LL; v2->m_stars.value = 12; v18 = (float)((float)rand() * 4.6566129e-10) * 1000.0; v2->m_stars.seed = (int)v18; v2->m_stars.random = (int)v18 + 12; v57.__r_.__value_.__r.__words[2] = (std::string::size_type)operator new(0x38u); v57.__r_.__value_.__r.__words[0] = 57; v57.__r_.__value_.__l.__size_ = 52; strcpy(v57.__r_.__value_.__l.__data_, "29_317_73_73_29_29_54_132_29_29_237_132_177_29_29_29"); std::string::operator=((std::string *)&v2->m_capacityString, &v57); v4 = 16; if ( (*(_BYTE *)&v57.__r_.__value_.__s.0 & 1) == 0 ) goto LABEL_119; data = v57.__r_.__value_.__l.__data_; break; case 17: strcpy((char *)&v58, " Blast Processing"); std::string::operator=((std::string *)&v2->m_levelName, &v58); if ( (*(_BYTE *)&v58.__r_.__value_.__s.0 & 1) != 0 ) operator delete(v58.__r_.__value_.__l.__data_); *(_QWORD *)&v2->m_difficulty = 0x1000000004LL; v2->m_stars.value = 10; v9 = (float)((float)rand() * 4.6566129e-10) * 1000.0; v2->m_stars.seed = (int)v9; v2->m_stars.random = (int)v9 + 10; v59.__r_.__value_.__r.__words[2] = (std::string::size_type)operator new(0x38u); v59.__r_.__value_.__r.__words[0] = 57; v59.__r_.__value_.__l.__size_ = 51; strcpy(v59.__r_.__value_.__l.__data_, "29_237_29_73_29_29_98_132_29_29_566_54_132_29_29_29"); std::string::operator=((std::string *)&v2->m_capacityString, &v59); v4 = 17; if ( (*(_BYTE *)&v59.__r_.__value_.__s.0 & 1) == 0 ) goto LABEL_119; data = v59.__r_.__value_.__l.__data_; break; case 18: strcpy((char *)&v85, ",Theory of Everything 2"); std::string::operator=((std::string *)&v2->m_levelName, &v85); if ( (*(_BYTE *)&v85.__r_.__value_.__s.0 & 1) != 0 ) operator delete(v85.__r_.__value_.__l.__data_); *(_QWORD *)&v2->m_difficulty = 0x1100000006LL; v2->m_stars.value = 14; v22 = (float)((float)rand() * 4.6566129e-10) * 1000.0; v2->m_stars.seed = (int)v22; v2->m_stars.random = (int)v22 + 14; v2->m_requiredCoins = 20; v2->m_demon.value = 1; v23 = (float)((float)rand() * 4.6566129e-10) * 1000.0; v2->m_demon.seed = (int)v23; v2->m_demon.random = (int)v23 + 1; v60.__r_.__value_.__r.__words[2] = (std::string::size_type)operator new(0x38u); v60.__r_.__value_.__r.__words[0] = 57; v60.__r_.__value_.__l.__size_ = 52; strcpy(v60.__r_.__value_.__l.__data_, "29_317_40_54_29_40_132_132_29_29_424_98_237_29_29_29"); std::string::operator=((std::string *)&v2->m_capacityString, &v60); v4 = 18; if ( (*(_BYTE *)&v60.__r_.__value_.__s.0 & 1) == 0 ) goto LABEL_119; data = v60.__r_.__value_.__l.__data_; break; case 19: strcpy((char *)&v86, "*Geometrical Dominator"); std::string::operator=((std::string *)&v2->m_levelName, &v86); if ( (*(_BYTE *)&v86.__r_.__value_.__s.0 & 1) != 0 ) operator delete(v86.__r_.__value_.__l.__data_); *(_QWORD *)&v2->m_difficulty = 0x1200000004LL; v2->m_stars.value = 10; v30 = (float)((float)rand() * 4.6566129e-10) * 1000.0; v2->m_stars.seed = (int)v30; v2->m_stars.random = (int)v30 + 10; v61.__r_.__value_.__r.__words[2] = (std::string::size_type)operator new(0x38u); v61.__r_.__value_.__r.__words[0] = 57; v61.__r_.__value_.__l.__size_ = 54; strcpy(v61.__r_.__value_.__l.__data_, "29_424_132_40_29_29_566_132_29_29_756_237_132_29_73_29"); std::string::operator=((std::string *)&v2->m_capacityString, &v61); v4 = 19; if ( (*(_BYTE *)&v61.__r_.__value_.__s.0 & 1) == 0 ) goto LABEL_119; data = v61.__r_.__value_.__l.__data_; break; case 20: v87.__r_.__value_.__s.0 = (std::string::__short::$7162EEB0FEF29CC674EFA33D0008C7E0)20; strcpy(v87.__r_.__value_.__s.__data_, "Deadlocked"); std::string::operator=((std::string *)&v2->m_levelName, &v87); if ( (*(_BYTE *)&v87.__r_.__value_.__s.0 & 1) != 0 ) operator delete(v87.__r_.__value_.__l.__data_); *(_QWORD *)&v2->m_difficulty = 0x1300000006LL; v2->m_stars.value = 15; v33 = (float)((float)rand() * 4.6566129e-10) * 1000.0; v2->m_stars.seed = (int)v33; v2->m_stars.random = (int)v33 + 15; v2->m_requiredCoins = 30; v2->m_demon.value = 1; v34 = (float)((float)rand() * 4.6566129e-10) * 1000.0; v2->m_demon.seed = (int)v34; v2->m_demon.random = (int)v34 + 1; v62.__r_.__value_.__r.__words[2] = (std::string::size_type)operator new(0x38u); v62.__r_.__value_.__r.__words[0] = 57; v62.__r_.__value_.__l.__size_ = 54; strcpy(v62.__r_.__value_.__l.__data_, "29_317_73_73_29_29_317_424_73_29_566_317_177_29_132_54"); std::string::operator=((std::string *)&v2->m_capacityString, &v62); v4 = 20; if ( (*(_BYTE *)&v62.__r_.__value_.__s.0 & 1) == 0 ) goto LABEL_119; data = v62.__r_.__value_.__l.__data_; break; case 21: v88.__r_.__value_.__s.0 = (std::string::__short::$7162EEB0FEF29CC674EFA33D0008C7E0)20; strcpy(v88.__r_.__value_.__s.__data_, "Fingerdash"); std::string::operator=((std::string *)&v2->m_levelName, &v88); if ( (*(_BYTE *)&v88.__r_.__value_.__s.0 & 1) != 0 ) operator delete(v88.__r_.__value_.__l.__data_); *(_QWORD *)&v2->m_difficulty = 0x1400000005LL; v2->m_stars.value = 12; v24 = (float)((float)rand() * 4.6566129e-10) * 1000.0; v2->m_stars.seed = (int)v24; v2->m_stars.random = (int)v24 + 12; v63.__r_.__value_.__r.__words[2] = (std::string::size_type)operator new(0x90u); v63.__r_.__value_.__r.__words[0] = 145; v63.__r_.__value_.__l.__size_ = 141; strcpy( v63.__r_.__value_.__l.__data_, "40_630_195_48_0_0_210_114_0_0_572_247_97_0_0_53_466_135_0_459_276_71_448_0_101_88_101_0_0_0_0_0_0_0_0_0_0_0_0_0_" "0_0_0_0_0_0_0_0_0_0_0_0_0_0_0"); std::string::operator=((std::string *)&v2->m_capacityString, &v63); v4 = 21; if ( (*(_BYTE *)&v63.__r_.__value_.__s.0 & 1) == 0 ) goto LABEL_119; data = v63.__r_.__value_.__l.__data_; break; case 22: v64.__r_.__value_.__s.0 = (std::string::__short::$7162EEB0FEF29CC674EFA33D0008C7E0)8; strcpy(v64.__r_.__value_.__s.__data_, "Dash"); std::string::operator=((std::string *)&v2->m_levelName, &v64); if ( (*(_BYTE *)&v64.__r_.__value_.__s.0 & 1) != 0 ) operator delete(v64.__r_.__value_.__l.__data_); *(_QWORD *)&v2->m_difficulty = 0x1500000005LL; v2->m_stars.value = 12; v26 = (float)((float)rand() * 4.6566129e-10) * 1000.0; v2->m_stars.seed = (int)v26; v2->m_stars.random = (int)v26 + 12; v65.__r_.__value_.__r.__words[2] = (std::string::size_type)operator new(0x30u); v65.__r_.__value_.__r.__words[0] = 49; v65.__r_.__value_.__l.__size_ = 43; strcpy(v65.__r_.__value_.__l.__data_, "24,340,52,244,54,1335,56,356,58,510,60,1257"); std::string::operator=((std::string *)&v2->m_capacityString, &v65); if ( (*(_BYTE *)&v65.__r_.__value_.__s.0 & 1) != 0 ) operator delete(v65.__r_.__value_.__l.__data_); v2->m_timestamp = 21940; v4 = 22; goto LABEL_119; default: switch ( a1 ) { case 5001: v67.__r_.__value_.__s.0 = (std::string::__short::$7162EEB0FEF29CC674EFA33D0008C7E0)18; strcpy(v67.__r_.__value_.__s.__data_, "The Tower"); std::string::operator=((std::string *)&v2->m_levelName, &v67); if ( (*(_BYTE *)&v67.__r_.__value_.__s.0 & 1) != 0 ) operator delete(v67.__r_.__value_.__l.__data_); v2->m_songID = 10003039; *(_QWORD *)&v2->m_difficulty = 2; v2->m_stars.value = 5; v6 = (float)((float)rand() * 4.6566129e-10) * 1000.0; v2->m_stars.seed = (int)v6; v2->m_stars.random = (int)v6 + 5; v68.__r_.__value_.__r.__words[2] = (std::string::size_type)operator new(0x28u); v68.__r_.__value_.__r.__words[0] = 41; v68.__r_.__value_.__l.__size_ = 33; strcpy(v68.__r_.__value_.__l.__data_, "1,210,25,209,56,310,58,250,62,249"); std::string::operator=((std::string *)&v2->m_capacityString, &v68); if ( (*(_BYTE *)&v68.__r_.__value_.__s.0 & 1) != 0 ) operator delete(v68.__r_.__value_.__l.__data_); v2->m_levelLength = 5; v4 = 5001; goto LABEL_119; case 5002: v90.__r_.__value_.__s.0 = (std::string::__short::$7162EEB0FEF29CC674EFA33D0008C7E0)20; strcpy(v90.__r_.__value_.__s.__data_, "The Sewers"); std::string::operator=((std::string *)&v2->m_levelName, &v90); if ( (*(_BYTE *)&v90.__r_.__value_.__s.0 & 1) != 0 ) operator delete(v90.__r_.__value_.__l.__data_); v2->m_songID = 10003129; *(_QWORD *)&v2->m_difficulty = 3; v2->m_stars.value = 6; v19 = (int)(float)((float)((float)rand() * 4.6566129e-10) * 1000.0); v2->m_stars.seed = v19; v2->m_stars.random = v19 + 6; strcpy((char *)&v91, "(50,366,52,332,54,408"); std::string::operator=((std::string *)&v2->m_capacityString, &v91); if ( (*(_BYTE *)&v91.__r_.__value_.__s.0 & 1) != 0 ) operator delete(v91.__r_.__value_.__l.__data_); v2->m_levelLength = 5; v4 = 5002; goto LABEL_119; case 5003: v92.__r_.__value_.__s.0 = (std::string::__short::$7162EEB0FEF29CC674EFA33D0008C7E0)20; strcpy(v92.__r_.__value_.__s.__data_, "The Cellar"); std::string::operator=((std::string *)&v2->m_levelName, &v92); if ( (*(_BYTE *)&v92.__r_.__value_.__s.0 & 1) != 0 ) operator delete(v92.__r_.__value_.__l.__data_); v2->m_songID = 10002875; *(_QWORD *)&v2->m_difficulty = 4; v2->m_stars.value = 7; v15 = (int)(float)((float)((float)rand() * 4.6566129e-10) * 1000.0); v2->m_stars.seed = v15; v2->m_stars.random = v15 + 7; strcpy((char *)&v93, "(50,206,52,396,54,682"); std::string::operator=((std::string *)&v2->m_capacityString, &v93); if ( (*(_BYTE *)&v93.__r_.__value_.__s.0 & 1) != 0 ) operator delete(v93.__r_.__value_.__l.__data_); v2->m_levelLength = 5; v4 = 5003; goto LABEL_119; case 5004: strcpy((char *)&v69, "\"The Secret Hollow"); std::string::operator=((std::string *)&v2->m_levelName, &v69); if ( (*(_BYTE *)&v69.__r_.__value_.__s.0 & 1) != 0 ) operator delete(v69.__r_.__value_.__l.__data_); v2->m_songID = 10006086; *(_QWORD *)&v2->m_difficulty = 4; v2->m_stars.value = 7; v17 = (float)((float)rand() * 4.6566129e-10) * 1000.0; v2->m_stars.seed = (int)v17; v2->m_stars.random = (int)v17 + 7; v70.__r_.__value_.__r.__words[2] = (std::string::size_type)operator new(0x20u); v70.__r_.__value_.__r.__words[0] = 33; v70.__r_.__value_.__l.__size_ = 28; strcpy(v70.__r_.__value_.__l.__data_, "52,505,54,1104,56,556,58,368"); std::string::operator=((std::string *)&v2->m_capacityString, &v70); if ( (*(_BYTE *)&v70.__r_.__value_.__s.0 & 1) != 0 ) operator delete(v70.__r_.__value_.__l.__data_); v2->m_levelLength = 5; v4 = 5004; goto LABEL_119; default: if ( a1 != 3001 ) { v2 = GJGameLevel::create_1(); goto LABEL_114; } v89.__r_.__value_.__s.0 = (std::string::__short::$7162EEB0FEF29CC674EFA33D0008C7E0)26; strcpy(v89.__r_.__value_.__s.__data_, "The Challenge"); std::string::operator=((std::string *)&v2->m_levelName, &v89); if ( (*(_BYTE *)&v89.__r_.__value_.__s.0 & 1) != 0 ) operator delete(v89.__r_.__value_.__l.__data_); *(_QWORD *)&v2->m_difficulty = 0x1A00000003LL; v2->m_stars.value = 3; v7 = (float)((float)rand() * 4.6566129e-10) * 1000.0; v2->m_stars.seed = (int)v7; v2->m_stars.random = (int)v7 + 3; v66.__r_.__value_.__r.__words[2] = (std::string::size_type)operator new(0x38u); v66.__r_.__value_.__r.__words[0] = 57; v66.__r_.__value_.__l.__size_ = 52; strcpy(v66.__r_.__value_.__l.__data_, "73_237_29_40_29_29_237_98_29_29_237_237_132_29_29_29"); std::string::operator=((std::string *)&v2->m_capacityString, &v66); v4 = 3001; v8 = 1; if ( (*(_BYTE *)&v66.__r_.__value_.__s.0 & 1) != 0 ) operator delete(v66.__r_.__value_.__l.__data_); break; } goto LABEL_120; } operator delete(data); LABEL_119: v8 = 0; LABEL_120: if ( !a2 ) { v36 = LocalLevelManager::sharedState(); LocalLevelManager::getMainLevelString(&v39, v36, v4); std::string::operator=((std::string *)&v2->m_levelString, &v39); if ( (*(_BYTE *)&v39.__r_.__value_.__s.0 & 1) != 0 ) operator delete(v39.__r_.__value_.__l.__data_); } v2->m_levelID.value = v4; v37 = (int)(float)((float)((float)rand() * 4.6566129e-10) * 1000.0); v2->m_levelID.seed = v37; v2->m_levelID.random = v37 + v4; v2->m_levelType = Main; if ( !v8 ) v2->m_coins = 3; return v2; }
GD Web Decomp Icon

GD Web Decomp

Raw Source