// // GJGameLevel::create from 0x8431c8 to 0x844d3c (7028 bytes) // // 3 xrefs: // > GameLevelManager::createAndGetLevels @ 0x844e4c // > GameLevelManager::processOnDownloadLevelCompleted @ 0x859160 // > @ 0xe8e88 // // 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:20 +0000 // __int64 __fastcall GJGameLevel::create(GJGameLevel *this, cocos2d::CCDictionary *a2) { int v2; // w22 cocos2d::CCString *v4; // x0 cocos2d::CCString *v5; // x0 size_t v6; // x0 cocos2d::CCString *v7; // x0 size_t v8; // x0 cocos2d::CCString *v9; // x0 size_t v10; // x0 cocos2d::CCString *v11; // x0 cocos2d::CCString *v12; // x0 unsigned int v13; // w28 cocos2d::CCString *v14; // x0 size_t v15; // x0 cocos2d::CCString *v16; // x0 size_t v17; // x0 cocos2d::CCString *v18; // x0 cocos2d::CCString *v19; // x0 cocos2d::CCString *v20; // x0 cocos2d::CCString *v21; // x0 cocos2d::CCString *v22; // x0 cocos2d::CCString *v23; // x0 cocos2d::CCString *v24; // x0 cocos2d::CCString *v25; // x0 cocos2d::CCString *v26; // x0 cocos2d::CCString *v27; // x0 cocos2d::CCString *v28; // x0 cocos2d::CCString *v29; // x0 cocos2d::CCString *v30; // x0 cocos2d::CCString *v31; // x0 cocos2d::CCString *v32; // x0 cocos2d::CCString *v33; // x0 cocos2d::CCString *v34; // x0 cocos2d::CCString *v35; // x0 cocos2d::CCString *v36; // x0 size_t v37; // x0 int v38; // w0 char *v39; // x19 cocos2d::CCString *v40; // x0 cocos2d::CCString *v41; // x0 cocos2d::CCString *v42; // x0 cocos2d::CCString *v43; // x0 size_t v44; // x0 GJGameLevel *v45; // x0 __int64 v46; // x19 cocos2d::CCDictionary **v47; // x0 GameLevelManager *v48; // x0 GameLevelManager *v49; // x0 size_t v50; // x1 int v51; // w0 char v52; // w1 int v53; // w0 __int64 *v54; // x0 char v55; // w0 __int64 *v56; // x0 __int64 *v57; // x0 int v58; // w0 char v59; // w1 int v60; // w0 __int64 *v61; // x0 int v62; // w0 int v63; // w3 cocos2d::CCString *v64; // x0 const char *v65; // x0 size_t v66; // x0 __int64 *v67; // x0 float v68; // s0 int v69; // w28 int v70; // w0 int v71; // w28 float v72; // s0 int v73; // w28 int v74; // w0 int v75; // w28 int v76; // w0 char v77; // w1 int v78; // w28 __int64 *v79; // x0 cocos2d::CCString *v80; // x0 char v81; // w0 char v82; // w1 cocos2d::CCString *v83; // x0 int v84; // w0 int v85; // w28 int v86; // w0 char v87; // w1 int v88; // w0 cocos2d::CCString *v89; // x0 char v90; // w0 char v91; // w1 int v92; // w0 int v93; // w28 cocos2d::CCString *v94; // x0 int v95; // w0 char v96; // w1 cocos2d::CCString *v97; // x0 int v98; // w0 char v99; // w1 cocos2d::CCString *v100; // x0 int v101; // w0 char v102; // w1 __int64 *v103; // x0 __int64 *v104; // x0 cocos2d::CCString *v105; // x0 int v106; // w0 char v107; // w1 cocos2d::CCString *v108; // x0 int v109; // w0 char v110; // w1 cocos2d::CCString *v111; // x0 size_t v112; // x0 cocos2d::CCString *v113; // x0 char *v114; // x0 cocos2d::CCString *v115; // x0 char *v116; // x0 cocos2d::CCString *v117; // x0 int v118; // w0 char v119; // w1 cocos2d::CCString *v120; // x0 _BOOL4 v121; // w20 char v122; // w1 int v123; // w0 cocos2d::CCString *v125; // x0 char v126; // w1 int v127; // w0 cocos2d::CCDictionary **v128; // x0 int v129; // [xsp+70h] [xbp+70h] char v130; // [xsp+76h] [xbp+76h] char v131; // [xsp+77h] [xbp+77h] int v132; // [xsp+78h] [xbp+78h] int v133; // [xsp+7Ch] [xbp+7Ch] int v134; // [xsp+80h] [xbp+80h] int v135; // [xsp+84h] [xbp+84h] int v136; // [xsp+88h] [xbp+88h] int v137; // [xsp+8Ch] [xbp+8Ch] int v138; // [xsp+90h] [xbp+90h] int v139; // [xsp+94h] [xbp+94h] int v140; // [xsp+98h] [xbp+98h] int v141; // [xsp+9Ch] [xbp+9Ch] int v142; // [xsp+A0h] [xbp+A0h] int v143; // [xsp+A4h] [xbp+A4h] int v144; // [xsp+A8h] [xbp+A8h] int v145; // [xsp+ACh] [xbp+ACh] char *v146; // [xsp+B0h] [xbp+B0h] int v147; // [xsp+B0h] [xbp+B0h] char *v148; // [xsp+B8h] [xbp+B8h] int v149; // [xsp+B8h] [xbp+B8h] int v150; // [xsp+C0h] [xbp+C0h] int v151; // [xsp+C4h] [xbp+C4h] int v152; // [xsp+C8h] [xbp+C8h] int v153; // [xsp+CCh] [xbp+CCh] char *v154; // [xsp+D0h] [xbp+D0h] char *v155; // [xsp+D0h] [xbp+D0h] int v156; // [xsp+D0h] [xbp+D0h] int v157; // [xsp+D8h] [xbp+D8h] char *v158; // [xsp+D8h] [xbp+D8h] char *v159; // [xsp+D8h] [xbp+D8h] char *CString; // [xsp+E8h] [xbp+E8h] char *v161; // [xsp+E8h] [xbp+E8h] char *v162; // [xsp+E8h] [xbp+E8h] __int64 v163; // [xsp+F0h] [xbp+F0h] BYREF size_t v164; // [xsp+F8h] [xbp+F8h] void *v165; // [xsp+100h] [xbp+100h] __int64 v166; // [xsp+108h] [xbp+108h] BYREF size_t v167; // [xsp+110h] [xbp+110h] void *v168; // [xsp+118h] [xbp+118h] __int64 v169[2]; // [xsp+120h] [xbp+120h] BYREF void *v170; // [xsp+130h] [xbp+130h] __int64 v171; // [xsp+138h] [xbp+138h] BYREF size_t v172; // [xsp+140h] [xbp+140h] void *v173; // [xsp+148h] [xbp+148h] __int64 v174[2]; // [xsp+150h] [xbp+150h] BYREF void *v175; // [xsp+160h] [xbp+160h] __int64 v176[2]; // [xsp+168h] [xbp+168h] BYREF void *v177; // [xsp+178h] [xbp+178h] __int64 v178[2]; // [xsp+180h] [xbp+180h] BYREF void *v179; // [xsp+190h] [xbp+190h] __int64 v180; // [xsp+198h] [xbp+198h] BYREF size_t v181; // [xsp+1A0h] [xbp+1A0h] void *v182; // [xsp+1A8h] [xbp+1A8h] __int64 v183[2]; // [xsp+1B0h] [xbp+1B0h] BYREF void *v184; // [xsp+1C0h] [xbp+1C0h] __int64 v185; // [xsp+1C8h] [xbp+1C8h] BYREF size_t v186; // [xsp+1D0h] [xbp+1D0h] void *v187; // [xsp+1D8h] [xbp+1D8h] __int64 v188[2]; // [xsp+1E0h] [xbp+1E0h] BYREF void *v189; // [xsp+1F0h] [xbp+1F0h] __int64 v190[2]; // [xsp+1F8h] [xbp+1F8h] BYREF void *v191; // [xsp+208h] [xbp+208h] __int64 v192[2]; // [xsp+210h] [xbp+210h] BYREF void *v193; // [xsp+220h] [xbp+220h] __int64 v194[2]; // [xsp+228h] [xbp+228h] BYREF void *v195; // [xsp+238h] [xbp+238h] __int64 v196[2]; // [xsp+240h] [xbp+240h] BYREF void *v197; // [xsp+250h] [xbp+250h] __int64 v198[2]; // [xsp+258h] [xbp+258h] BYREF void *v199; // [xsp+268h] [xbp+268h] __int64 v200[2]; // [xsp+270h] [xbp+270h] BYREF void *v201; // [xsp+280h] [xbp+280h] __int64 v202[2]; // [xsp+288h] [xbp+288h] BYREF void *v203; // [xsp+298h] [xbp+298h] __int64 v204[2]; // [xsp+2A0h] [xbp+2A0h] BYREF void *v205; // [xsp+2B0h] [xbp+2B0h] __int64 v206[2]; // [xsp+2B8h] [xbp+2B8h] BYREF void *v207; // [xsp+2C8h] [xbp+2C8h] __int64 v208[2]; // [xsp+2D0h] [xbp+2D0h] BYREF void *v209; // [xsp+2E0h] [xbp+2E0h] __int64 v210[2]; // [xsp+2E8h] [xbp+2E8h] BYREF void *v211; // [xsp+2F8h] [xbp+2F8h] __int64 v212[2]; // [xsp+300h] [xbp+300h] BYREF void *v213; // [xsp+310h] [xbp+310h] __int64 v214[2]; // [xsp+318h] [xbp+318h] BYREF void *v215; // [xsp+328h] [xbp+328h] __int64 v216[2]; // [xsp+330h] [xbp+330h] BYREF void *v217; // [xsp+340h] [xbp+340h] __int64 v218[2]; // [xsp+348h] [xbp+348h] BYREF void *v219; // [xsp+358h] [xbp+358h] __int64 v220[2]; // [xsp+360h] [xbp+360h] BYREF void *v221; // [xsp+370h] [xbp+370h] __int64 v222[2]; // [xsp+378h] [xbp+378h] BYREF void *v223; // [xsp+388h] [xbp+388h] __int64 v224[2]; // [xsp+390h] [xbp+390h] BYREF void *v225; // [xsp+3A0h] [xbp+3A0h] __int64 v226[2]; // [xsp+3A8h] [xbp+3A8h] BYREF void *v227; // [xsp+3B8h] [xbp+3B8h] __int64 v228[2]; // [xsp+3C0h] [xbp+3C0h] BYREF void *v229; // [xsp+3D0h] [xbp+3D0h] __int64 v230[2]; // [xsp+3D8h] [xbp+3D8h] BYREF void *v231; // [xsp+3E8h] [xbp+3E8h] __int64 v232[2]; // [xsp+3F0h] [xbp+3F0h] BYREF void *v233; // [xsp+400h] [xbp+400h] __int64 v234[2]; // [xsp+408h] [xbp+408h] BYREF void *v235; // [xsp+418h] [xbp+418h] __int64 v236[2]; // [xsp+420h] [xbp+420h] BYREF void *v237; // [xsp+430h] [xbp+430h] __int64 v238; // [xsp+438h] [xbp+438h] BYREF size_t v239; // [xsp+440h] [xbp+440h] void *v240; // [xsp+448h] [xbp+448h] __int64 v241[2]; // [xsp+450h] [xbp+450h] BYREF void *v242; // [xsp+460h] [xbp+460h] __int64 v243; // [xsp+468h] [xbp+468h] BYREF size_t v244; // [xsp+470h] [xbp+470h] _BYTE *v245; // [xsp+478h] [xbp+478h] __int64 v246[3]; // [xsp+480h] [xbp+480h] BYREF __int64 v247; // [xsp+498h] [xbp+498h] BYREF size_t v248; // [xsp+4A0h] [xbp+4A0h] void *v249; // [xsp+4A8h] [xbp+4A8h] __int64 v250; // [xsp+4B0h] [xbp+4B0h] BYREF size_t v251; // [xsp+4B8h] [xbp+4B8h] void *v252; // [xsp+4C0h] [xbp+4C0h] __int64 v253; // [xsp+4C8h] [xbp+4C8h] BYREF size_t v254; // [xsp+4D0h] [xbp+4D0h] void *v255; // [xsp+4D8h] [xbp+4D8h] __int64 v256; // [xsp+4E0h] [xbp+4E0h] BYREF size_t v257; // [xsp+4E8h] [xbp+4E8h] void *v258; // [xsp+4F0h] [xbp+4F0h] __int64 v259[2]; // [xsp+4F8h] [xbp+4F8h] BYREF void *v260; // [xsp+508h] [xbp+508h] __int64 v261; // [xsp+510h] [xbp+510h] BYREF size_t v262; // [xsp+518h] [xbp+518h] void *v263; // [xsp+520h] [xbp+520h] __int64 v264; // [xsp+528h] [xbp+528h] BYREF size_t v265; // [xsp+530h] [xbp+530h] void *v266; // [xsp+538h] [xbp+538h] __int64 v267[2]; // [xsp+540h] [xbp+540h] BYREF void *v268; // [xsp+550h] [xbp+550h] __int64 v269[2]; // [xsp+558h] [xbp+558h] BYREF void *v270; // [xsp+568h] [xbp+568h] __int64 v271[2]; // [xsp+570h] [xbp+570h] BYREF void *v272; // [xsp+580h] [xbp+580h] __int64 v273[2]; // [xsp+588h] [xbp+588h] BYREF void *v274; // [xsp+598h] [xbp+598h] __int64 v275[2]; // [xsp+5A0h] [xbp+5A0h] BYREF void *v276; // [xsp+5B0h] [xbp+5B0h] __int64 v277[2]; // [xsp+5B8h] [xbp+5B8h] BYREF void *v278; // [xsp+5C8h] [xbp+5C8h] __int64 v279; // [xsp+5D0h] [xbp+5D0h] BYREF size_t v280; // [xsp+5D8h] [xbp+5D8h] void *v281; // [xsp+5E0h] [xbp+5E0h] __int64 v282; // [xsp+5E8h] [xbp+5E8h] BYREF size_t v283; // [xsp+5F0h] [xbp+5F0h] void *v284; // [xsp+5F8h] [xbp+5F8h] __int64 v285[2]; // [xsp+600h] [xbp+600h] BYREF void *v286; // [xsp+610h] [xbp+610h] __int64 v287[2]; // [xsp+618h] [xbp+618h] BYREF void *v288; // [xsp+628h] [xbp+628h] __int64 v289[2]; // [xsp+630h] [xbp+630h] BYREF void *v290; // [xsp+640h] [xbp+640h] __int64 v291[2]; // [xsp+648h] [xbp+648h] BYREF void *v292; // [xsp+658h] [xbp+658h] __int64 v293[2]; // [xsp+660h] [xbp+660h] BYREF void *v294; // [xsp+670h] [xbp+670h] __int64 v295[2]; // [xsp+678h] [xbp+678h] BYREF void *v296; // [xsp+688h] [xbp+688h] __int64 v297[2]; // [xsp+690h] [xbp+690h] BYREF void *v298; // [xsp+6A0h] [xbp+6A0h] __int64 v299; // [xsp+6A8h] [xbp+6A8h] BYREF unsigned __int64 v300; // [xsp+6B0h] [xbp+6B0h] void *v301; // [xsp+6B8h] [xbp+6B8h] __int64 v302; // [xsp+6C0h] [xbp+6C0h] BYREF __int64 v303; // [xsp+6C8h] [xbp+6C8h] char *v304; // [xsp+6D0h] [xbp+6D0h] v2 = (unsigned __int8)a2; v302 = 0; v303 = 0; v304 = nullptr; std::string::__init(&v302, "1", 1u); v4 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(this, &v302); v157 = cocos2d::CCString::intValue(v4); if ( (v302 & 1) != 0 ) operator delete(v304); v302 = 0; v303 = 0; v304 = nullptr; std::string::__init(&v302, &byte_120A098, 1u); v5 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(this, &v302); CString = (char *)cocos2d::CCString::getCString(v5); v163 = 0; v164 = 0; v165 = nullptr; v6 = strlen(CString); std::string::__init(&v163, CString, v6); if ( (v302 & 1) != 0 ) operator delete(v304); v169[0] = 0; v169[1] = 0; v170 = nullptr; std::string::__init(v169, "3", 1u); v7 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(this, v169); v161 = (char *)cocos2d::CCString::getCString(v7); v166 = 0; v167 = 0; v168 = nullptr; v8 = strlen(v161); std::string::__init(&v166, v161, v8); if ( (v169[0] & 1) != 0 ) operator delete(v170); v174[0] = 0; v174[1] = 0; v175 = nullptr; std::string::__init(v174, &byte_11BCA00, 1u); v9 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(this, v174); v162 = (char *)cocos2d::CCString::getCString(v9); v171 = 0; v172 = 0; v173 = nullptr; v10 = strlen(v162); std::string::__init(&v171, v162, v10); if ( (v174[0] & 1) != 0 ) operator delete(v175); v176[0] = 0; v176[1] = 0; v177 = nullptr; std::string::__init(v176, "5", 1u); v11 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(this, v176); v150 = cocos2d::CCString::intValue(v11); if ( (v176[0] & 1) != 0 ) operator delete(v177); v178[0] = 0; v178[1] = 0; v179 = nullptr; std::string::__init(v178, "6", 1u); v12 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(this, v178); v13 = cocos2d::CCString::intValue(v12); if ( (v178[0] & 1) != 0 ) operator delete(v179); v183[0] = 0; v183[1] = 0; v184 = nullptr; std::string::__init(v183, "28", 2u); v14 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(this, v183); v154 = (char *)cocos2d::CCString::getCString(v14); v180 = 0; v181 = 0; v182 = nullptr; v15 = strlen(v154); std::string::__init(&v180, v154, v15); if ( (v183[0] & 1) != 0 ) operator delete(v184); v188[0] = 0; v188[1] = 0; v189 = nullptr; std::string::__init(v188, "29", 2u); v16 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(this, v188); v155 = (char *)cocos2d::CCString::getCString(v16); v185 = 0; v186 = 0; v187 = nullptr; v17 = strlen(v155); std::string::__init(&v185, v155, v17); if ( (v188[0] & 1) != 0 ) operator delete(v189); v190[0] = 0; v190[1] = 0; v191 = nullptr; std::string::__init(v190, "8", 1u); v18 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(this, v190); v145 = cocos2d::CCString::intValue(v18); if ( (v190[0] & 1) != 0 ) operator delete(v191); v192[0] = 0; v192[1] = 0; v193 = nullptr; std::string::__init(v192, "9", 1u); v19 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(this, v192); v144 = cocos2d::CCString::intValue(v19); if ( (v192[0] & 1) != 0 ) operator delete(v193); v194[0] = 0; v194[1] = 0; v195 = nullptr; std::string::__init(v194, "10", 2u); v20 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(this, v194); v143 = cocos2d::CCString::intValue(v20); if ( (v194[0] & 1) != 0 ) operator delete(v195); v196[0] = 0; v196[1] = 0; v197 = nullptr; std::string::__init(v196, &word_120A570, 2u); v21 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(this, v196); v142 = cocos2d::CCString::intValue(v21); if ( (v196[0] & 1) != 0 ) operator delete(v197); v198[0] = 0; v198[1] = 0; v199 = nullptr; std::string::__init(v198, "13", 2u); v22 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(this, v198); v141 = cocos2d::CCString::intValue(v22); if ( (v198[0] & 1) != 0 ) operator delete(v199); v200[0] = 0; v200[1] = 0; v201 = nullptr; std::string::__init(v200, &word_1217DE8, 2u); v23 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(this, v200); v140 = cocos2d::CCString::intValue(v23); if ( (v200[0] & 1) != 0 ) operator delete(v201); v202[0] = 0; v202[1] = 0; v203 = nullptr; std::string::__init(v202, "16", 2u); v24 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(this, v202); v139 = cocos2d::CCString::intValue(v24); if ( (v202[0] & 1) != 0 ) operator delete(v203); v204[0] = 0; v204[1] = 0; v205 = nullptr; std::string::__init(v204, "15", 2u); v25 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(this, v204); v138 = cocos2d::CCString::intValue(v25); if ( (v204[0] & 1) != 0 ) operator delete(v205); v206[0] = 0; v206[1] = 0; v207 = nullptr; std::string::__init(v206, "17", 2u); v26 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(this, v206); v156 = (unsigned __int8)cocos2d::CCString::boolValue(v26); if ( (v206[0] & 1) != 0 ) operator delete(v207); v208[0] = 0; v208[1] = 0; v209 = nullptr; std::string::__init(v208, "43", 2u); v27 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(this, v208); v137 = cocos2d::CCString::intValue(v27); if ( (v208[0] & 1) != 0 ) operator delete(v209); v210[0] = 0; v210[1] = 0; v211 = nullptr; std::string::__init(v210, "18", 2u); v28 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(this, v210); v153 = cocos2d::CCString::intValue(v28); if ( (v210[0] & 1) != 0 ) operator delete(v211); v212[0] = 0; v212[1] = 0; v213 = nullptr; std::string::__init(v212, "37", 2u); v29 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(this, v212); v136 = cocos2d::CCString::intValue(v29); if ( (v212[0] & 1) != 0 ) operator delete(v213); v214[0] = 0; v214[1] = 0; v215 = nullptr; std::string::__init(v214, "38", 2u); v30 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(this, v214); v152 = (unsigned __int8)cocos2d::CCString::boolValue(v30); if ( (v214[0] & 1) != 0 ) operator delete(v215); v216[0] = 0; v216[1] = 0; v217 = nullptr; std::string::__init(v216, "19", 2u); v31 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(this, v216); v135 = cocos2d::CCString::intValue(v31); if ( (v216[0] & 1) != 0 ) operator delete(v217); v218[0] = 0; v218[1] = 0; v219 = nullptr; std::string::__init(v218, "42", 2u); v32 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(this, v218); v134 = cocos2d::CCString::intValue(v32); if ( (v218[0] & 1) != 0 ) operator delete(v219); v220[0] = 0; v220[1] = 0; v221 = nullptr; std::string::__init(v220, "45", 2u); v33 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(this, v220); v151 = cocos2d::CCString::intValue(v33); if ( (v220[0] & 1) != 0 ) operator delete(v221); v222[0] = 0; v222[1] = 0; v223 = nullptr; std::string::__init(v222, "25", 2u); v34 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(this, v222); v131 = cocos2d::CCString::boolValue(v34); if ( (v222[0] & 1) != 0 ) operator delete(v223); v224[0] = 0; v224[1] = 0; v225 = nullptr; std::string::__init(v224, "39", 2u); v35 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(this, v224); v133 = cocos2d::CCString::intValue(v35); if ( (v224[0] & 1) != 0 ) operator delete(v225); if ( v2 ) { v226[0] = 0; v226[1] = 0; v227 = nullptr; std::string::__init(v226, "27", 2u); v36 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(this, v226); v148 = (char *)cocos2d::CCString::getCString(v36); v299 = 0; v300 = 0; v301 = nullptr; v37 = strlen(v148); std::string::__init(&v299, v148, v37); if ( (v226[0] & 1) != 0 ) { operator delete(v227); v38 = (unsigned __int8)v299; if ( (v299 & 1) != 0 ) { LABEL_56: if ( v300 < 2 ) { v129 = 0; goto LABEL_206; } LABEL_57: v228[0] = 0; v228[1] = 0; v229 = nullptr; std::string::__init(v228, "26364", 5u); cocos2d::ZipUtils::base64DecodeEnc(&v302, &v299, v228); if ( (v228[0] & 1) != 0 ) operator delete(v229); if ( (v302 & 1) != 0 ) { v39 = v304; v129 = atoi(v304); operator delete(v39); } else { v129 = atoi((const char *)&v302 + 1); } if ( (v299 & 1) == 0 ) goto LABEL_62; LABEL_206: operator delete(v301); goto LABEL_62; } } else { v38 = (unsigned __int8)v299; if ( (v299 & 1) != 0 ) goto LABEL_56; } if ( (unsigned int)(v38 >> 1) <= 1 ) { v129 = 0; goto LABEL_62; } goto LABEL_57; } v230[0] = 0; v230[1] = 0; v231 = nullptr; std::string::__init(v230, "27", 2u); v125 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(this, v230); v129 = cocos2d::CCString::intValue(v125); if ( (v230[0] & 1) != 0 ) operator delete(v231); LABEL_62: v232[0] = 0; v232[1] = 0; v233 = nullptr; std::string::__init(v232, "30", 2u); v40 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(this, v232); v149 = cocos2d::CCString::intValue(v40); if ( (v232[0] & 1) != 0 ) operator delete(v233); v234[0] = 0; v234[1] = 0; v235 = nullptr; std::string::__init(v234, "31", 2u); v41 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(this, v234); v130 = cocos2d::CCString::boolValue(v41); if ( (v234[0] & 1) != 0 ) operator delete(v235); v236[0] = 0; v236[1] = 0; v237 = nullptr; std::string::__init(v236, "35", 2u); v42 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(this, v236); v132 = cocos2d::CCString::intValue(v42); if ( (v236[0] & 1) != 0 ) operator delete(v237); v241[0] = 0; v241[1] = 0; v242 = nullptr; std::string::__init(v241, "36", 2u); v43 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(this, v241); v146 = (char *)cocos2d::CCString::getCString(v43); v238 = 0; v239 = 0; v240 = nullptr; v44 = strlen(v146); std::string::__init(&v238, v146, v44); v45 = (GJGameLevel *)LOBYTE(v241[0]); if ( (v241[0] & 1) != 0 ) operator delete(v242); v46 = GJGameLevel::create(v45); v47 = (cocos2d::CCDictionary **)GameLevelManager::sharedState((GameLevelManager *)v46); v48 = (GameLevelManager *)GameLevelManager::accountIDForUserID(v47, v13); v147 = (int)v48; v49 = (GameLevelManager *)GameLevelManager::sharedState(v48); GameLevelManager::userNameForUserID(&v243, v49, (const char *)v13); v50 = (unsigned __int8)v243 >> 1; if ( (v243 & 1) != 0 ) v50 = v244; if ( v50 <= 1 ) { v128 = (cocos2d::CCDictionary **)GameLevelManager::sharedState((GameLevelManager *)(unsigned __int8)v243); GameLevelManager::tryGetUsername(v246, v128, v147); if ( (v243 & 1) != 0 ) { *v245 = 0; v244 = 0; } else { LOWORD(v243) = 0; } std::string::reserve(&v243, 0); v245 = (_BYTE *)v246[2]; v243 = v246[0]; v244 = v246[1]; } *(_DWORD *)(v46 + 336) = v157; v51 = rand(); v247 = 0; v52 = v163; v248 = 0; v249 = nullptr; v53 = (int)(float)((float)((float)v51 * 4.6566e-10) * 1000.0); *(_DWORD *)(v46 + 332) = v53; *(_DWORD *)(v46 + 328) = v157 + v53; if ( (v52 & 1) != 0 ) { std::string::__init(&v247, v165, v164); } else { v249 = v165; v247 = v163; v248 = v164; } v54 = (__int64 *)(v46 + 344); if ( (__int64 *)(v46 + 344) != &v247 ) { if ( (v247 & 1) != 0 ) std::string::assign(v54, v249, v248); else std::string::assign(v54, (char *)&v247 + 1, (unsigned __int8)v247 >> 1); } if ( (v247 & 1) != 0 ) operator delete(v249); v55 = v166; *(_DWORD *)(v46 + 788) = v150; v250 = 0; v251 = 0; v252 = nullptr; if ( (v55 & 1) != 0 ) { std::string::__init(&v250, v168, v167); } else { v252 = v168; v250 = v166; v251 = v167; } v56 = (__int64 *)(v46 + 368); if ( (__int64 *)(v46 + 368) != &v250 ) { if ( (v250 & 1) != 0 ) std::string::assign(v56, v252, v251); else std::string::assign(v56, (char *)&v250 + 1, (unsigned __int8)v250 >> 1); } if ( (v250 & 1) != 0 ) operator delete(v252); v253 = 0; v254 = 0; v255 = nullptr; if ( (v171 & 1) != 0 ) { std::string::__init(&v253, v173, v172); } else { v255 = v173; v253 = v171; v254 = v172; } v57 = (__int64 *)(v46 + 392); if ( (__int64 *)(v46 + 392) != &v253 ) { if ( (v253 & 1) != 0 ) std::string::assign(v57, v255, v254); else std::string::assign(v57, (char *)&v253 + 1, (unsigned __int8)v253 >> 1); } if ( (v253 & 1) != 0 ) operator delete(v255); *(_DWORD *)(v46 + 584) = v13; v58 = rand(); v59 = v243; v256 = 0; v257 = 0; v258 = nullptr; v60 = (int)(float)((float)((float)v58 * 4.6566e-10) * 1000.0); *(_DWORD *)(v46 + 580) = v60; *(_DWORD *)(v46 + 576) = v13 + v60; if ( (v59 & 1) != 0 ) { std::string::__init(&v256, v245, v244); } else { v258 = v245; v256 = v243; v257 = v244; } v61 = (__int64 *)(v46 + 416); if ( (__int64 *)(v46 + 416) != &v256 ) { if ( (v256 & 1) != 0 ) std::string::assign(v61, v258, v257); else std::string::assign(v61, (char *)&v256 + 1, (unsigned __int8)v256 >> 1); } if ( (v256 & 1) != 0 ) operator delete(v258); *(_DWORD *)(v46 + 596) = v147; v62 = rand(); v259[0] = 0; v259[1] = 0; v260 = nullptr; v63 = (int)(float)((float)((float)v62 * 4.6566e-10) * 1000.0); *(_DWORD *)(v46 + 592) = v63; *(_DWORD *)(v46 + 588) = v147 + v63; std::string::__init(v259, "58", 2u); v64 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(this, v259); v65 = (const char *)cocos2d::CCString::getCString(v64); v261 = 0; v262 = 0; v263 = nullptr; v158 = (char *)v65; v66 = strlen(v65); std::string::__init(&v261, v158, v66); v67 = (__int64 *)(v46 + 440); if ( (__int64 *)(v46 + 440) != &v261 ) { if ( (v261 & 1) != 0 ) std::string::assign(v67, v263, v262); else std::string::assign(v67, (char *)&v261 + 1, (unsigned __int8)v261 >> 1); } if ( (v261 & 1) != 0 ) { operator delete(v263); if ( (v259[0] & 1) == 0 ) goto LABEL_106; } else if ( (v259[0] & 1) == 0 ) { goto LABEL_106; } operator delete(v260); LABEL_106: *(_DWORD *)(v46 + 636) = v145; *(_DWORD *)(v46 + 640) = v144; *(_DWORD *)(v46 + 644) = v143; *(_DWORD *)(v46 + 604) = v142; *(_BYTE *)(v46 + 1000) = v130; *(_DWORD *)(v46 + 792) = v141; *(_DWORD *)(v46 + 892) = v140; *(_DWORD *)(v46 + 896) = v139; *(_DWORD *)(v46 + 900) = v138; *(_DWORD *)(v46 + 940) = v156; v68 = (float)rand(); *(_DWORD *)(v46 + 944) = v137; *(_DWORD *)(v46 + 956) = v153; v69 = (int)(float)((float)(v68 * 4.6566e-10) * 1000.0); *(_DWORD *)(v46 + 936) = v69; *(_DWORD *)(v46 + 932) = v69 + v156; v70 = rand(); *(_DWORD *)(v46 + 908) = v134; *(_DWORD *)(v46 + 904) = v135; *(_BYTE *)(v46 + 960) = v131; v71 = (int)(float)((float)((float)v70 * 4.6566e-10) * 1000.0); *(_DWORD *)(v46 + 952) = v71; *(_DWORD *)(v46 + 948) = v153 + v71; v72 = (float)rand(); *(_DWORD *)(v46 + 996) = v149; v73 = (int)(float)((float)(v72 * 4.6566e-10) * 1000.0); *(_DWORD *)(v46 + 984) = v73; *(_DWORD *)(v46 + 980) = v129 + v73; v74 = rand(); *(_DWORD *)(v46 + 964) = v136; *(_DWORD *)(v46 + 608) = v132; *(_DWORD *)(v46 + 976) = v152; v75 = (int)(float)((float)((float)v74 * 4.6566e-10) * 1000.0); *(_DWORD *)(v46 + 992) = v75; *(_DWORD *)(v46 + 988) = v149 + v75; v76 = rand(); v264 = 0; v77 = v238; *(_DWORD *)(v46 + 1044) = v133; v265 = 0; v266 = nullptr; v78 = (int)(float)((float)((float)v76 * 4.6566e-10) * 1000.0); *(_DWORD *)(v46 + 972) = v78; *(_DWORD *)(v46 + 968) = v152 + v78; if ( (v77 & 1) != 0 ) { std::string::__init(&v264, v240, v239); } else { v266 = v240; v264 = v238; v265 = v239; } v79 = (__int64 *)(v46 + 1176); if ( (__int64 *)(v46 + 1176) != &v264 ) { if ( (v264 & 1) != 0 ) std::string::assign(v79, v266, v265); else std::string::assign(v79, (char *)&v264 + 1, (unsigned __int8)v264 >> 1); } if ( (v264 & 1) != 0 ) operator delete(v266); v267[0] = 0; v267[1] = 0; v268 = nullptr; std::string::__init(v267, "40", 2u); v80 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(this, v267); v81 = cocos2d::CCString::boolValue(v80); v82 = v267[0]; *(_BYTE *)(v46 + 768) = v81; if ( (v82 & 1) != 0 ) operator delete(v268); v269[0] = 0; v269[1] = 0; v270 = nullptr; std::string::__init(v269, "41", 2u); v83 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(this, v269); v84 = cocos2d::CCString::intValue(v83); *(_DWORD *)(v46 + 928) = v84; v85 = v84; v86 = rand(); v87 = v269[0]; v88 = (int)(float)((float)((float)v86 * 4.6566e-10) * 1000.0); *(_DWORD *)(v46 + 924) = v88; *(_DWORD *)(v46 + 920) = v85 + v88; if ( (v87 & 1) != 0 ) operator delete(v270); v271[0] = 0; v271[1] = 0; v272 = nullptr; std::string::__init(v271, "44", 2u); v89 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(this, v271); v90 = cocos2d::CCString::boolValue(v89); v91 = v271[0]; *(_BYTE *)(v46 + 649) = v90; if ( (v91 & 1) != 0 ) operator delete(v272); *(_DWORD *)(v46 + 628) = v151; v92 = rand(); v273[0] = 0; v273[1] = 0; v274 = nullptr; v93 = (int)(float)((float)((float)v92 * 4.6566e-10) * 1000.0); *(_DWORD *)(v46 + 624) = v93; *(_DWORD *)(v46 + 620) = v151 + v93; std::string::__init(v273, "46", 2u); v94 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(this, v273); v95 = cocos2d::CCString::intValue(v94); v96 = v273[0]; *(_DWORD *)(v46 + 652) = v95; if ( (v96 & 1) != 0 ) operator delete(v274); v275[0] = 0; v275[1] = 0; v276 = nullptr; std::string::__init(v275, "47", 2u); v97 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(this, v275); v98 = cocos2d::CCString::intValue(v97); v99 = v275[0]; *(_DWORD *)(v46 + 656) = v98; if ( (v99 & 1) != 0 ) operator delete(v276); v277[0] = 0; v277[1] = 0; v278 = nullptr; std::string::__init(v277, "57", 2u); v100 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(this, v277); v101 = cocos2d::CCString::intValue(v100); v102 = v277[0]; *(_DWORD *)(v46 + 1232) = v101; if ( (v102 & 1) != 0 ) operator delete(v278); v281 = nullptr; v279 = 0; v280 = 0; if ( (v180 & 1) != 0 ) { std::string::__init(&v279, v182, v181); } else { v281 = v182; v279 = v180; v280 = v181; } v103 = (__int64 *)(v46 + 464); if ( (__int64 *)(v46 + 464) != &v279 ) { if ( (v279 & 1) != 0 ) std::string::assign(v103, v281, v280); else std::string::assign(v103, (char *)&v279 + 1, (unsigned __int8)v279 >> 1); } if ( (v279 & 1) != 0 ) operator delete(v281); v282 = 0; v283 = 0; v284 = nullptr; if ( (v185 & 1) != 0 ) { std::string::__init(&v282, v187, v186); } else { v284 = v187; v282 = v185; v283 = v186; } v104 = (__int64 *)(v46 + 488); if ( (__int64 *)(v46 + 488) != &v282 ) { if ( (v282 & 1) != 0 ) std::string::assign(v104, v284, v283); else std::string::assign(v104, (char *)&v282 + 1, (unsigned __int8)v282 >> 1); } if ( (v282 & 1) != 0 ) operator delete(v284); v285[0] = 0; v285[1] = 0; v286 = nullptr; std::string::__init(v285, "62", 2u); v105 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(this, v285); v106 = cocos2d::CCString::intValue(v105); v107 = v285[0]; *(_DWORD *)(v46 + 512) = v106; if ( (v107 & 1) != 0 ) operator delete(v286); v287[0] = 0; v287[1] = 0; v288 = nullptr; std::string::__init(v287, "63", 2u); v108 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(this, v287); v109 = cocos2d::CCString::intValue(v108); v110 = v287[0]; *(_DWORD *)(v46 + 516) = v109; if ( (v110 & 1) != 0 ) operator delete(v288); v289[0] = 0; v289[1] = 0; v290 = nullptr; std::string::__init(v289, "48", 2u); v111 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(this, v289); v159 = (char *)cocos2d::CCString::getCString(v111); v291[0] = 0; v291[1] = 0; v292 = nullptr; v112 = strlen(v159); std::string::__init(v291, v159, v112); GJGameLevel::parseSettingsString(); if ( (v291[0] & 1) != 0 ) operator delete(v292); if ( (v289[0] & 1) != 0 ) operator delete(v290); v293[0] = 0; v293[1] = 0; v294 = nullptr; std::string::__init(v293, "52", 2u); v113 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(this, v293); v114 = (char *)cocos2d::CCString::getCString(v113); std::string::assign((__int64 *)(v46 + 1240), v114); if ( (v293[0] & 1) != 0 ) operator delete(v294); v295[0] = 0; v295[1] = 0; v296 = nullptr; std::string::__init(v295, "53", 2u); v115 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(this, v295); v116 = (char *)cocos2d::CCString::getCString(v115); std::string::assign((__int64 *)(v46 + 1264), v116); if ( (v295[0] & 1) != 0 ) operator delete(v296); v297[0] = 0; v297[1] = 0; v298 = nullptr; std::string::__init(v297, "54", 2u); v117 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(this, v297); v118 = cocos2d::CCString::intValue(v117); v119 = v297[0]; *(_DWORD *)(v46 + 1288) = v118; if ( (v119 & 1) != 0 ) operator delete(v298); v299 = 0; v300 = 0; v301 = nullptr; std::string::__init(&v299, "65", 2u); v120 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(this, &v299); *(_DWORD *)(v46 + 1292) = cocos2d::CCString::intValue(v120); if ( (v299 & 1) != 0 ) operator delete(v301); v302 = 0; v303 = 0; v304 = nullptr; std::string::__init(&v302, &byte_11B8890, 0); v121 = sub_7FEA60((__int64)&v171, (__int64)&v302); if ( (v302 & 1) != 0 ) { operator delete(v304); v126 = v243; if ( v121 ) v127 = 4; else v127 = 3; *(_DWORD *)(v46 + 1140) = v127; if ( (v126 & 1) == 0 ) { LABEL_160: if ( (v238 & 1) == 0 ) goto LABEL_161; goto LABEL_188; } } else { v122 = v243; if ( v121 ) v123 = 4; else v123 = 3; *(_DWORD *)(v46 + 1140) = v123; if ( (v122 & 1) == 0 ) goto LABEL_160; } operator delete(v245); if ( (v238 & 1) == 0 ) { LABEL_161: if ( (v185 & 1) == 0 ) goto LABEL_162; goto LABEL_189; } LABEL_188: operator delete(v240); if ( (v185 & 1) == 0 ) { LABEL_162: if ( (v180 & 1) == 0 ) goto LABEL_163; goto LABEL_190; } LABEL_189: operator delete(v187); if ( (v180 & 1) == 0 ) { LABEL_163: if ( (v171 & 1) == 0 ) goto LABEL_164; LABEL_191: operator delete(v173); if ( (v166 & 1) == 0 ) goto LABEL_165; goto LABEL_192; } LABEL_190: operator delete(v182); if ( (v171 & 1) != 0 ) goto LABEL_191; LABEL_164: if ( (v166 & 1) == 0 ) goto LABEL_165; LABEL_192: operator delete(v168); LABEL_165: if ( (v163 & 1) != 0 ) operator delete(v165); return v46; }
GD Web Decomp Icon

GD Web Decomp

Raw Source