// // GJGameLevel::dataLoaded from 0x83d08c to 0x83ea18 (6540 bytes) // // 3 xrefs: // > GJGameLevel::createWithCoder @ 0x83ea3c // > GJGameLevel::createFromFullSaveString @ 0x83eb0c // > @ 0xabe38 // // This function is hookable on this platform (idp: arm, 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:55:16 +0000 // __int64 __fastcall GJGameLevel::dataLoaded(GJGameLevel *this, DS_Dictionary *a2) { int IntegerForKey; // w0 int v5; // w22 int v6; // w2 int v7; // w0 int v8; // w22 int v9; // w2 int v10; // w0 int v11; // w0 int v12; // w22 int v13; // w2 int v14; // w0 int v15; // w22 int v16; // w2 int v17; // w0 int v18; // w22 int v19; // w2 int v20; // w0 int v21; // w22 int v22; // w2 int v23; // w0 int v24; // w22 int v25; // w2 __int64 *v26; // x0 int BoolForKey; // w22 int v28; // w2 int v29; // w0 int v30; // w22 int v31; // w2 int v32; // w0 int v33; // w22 int v34; // w2 size_t v35; // x3 size_t v36; // x3 size_t v37; // x3 size_t v38; // x3 int v39; // w0 size_t v40; // x3 size_t v41; // x3 size_t v42; // x3 size_t v43; // x3 size_t v44; // x3 _BYTE *v45; // x0 size_t v46; // x3 int v47; // w24 __int64 v48; // x1 __int64 v49; // x0 __int64 v50; // x26 __int64 v51; // x25 char *v52; // x24 __int64 v53; // x2 __int64 v54; // x3 char v55; // w0 __int64 v56; // x2 __int64 v57; // x3 __int64 v58; // x2 __int64 v59; // x3 __int64 v60; // x2 __int64 v61; // x3 __int64 v62; // x2 __int64 v63; // x3 char v64; // w0 int v65; // w1 int v66; // w1 int v67; // w0 __int64 v69; // x1 char v70; // w0 char *v71; // x24 __int64 v72; // x0 __int64 v73; // x1 char v74; // w0 size_t v75; // x3 _BOOL4 v76; // w20 char v77; // w0 __int64 v78; // x2 __int64 v79; // x3 __int64 v80; // x2 __int64 v81; // x3 __int64 v82; // x2 __int64 v83; // x3 __int64 v84; // x2 __int64 v85; // x3 __int64 v86; // x2 __int64 v87; // x3 __int64 v88; // x2 __int64 v89; // x3 float v90; // s10 int v91; // w0 int v92; // w24 int v93; // w2 int v94; // w0 int v95; // w24 int v96; // w2 int v97; // w0 int v98; // w24 int v99; // w2 unsigned __int8 v100; // w0 int v101; // w24 int v102; // w2 int v103; // w0 int v104; // w24 int v105; // w2 int v106; // w0 int v107; // w24 int v108; // w2 int v109; // w0 int v110; // w26 int v111; // w2 __int64 v112; // x2 __int64 v113; // x3 __int64 v114; // x3 __int64 v115; // x2 __int64 v116; // x3 int v117; // w0 int v118; // w0 int v119; // w1 float v120; // s0 float v121; // s10 float v122; // s0 int v123; // s0 cocos2d::CCObject *DictForKey; // x0 cocos2d::CCObject *v125; // x1 cocos2d::CCObject *v126; // x24 int v127; // w24 int v128; // w2 int v129; // w24 int v130; // w2 int v131; // w25 int v132; // w2 __int64 v133; // x3 __int64 v134; // x2 __int64 v135; // x3 _BYTE v136[8]; // [xsp+70h] [xbp+70h] BYREF __int64 v137[2]; // [xsp+78h] [xbp+78h] BYREF char *v138; // [xsp+88h] [xbp+88h] __int64 v139[3]; // [xsp+90h] [xbp+90h] BYREF _QWORD v140[3]; // [xsp+A8h] [xbp+A8h] BYREF __int64 v141[3]; // [xsp+C0h] [xbp+C0h] BYREF __int64 v142[3]; // [xsp+D8h] [xbp+D8h] BYREF __int64 v143[3]; // [xsp+F0h] [xbp+F0h] BYREF __int64 v144[3]; // [xsp+108h] [xbp+108h] BYREF __int64 v145[3]; // [xsp+120h] [xbp+120h] BYREF __int64 v146[3]; // [xsp+138h] [xbp+138h] BYREF __int64 v147[3]; // [xsp+150h] [xbp+150h] BYREF __int64 v148[3]; // [xsp+168h] [xbp+168h] BYREF __int64 v149[3]; // [xsp+180h] [xbp+180h] BYREF __int64 v150[3]; // [xsp+198h] [xbp+198h] BYREF __int64 v151[3]; // [xsp+1B0h] [xbp+1B0h] BYREF __int64 v152[3]; // [xsp+1C8h] [xbp+1C8h] BYREF __int64 v153[3]; // [xsp+1E0h] [xbp+1E0h] BYREF __int64 v154[3]; // [xsp+1F8h] [xbp+1F8h] BYREF __int64 v155[3]; // [xsp+210h] [xbp+210h] BYREF __int64 v156[3]; // [xsp+228h] [xbp+228h] BYREF __int64 v157[3]; // [xsp+240h] [xbp+240h] BYREF __int64 v158[2]; // [xsp+258h] [xbp+258h] BYREF void *v159; // [xsp+268h] [xbp+268h] __int64 v160[3]; // [xsp+270h] [xbp+270h] BYREF __int64 v161; // [xsp+288h] [xbp+288h] BYREF __int64 v162; // [xsp+290h] [xbp+290h] void *v163; // [xsp+298h] [xbp+298h] __int64 v164; // [xsp+2A0h] [xbp+2A0h] BYREF size_t v165; // [xsp+2A8h] [xbp+2A8h] void *v166; // [xsp+2B0h] [xbp+2B0h] *((_BYTE *)this + 1105) = DS_Dictionary::getBoolForKey(a2, "k35"); IntegerForKey = DS_Dictionary::getIntegerForKey(a2, "k1"); *((_DWORD *)this + 84) = IntegerForKey; v5 = IntegerForKey; v6 = (int)(float)((float)((float)rand() * 4.6566e-10) * 1000.0); *((_DWORD *)this + 83) = v6; *((_DWORD *)this + 82) = v5 + v6; v7 = DS_Dictionary::getIntegerForKey(a2, "k18"); *((_DWORD *)this + 201) = v7; v8 = v7; v9 = (int)(float)((float)((float)rand() * 4.6566e-10) * 1000.0); *((_DWORD *)this + 200) = v9; *((_DWORD *)this + 199) = v8 + v9; *((_DWORD *)this + 383) = DS_Dictionary::getIntegerForKey(a2, "k154"); v10 = DS_Dictionary::getIntegerForKey(a2, "k19"); GJGameLevel::setNormalPercent(this, v10); v11 = DS_Dictionary::getIntegerForKey(a2, "k71"); *((_DWORD *)this + 218) = v11; v12 = v11; v13 = (int)(float)((float)((float)rand() * 4.6566e-10) * 1000.0); *((_DWORD *)this + 217) = v13; *((_DWORD *)this + 216) = v12 + v13; v14 = DS_Dictionary::getIntegerForKey(a2, "k90"); *((_DWORD *)this + 221) = v14; v15 = v14; v16 = (int)(float)((float)((float)rand() * 4.6566e-10) * 1000.0); *((_DWORD *)this + 220) = v16; *((_DWORD *)this + 219) = v15 + v16; *((_DWORD *)this + 222) = DS_Dictionary::getIntegerForKey(a2, "k20"); v17 = DS_Dictionary::getIntegerForKey(a2, "k36"); *((_DWORD *)this + 204) = v17; v18 = v17; v19 = (int)(float)((float)((float)rand() * 4.6566e-10) * 1000.0); *((_DWORD *)this + 203) = v19; *((_DWORD *)this + 202) = v18 + v19; v20 = DS_Dictionary::getIntegerForKey(a2, "k85"); *((_DWORD *)this + 207) = v20; v21 = v20; v22 = (int)(float)((float)((float)rand() * 4.6566e-10) * 1000.0); *((_DWORD *)this + 206) = v22; *((_DWORD *)this + 205) = v21 + v22; v23 = DS_Dictionary::getIntegerForKey(a2, "k86"); *((_DWORD *)this + 210) = v23; v24 = v23; v25 = (int)(float)((float)((float)rand() * 4.6566e-10) * 1000.0); *((_DWORD *)this + 209) = v25; *((_DWORD *)this + 208) = v24 + v25; *((_DWORD *)this + 211) = DS_Dictionary::getIntegerForKey(a2, "k87"); DS_Dictionary::getStringForKey(&v164, a2, "k88"); v26 = (__int64 *)((char *)this + 1208); if ( (__int64 *)((char *)this + 1208) != &v164 ) { if ( (v164 & 1) != 0 ) std::string::assign(v26, v166, v165); else std::string::assign(v26, (char *)&v164 + 1, (unsigned __int8)v164 >> 1); } if ( (v164 & 1) != 0 ) operator delete(v166); *((_BYTE *)this + 848) = DS_Dictionary::getBoolForKey(a2, "k89"); *((_DWORD *)this + 225) = DS_Dictionary::getIntegerForKey(a2, "k23"); BoolForKey = (unsigned __int8)DS_Dictionary::getBoolForKey(a2, "k25"); *((_DWORD *)this + 235) = BoolForKey; v28 = (int)(float)((float)((float)rand() * 4.6566e-10) * 1000.0); *((_DWORD *)this + 234) = v28; *((_DWORD *)this + 233) = BoolForKey + v28; *((_DWORD *)this + 236) = DS_Dictionary::getIntegerForKey(a2, "k76"); v29 = DS_Dictionary::getIntegerForKey(a2, "k26"); *((_DWORD *)this + 239) = v29; v30 = v29; v31 = (int)(float)((float)((float)rand() * 4.6566e-10) * 1000.0); *((_DWORD *)this + 238) = v31; *((_DWORD *)this + 237) = v30 + v31; v32 = DS_Dictionary::getIntegerForKey(a2, "k74"); *((_DWORD *)this + 232) = v32; v33 = v32; v34 = (int)(float)((float)((float)rand() * 4.6566e-10) * 1000.0); *((_DWORD *)this + 231) = v34; *((_DWORD *)this + 230) = v33 + v34; *((_BYTE *)this + 849) = DS_Dictionary::getBoolForKey(a2, "k68"); *((_BYTE *)this + 649) = DS_Dictionary::getBoolForKey(a2, "k77"); *((_BYTE *)this + 650) = DS_Dictionary::getBoolForKey(a2, "k78"); *((_BYTE *)this + 912) = DS_Dictionary::getBoolForKey(a2, "k82"); *((_DWORD *)this + 229) = DS_Dictionary::getIntegerForKey(a2, "k84"); *((_DWORD *)this + 324) = DS_Dictionary::getIntegerForKey(a2, "k107"); *((_DWORD *)this + 325) = DS_Dictionary::getIntegerForKey(a2, "k115"); *((_DWORD *)this + 326) = DS_Dictionary::getIntegerForKey(a2, "k117"); *((_DWORD *)this + 327) = DS_Dictionary::getIntegerForKey(a2, "k121"); DS_Dictionary::getStringForKey(&v164, a2, "k119"); if ( (*((_BYTE *)this + 1312) & 1) != 0 ) { **((_BYTE **)this + 166) = 0; *((_QWORD *)this + 165) = 0; } else { *((_BYTE *)this + 1313) = 0; *((_BYTE *)this + 1312) = 0; } std::string::reserve((__int64 *)this + 164, 0); *((_QWORD *)this + 166) = v166; v35 = v165; *((_QWORD *)this + 164) = v164; *((_QWORD *)this + 165) = v35; *((_DWORD *)this + 334) = DS_Dictionary::getIntegerForKey(a2, "k108"); *((_DWORD *)this + 335) = DS_Dictionary::getIntegerForKey(a2, "k116"); *((_DWORD *)this + 336) = DS_Dictionary::getIntegerForKey(a2, "k118"); *((_DWORD *)this + 337) = DS_Dictionary::getIntegerForKey(a2, "k122"); DS_Dictionary::getStringForKey(&v164, a2, "k120"); if ( (*((_BYTE *)this + 1352) & 1) != 0 ) { **((_BYTE **)this + 171) = 0; *((_QWORD *)this + 170) = 0; } else { *((_BYTE *)this + 1353) = 0; *((_BYTE *)this + 1352) = 0; } std::string::reserve((__int64 *)this + 169, 0); *((_QWORD *)this + 171) = v166; v36 = v165; *((_QWORD *)this + 169) = v164; *((_QWORD *)this + 170) = v36; *((_DWORD *)this + 344) = DS_Dictionary::getIntegerForKey(a2, "k111"); *((_BYTE *)this + 1432) = DS_Dictionary::getBoolForKey(a2, "k123"); *((_BYTE *)this + 1433) = DS_Dictionary::getBoolForKey(a2, "k124"); DS_Dictionary::getStringForKey(&v164, a2, "k109"); if ( (*((_BYTE *)this + 1384) & 1) != 0 ) { **((_BYTE **)this + 175) = 0; *((_QWORD *)this + 174) = 0; } else { *((_BYTE *)this + 1385) = 0; *((_BYTE *)this + 1384) = 0; } std::string::reserve((__int64 *)this + 173, 0); *((_QWORD *)this + 175) = v166; v37 = v165; *((_QWORD *)this + 173) = v164; *((_QWORD *)this + 174) = v37; DS_Dictionary::getStringForKey(&v164, a2, "k110"); if ( (*((_BYTE *)this + 1408) & 1) != 0 ) { **((_BYTE **)this + 178) = 0; *((_QWORD *)this + 177) = 0; } else { *((_BYTE *)this + 1409) = 0; *((_BYTE *)this + 1408) = 0; } std::string::reserve((__int64 *)this + 176, 0); *((_QWORD *)this + 178) = v166; v38 = v165; *((_QWORD *)this + 176) = v164; *((_QWORD *)this + 177) = v38; v39 = DS_Dictionary::getIntegerForKey(a2, "k133"); *((_DWORD *)this + 384) = v39; if ( v39 > 0 ) { DS_Dictionary::getStringForKey(&v164, a2, "k134"); if ( (*((_BYTE *)this + 1544) & 1) != 0 ) { **((_BYTE **)this + 195) = 0; *((_QWORD *)this + 194) = 0; } else { *((_BYTE *)this + 1545) = 0; *((_BYTE *)this + 1544) = 0; } std::string::reserve((__int64 *)this + 193, 0); *((_QWORD *)this + 195) = v166; v40 = v165; *((_QWORD *)this + 193) = v164; *((_QWORD *)this + 194) = v40; DS_Dictionary::getStringForKey(&v164, a2, "k135"); if ( (*((_BYTE *)this + 1568) & 1) != 0 ) { **((_BYTE **)this + 198) = 0; *((_QWORD *)this + 197) = 0; } else { *((_BYTE *)this + 1569) = 0; *((_BYTE *)this + 1568) = 0; } std::string::reserve((__int64 *)this + 196, 0); *((_QWORD *)this + 198) = v166; v41 = v165; *((_QWORD *)this + 196) = v164; *((_QWORD *)this + 197) = v41; DS_Dictionary::getStringForKey(&v164, a2, "k136"); if ( (*((_BYTE *)this + 1592) & 1) != 0 ) { **((_BYTE **)this + 201) = 0; *((_QWORD *)this + 200) = 0; } else { *((_BYTE *)this + 1593) = 0; *((_BYTE *)this + 1592) = 0; } std::string::reserve((__int64 *)this + 199, 0); *((_QWORD *)this + 201) = v166; v42 = v165; *((_QWORD *)this + 199) = v164; *((_QWORD *)this + 200) = v42; DS_Dictionary::getStringForKey(&v164, a2, "k137"); if ( (*((_BYTE *)this + 1616) & 1) != 0 ) { **((_BYTE **)this + 204) = 0; *((_QWORD *)this + 203) = 0; } else { *((_BYTE *)this + 1617) = 0; *((_BYTE *)this + 1616) = 0; } std::string::reserve((__int64 *)this + 202, 0); *((_QWORD *)this + 204) = v166; v43 = v165; *((_QWORD *)this + 202) = v164; *((_QWORD *)this + 203) = v43; *((_DWORD *)this + 410) = DS_Dictionary::getIntegerForKey(a2, "k138"); *((_DWORD *)this + 411) = DS_Dictionary::getIntegerForKey(a2, "k139"); *((_DWORD *)this + 412) = DS_Dictionary::getIntegerForKey(a2, "k142"); *((_DWORD *)this + 413) = DS_Dictionary::getIntegerForKey(a2, "k143"); *((_DWORD *)this + 414) = DS_Dictionary::getIntegerForKey(a2, "k145"); DS_Dictionary::getStringForKey(&v164, a2, "k146"); if ( (*((_BYTE *)this + 1688) & 1) != 0 ) { **((_BYTE **)this + 213) = 0; *((_QWORD *)this + 212) = 0; } else { *((_BYTE *)this + 1689) = 0; *((_BYTE *)this + 1688) = 0; } std::string::reserve((__int64 *)this + 211, 0); *((_QWORD *)this + 213) = v166; v44 = v165; *((_QWORD *)this + 211) = v164; *((_QWORD *)this + 212) = v44; DS_Dictionary::getStringForKey(&v164, a2, "k140"); if ( (*((_BYTE *)this + 1720) & 1) != 0 ) { **((_BYTE **)this + 217) = 0; *((_QWORD *)this + 216) = 0; } else { *((_BYTE *)this + 1721) = 0; *((_BYTE *)this + 1720) = 0; } std::string::reserve((__int64 *)this + 215, 0); v45 = v166; *((_QWORD *)this + 217) = v166; v46 = v165; *((_QWORD *)this + 215) = v164; *((_QWORD *)this + 216) = v46; if ( *((int *)this + 384) <= 1 ) { if ( (*((_BYTE *)this + 1720) & 1) != 0 ) { *v45 = 0; *((_QWORD *)this + 216) = 0; } else { *((_BYTE *)this + 1721) = 0; *((_BYTE *)this + 1720) = 0; } } *((_BYTE *)this + 1744) = DS_Dictionary::getBoolForKey(a2, "k141"); } *((_DWORD *)this + 437) = 1000 - DS_Dictionary::getIntegerForKey(a2, "k151"); DS_Dictionary::getStringForKey(v137, a2, "k152"); v47 = v137[0] & 1; v48 = LOBYTE(v137[0]) >> 1; if ( (v137[0] & 1) != 0 ) v48 = v137[1]; if ( v48 ) { v49 = std::string::find((__int64)v137, 0x2Cu, 0); if ( v49 != -1 ) { v50 = v49 + 1; v51 = std::string::find((__int64)v137, 0x2Cu, v49 + 1); if ( v51 != -1 ) { if ( v47 ) { v52 = v138; *((_DWORD *)this + 438) = atoi(v138); } else { v52 = (char *)v137 + 1; *((_DWORD *)this + 438) = atoi((const char *)v137 + 1); } *((_DWORD *)this + 439) = atoi(&v52[v50]); std::string::basic_string(v139, (__int64)v137, v51 + 1, 0xFFFFFFFFFFFFFFFFLL); cocos2d::ZipUtils::decompressString(v140, v139, 0, 0); if ( (*((_BYTE *)this + 1760) & 1) != 0 ) { **((_BYTE **)this + 222) = 0; *((_QWORD *)this + 221) = 0; } else { *((_BYTE *)this + 1761) = 0; *((_BYTE *)this + 1760) = 0; } std::string::reserve((__int64 *)this + 220, 0); v53 = v140[0]; v54 = v140[1]; v55 = v139[0]; *((_QWORD *)this + 222) = v140[2]; *((_QWORD *)this + 220) = v53; *((_QWORD *)this + 221) = v54; if ( (v55 & 1) != 0 ) operator delete((void *)v139[2]); if ( std::string::find((__int64)this + 1760, 0x7Cu, 0) == -1 ) { if ( (*((_BYTE *)this + 1760) & 1) != 0 ) { **((_BYTE **)this + 222) = 0; *((_QWORD *)this + 221) = 0; } else { *((_BYTE *)this + 1761) = 0; *((_BYTE *)this + 1760) = 0; } } } } } DS_Dictionary::getStringForKey(v141, a2, "k147"); if ( (*((_BYTE *)this + 1784) & 1) != 0 ) { **((_BYTE **)this + 225) = 0; *((_QWORD *)this + 224) = 0; } else { *((_BYTE *)this + 1785) = 0; *((_BYTE *)this + 1784) = 0; } std::string::reserve((__int64 *)this + 223, 0); v56 = v141[0]; v57 = v141[1]; *((_QWORD *)this + 225) = v141[2]; *((_QWORD *)this + 223) = v56; *((_QWORD *)this + 224) = v57; *((_DWORD *)this + 452) = DS_Dictionary::getIntegerForKey(a2, "k148"); DS_Dictionary::getStringForKey(v142, a2, "k149"); if ( (*((_BYTE *)this + 1816) & 1) != 0 ) { **((_BYTE **)this + 229) = 0; *((_QWORD *)this + 228) = 0; } else { *((_BYTE *)this + 1817) = 0; *((_BYTE *)this + 1816) = 0; } std::string::reserve((__int64 *)this + 227, 0); v58 = v142[0]; v59 = v142[1]; *((_QWORD *)this + 229) = v142[2]; *((_QWORD *)this + 227) = v58; *((_QWORD *)this + 228) = v59; *((_DWORD *)this + 460) = DS_Dictionary::getIntegerForKey(a2, "k150"); *((_BYTE *)this + 1844) = DS_Dictionary::getBoolForKey(a2, "k153"); *((_DWORD *)this + 462) = DS_Dictionary::getIntegerForKey(a2, "k155"); *((_DWORD *)this + 359) = DS_Dictionary::getIntegerForKey(a2, "k125"); DS_Dictionary::getStringForKey(v143, a2, "k128"); if ( (*((_BYTE *)this + 1472) & 1) != 0 ) { **((_BYTE **)this + 186) = 0; *((_QWORD *)this + 185) = 0; } else { *((_BYTE *)this + 1473) = 0; *((_BYTE *)this + 1472) = 0; } std::string::reserve((__int64 *)this + 184, 0); v60 = v143[0]; v61 = v143[1]; *((_QWORD *)this + 186) = v143[2]; *((_QWORD *)this + 184) = v60; *((_QWORD *)this + 185) = v61; DS_Dictionary::getStringForKey(v144, a2, "k131"); if ( (*((_BYTE *)this + 1496) & 1) != 0 ) { **((_BYTE **)this + 189) = 0; *((_QWORD *)this + 188) = 0; } else { *((_BYTE *)this + 1497) = 0; *((_BYTE *)this + 1496) = 0; } std::string::reserve((__int64 *)this + 187, 0); v62 = v144[0]; v63 = v144[1]; *((_QWORD *)this + 189) = v144[2]; *((_QWORD *)this + 187) = v62; *((_QWORD *)this + 188) = v63; *((_DWORD *)this + 380) = DS_Dictionary::getIntegerForKey(a2, "k130"); *((_DWORD *)this + 381) = DS_Dictionary::getIntegerForKey(a2, "k132"); v64 = DS_Dictionary::getBoolForKey(a2, "k129"); v65 = *((unsigned __int8 *)this + 1105); *((_BYTE *)this + 1528) = v64; if ( v65 ) { v66 = *((_DWORD *)this + 285); if ( v66 != 1 ) goto LABEL_51; LABEL_105: *((_BYTE *)this + 1112) = DS_Dictionary::getBoolForKey(a2, "k38"); v118 = DS_Dictionary::getIntegerForKey(a2, "k37"); v119 = *((_DWORD *)this + 285); *((_DWORD *)this + 277) = v118; if ( v119 != 2 ) goto LABEL_52; goto LABEL_106; } DS_Dictionary::getStringForKey(v145, a2, "k2"); if ( (*((_BYTE *)this + 344) & 1) != 0 ) { **((_BYTE **)this + 45) = 0; *((_QWORD *)this + 44) = 0; } else { *((_BYTE *)this + 345) = 0; *((_BYTE *)this + 344) = 0; } std::string::reserve((__int64 *)this + 43, 0); v78 = v145[0]; v79 = v145[1]; *((_QWORD *)this + 45) = v145[2]; *((_QWORD *)this + 43) = v78; *((_QWORD *)this + 44) = v79; DS_Dictionary::getStringForKey(v146, a2, "k3"); if ( (*((_BYTE *)this + 368) & 1) != 0 ) { **((_BYTE **)this + 48) = 0; *((_QWORD *)this + 47) = 0; } else { *((_BYTE *)this + 369) = 0; *((_BYTE *)this + 368) = 0; } std::string::reserve((__int64 *)this + 46, 0); v80 = v146[0]; v81 = v146[1]; *((_QWORD *)this + 48) = v146[2]; *((_QWORD *)this + 46) = v80; *((_QWORD *)this + 47) = v81; DS_Dictionary::getStringForKey(v147, a2, "k4"); if ( (*((_BYTE *)this + 392) & 1) != 0 ) { **((_BYTE **)this + 51) = 0; *((_QWORD *)this + 50) = 0; } else { *((_BYTE *)this + 393) = 0; *((_BYTE *)this + 392) = 0; } std::string::reserve((__int64 *)this + 49, 0); v82 = v147[0]; v83 = v147[1]; *((_QWORD *)this + 51) = v147[2]; *((_QWORD *)this + 49) = v82; *((_QWORD *)this + 50) = v83; DS_Dictionary::getStringForKey(v148, a2, "k5"); if ( (*((_BYTE *)this + 416) & 1) != 0 ) { **((_BYTE **)this + 54) = 0; *((_QWORD *)this + 53) = 0; } else { *((_BYTE *)this + 417) = 0; *((_BYTE *)this + 416) = 0; } std::string::reserve((__int64 *)this + 52, 0); v84 = v148[0]; v85 = v148[1]; *((_QWORD *)this + 54) = v148[2]; *((_QWORD *)this + 52) = v84; *((_QWORD *)this + 53) = v85; *((_DWORD *)this + 308) = DS_Dictionary::getIntegerForKey(a2, "k95"); *((_DWORD *)this + 128) = DS_Dictionary::getIntegerForKey(a2, "k98"); *((_DWORD *)this + 129) = DS_Dictionary::getIntegerForKey(a2, "k99"); DS_Dictionary::getStringForKey(v149, a2, "k91"); if ( (*((_BYTE *)this + 520) & 1) != 0 ) { **((_BYTE **)this + 67) = 0; *((_QWORD *)this + 66) = 0; } else { *((_BYTE *)this + 521) = 0; *((_BYTE *)this + 520) = 0; } std::string::reserve((__int64 *)this + 65, 0); v86 = v149[0]; v87 = v149[1]; *((_QWORD *)this + 67) = v149[2]; *((_QWORD *)this + 65) = v86; *((_QWORD *)this + 66) = v87; DS_Dictionary::getStringForKey(v150, a2, "k101"); if ( (*((_BYTE *)this + 544) & 1) != 0 ) { **((_BYTE **)this + 70) = 0; *((_QWORD *)this + 69) = 0; } else { *((_BYTE *)this + 545) = 0; *((_BYTE *)this + 544) = 0; } std::string::reserve((__int64 *)this + 68, 0); v88 = v150[0]; v89 = v150[1]; *((_QWORD *)this + 70) = v150[2]; *((_QWORD *)this + 68) = v88; *((_QWORD *)this + 69) = v89; v90 = (float)(int)DS_Dictionary::getIntegerForKey(a2, "k102"); v91 = DS_Dictionary::getIntegerForKey(a2, "k103"); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v136, v90, (float)v91); cocos2d::CCPoint::operator=((char *)this + 568, v136); *((_DWORD *)this + 241) = DS_Dictionary::getIntegerForKey(a2, "k64"); v92 = (unsigned __int8)DS_Dictionary::getBoolForKey(a2, "k65"); *((_DWORD *)this + 244) = v92; v93 = (int)(float)((float)((float)rand() * 4.6566e-10) * 1000.0); *((_DWORD *)this + 243) = v93; *((_DWORD *)this + 242) = v92 + v93; v94 = DS_Dictionary::getIntegerForKey(a2, "k6"); *((_DWORD *)this + 146) = v94; v95 = v94; v96 = (int)(float)((float)((float)rand() * 4.6566e-10) * 1000.0); *((_DWORD *)this + 145) = v96; *((_DWORD *)this + 144) = v95 + v96; v97 = DS_Dictionary::getIntegerForKey(a2, "k60"); *((_DWORD *)this + 149) = v97; v98 = v97; v99 = (int)(float)((float)((float)rand() * 4.6566e-10) * 1000.0); *((_DWORD *)this + 148) = v99; *((_DWORD *)this + 147) = v98 + v99; *((_DWORD *)this + 150) = DS_Dictionary::getIntegerForKey(a2, "k7"); *((_DWORD *)this + 151) = DS_Dictionary::getIntegerForKey(a2, "k8"); *((_DWORD *)this + 159) = DS_Dictionary::getIntegerForKey(a2, "k9"); *((_DWORD *)this + 160) = DS_Dictionary::getIntegerForKey(a2, "k10"); *((_DWORD *)this + 161) = DS_Dictionary::getIntegerForKey(a2, "k11"); *((_BYTE *)this + 648) = DS_Dictionary::getBoolForKey(a2, "k13"); v100 = DS_Dictionary::getBoolForKey(a2, "k14"); *((_BYTE *)this + 784) = v100; v101 = v100; v102 = (int)(float)((float)((float)rand() * 4.6566e-10) * 1000.0); *((_DWORD *)this + 195) = v102; *((_DWORD *)this + 194) = v102 + v101; *((_BYTE *)this + 785) = DS_Dictionary::getBoolForKey(a2, "k15"); *((_DWORD *)this + 223) = DS_Dictionary::getIntegerForKey(a2, "k22"); *((_DWORD *)this + 224) = DS_Dictionary::getIntegerForKey(a2, "k24"); *((_DWORD *)this + 285) = DS_Dictionary::getIntegerForKey(a2, "k21"); *((_DWORD *)this + 197) = DS_Dictionary::getIntegerForKey(a2, "k16"); *((_DWORD *)this + 198) = DS_Dictionary::getIntegerForKey(a2, "k17"); *((_DWORD *)this + 226) = DS_Dictionary::getIntegerForKey(a2, "k27"); v103 = DS_Dictionary::getIntegerForKey(a2, "k75"); *((_DWORD *)this + 227) = v103; if ( !v103 ) *((_DWORD *)this + 227) = (unsigned __int8)DS_Dictionary::getBoolForKey(a2, "k75"); *((_BYTE *)this + 960) = DS_Dictionary::getBoolForKey(a2, "k33"); *((_BYTE *)this + 616) = DS_Dictionary::getBoolForKey(a2, "k79"); *((_BYTE *)this + 617) = DS_Dictionary::getBoolForKey(a2, "k94"); v104 = DS_Dictionary::getIntegerForKey(a2, "k41"); v105 = (int)(float)((float)((float)rand() * 4.6566e-10) * 1000.0); *((_DWORD *)this + 246) = v105; *((_DWORD *)this + 245) = v104 + v105; v106 = DS_Dictionary::getIntegerForKey(a2, "k42"); *((_DWORD *)this + 249) = v106; v107 = v106; v108 = (int)(float)((float)((float)rand() * 4.6566e-10) * 1000.0); *((_DWORD *)this + 248) = v108; *((_DWORD *)this + 247) = v107 + v108; *((_BYTE *)this + 1000) = DS_Dictionary::getBoolForKey(a2, "k43"); *((_DWORD *)this + 152) = DS_Dictionary::getIntegerForKey(a2, "k45"); *((_DWORD *)this + 153) = DS_Dictionary::getIntegerForKey(a2, "k46"); *((_BYTE *)this + 786) = DS_Dictionary::getBoolForKey(a2, "k47"); v109 = DS_Dictionary::getIntegerForKey(a2, "k48"); *((_DWORD *)this + 157) = v109; v110 = v109; v111 = (int)(float)((float)((float)rand() * 4.6566e-10) * 1000.0); *((_DWORD *)this + 156) = v111; *((_DWORD *)this + 155) = v110 + v111; DS_Dictionary::getStringForKey(v151, a2, "k67"); if ( (*((_BYTE *)this + 1176) & 1) != 0 ) { **((_BYTE **)this + 149) = 0; *((_QWORD *)this + 148) = 0; } else { *((_BYTE *)this + 1177) = 0; *((_BYTE *)this + 1176) = 0; } std::string::reserve((__int64 *)this + 147, 0); v112 = v151[0]; v113 = v151[1]; *((_QWORD *)this + 149) = v151[2]; *((_QWORD *)this + 147) = v112; *((_QWORD *)this + 148) = v113; *((_DWORD *)this + 261) = DS_Dictionary::getIntegerForKey(a2, "k66"); *((_BYTE *)this + 1200) = DS_Dictionary::getBoolForKey(a2, "k69"); *((_BYTE *)this + 1201) = DS_Dictionary::getBoolForKey(a2, "k93"); *((_DWORD *)this + 163) = DS_Dictionary::getIntegerForKey(a2, "k80"); *((_DWORD *)this + 164) = DS_Dictionary::getIntegerForKey(a2, "k81"); DS_Dictionary::getStringForKey(v152, a2, "k156"); EditorBuildStats::fromString((__int64)this + 664, (char *)v152); if ( (v152[0] & 1) != 0 ) operator delete((void *)v152[2]); *((_BYTE *)this + 768) = DS_Dictionary::getBoolForKey(a2, "k72"); *((_BYTE *)this + 769) = DS_Dictionary::getBoolForKey(a2, "k73"); *((_BYTE *)this + 770) = DS_Dictionary::getBoolForKey(a2, "k112"); *((_DWORD *)this + 158) = DS_Dictionary::getIntegerForKey(a2, "k83"); DS_Dictionary::getStringForKey(v153, a2, "k104"); if ( (*((_BYTE *)this + 1240) & 1) != 0 ) { **((_BYTE **)this + 157) = 0; *((_QWORD *)this + 156) = 0; } else { *((_BYTE *)this + 1241) = 0; *((_BYTE *)this + 1240) = 0; } std::string::reserve((__int64 *)this + 155, 0); *((_QWORD *)this + 157) = v153[2]; v114 = v153[1]; *((_QWORD *)this + 155) = v153[0]; *((_QWORD *)this + 156) = v114; DS_Dictionary::getStringForKey(v154, a2, "k105"); if ( (*((_BYTE *)this + 1264) & 1) != 0 ) { **((_BYTE **)this + 160) = 0; *((_QWORD *)this + 159) = 0; } else { *((_BYTE *)this + 1265) = 0; *((_BYTE *)this + 1264) = 0; } std::string::reserve((__int64 *)this + 158, 0); v115 = v154[0]; v116 = v154[1]; *((_QWORD *)this + 160) = v154[2]; *((_QWORD *)this + 158) = v115; *((_QWORD *)this + 159) = v116; v117 = DS_Dictionary::getIntegerForKey(a2, "k106"); v66 = *((_DWORD *)this + 285); *((_DWORD *)this + 322) = v117; if ( v66 == 1 ) goto LABEL_105; LABEL_51: if ( v66 != 2 ) goto LABEL_52; LABEL_106: DS_Dictionary::getFloatForKey(a2, "kI1"); v121 = v120; DS_Dictionary::getFloatForKey(a2, "kI2"); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v136, v121, v122); cocos2d::CCPoint::operator=((char *)this + 1116, v136); DS_Dictionary::getFloatForKey(a2, "kI3"); *((_DWORD *)this + 281) = v123; *((_DWORD *)this + 283) = DS_Dictionary::getIntegerForKey(a2, "kI4"); *((_DWORD *)this + 282) = DS_Dictionary::getIntegerForKey(a2, "kI5"); *((_DWORD *)this + 284) = DS_Dictionary::getIntegerForKey(a2, "kI7"); DictForKey = (cocos2d::CCObject *)DS_Dictionary::getDictForKey(a2, "kI6", 0); v125 = *((cocos2d::CCObject **)this + 40); v126 = DictForKey; if ( DictForKey != v125 ) { if ( DictForKey ) { cocos2d::CCObject::retain(DictForKey); v125 = *((cocos2d::CCObject **)this + 40); } if ( v125 ) cocos2d::CCObject::release(v125); *((_QWORD *)this + 40) = v126; } v127 = (unsigned __int8)DS_Dictionary::getBoolForKey(a2, "k61"); *((_DWORD *)this + 254) = v127; v128 = (int)(float)((float)((float)rand() * 4.6566e-10) * 1000.0); *((_DWORD *)this + 253) = v128; *((_DWORD *)this + 252) = v127 + v128; v129 = (unsigned __int8)DS_Dictionary::getBoolForKey(a2, "k62"); *((_DWORD *)this + 257) = v129; v130 = (int)(float)((float)((float)rand() * 4.6566e-10) * 1000.0); *((_DWORD *)this + 256) = v130; *((_DWORD *)this + 255) = v129 + v130; v131 = (unsigned __int8)DS_Dictionary::getBoolForKey(a2, "k63"); *((_DWORD *)this + 260) = v131; v132 = (int)(float)((float)((float)rand() * 4.6566e-10) * 1000.0); *((_DWORD *)this + 259) = v132; *((_DWORD *)this + 258) = v131 + v132; DS_Dictionary::getStringForKey(v155, a2, "k34"); if ( (*((_BYTE *)this + 440) & 1) != 0 ) { **((_BYTE **)this + 57) = 0; *((_QWORD *)this + 56) = 0; } else { *((_BYTE *)this + 441) = 0; *((_BYTE *)this + 440) = 0; } std::string::reserve((__int64 *)this + 55, 0); *((_QWORD *)this + 57) = v155[2]; v133 = v155[1]; *((_QWORD *)this + 55) = v155[0]; *((_QWORD *)this + 56) = v133; DS_Dictionary::getStringForKey(v156, a2, "k126"); if ( (*((_BYTE *)this + 1440) & 1) != 0 ) { **((_BYTE **)this + 182) = 0; *((_QWORD *)this + 181) = 0; } else { *((_BYTE *)this + 1441) = 0; *((_BYTE *)this + 1440) = 0; } std::string::reserve((__int64 *)this + 180, 0); v134 = v156[0]; v135 = v156[1]; *((_QWORD *)this + 182) = v156[2]; *((_QWORD *)this + 180) = v134; *((_QWORD *)this + 181) = v135; *((_DWORD *)this + 366) = DS_Dictionary::getIntegerForKey(a2, "k127"); GJGameLevel::generateAutoSaveUID(v157, this); if ( (v157[0] & 1) != 0 ) operator delete((void *)v157[2]); LABEL_52: v67 = DS_Dictionary::getIntegerForKey(a2, "k50"); if ( v67 <= 14 ) { v158[0] = 0; v158[1] = 0; v159 = nullptr; std::string::__init(v158, &byte_11B8890, 0); v76 = sub_7FEA60((__int64)this + 392, (__int64)v158); if ( (v158[0] & 1) != 0 ) { operator delete(v159); if ( v76 ) goto LABEL_64; } else if ( v76 ) { goto LABEL_64; } if ( *((_DWORD *)this + 285) != 2 ) { std::string::assign((__int64 *)this + 49, &byte_11B8890); v77 = *((_BYTE *)this + 368); v71 = (char *)this + 368; v161 = 0; v162 = 0; v163 = nullptr; if ( (v77 & 1) == 0 ) goto LABEL_65; goto LABEL_126; } cocos2d::ZipUtils::compressString(v160, (_DWORD)this + 392, 0, -1); if ( (*((_BYTE *)this + 392) & 1) != 0 ) { **((_BYTE **)this + 51) = 0; *((_QWORD *)this + 50) = 0; } else { *((_BYTE *)this + 393) = 0; *((_BYTE *)this + 392) = 0; } std::string::reserve((__int64 *)this + 49, 0); *((_QWORD *)this + 51) = v160[2]; v69 = v160[1]; *((_QWORD *)this + 49) = v160[0]; *((_QWORD *)this + 50) = v69; } else if ( v67 > 26 ) { goto LABEL_54; } LABEL_64: v70 = *((_BYTE *)this + 368); v71 = (char *)this + 368; v161 = 0; v162 = 0; v163 = nullptr; if ( (v70 & 1) == 0 ) { LABEL_65: v72 = *(_QWORD *)v71; v73 = *((_QWORD *)v71 + 1); v163 = *((void **)v71 + 2); v161 = v72; v162 = v73; goto LABEL_66; } LABEL_126: std::string::__init(&v161, *((void **)v71 + 2), *((_QWORD *)v71 + 1)); LABEL_66: LevelTools::base64EncodeString((__int64)&v161, &v164); if ( (*((_BYTE *)this + 368) & 1) != 0 ) { **((_BYTE **)v71 + 2) = 0; *((_QWORD *)v71 + 1) = 0; } else { *((_BYTE *)this + 369) = 0; *((_BYTE *)this + 368) = 0; } std::string::reserve((__int64 *)v71, 0); *((_QWORD *)v71 + 2) = v166; v74 = v161; v75 = v165; *(_QWORD *)v71 = v164; *((_QWORD *)v71 + 1) = v75; if ( (v74 & 1) != 0 ) operator delete(v163); LABEL_54: if ( (v137[0] & 1) != 0 ) operator delete(v138); return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source