// // GJGameLevel::dataLoaded from 0x4cb0a0 to 0x4cc558 (5304 bytes) // // 2 xrefs: // > GJGameLevel::createWithCoder @ 0x4cc594 // > GJGameLevel::createFromFullSaveString @ 0x4cc5d8 // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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:50:39 +0000 // int __fastcall GJGameLevel::dataLoaded(GJGameLevel *this, DS_Dictionary *a2) { int IntegerForKey; // r0 int v5; // r0 int v6; // r0 int v7; // r0 int v8; // r0 int v9; // r0 int v10; // r0 int v11; // r0 int BoolForKey; // r0 int v13; // r0 int v14; // r0 int v15; // r1 int v16; // r2 int v17; // r0 int v18; // r1 int v19; // r2 int v20; // r0 int v21; // r1 int v22; // r2 int v23; // r0 int v24; // r1 int v25; // r2 int v26; // r0 int v27; // r0 int v28; // r1 int v29; // r2 int v30; // r0 int v31; // r1 int v32; // r2 int v33; // r0 int v34; // r1 int v35; // r2 int v36; // r0 int v37; // r1 int v38; // r2 int v39; // r0 int v40; // r1 int v41; // r2 int v42; // r0 int v43; // r1 int v44; // r2 int v45; // r10 int v46; // r3 int v47; // r0 int v48; // r11 int v49; // r9 const char *v50; // r0 char *v51; // r0 int v52; // r0 int v53; // r1 int v54; // r2 int v55; // r0 int v56; // r1 int v57; // r2 int v58; // r0 int v59; // r1 int v60; // r2 int v61; // r0 int v62; // r1 int v63; // r2 int v64; // r0 int v65; // r1 int v66; // r2 char v67; // r0 int v68; // r3 int v69; // r0 int v70; // r1 int v71; // r2 int v72; // r0 int v73; // r1 int v74; // r2 int v75; // r0 int v76; // r1 int v77; // r2 int v78; // r0 int v79; // r1 int v80; // r2 int v81; // r0 int v82; // r1 int v83; // r2 int v84; // r0 int v85; // r1 int v86; // r2 float v87; // s16 int v88; // r0 int v89; // r0 int v90; // r0 int v91; // r0 int v92; // r0 int v93; // r9 int v94; // s15 int v95; // r0 int v96; // r0 int v97; // r0 int v98; // r0 int v99; // r0 int v100; // r1 int v101; // r2 int v102; // r0 int v103; // r1 int v104; // r2 int v105; // r0 int v106; // r1 int v107; // r2 float v108; // r11 float v109; // r0 cocos2d::CCObject *DictForKey; // r0 cocos2d::CCObject *v111; // r9 cocos2d::CCObject *v112; // r0 int v113; // r0 int v114; // r9 int v115; // s15 int v116; // r0 int v117; // r9 int v118; // s15 int v119; // r0 int v120; // r9 int v121; // s15 int v122; // r0 int v123; // r1 int v124; // r2 int v125; // r0 int v126; // r1 int v127; // r2 int v128; // r0 _BOOL4 v129; // r10 int v130; // r0 int v131; // r1 int v132; // r2 int v133; // r1 int v134; // r2 _BYTE v136[8]; // [sp+14h] [bp-130h] BYREF unsigned __int8 v137; // [sp+1Ch] [bp-128h] BYREF char v138[3]; // [sp+1Dh] [bp-127h] BYREF int v139; // [sp+20h] [bp-124h] char *v140; // [sp+24h] [bp-120h] int v141[3]; // [sp+28h] [bp-11Ch] BYREF int v142; // [sp+34h] [bp-110h] BYREF int v143; // [sp+38h] [bp-10Ch] int v144; // [sp+3Ch] [bp-108h] int v145; // [sp+40h] [bp-104h] BYREF int v146; // [sp+44h] [bp-100h] int v147; // [sp+48h] [bp-FCh] int v148; // [sp+4Ch] [bp-F8h] BYREF int v149; // [sp+50h] [bp-F4h] int v150; // [sp+54h] [bp-F0h] int v151; // [sp+58h] [bp-ECh] BYREF int v152; // [sp+5Ch] [bp-E8h] int v153; // [sp+60h] [bp-E4h] int v154; // [sp+64h] [bp-E0h] BYREF int v155; // [sp+68h] [bp-DCh] int v156; // [sp+6Ch] [bp-D8h] int v157; // [sp+70h] [bp-D4h] BYREF int v158; // [sp+74h] [bp-D0h] int v159; // [sp+78h] [bp-CCh] int v160; // [sp+7Ch] [bp-C8h] BYREF int v161; // [sp+80h] [bp-C4h] int v162; // [sp+84h] [bp-C0h] int v163; // [sp+88h] [bp-BCh] BYREF int v164; // [sp+8Ch] [bp-B8h] int v165; // [sp+90h] [bp-B4h] int v166; // [sp+94h] [bp-B0h] BYREF int v167; // [sp+98h] [bp-ACh] int v168; // [sp+9Ch] [bp-A8h] int v169; // [sp+A0h] [bp-A4h] BYREF int v170; // [sp+A4h] [bp-A0h] int v171; // [sp+A8h] [bp-9Ch] int v172; // [sp+ACh] [bp-98h] BYREF int v173; // [sp+B0h] [bp-94h] int v174; // [sp+B4h] [bp-90h] int v175; // [sp+B8h] [bp-8Ch] BYREF int v176; // [sp+BCh] [bp-88h] int v177; // [sp+C0h] [bp-84h] _BYTE v178[12]; // [sp+C4h] [bp-80h] BYREF int v179; // [sp+D0h] [bp-74h] BYREF int v180; // [sp+D4h] [bp-70h] int v181; // [sp+D8h] [bp-6Ch] int v182; // [sp+DCh] [bp-68h] BYREF int v183; // [sp+E0h] [bp-64h] int v184; // [sp+E4h] [bp-60h] int v185; // [sp+E8h] [bp-5Ch] BYREF int v186; // [sp+ECh] [bp-58h] int v187; // [sp+F0h] [bp-54h] int v188; // [sp+F4h] [bp-50h] BYREF int v189; // [sp+F8h] [bp-4Ch] int v190; // [sp+FCh] [bp-48h] _BYTE v191[12]; // [sp+100h] [bp-44h] BYREF int v192[3]; // [sp+10Ch] [bp-38h] BYREF int v193; // [sp+118h] [bp-2Ch] BYREF int v194; // [sp+11Ch] [bp-28h] int v195; // [sp+120h] [bp-24h] int v196[3]; // [sp+124h] [bp-20h] BYREF int v197; // [sp+130h] [bp-14h] BYREF int v198; // [sp+134h] [bp-10h] int v199; // [sp+138h] [bp-Ch] *((_BYTE *)this + 917) = DS_Dictionary::getBoolForKey(a2, "k35"); IntegerForKey = DS_Dictionary::getIntegerForKey(a2, "k1"); GJGameLevel::setLevelID(this, IntegerForKey); v5 = DS_Dictionary::getIntegerForKey(a2, "k18"); GJGameLevel::setAttempts(this, v5); *((_DWORD *)this + 296) = DS_Dictionary::getIntegerForKey(a2, "k154"); v6 = DS_Dictionary::getIntegerForKey(a2, "k19"); GJGameLevel::setNormalPercent(this, v6); v7 = DS_Dictionary::getIntegerForKey(a2, "k71"); GJGameLevel::setNewNormalPercent(this, v7); v8 = DS_Dictionary::getIntegerForKey(a2, "k90"); GJGameLevel::setNewNormalPercent2(this, v8); *((_DWORD *)this + 178) = DS_Dictionary::getIntegerForKey(a2, "k20"); v9 = DS_Dictionary::getIntegerForKey(a2, "k36"); GJGameLevel::setJumps(this, v9); v10 = DS_Dictionary::getIntegerForKey(a2, "k85"); GJGameLevel::setClicks(this, v10); v11 = DS_Dictionary::getIntegerForKey(a2, "k86"); GJGameLevel::setAttemptTime(this, v11); *((_DWORD *)this + 167) = DS_Dictionary::getIntegerForKey(a2, "k87"); DS_Dictionary::getStringForKey((DS_Dictionary *)&v197, (const char *)a2); std::string::operator=((unsigned __int8 *)this + 988, (unsigned __int8 *)&v197); std::string::~string((int)&v197); *((_BYTE *)this + 672) = DS_Dictionary::getBoolForKey(a2, "k89"); *((_DWORD *)this + 181) = DS_Dictionary::getIntegerForKey(a2, "k23"); BoolForKey = DS_Dictionary::getBoolForKey(a2, "k25"); GJGameLevel::setDemon(this, BoolForKey); *((_DWORD *)this + 192) = DS_Dictionary::getIntegerForKey(a2, "k76"); v13 = DS_Dictionary::getIntegerForKey(a2, "k26"); GJGameLevel::setStars(this, v13); v14 = DS_Dictionary::getIntegerForKey(a2, "k74"); GJGameLevel::setDailyID(this, v14); *((_BYTE *)this + 673) = DS_Dictionary::getBoolForKey(a2, "k68"); *((_BYTE *)this + 477) = DS_Dictionary::getBoolForKey(a2, "k77"); *((_BYTE *)this + 478) = DS_Dictionary::getBoolForKey(a2, "k78"); *((_BYTE *)this + 736) = DS_Dictionary::getBoolForKey(a2, "k82"); *((_DWORD *)this + 185) = DS_Dictionary::getIntegerForKey(a2, "k84"); *((_DWORD *)this + 260) = DS_Dictionary::getIntegerForKey(a2, "k107"); *((_DWORD *)this + 261) = DS_Dictionary::getIntegerForKey(a2, "k115"); *((_DWORD *)this + 262) = DS_Dictionary::getIntegerForKey(a2, "k117"); *((_DWORD *)this + 263) = DS_Dictionary::getIntegerForKey(a2, "k121"); DS_Dictionary::getStringForKey((DS_Dictionary *)&v197, (const char *)a2); if ( (*((_BYTE *)this + 1056) & 1) != 0 ) { **((_BYTE **)this + 266) = 0; *((_DWORD *)this + 265) = 0; } else { *((_BYTE *)this + 1057) = 0; *((_BYTE *)this + 1056) = 0; } std::string::reserve((int *)this + 264, 0); v15 = v198; v16 = v199; *((_DWORD *)this + 264) = v197; *((_DWORD *)this + 265) = v15; *((_DWORD *)this + 266) = v16; v197 = 0; v198 = 0; v199 = 0; std::string::~string((int)&v197); *((_DWORD *)this + 267) = DS_Dictionary::getIntegerForKey(a2, "k108"); *((_DWORD *)this + 268) = DS_Dictionary::getIntegerForKey(a2, "k116"); *((_DWORD *)this + 269) = DS_Dictionary::getIntegerForKey(a2, "k118"); *((_DWORD *)this + 270) = DS_Dictionary::getIntegerForKey(a2, "k122"); DS_Dictionary::getStringForKey((DS_Dictionary *)&v197, (const char *)a2); if ( (*((_BYTE *)this + 1084) & 1) != 0 ) { **((_BYTE **)this + 273) = 0; *((_DWORD *)this + 272) = 0; } else { *((_BYTE *)this + 1085) = 0; *((_BYTE *)this + 1084) = 0; } std::string::reserve((int *)this + 271, 0); v17 = v197; v18 = v198; v19 = v199; v197 = 0; v198 = 0; v199 = 0; *((_DWORD *)this + 271) = v17; *((_DWORD *)this + 272) = v18; *((_DWORD *)this + 273) = v19; std::string::~string((int)&v197); *((_DWORD *)this + 274) = DS_Dictionary::getIntegerForKey(a2, "k111"); *((_BYTE *)this + 1124) = DS_Dictionary::getBoolForKey(a2, "k123"); *((_BYTE *)this + 1125) = DS_Dictionary::getBoolForKey(a2, "k124"); DS_Dictionary::getStringForKey((DS_Dictionary *)&v197, (const char *)a2); if ( (*((_BYTE *)this + 1100) & 1) != 0 ) { **((_BYTE **)this + 277) = 0; *((_DWORD *)this + 276) = 0; } else { *((_BYTE *)this + 1101) = 0; *((_BYTE *)this + 1100) = 0; } std::string::reserve((int *)this + 275, 0); v20 = v197; v21 = v198; v22 = v199; v197 = 0; v198 = 0; v199 = 0; *((_DWORD *)this + 275) = v20; *((_DWORD *)this + 276) = v21; *((_DWORD *)this + 277) = v22; std::string::~string((int)&v197); DS_Dictionary::getStringForKey((DS_Dictionary *)&v197, (const char *)a2); if ( (*((_BYTE *)this + 1112) & 1) != 0 ) { **((_BYTE **)this + 280) = 0; *((_DWORD *)this + 279) = 0; } else { *((_BYTE *)this + 1113) = 0; *((_BYTE *)this + 1112) = 0; } std::string::reserve((int *)this + 278, 0); v23 = v197; v24 = v198; v25 = v199; v197 = 0; v198 = 0; v199 = 0; *((_DWORD *)this + 278) = v23; *((_DWORD *)this + 279) = v24; *((_DWORD *)this + 280) = v25; std::string::~string((int)&v197); v26 = DS_Dictionary::getIntegerForKey(a2, "k133"); *((_DWORD *)this + 297) = v26; if ( v26 > 0 ) { DS_Dictionary::getStringForKey((DS_Dictionary *)&v197, (const char *)a2); if ( (*((_BYTE *)this + 1192) & 1) != 0 ) { **((_BYTE **)this + 300) = 0; *((_DWORD *)this + 299) = 0; } else { *((_BYTE *)this + 1193) = 0; *((_BYTE *)this + 1192) = 0; } std::string::reserve((int *)this + 298, 0); v27 = v197; v28 = v198; v29 = v199; v197 = 0; v198 = 0; v199 = 0; *((_DWORD *)this + 298) = v27; *((_DWORD *)this + 299) = v28; *((_DWORD *)this + 300) = v29; std::string::~string((int)&v197); DS_Dictionary::getStringForKey((DS_Dictionary *)&v197, (const char *)a2); if ( (*((_BYTE *)this + 1204) & 1) != 0 ) { **((_BYTE **)this + 303) = 0; *((_DWORD *)this + 302) = 0; } else { *((_BYTE *)this + 1205) = 0; *((_BYTE *)this + 1204) = 0; } std::string::reserve((int *)this + 301, 0); v30 = v197; v31 = v198; v32 = v199; v197 = 0; v198 = 0; v199 = 0; *((_DWORD *)this + 301) = v30; *((_DWORD *)this + 302) = v31; *((_DWORD *)this + 303) = v32; std::string::~string((int)&v197); DS_Dictionary::getStringForKey((DS_Dictionary *)&v197, (const char *)a2); if ( (*((_BYTE *)this + 1216) & 1) != 0 ) { **((_BYTE **)this + 306) = 0; *((_DWORD *)this + 305) = 0; } else { *((_BYTE *)this + 1217) = 0; *((_BYTE *)this + 1216) = 0; } std::string::reserve((int *)this + 304, 0); v33 = v197; v34 = v198; v35 = v199; v197 = 0; v198 = 0; v199 = 0; *((_DWORD *)this + 304) = v33; *((_DWORD *)this + 305) = v34; *((_DWORD *)this + 306) = v35; std::string::~string((int)&v197); DS_Dictionary::getStringForKey((DS_Dictionary *)&v197, (const char *)a2); if ( (*((_BYTE *)this + 1228) & 1) != 0 ) { **((_BYTE **)this + 309) = 0; *((_DWORD *)this + 308) = 0; } else { *((_BYTE *)this + 1229) = 0; *((_BYTE *)this + 1228) = 0; } std::string::reserve((int *)this + 307, 0); v36 = v197; v37 = v198; v38 = v199; v197 = 0; v198 = 0; v199 = 0; *((_DWORD *)this + 307) = v36; *((_DWORD *)this + 308) = v37; *((_DWORD *)this + 309) = v38; std::string::~string((int)&v197); *((_DWORD *)this + 310) = DS_Dictionary::getIntegerForKey(a2, "k138"); *((_DWORD *)this + 311) = DS_Dictionary::getIntegerForKey(a2, "k139"); *((_DWORD *)this + 312) = DS_Dictionary::getIntegerForKey(a2, "k142"); *((_DWORD *)this + 313) = DS_Dictionary::getIntegerForKey(a2, "k143"); *((_DWORD *)this + 314) = DS_Dictionary::getIntegerForKey(a2, "k145"); DS_Dictionary::getStringForKey((DS_Dictionary *)&v197, (const char *)a2); if ( (*((_BYTE *)this + 1272) & 1) != 0 ) { **((_BYTE **)this + 320) = 0; *((_DWORD *)this + 319) = 0; } else { *((_BYTE *)this + 1273) = 0; *((_BYTE *)this + 1272) = 0; } std::string::reserve((int *)this + 318, 0); v39 = v197; v40 = v198; v41 = v199; v197 = 0; v198 = 0; v199 = 0; *((_DWORD *)this + 318) = v39; *((_DWORD *)this + 319) = v40; *((_DWORD *)this + 320) = v41; std::string::~string((int)&v197); DS_Dictionary::getStringForKey((DS_Dictionary *)&v197, (const char *)a2); if ( (*((_BYTE *)this + 1288) & 1) != 0 ) { **((_BYTE **)this + 324) = 0; *((_DWORD *)this + 323) = 0; } else { *((_BYTE *)this + 1289) = 0; *((_BYTE *)this + 1288) = 0; } std::string::reserve((int *)this + 322, 0); v42 = v197; v43 = v198; v44 = v199; v197 = 0; v198 = 0; v199 = 0; *((_DWORD *)this + 322) = v42; *((_DWORD *)this + 323) = v43; *((_DWORD *)this + 324) = v44; std::string::~string((int)&v197); if ( *((int *)this + 297) <= 1 ) { if ( (*((_BYTE *)this + 1288) & 1) != 0 ) { **((_BYTE **)this + 324) = 0; *((_DWORD *)this + 323) = 0; } else { *((_BYTE *)this + 1289) = 0; *((_BYTE *)this + 1288) = 0; } } *((_BYTE *)this + 1300) = DS_Dictionary::getBoolForKey(a2, "k141"); } *((_DWORD *)this + 326) = 1000 - DS_Dictionary::getIntegerForKey(a2, "k151"); DS_Dictionary::getStringForKey((DS_Dictionary *)&v137, (const char *)a2); v45 = v137 & 1; if ( v45 ) v46 = v139; else v46 = (int)v137 >> 1; if ( v46 ) { v47 = std::string::find(&v137, 44, 0); if ( v47 != -1 ) { v48 = v47 + 1; v49 = std::string::find(&v137, 44, v47 + 1); if ( v49 != -1 ) { v50 = v45 ? v140 : v138; *((_DWORD *)this + 327) = atoi(v50); v51 = v45 ? v140 : v138; *((_DWORD *)this + 328) = atoi(&v51[v48]); std::string::basic_string(v141, &v137, v49 + 1, 0xFFFFFFFF); cocos2d::ZipUtils::decompressString(&v142, v141, 0, 0); if ( (*((_BYTE *)this + 1316) & 1) != 0 ) { **((_BYTE **)this + 331) = 0; *((_DWORD *)this + 330) = 0; } else { *((_BYTE *)this + 1317) = 0; *((_BYTE *)this + 1316) = 0; } std::string::reserve((int *)this + 329, 0); v52 = v142; v53 = v143; v54 = v144; v142 = 0; v143 = 0; v144 = 0; *((_DWORD *)this + 329) = v52; *((_DWORD *)this + 330) = v53; *((_DWORD *)this + 331) = v54; std::string::~string((int)&v142); std::string::~string((int)v141); if ( std::string::find((unsigned __int8 *)this + 1316, 124, 0) == -1 ) { if ( (*((_BYTE *)this + 1316) & 1) != 0 ) { **((_BYTE **)this + 331) = 0; *((_DWORD *)this + 330) = 0; } else { *((_BYTE *)this + 1317) = 0; *((_BYTE *)this + 1316) = 0; } } } } } DS_Dictionary::getStringForKey((DS_Dictionary *)&v145, (const char *)a2); if ( (*((_BYTE *)this + 1328) & 1) != 0 ) { **((_BYTE **)this + 334) = 0; *((_DWORD *)this + 333) = 0; } else { *((_BYTE *)this + 1329) = 0; *((_BYTE *)this + 1328) = 0; } std::string::reserve((int *)this + 332, 0); v55 = v145; v56 = v146; v57 = v147; v145 = 0; v146 = 0; v147 = 0; *((_DWORD *)this + 332) = v55; *((_DWORD *)this + 333) = v56; *((_DWORD *)this + 334) = v57; std::string::~string((int)&v145); *((_DWORD *)this + 335) = DS_Dictionary::getIntegerForKey(a2, "k148"); DS_Dictionary::getStringForKey((DS_Dictionary *)&v148, (const char *)a2); if ( (*((_BYTE *)this + 1344) & 1) != 0 ) { **((_BYTE **)this + 338) = 0; *((_DWORD *)this + 337) = 0; } else { *((_BYTE *)this + 1345) = 0; *((_BYTE *)this + 1344) = 0; } std::string::reserve((int *)this + 336, 0); v58 = v148; v59 = v149; v60 = v150; v148 = 0; v149 = 0; v150 = 0; *((_DWORD *)this + 336) = v58; *((_DWORD *)this + 337) = v59; *((_DWORD *)this + 338) = v60; std::string::~string((int)&v148); *((_DWORD *)this + 339) = DS_Dictionary::getIntegerForKey(a2, "k150"); *((_BYTE *)this + 1360) = DS_Dictionary::getBoolForKey(a2, "k153"); *((_DWORD *)this + 341) = DS_Dictionary::getIntegerForKey(a2, "k155"); *((_DWORD *)this + 282) = DS_Dictionary::getIntegerForKey(a2, "k125"); DS_Dictionary::getStringForKey((DS_Dictionary *)&v151, (const char *)a2); if ( (*((_BYTE *)this + 1148) & 1) != 0 ) { **((_BYTE **)this + 289) = 0; *((_DWORD *)this + 288) = 0; } else { *((_BYTE *)this + 1149) = 0; *((_BYTE *)this + 1148) = 0; } std::string::reserve((int *)this + 287, 0); v61 = v151; v62 = v152; v63 = v153; v151 = 0; v152 = 0; v153 = 0; *((_DWORD *)this + 287) = v61; *((_DWORD *)this + 288) = v62; *((_DWORD *)this + 289) = v63; std::string::~string((int)&v151); DS_Dictionary::getStringForKey((DS_Dictionary *)&v154, (const char *)a2); if ( (*((_BYTE *)this + 1160) & 1) != 0 ) { **((_BYTE **)this + 292) = 0; *((_DWORD *)this + 291) = 0; } else { *((_BYTE *)this + 1161) = 0; *((_BYTE *)this + 1160) = 0; } std::string::reserve((int *)this + 290, 0); v64 = v154; v65 = v155; v66 = v156; v154 = 0; v155 = 0; v156 = 0; *((_DWORD *)this + 290) = v64; *((_DWORD *)this + 291) = v65; *((_DWORD *)this + 292) = v66; std::string::~string((int)&v154); *((_DWORD *)this + 293) = DS_Dictionary::getIntegerForKey(a2, "k130"); *((_DWORD *)this + 294) = DS_Dictionary::getIntegerForKey(a2, "k132"); v67 = DS_Dictionary::getBoolForKey(a2, "k129"); v68 = *((unsigned __int8 *)this + 917); *((_BYTE *)this + 1180) = v67; if ( !v68 ) { DS_Dictionary::getStringForKey((DS_Dictionary *)&v157, (const char *)a2); if ( (*((_BYTE *)this + 280) & 1) != 0 ) { **((_BYTE **)this + 72) = 0; *((_DWORD *)this + 71) = 0; } else { *((_BYTE *)this + 281) = 0; *((_BYTE *)this + 280) = 0; } std::string::reserve((int *)this + 70, 0); v69 = v157; v70 = v158; v71 = v159; v157 = 0; v158 = 0; v159 = 0; *((_DWORD *)this + 70) = v69; *((_DWORD *)this + 71) = v70; *((_DWORD *)this + 72) = v71; std::string::~string((int)&v157); DS_Dictionary::getStringForKey((DS_Dictionary *)&v160, (const char *)a2); if ( (*((_BYTE *)this + 292) & 1) != 0 ) { **((_BYTE **)this + 75) = 0; *((_DWORD *)this + 74) = 0; } else { *((_BYTE *)this + 293) = 0; *((_BYTE *)this + 292) = 0; } std::string::reserve((int *)this + 73, 0); v72 = v160; v73 = v161; v74 = v162; v160 = 0; v161 = 0; v162 = 0; *((_DWORD *)this + 73) = v72; *((_DWORD *)this + 74) = v73; *((_DWORD *)this + 75) = v74; std::string::~string((int)&v160); DS_Dictionary::getStringForKey((DS_Dictionary *)&v163, (const char *)a2); if ( (*((_BYTE *)this + 304) & 1) != 0 ) { **((_BYTE **)this + 78) = 0; *((_DWORD *)this + 77) = 0; } else { *((_BYTE *)this + 305) = 0; *((_BYTE *)this + 304) = 0; } std::string::reserve((int *)this + 76, 0); v75 = v163; v76 = v164; v77 = v165; v163 = 0; v164 = 0; v165 = 0; *((_DWORD *)this + 76) = v75; *((_DWORD *)this + 77) = v76; *((_DWORD *)this + 78) = v77; std::string::~string((int)&v163); DS_Dictionary::getStringForKey((DS_Dictionary *)&v166, (const char *)a2); if ( (*((_BYTE *)this + 316) & 1) != 0 ) { **((_BYTE **)this + 81) = 0; *((_DWORD *)this + 80) = 0; } else { *((_BYTE *)this + 317) = 0; *((_BYTE *)this + 316) = 0; } std::string::reserve((int *)this + 79, 0); v78 = v166; v79 = v167; v80 = v168; v166 = 0; v167 = 0; v168 = 0; *((_DWORD *)this + 79) = v78; *((_DWORD *)this + 80) = v79; *((_DWORD *)this + 81) = v80; std::string::~string((int)&v166); *((_DWORD *)this + 250) = DS_Dictionary::getIntegerForKey(a2, "k95"); *((_DWORD *)this + 91) = DS_Dictionary::getIntegerForKey(a2, "k98"); *((_DWORD *)this + 92) = DS_Dictionary::getIntegerForKey(a2, "k99"); DS_Dictionary::getStringForKey((DS_Dictionary *)&v169, (const char *)a2); if ( (*((_BYTE *)this + 372) & 1) != 0 ) { **((_BYTE **)this + 95) = 0; *((_DWORD *)this + 94) = 0; } else { *((_BYTE *)this + 373) = 0; *((_BYTE *)this + 372) = 0; } std::string::reserve((int *)this + 93, 0); v81 = v169; v82 = v170; v83 = v171; v169 = 0; v170 = 0; v171 = 0; *((_DWORD *)this + 93) = v81; *((_DWORD *)this + 94) = v82; *((_DWORD *)this + 95) = v83; std::string::~string((int)&v169); DS_Dictionary::getStringForKey((DS_Dictionary *)&v172, (const char *)a2); if ( (*((_BYTE *)this + 384) & 1) != 0 ) { **((_BYTE **)this + 98) = 0; *((_DWORD *)this + 97) = 0; } else { *((_BYTE *)this + 385) = 0; *((_BYTE *)this + 384) = 0; } std::string::reserve((int *)this + 96, 0); v84 = v172; v85 = v173; v86 = v174; v172 = 0; v173 = 0; v174 = 0; *((_DWORD *)this + 96) = v84; *((_DWORD *)this + 97) = v85; *((_DWORD *)this + 98) = v86; std::string::~string((int)&v172); v87 = (float)(int)DS_Dictionary::getIntegerForKey(a2, "k102"); v88 = DS_Dictionary::getIntegerForKey(a2, "k103"); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v136, v87, (float)v88); cocos2d::CCPoint::operator=((char *)this + 396, v136); *((_DWORD *)this + 197) = DS_Dictionary::getIntegerForKey(a2, "k64"); v89 = DS_Dictionary::getBoolForKey(a2, "k65"); GJGameLevel::setCoinsVerified(this, v89); v90 = DS_Dictionary::getIntegerForKey(a2, "k6"); GJGameLevel::setUserID(this, v90); v91 = DS_Dictionary::getIntegerForKey(a2, "k60"); GJGameLevel::setAccountID(this, v91); *((_DWORD *)this + 107) = DS_Dictionary::getIntegerForKey(a2, "k7"); *((_DWORD *)this + 108) = DS_Dictionary::getIntegerForKey(a2, "k8"); *((_DWORD *)this + 116) = DS_Dictionary::getIntegerForKey(a2, "k9"); *((_DWORD *)this + 117) = DS_Dictionary::getIntegerForKey(a2, "k10"); *((_DWORD *)this + 118) = DS_Dictionary::getIntegerForKey(a2, "k11"); *((_BYTE *)this + 476) = DS_Dictionary::getBoolForKey(a2, "k13"); v92 = DS_Dictionary::getBoolForKey(a2, "k14"); *((_BYTE *)this + 608) = v92; v93 = v92; v94 = (int)(float)(vcvts_n_f32_s32(rand(), 0x1Fu) * 1000.0); *((_DWORD *)this + 151) = v94; *((_DWORD *)this + 150) = v94 + v93; *((_BYTE *)this + 609) = DS_Dictionary::getBoolForKey(a2, "k15"); *((_DWORD *)this + 179) = DS_Dictionary::getIntegerForKey(a2, "k22"); *((_DWORD *)this + 180) = DS_Dictionary::getIntegerForKey(a2, "k24"); *((_DWORD *)this + 238) = DS_Dictionary::getIntegerForKey(a2, "k21"); *((_DWORD *)this + 153) = DS_Dictionary::getIntegerForKey(a2, "k16"); *((_DWORD *)this + 154) = DS_Dictionary::getIntegerForKey(a2, "k17"); *((_DWORD *)this + 182) = DS_Dictionary::getIntegerForKey(a2, "k27"); v95 = DS_Dictionary::getIntegerForKey(a2, "k75"); *((_DWORD *)this + 183) = v95; if ( !v95 ) *((_DWORD *)this + 183) = DS_Dictionary::getBoolForKey(a2, "k75"); *((_BYTE *)this + 784) = DS_Dictionary::getBoolForKey(a2, "k33"); *((_BYTE *)this + 444) = DS_Dictionary::getBoolForKey(a2, "k79"); *((_BYTE *)this + 445) = DS_Dictionary::getBoolForKey(a2, "k94"); v96 = DS_Dictionary::getIntegerForKey(a2, "k41"); GJGameLevel::setPassword(this, v96); v97 = DS_Dictionary::getIntegerForKey(a2, "k42"); GJGameLevel::setOriginalLevel(this, v97); *((_BYTE *)this + 824) = DS_Dictionary::getBoolForKey(a2, "k43"); *((_DWORD *)this + 109) = DS_Dictionary::getIntegerForKey(a2, "k45"); *((_DWORD *)this + 110) = DS_Dictionary::getIntegerForKey(a2, "k46"); *((_BYTE *)this + 610) = DS_Dictionary::getBoolForKey(a2, "k47"); v98 = DS_Dictionary::getIntegerForKey(a2, "k48"); GJGameLevel::setObjectCount(this, v98); DS_Dictionary::getStringForKey((DS_Dictionary *)&v175, (const char *)a2); if ( (*((_BYTE *)this + 972) & 1) != 0 ) { **((_BYTE **)this + 245) = 0; *((_DWORD *)this + 244) = 0; } else { *((_BYTE *)this + 973) = 0; *((_BYTE *)this + 972) = 0; } std::string::reserve((int *)this + 243, 0); v99 = v175; v100 = v176; v101 = v177; v175 = 0; v176 = 0; v177 = 0; *((_DWORD *)this + 243) = v99; *((_DWORD *)this + 244) = v100; *((_DWORD *)this + 245) = v101; std::string::~string((int)&v175); *((_DWORD *)this + 217) = DS_Dictionary::getIntegerForKey(a2, "k66"); *((_BYTE *)this + 984) = DS_Dictionary::getBoolForKey(a2, "k69"); *((_BYTE *)this + 985) = DS_Dictionary::getBoolForKey(a2, "k93"); *((_DWORD *)this + 120) = DS_Dictionary::getIntegerForKey(a2, "k80"); *((_DWORD *)this + 121) = DS_Dictionary::getIntegerForKey(a2, "k81"); DS_Dictionary::getStringForKey((DS_Dictionary *)v178, (const char *)a2); EditorBuildStats::fromString((int)this + 488, (int)v178); std::string::~string((int)v178); *((_BYTE *)this + 592) = DS_Dictionary::getBoolForKey(a2, "k72"); *((_BYTE *)this + 593) = DS_Dictionary::getBoolForKey(a2, "k73"); *((_BYTE *)this + 594) = DS_Dictionary::getBoolForKey(a2, "k112"); *((_DWORD *)this + 115) = DS_Dictionary::getIntegerForKey(a2, "k83"); DS_Dictionary::getStringForKey((DS_Dictionary *)&v179, (const char *)a2); if ( (*((_BYTE *)this + 1008) & 1) != 0 ) { **((_BYTE **)this + 254) = 0; *((_DWORD *)this + 253) = 0; } else { *((_BYTE *)this + 1009) = 0; *((_BYTE *)this + 1008) = 0; } std::string::reserve((int *)this + 252, 0); v102 = v179; v103 = v180; v104 = v181; v179 = 0; v180 = 0; v181 = 0; *((_DWORD *)this + 252) = v102; *((_DWORD *)this + 253) = v103; *((_DWORD *)this + 254) = v104; std::string::~string((int)&v179); DS_Dictionary::getStringForKey((DS_Dictionary *)&v182, (const char *)a2); if ( (*((_BYTE *)this + 1020) & 1) != 0 ) { **((_BYTE **)this + 257) = 0; *((_DWORD *)this + 256) = 0; } else { *((_BYTE *)this + 1021) = 0; *((_BYTE *)this + 1020) = 0; } std::string::reserve((int *)this + 255, 0); v105 = v182; v106 = v183; v107 = v184; v182 = 0; v183 = 0; v184 = 0; *((_DWORD *)this + 255) = v105; *((_DWORD *)this + 256) = v106; *((_DWORD *)this + 257) = v107; std::string::~string((int)&v182); *((_DWORD *)this + 258) = DS_Dictionary::getIntegerForKey(a2, "k106"); } if ( *((_DWORD *)this + 238) == 1 ) { *((_BYTE *)this + 924) = DS_Dictionary::getBoolForKey(a2, "k38"); *((_DWORD *)this + 230) = DS_Dictionary::getIntegerForKey(a2, "k37"); } if ( *((_DWORD *)this + 238) == 2 ) { v108 = COERCE_FLOAT(DS_Dictionary::getFloatForKey(a2, "kI1")); v109 = COERCE_FLOAT(DS_Dictionary::getFloatForKey(a2, "kI2")); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v136, v108, v109); cocos2d::CCPoint::operator=((char *)this + 928, v136); *((_DWORD *)this + 234) = DS_Dictionary::getFloatForKey(a2, "kI3"); *((_DWORD *)this + 236) = DS_Dictionary::getIntegerForKey(a2, "kI4"); *((_DWORD *)this + 235) = DS_Dictionary::getIntegerForKey(a2, "kI5"); *((_DWORD *)this + 237) = DS_Dictionary::getIntegerForKey(a2, "kI7"); DictForKey = (cocos2d::CCObject *)DS_Dictionary::getDictForKey(a2, "kI6", 0); v111 = DictForKey; if ( *((cocos2d::CCObject **)this + 66) != DictForKey ) { if ( DictForKey ) cocos2d::CCObject::retain(DictForKey); v112 = *((cocos2d::CCObject **)this + 66); if ( v112 ) cocos2d::CCObject::release(v112); *((_DWORD *)this + 66) = v111; } v113 = DS_Dictionary::getBoolForKey(a2, "k61"); *((_DWORD *)this + 210) = v113; v114 = v113; v115 = (int)(float)((float)((float)rand() * 4.6566e-10) * 1000.0); *((_DWORD *)this + 209) = v115; *((_DWORD *)this + 208) = v115 + v114; v116 = DS_Dictionary::getBoolForKey(a2, "k62"); *((_DWORD *)this + 213) = v116; v117 = v116; v118 = (int)(float)((float)((float)rand() * 4.6566e-10) * 1000.0); *((_DWORD *)this + 212) = v118; *((_DWORD *)this + 211) = v118 + v117; v119 = DS_Dictionary::getBoolForKey(a2, "k63"); *((_DWORD *)this + 216) = v119; v120 = v119; v121 = (int)(float)((float)((float)rand() * 4.6566e-10) * 1000.0); *((_DWORD *)this + 215) = v121; *((_DWORD *)this + 214) = v121 + v120; DS_Dictionary::getStringForKey((DS_Dictionary *)&v185, (const char *)a2); if ( (*((_BYTE *)this + 328) & 1) != 0 ) { **((_BYTE **)this + 84) = 0; *((_DWORD *)this + 83) = 0; } else { *((_BYTE *)this + 329) = 0; *((_BYTE *)this + 328) = 0; } std::string::reserve((int *)this + 82, 0); v122 = v185; v123 = v186; v124 = v187; v185 = 0; v186 = 0; v187 = 0; *((_DWORD *)this + 82) = v122; *((_DWORD *)this + 83) = v123; *((_DWORD *)this + 84) = v124; std::string::~string((int)&v185); DS_Dictionary::getStringForKey((DS_Dictionary *)&v188, (const char *)a2); if ( (*((_BYTE *)this + 1132) & 1) != 0 ) { **((_BYTE **)this + 285) = 0; *((_DWORD *)this + 284) = 0; } else { *((_BYTE *)this + 1133) = 0; *((_BYTE *)this + 1132) = 0; } std::string::reserve((int *)this + 283, 0); v125 = v188; v126 = v189; v127 = v190; v188 = 0; v189 = 0; v190 = 0; *((_DWORD *)this + 283) = v125; *((_DWORD *)this + 284) = v126; *((_DWORD *)this + 285) = v127; std::string::~string((int)&v188); *((_DWORD *)this + 286) = DS_Dictionary::getIntegerForKey(a2, "k127"); GJGameLevel::generateAutoSaveUID((GJGameLevel *)v191, (int)this); std::string::~string((int)v191); } v128 = DS_Dictionary::getIntegerForKey(a2, "k50"); if ( v128 > 14 ) { if ( v128 > 26 ) return std::string::~string((int)&v137); } else { memset(v192, 0, sizeof(v192)); std::string::__init(v192, &unk_B6B226, 0); v129 = sub_4A9CC4((unsigned __int8 *)this + 304, (unsigned __int8 *)v192); std::string::~string((int)v192); if ( !v129 ) { if ( *((_DWORD *)this + 238) == 2 ) { cocos2d::ZipUtils::compressString(&v193, (char *)this + 304, 0, -1, 11); if ( (*((_BYTE *)this + 304) & 1) != 0 ) { **((_BYTE **)this + 78) = 0; *((_DWORD *)this + 77) = 0; } else { *((_BYTE *)this + 305) = 0; *((_BYTE *)this + 304) = 0; } std::string::reserve((int *)this + 76, 0); v130 = v193; v131 = v194; v132 = v195; v193 = 0; v194 = 0; v195 = 0; *((_DWORD *)this + 76) = v130; *((_DWORD *)this + 77) = v131; *((_DWORD *)this + 78) = v132; std::string::~string((int)&v193); } else { std::string::assign((int *)this + 76, (char *)&unk_B6B226); } } } std::string::basic_string(v196, (int)this + 292); LevelTools::base64EncodeString(&v197, v196); if ( (*((_BYTE *)this + 292) & 1) != 0 ) { **((_BYTE **)this + 75) = 0; *((_DWORD *)this + 74) = 0; } else { *((_BYTE *)this + 293) = 0; *((_BYTE *)this + 292) = 0; } std::string::reserve((int *)this + 73, 0); v133 = v198; v134 = v199; *((_DWORD *)this + 73) = v197; *((_DWORD *)this + 74) = v133; *((_DWORD *)this + 75) = v134; v197 = 0; v198 = 0; v199 = 0; std::string::~string((int)&v197); std::string::~string((int)v196); return std::string::~string((int)&v137); }
GD Web Decomp Icon

GD Web Decomp

Raw Source