// // LevelSettingsObject::objectFromDict from 0x7a9fe4 to 0x7ad1d0 (12780 bytes) // // 3 xrefs: // > LevelSettingsObject::objectFromString @ 0x7ae1dc // > StartPosObject::loadSettingsFromString @ 0x879288 // > @ 0x91cd8 // // 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:53:48 +0000 // __int64 __fastcall LevelSettingsObject::objectFromDict(LevelSettingsObject *this, cocos2d::CCDictionary *a2) { __int64 v3; // x26 cocos2d::CCString *v4; // x0 int v5; // s0 cocos2d::CCString *v6; // x0 size_t v7; // x0 __int64 *v8; // x0 cocos2d::CCString *v9; // x0 cocos2d::CCString *v10; // x0 cocos2d::CCString *v11; // x0 cocos2d::CCString *v12; // x0 cocos2d::CCString *v13; // x0 cocos2d::CCString *v14; // x0 cocos2d::CCString *v15; // x0 cocos2d::CCString *v16; // x0 cocos2d::CCString *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 cocos2d::CCString *v37; // x0 cocos2d::CCString *v38; // x0 cocos2d::CCString *v39; // x0 cocos2d::CCString *v40; // x0 cocos2d::CCString *v41; // x0 cocos2d::CCString *v42; // x0 cocos2d::CCString *v43; // x0 cocos2d::CCString *v44; // x0 cocos2d::CCString *v45; // x0 cocos2d::CCString *v46; // x0 cocos2d::CCString *v47; // x0 cocos2d::CCString *v48; // x0 cocos2d::CCString *v49; // x0 cocos2d::CCString *v50; // x0 cocos2d::CCString *v51; // x0 cocos2d::CCString *v52; // x0 cocos2d::CCString *v53; // x0 cocos2d::CCString *v54; // x0 cocos2d::CCString *v55; // x0 cocos2d::CCString *v56; // x0 cocos2d::CCString *v57; // x0 int v58; // s0 cocos2d::CCString *v59; // x0 size_t v60; // x0 __int64 *v61; // x0 cocos2d::CCString *v62; // x0 __int64 v63; // x19 cocos2d::CCString *v64; // x0 size_t v65; // x0 unsigned __int8 v66; // w22 unsigned __int64 v67; // x24 char v68; // w25 unsigned __int64 v69; // x0 unsigned __int64 v70; // x0 unsigned __int64 v71; // x19 void *v72; // x22 int v73; // w24 unsigned __int8 v74; // w28 unsigned __int64 v75; // x25 int v76; // w4 char *v77; // x22 size_t v78; // x2 char *v79; // x0 _BYTE *v80; // x0 unsigned __int64 v81; // x19 char *v82; // x22 unsigned __int64 v83; // x2 size_t v84; // x2 _BYTE *v85; // x0 unsigned __int64 v86; // x22 char *v87; // x24 unsigned __int64 v88; // x0 unsigned __int64 v89; // x3 __int64 *v90; // x0 char *v91; // x1 size_t v92; // x2 unsigned __int64 v93; // x0 _BYTE *v94; // x28 __int64 v95; // x20 cocos2d::CCString *v96; // x0 size_t v97; // x0 size_t v98; // x1 __int64 v99; // x20 __int64 v100; // x19 cocos2d::CCString *v101; // x0 size_t v102; // x0 __int64 v104; // x19 cocos2d::CCString *v105; // x0 size_t v106; // x0 int v107; // w23 unsigned __int8 v108; // w20 unsigned __int64 v109; // x24 char v110; // w23 unsigned __int64 v111; // x0 unsigned __int64 v112; // x19 unsigned __int64 v113; // x0 __int64 *v114; // x22 __int64 *IDNames; // x0 __int64 *v116; // x23 _BYTE *v117; // x1 _BYTE *v118; // x0 unsigned __int64 v119; // x20 unsigned __int64 v120; // x0 void *v121; // x4 unsigned __int64 v122; // x2 void *v123; // x3 void *v124; // x2 __int64 v125; // x19 cocos2d::CCString *v126; // x0 size_t v127; // x0 __int64 v128; // x19 __int64 v129; // x20 cocos2d::CCString *v130; // x0 __int64 v131; // x20 cocos2d::CCString *v132; // x0 size_t v133; // x0 unsigned __int64 v134; // x23 __int64 v135; // x20 __int64 i; // x22 const char *v137; // x0 int v138; // w0 __int64 v139; // x1 __int64 v140; // x0 void *v141; // x20 _QWORD *v142; // x0 _QWORD *v143; // x24 __int64 v144; // x1 unsigned __int8 v145; // w25 int v146; // w0 size_t v147; // x1 unsigned __int64 v148; // x20 unsigned __int64 v149; // x0 _QWORD *v150; // x0 _QWORD *v151; // x19 void *v152; // x0 unsigned __int64 v153; // x23 unsigned __int64 v154; // x0 unsigned __int64 v155; // x3 char *v156; // x19 int v157; // w0 unsigned __int64 v158; // x19 unsigned __int64 v159; // x25 unsigned __int64 v160; // x20 __int64 *v161; // x1 unsigned __int64 v162; // x2 unsigned __int64 v163; // x2 float v164; // s0 _BOOL8 v165; // x2 __int64 v166; // x0 unsigned __int64 v167; // x2 unsigned __int64 v168; // x1 _QWORD *v169; // x0 int *v170; // x0 unsigned __int64 v171; // x2 unsigned __int64 v172; // x0 __int64 v173; // x2 __int64 v174; // x0 size_t v175; // x19 char *v176; // x24 int v177; // w23 int v178; // w3 int v179; // w4 int v180; // w5 int v181; // w6 int v182; // w7 __int64 v183; // x1 __int64 v184; // x0 __int64 v185; // x20 int ColorAction; // w20 cocos2d::CCString *v187; // x0 size_t v188; // x0 int v189; // w19 cocos2d::CCString *v190; // x0 size_t v191; // x0 __int64 v192; // x19 cocos2d::CCString *v193; // x0 size_t v194; // x0 int v195; // w19 cocos2d::CCString *v196; // x0 size_t v197; // x0 int v198; // w19 cocos2d::CCString *v199; // x0 size_t v200; // x0 int v201; // w19 cocos2d::CCString *v202; // x0 size_t v203; // x0 int v204; // w19 cocos2d::CCString *v205; // x0 size_t v206; // x0 int v207; // w19 cocos2d::CCString *v208; // x0 size_t v209; // x0 int v210; // w19 cocos2d::CCString *v211; // x0 size_t v212; // x0 __int64 v213; // x19 char v214; // [xsp+0h] [xbp+0h] __int64 v215; // [xsp+98h] [xbp+98h] unsigned __int64 v216; // [xsp+98h] [xbp+98h] unsigned __int64 v217; // [xsp+A8h] [xbp+A8h] char *CString; // [xsp+B0h] [xbp+B0h] char *v219; // [xsp+B0h] [xbp+B0h] char *v220; // [xsp+B0h] [xbp+B0h] int v221; // [xsp+B0h] [xbp+B0h] char *v222; // [xsp+B0h] [xbp+B0h] char *v223; // [xsp+B0h] [xbp+B0h] char *v224; // [xsp+B0h] [xbp+B0h] char *v225; // [xsp+B0h] [xbp+B0h] char *v226; // [xsp+B0h] [xbp+B0h] char *v227; // [xsp+B0h] [xbp+B0h] char *v228; // [xsp+B0h] [xbp+B0h] char *v229; // [xsp+B0h] [xbp+B0h] char *v230; // [xsp+B0h] [xbp+B0h] char *v231; // [xsp+B0h] [xbp+B0h] char *v232; // [xsp+B0h] [xbp+B0h] char *v233; // [xsp+B0h] [xbp+B0h] cocos2d::CCDictionary *v235; // [xsp+B8h] [xbp+B8h] cocos2d::CCDictionary *v236; // [xsp+B8h] [xbp+B8h] int v237; // [xsp+C8h] [xbp+C8h] BYREF int v238; // [xsp+CCh] [xbp+CCh] BYREF __int64 v239[2]; // [xsp+D0h] [xbp+D0h] BYREF void *v240; // [xsp+E0h] [xbp+E0h] __int64 v241; // [xsp+E8h] [xbp+E8h] BYREF unsigned __int64 v242; // [xsp+F0h] [xbp+F0h] void *v243; // [xsp+F8h] [xbp+F8h] __int64 v244; // [xsp+100h] [xbp+100h] BYREF unsigned __int64 v245; // [xsp+108h] [xbp+108h] void *v246; // [xsp+110h] [xbp+110h] __int64 v247; // [xsp+118h] [xbp+118h] BYREF unsigned __int64 v248; // [xsp+120h] [xbp+120h] void *v249; // [xsp+128h] [xbp+128h] __int64 v250; // [xsp+130h] [xbp+130h] BYREF size_t v251; // [xsp+138h] [xbp+138h] void *v252; // [xsp+140h] [xbp+140h] void *v253[3]; // [xsp+148h] [xbp+148h] BYREF __int64 v254; // [xsp+160h] [xbp+160h] BYREF __int64 v255; // [xsp+168h] [xbp+168h] void *v256; // [xsp+170h] [xbp+170h] __int64 v257; // [xsp+178h] [xbp+178h] BYREF size_t v258; // [xsp+180h] [xbp+180h] char *v259; // [xsp+188h] [xbp+188h] void *v260; // [xsp+190h] [xbp+190h] BYREF unsigned __int64 v261; // [xsp+198h] [xbp+198h] void *v262; // [xsp+1A0h] [xbp+1A0h] BYREF __int64 v263; // [xsp+1A8h] [xbp+1A8h] float v264; // [xsp+1B0h] [xbp+1B0h] LevelSettingsObject *v265; // [xsp+1B8h] [xbp+1B8h] v3 = LevelSettingsObject::create(v265); if ( !this ) return v3; v257 = 0; v258 = 0; v259 = nullptr; std::string::__init(&v257, "kA13", 4u); v4 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(this, &v257); cocos2d::CCString::floatValue(v4); *(_DWORD *)(v3 + 344) = v5; if ( (v257 & 1) != 0 ) operator delete(v259); v254 = 0; v255 = 0; v256 = nullptr; std::string::__init(&v254, "kA14", 4u); v6 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(this, &v254); CString = (char *)cocos2d::CCString::getCString(v6); v257 = 0; v258 = 0; v259 = nullptr; v7 = strlen(CString); std::string::__init(&v257, CString, v7); v8 = (__int64 *)(v3 + 392); if ( (__int64 *)(v3 + 392) != &v257 ) { if ( (v257 & 1) != 0 ) std::string::assign(v8, v259, v258); else std::string::assign(v8, (char *)&v257 + 1, (unsigned __int8)v257 >> 1); } if ( (v257 & 1) != 0 ) operator delete(v259); if ( (v254 & 1) != 0 ) operator delete(v256); v257 = 0; v258 = 0; v259 = nullptr; std::string::__init(&v257, "kA15", 4u); v9 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(this, &v257); *(_BYTE *)(v3 + 348) = cocos2d::CCString::boolValue(v9); if ( (v257 & 1) != 0 ) operator delete(v259); v257 = 0; v258 = 0; v259 = nullptr; std::string::__init(&v257, "kA16", 4u); v10 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(this, &v257); *(_BYTE *)(v3 + 349) = cocos2d::CCString::boolValue(v10); if ( (v257 & 1) != 0 ) operator delete(v259); v257 = 0; v258 = 0; v259 = nullptr; std::string::__init(&v257, "kA2", 3u); v11 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(this, &v257); *(_DWORD *)(v3 + 328) = cocos2d::CCString::intValue(v11); if ( (v257 & 1) != 0 ) operator delete(v259); v257 = 0; v258 = 0; v259 = nullptr; std::string::__init(&v257, "kA3", 3u); v12 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(this, &v257); *(_BYTE *)(v3 + 336) = cocos2d::CCString::boolValue(v12); if ( (v257 & 1) != 0 ) operator delete(v259); v257 = 0; v258 = 0; v259 = nullptr; std::string::__init(&v257, "kA8", 3u); v13 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(this, &v257); *(_BYTE *)(v3 + 337) = cocos2d::CCString::boolValue(v13); if ( (v257 & 1) != 0 ) operator delete(v259); v257 = 0; v258 = 0; v259 = nullptr; std::string::__init(&v257, "kA10", 4u); v14 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(this, &v257); *(_BYTE *)(v3 + 340) = cocos2d::CCString::boolValue(v14); if ( (v257 & 1) != 0 ) operator delete(v259); v257 = 0; v258 = 0; v259 = nullptr; std::string::__init(&v257, "kA22", 4u); v15 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(this, &v257); *(_BYTE *)(v3 + 341) = cocos2d::CCString::boolValue(v15); if ( (v257 & 1) != 0 ) operator delete(v259); v257 = 0; v258 = 0; v259 = nullptr; std::string::__init(&v257, "kA11", 4u); v16 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(this, &v257); *(_BYTE *)(v3 + 369) = cocos2d::CCString::boolValue(v16); if ( (v257 & 1) != 0 ) operator delete(v259); v257 = 0; v258 = 0; v259 = nullptr; std::string::__init(&v257, "kA23", 4u); v17 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(this, &v257); *(_BYTE *)(v3 + 428) = cocos2d::CCString::boolValue(v17); if ( (v257 & 1) != 0 ) operator delete(v259); v257 = 0; v258 = 0; v259 = nullptr; std::string::__init(&v257, "kA24", 4u); v18 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(this, &v257); *(_BYTE *)(v3 + 429) = cocos2d::CCString::boolValue(v18); if ( (v257 & 1) != 0 ) operator delete(v259); v257 = 0; v258 = 0; v259 = nullptr; std::string::__init(&v257, "kA4", 3u); v19 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(this, &v257); *(_DWORD *)(v3 + 332) = cocos2d::CCString::intValue(v19); if ( (v257 & 1) != 0 ) operator delete(v259); v257 = 0; v258 = 0; v259 = nullptr; std::string::__init(&v257, "kA6", 3u); v20 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(this, &v257); *(_DWORD *)(v3 + 352) = cocos2d::CCString::intValue(v20); if ( (v257 & 1) != 0 ) operator delete(v259); v257 = 0; v258 = 0; v259 = nullptr; std::string::__init(&v257, "kA25", 4u); v21 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(this, &v257); *(_DWORD *)(v3 + 364) = cocos2d::CCString::intValue(v21); if ( (v257 & 1) != 0 ) operator delete(v259); v257 = 0; v258 = 0; v259 = nullptr; std::string::__init(&v257, "kA7", 3u); v22 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(this, &v257); *(_DWORD *)(v3 + 356) = cocos2d::CCString::intValue(v22); if ( (v257 & 1) != 0 ) operator delete(v259); v257 = 0; v258 = 0; v259 = nullptr; std::string::__init(&v257, "kA17", 4u); v23 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(this, &v257); *(_DWORD *)(v3 + 424) = cocos2d::CCString::intValue(v23); if ( (v257 & 1) != 0 ) operator delete(v259); v257 = 0; v258 = 0; v259 = nullptr; std::string::__init(&v257, "kA18", 4u); v24 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(this, &v257); *(_DWORD *)(v3 + 360) = cocos2d::CCString::intValue(v24); if ( (v257 & 1) != 0 ) operator delete(v259); v257 = 0; v258 = 0; v259 = nullptr; std::string::__init(&v257, "kA9", 3u); v25 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(this, &v257); *(_BYTE *)(v3 + 368) = cocos2d::CCString::boolValue(v25); if ( (v257 & 1) != 0 ) operator delete(v259); v257 = 0; v258 = 0; v259 = nullptr; std::string::__init(&v257, "kS39", 4u); v26 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(this, &v257); *(_DWORD *)(v3 + 420) = cocos2d::CCString::intValue(v26); if ( (v257 & 1) != 0 ) operator delete(v259); v257 = 0; v258 = 0; v259 = nullptr; std::string::__init(&v257, "kA19", 4u); v27 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(this, &v257); *(_DWORD *)(v3 + 372) = cocos2d::CCString::intValue(v27); if ( (v257 & 1) != 0 ) operator delete(v259); v257 = 0; v258 = 0; v259 = nullptr; std::string::__init(&v257, "kA26", 4u); v28 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(this, &v257); *(_DWORD *)(v3 + 376) = cocos2d::CCString::intValue(v28); if ( (v257 & 1) != 0 ) operator delete(v259); v257 = 0; v258 = 0; v259 = nullptr; std::string::__init(&v257, "kA20", 4u); v29 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(this, &v257); *(_BYTE *)(v3 + 370) = cocos2d::CCString::boolValue(v29); if ( (v257 & 1) != 0 ) operator delete(v259); v257 = 0; v258 = 0; v259 = nullptr; std::string::__init(&v257, "kA21", 4u); v30 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(this, &v257); *(_BYTE *)(v3 + 464) = cocos2d::CCString::boolValue(v30); if ( (v257 & 1) != 0 ) operator delete(v259); v257 = 0; v258 = 0; v259 = nullptr; std::string::__init(&v257, "kA27", 4u); v31 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(this, &v257); *(_BYTE *)(v3 + 448) = cocos2d::CCString::boolValue(v31); if ( (v257 & 1) != 0 ) operator delete(v259); v257 = 0; v258 = 0; v259 = nullptr; std::string::__init(&v257, "kA40", 4u); v32 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(this, &v257); *(_BYTE *)(v3 + 456) = cocos2d::CCString::boolValue(v32); if ( (v257 & 1) != 0 ) operator delete(v259); v257 = 0; v258 = 0; v259 = nullptr; std::string::__init(&v257, "kA57", 4u); v33 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(this, &v257); *(_BYTE *)(v3 + 457) = cocos2d::CCString::boolValue(v33); if ( (v257 & 1) != 0 ) operator delete(v259); v257 = 0; v258 = 0; v259 = nullptr; std::string::__init(&v257, "kA58", 4u); v34 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(this, &v257); *(_BYTE *)(v3 + 458) = cocos2d::CCString::boolValue(v34); if ( (v257 & 1) != 0 ) operator delete(v259); v257 = 0; v258 = 0; v259 = nullptr; std::string::__init(&v257, "kA48", 4u); v35 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(this, &v257); *(_BYTE *)(v3 + 462) = cocos2d::CCString::boolValue(v35); if ( (v257 & 1) != 0 ) operator delete(v259); v257 = 0; v258 = 0; v259 = nullptr; std::string::__init(&v257, "kA41", 4u); v36 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(this, &v257); *(_BYTE *)(v3 + 459) = cocos2d::CCString::boolValue(v36); if ( (v257 & 1) != 0 ) operator delete(v259); v257 = 0; v258 = 0; v259 = nullptr; std::string::__init(&v257, "kA42", 4u); v37 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(this, &v257); *(_BYTE *)(v3 + 460) = cocos2d::CCString::boolValue(v37); if ( (v257 & 1) != 0 ) operator delete(v259); v257 = 0; v258 = 0; v259 = nullptr; std::string::__init(&v257, "kA63", 4u); v38 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(this, &v257); *(_BYTE *)(v3 + 338) = cocos2d::CCString::boolValue(v38); if ( (v257 & 1) != 0 ) operator delete(v259); v257 = 0; v258 = 0; v259 = nullptr; std::string::__init(&v257, "kA29", 4u); v39 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(this, &v257); *(_BYTE *)(v3 + 339) = cocos2d::CCString::boolValue(v39); if ( (v257 & 1) != 0 ) operator delete(v259); v257 = 0; v258 = 0; v259 = nullptr; std::string::__init(&v257, "kA31", 4u); v40 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(this, &v257); *(_BYTE *)(v3 + 449) = cocos2d::CCString::boolValue(v40); if ( (v257 & 1) != 0 ) operator delete(v259); v257 = 0; v258 = 0; v259 = nullptr; std::string::__init(&v257, "kA32", 4u); v41 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(this, &v257); *(_BYTE *)(v3 + 450) = cocos2d::CCString::boolValue(v41); if ( (v257 & 1) != 0 ) operator delete(v259); v257 = 0; v258 = 0; v259 = nullptr; std::string::__init(&v257, "kA33", 4u); v42 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(this, &v257); *(_BYTE *)(v3 + 451) = cocos2d::CCString::boolValue(v42); if ( (v257 & 1) != 0 ) operator delete(v259); v257 = 0; v258 = 0; v259 = nullptr; std::string::__init(&v257, "kA34", 4u); v43 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(this, &v257); *(_BYTE *)(v3 + 452) = cocos2d::CCString::boolValue(v43); if ( (v257 & 1) != 0 ) operator delete(v259); v257 = 0; v258 = 0; v259 = nullptr; std::string::__init(&v257, "kA37", 4u); v44 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(this, &v257); *(_BYTE *)(v3 + 453) = cocos2d::CCString::boolValue(v44); if ( (v257 & 1) != 0 ) operator delete(v259); v257 = 0; v258 = 0; v259 = nullptr; std::string::__init(&v257, "kA38", 4u); v45 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(this, &v257); *(_BYTE *)(v3 + 454) = cocos2d::CCString::boolValue(v45); if ( (v257 & 1) != 0 ) operator delete(v259); v257 = 0; v258 = 0; v259 = nullptr; std::string::__init(&v257, "kA39", 4u); v46 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(this, &v257); *(_BYTE *)(v3 + 455) = cocos2d::CCString::boolValue(v46); if ( (v257 & 1) != 0 ) operator delete(v259); v257 = 0; v258 = 0; v259 = nullptr; std::string::__init(&v257, "kA35", 4u); v47 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(this, &v257); *(_BYTE *)(v3 + 440) = cocos2d::CCString::boolValue(v47); if ( (v257 & 1) != 0 ) operator delete(v259); v257 = 0; v258 = 0; v259 = nullptr; std::string::__init(&v257, "kA36", 4u); v48 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(this, &v257); *(_DWORD *)(v3 + 444) = cocos2d::CCString::intValue(v48); if ( (v257 & 1) != 0 ) operator delete(v259); v257 = 0; v258 = 0; v259 = nullptr; std::string::__init(&v257, "kA43", 4u); v49 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(this, &v257); *(_BYTE *)(v3 + 430) = cocos2d::CCString::boolValue(v49); if ( (v257 & 1) != 0 ) operator delete(v259); v257 = 0; v258 = 0; v259 = nullptr; std::string::__init(&v257, "kA44", 4u); v50 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(this, &v257); *(_DWORD *)(v3 + 432) = cocos2d::CCString::intValue(v50); if ( (v257 & 1) != 0 ) operator delete(v259); v257 = 0; v258 = 0; v259 = nullptr; std::string::__init(&v257, "kA45", 4u); v51 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(this, &v257); *(_BYTE *)(v3 + 461) = cocos2d::CCString::boolValue(v51); if ( (v257 & 1) != 0 ) operator delete(v259); v257 = 0; v258 = 0; v259 = nullptr; std::string::__init(&v257, "kA46", 4u); v52 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(this, &v257); *(_BYTE *)(v3 + 350) = cocos2d::CCString::boolValue(v52); if ( (v257 & 1) != 0 ) operator delete(v259); v257 = 0; v258 = 0; v259 = nullptr; std::string::__init(&v257, "kA47", 4u); v53 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(this, &v257); *(_DWORD *)(v3 + 436) = cocos2d::CCString::intValue(v53); if ( (v257 & 1) != 0 ) operator delete(v259); v257 = 0; v258 = 0; v259 = nullptr; std::string::__init(&v257, "kA49", 4u); v54 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(this, &v257); *(_BYTE *)(v3 + 463) = cocos2d::CCString::boolValue(v54); if ( (v257 & 1) != 0 ) operator delete(v259); v257 = 0; v258 = 0; v259 = nullptr; std::string::__init(&v257, "kA50", 4u); v55 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(this, &v257); *(_BYTE *)(v3 + 465) = cocos2d::CCString::boolValue(v55); if ( (v257 & 1) != 0 ) operator delete(v259); v257 = 0; v258 = 0; v259 = nullptr; std::string::__init(&v257, "kA51", 4u); v56 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(this, &v257); *(_DWORD *)(v3 + 468) = cocos2d::CCString::intValue(v56); if ( (v257 & 1) != 0 ) operator delete(v259); v257 = 0; v258 = 0; v259 = nullptr; std::string::__init(&v257, "kA52", 4u); v57 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(this, &v257); cocos2d::CCString::floatValue(v57); *(_DWORD *)(v3 + 476) = v58; if ( (v257 & 1) != 0 ) operator delete(v259); v254 = 0; v255 = 0; v256 = nullptr; std::string::__init(&v254, "kA53", 4u); v59 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(this, &v254); v219 = (char *)cocos2d::CCString::getCString(v59); v257 = 0; v258 = 0; v259 = nullptr; v60 = strlen(v219); std::string::__init(&v257, v219, v60); v61 = (__int64 *)(v3 + 480); if ( (__int64 *)(v3 + 480) != &v257 ) { if ( (v257 & 1) != 0 ) std::string::assign(v61, v259, v258); else std::string::assign(v61, (char *)&v257 + 1, (unsigned __int8)v257 >> 1); } if ( (v257 & 1) != 0 ) operator delete(v259); if ( (v254 & 1) != 0 ) operator delete(v256); v257 = 0; v258 = 0; v259 = nullptr; std::string::__init(&v257, "kA54", 4u); v62 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(this, &v257); *(_DWORD *)(v3 + 472) = cocos2d::CCString::intValue(v62); if ( (v257 & 1) != 0 ) operator delete(v259); v257 = 0; v258 = 0; v259 = nullptr; std::string::__init(&v257, "kA55", 4u); v63 = cocos2d::CCDictionary::objectForKey(this, &v257); if ( (v257 & 1) != 0 ) operator delete(v259); if ( v63 ) { v239[0] = 0; v239[1] = 0; v240 = nullptr; std::string::__init(v239, "kA55", 4u); v64 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(this, v239); v220 = (char *)cocos2d::CCString::getCString(v64); v241 = 0; v242 = 0; v243 = nullptr; v65 = strlen(v220); std::string::__init(&v241, v220, v65); if ( *(_QWORD *)(v3 + 528) ) { sub_788878(*(void ****)(v3 + 520)); *(_QWORD *)(v3 + 520) = 0; v183 = *(_QWORD *)(v3 + 512); v184 = 0; if ( v183 ) { do *(_QWORD *)(*(_QWORD *)(v3 + 504) + 8 * v184++) = 0; while ( v184 != v183 ); } *(_QWORD *)(v3 + 528) = 0; } if ( (v241 & 1) != 0 ) { v66 = v241; if ( !v242 ) { LABEL_200: operator delete(v243); LABEL_201: if ( (v239[0] & 1) != 0 ) operator delete(v240); goto LABEL_203; } } else { if ( !((int)(unsigned __int8)v241 >> 1) ) goto LABEL_201; v66 = v241; } v67 = 0; v68 = v241 & 1; while ( 1 ) { v69 = v66 >> 1; if ( v68 ) v69 = v242; if ( v67 >= v69 ) break; v217 = std::string::find((__int64)&v241, 0x7Cu, v67); if ( v217 == -1 ) { v217 = v66 >> 1; if ( v68 ) v217 = v242; } v70 = std::string::find((__int64)&v241, 0x3Au, v67); v71 = v70; if ( v70 < v217 && v70 != -1 ) { std::string::basic_string(&v247, (__int64)&v241, v67, v70 - v67); if ( (v247 & 1) != 0 ) { v72 = v249; LODWORD(v253[0]) = atoi((const char *)v249); operator delete(v72); } else { LODWORD(v253[0]) = atoi((const char *)&v247 + 1); } std::string::basic_string(&v244, (__int64)&v241, v71 + 1, v217 - 1 - v71); v215 = std::unordered_map>::operator[](v3 + 504, (int *)v253); if ( *(_QWORD *)(v215 + 24) ) { sub_7887F4(*(void ***)(v215 + 16)); *(_QWORD *)(v215 + 16) = 0; v173 = *(_QWORD *)(v215 + 8); v174 = 0; if ( v173 ) { do *(_QWORD *)(*(_QWORD *)v215 + 8 * v174++) = 0; while ( v174 != v173 ); } *(_QWORD *)(v215 + 24) = 0; } if ( (v244 & 1) != 0 ) { v73 = (unsigned __int8)v244; if ( v245 ) goto LABEL_138; LABEL_286: operator delete(v246); LABEL_287: v66 = v241; v68 = v241 & 1; goto LABEL_126; } if ( !((int)(unsigned __int8)v244 >> 1) ) goto LABEL_287; v73 = (unsigned __int8)v244; LABEL_138: v74 = v244 & 1; v75 = 0; v76 = v244 & 1; if ( (v244 & 1) != 0 ) { LABEL_139: if ( v75 < v245 ) { v77 = (char *)v246; v78 = v245 - v75; v79 = (char *)v246 + v75; if ( v245 != v75 ) { LABEL_141: v221 = v76; v80 = memchr(v79, 94, v78); if ( v80 ) { v81 = v80 - v77; if ( v80 - v77 != -1 ) { if ( !v221 ) { v83 = (unsigned __int8)v73 >> 1; v82 = (char *)&v244 + 1; goto LABEL_151; } v82 = (char *)v246; v83 = v245; goto LABEL_145; } } LODWORD(v81) = v73 >> 1; if ( !v221 ) goto LABEL_150; } v81 = v245; v82 = (char *)v246; v83 = v245; LABEL_145: if ( v75 < v83 ) goto LABEL_152; LABEL_146: v75 = v81 + 1; goto LABEL_147; } goto LABEL_286; } while ( 2 ) { LODWORD(v81) = v73 >> 1; if ( v75 >= v73 >> 1 ) goto LABEL_287; v78 = (int)v81 - v75; v77 = (char *)&v244 + 1; v79 = (char *)&v244 + v75 + 1; if ( v78 ) goto LABEL_141; LABEL_150: v81 = (int)v81; v82 = (char *)&v244 + 1; v83 = (int)v81; LABEL_151: if ( v75 >= v83 ) goto LABEL_146; LABEL_152: v84 = v83 - v75; if ( !v84 ) goto LABEL_146; v85 = memchr(&v82[v75], 126, v84); if ( !v85 ) goto LABEL_146; v86 = v85 - v82; if ( v86 >= v81 || v86 == -1 ) goto LABEL_146; std::string::basic_string(&v257, (__int64)&v244, v75, v86 - v75); if ( (v257 & 1) != 0 ) { v87 = v259; LODWORD(v260) = atoi(v259); operator delete(v87); } else { LODWORD(v260) = atoi((const char *)&v257 + 1); } v88 = std::string::find((__int64)&v244, 0x7Eu, v86 + 1); v89 = v88; if ( v81 < v88 || v88 == -1 ) v89 = v81; std::string::basic_string(&v254, (__int64)&v244, v86 + 1, ~v86 + v89); LevelSettingsObject::sanitizeIDName((char *)&v254, &v250); if ( (v254 & 1) != 0 ) operator delete(v256); if ( (int)v260 <= 0 ) { LABEL_169: if ( (v250 & 1) != 0 ) goto LABEL_283; } else if ( (v250 & 1) != 0 ) { if ( v251 ) { LABEL_165: v90 = (__int64 *)std::unordered_map::operator[](v215, (int *)&v260); if ( v90 != &v250 ) { if ( (v250 & 1) != 0 ) { v91 = (char *)v252; v92 = v251; } else { v92 = (unsigned __int8)v250 >> 1; v91 = (char *)&v250 + 1; } std::string::assign(v90, v91, v92); } goto LABEL_169; } LABEL_283: operator delete(v252); } else if ( (int)(unsigned __int8)v250 >> 1 ) { goto LABEL_165; } v73 = (unsigned __int8)v244; v75 = v81 + 1; v74 = v244 & 1; LABEL_147: v76 = v74; if ( v74 ) goto LABEL_139; continue; } } LABEL_126: v67 = v217 + 1; } if ( !v68 ) goto LABEL_201; goto LABEL_200; } LABEL_203: v257 = 0; v258 = 0; v259 = nullptr; std::string::__init(&v257, "kA56", 4u); v104 = cocos2d::CCDictionary::objectForKey(this, &v257); if ( (v257 & 1) != 0 ) operator delete(v259); if ( v104 ) { v244 = 0; v245 = 0; v246 = nullptr; std::string::__init(&v244, "kA56", 4u); v105 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(this, &v244); v223 = (char *)cocos2d::CCString::getCString(v105); v247 = 0; v248 = 0; v249 = nullptr; v106 = strlen(v223); std::string::__init(&v247, v223, v106); if ( *(_QWORD *)(v3 + 568) ) { sub_78860C(*(_QWORD **)(v3 + 560)); *(_QWORD *)(v3 + 560) = 0; v139 = *(_QWORD *)(v3 + 552); v140 = 0; if ( v139 ) { do *(_QWORD *)(*(_QWORD *)(v3 + 544) + 8 * v140++) = 0; while ( v140 != v139 ); } *(_QWORD *)(v3 + 568) = 0; v107 = (unsigned __int8)v247; if ( (v247 & 1) == 0 ) goto LABEL_208; } else { v107 = (unsigned __int8)v247; if ( (v247 & 1) == 0 ) { LABEL_208: if ( !(v107 >> 1) ) goto LABEL_222; v108 = v107; goto LABEL_210; } } v108 = v107; if ( !v248 ) { LABEL_221: operator delete(v249); LABEL_222: if ( (v244 & 1) != 0 ) operator delete(v246); goto LABEL_224; } LABEL_210: v109 = 0; v110 = v107 & 1; while ( 1 ) { v113 = v108 >> 1; if ( v110 ) v113 = v248; if ( v109 >= v113 ) break; v216 = std::string::find((__int64)&v247, 0x7Cu, v109); if ( v216 == -1 ) { v216 = v108 >> 1; if ( v110 ) v216 = v248; } v111 = std::string::find((__int64)&v247, 0x3Au, v109); v112 = v111; if ( v111 < v216 && v111 != -1 ) { std::string::basic_string(&v254, (__int64)&v247, v109, v111 - v109); if ( (v254 & 1) != 0 ) { v141 = v256; v237 = atoi((const char *)v256); operator delete(v141); } else { v237 = atoi((const char *)&v254 + 1); } std::string::basic_string(&v250, (__int64)&v247, v112 + 1, v216 - 1 - v112); v142 = (_QWORD *)std::unordered_map>::operator[](v3 + 544, &v237); v143 = v142; v144 = v142[1]; if ( *v142 != v144 ) v142[1] = v144 + 4 * ~((unsigned __int64)(v144 - 4 - *v142) >> 2); v145 = v250; v146 = v250 & 1; if ( v146 ) v147 = v251; else v147 = (unsigned __int8)v250 >> 1; if ( !v147 ) { LABEL_308: if ( v146 ) operator delete(v252); v108 = v247; v110 = v247 & 1; goto LABEL_213; } v260 = nullptr; v148 = 0; v261 = 0; v262 = nullptr; v263 = 0; v264 = 1.0; while ( 2 ) { v149 = v145 >> 1; if ( (v145 & 1) != 0 ) v149 = v251; if ( v148 >= v149 || (int)((__int64)(v143[1] - *v143) >> 2) > 499 ) { v150 = v262; if ( v262 ) { do { v151 = (_QWORD *)*v150; operator delete(v150); v150 = v151; } while ( v151 ); } v152 = v260; v260 = nullptr; if ( v152 ) operator delete(v152); v146 = v250 & 1; goto LABEL_308; } v153 = std::string::find((__int64)&v250, 0x5Eu, v148); if ( v153 == -1 ) { v153 = v145 >> 1; if ( (v145 & 1) != 0 ) v153 = v251; } v154 = std::string::find((__int64)&v250, 0x7Eu, v148); v155 = v154; if ( v154 > v153 || v154 == -1 ) v155 = v153; std::string::basic_string(&v257, (__int64)&v250, v148, v155 - v148); if ( (v257 & 1) != 0 ) { v156 = v259; v238 = atoi(v259); operator delete(v156); v157 = v238; } else { v157 = atoi((const char *)&v257 + 1); v238 = v157; } if ( v157 <= 0 ) { LABEL_338: v145 = v250; v148 = v153 + 1; continue; } break; } v158 = v261; v159 = v157; if ( v261 ) { v160 = v157 & (v261 - 1); if ( ((v261 - 1) & v261) != 0 ) v160 = v157 % v261; v161 = *((__int64 **)v260 + v160); if ( v161 ) { while ( 1 ) { v161 = (__int64 *)*v161; if ( !v161 ) break; v162 = v161[1]; v163 = ((v261 - 1) & v261) != 0 ? v162 % v261 : (v261 - 1) & v162; if ( v160 != v163 ) break; if ( *((_DWORD *)v161 + 4) == v157 ) goto LABEL_338; } } } else { v160 = 0; } std::__hash_table,std::equal_to,std::allocator>::__construct_node_hash( (__int64)&v260, v157, &v238, (__int64)v253); v164 = (float)(unsigned __int64)(v263 + 1); if ( v164 > (float)((float)v158 * v264) ) { v165 = 1; v166 = 2 * v158; if ( v158 > 2 ) v165 = ((v158 - 1) & v158) != 0; LABEL_328: v167 = v165 + v166; v168 = vcvtps_u32_f32(v164 / v264); if ( v168 < v167 ) v168 = v167; std::__hash_table,std::equal_to,std::allocator>::rehash( (unsigned __int64)&v260, v168); v158 = v261; if ( ((v158 - 1) & v158) == 0 ) { v160 = v159 & (v261 - 1); goto LABEL_332; } v160 = v159 % v261; v169 = *((_QWORD **)v260 + v159 % v261); if ( !v169 ) goto LABEL_350; LABEL_333: *(_QWORD *)v253[0] = *v169; *v169 = v253[0]; } else { if ( !v158 ) { v165 = 1; v166 = 0; goto LABEL_328; } LABEL_332: v169 = *((_QWORD **)v260 + v160); if ( v169 ) goto LABEL_333; LABEL_350: *(_QWORD *)v253[0] = v262; v262 = v253[0]; *((_QWORD *)v260 + v160) = &v262; if ( *(_QWORD *)v253[0] ) { v171 = *(_QWORD *)(*(_QWORD *)v253[0] + 8LL); if ( ((v158 - 1) & v158) != 0 ) v172 = v171 % v158; else v172 = (v158 - 1) & v171; *((void **)v260 + v172) = v253[0]; ++v263; v170 = (int *)v143[1]; if ( v170 == (int *)v143[2] ) { LABEL_354: std::vector::__push_back_slow_path((__int64)v143, &v238); goto LABEL_338; } LABEL_335: if ( v170 ) { *v170 = v238; v170 = (int *)v143[1]; } v143[1] = v170 + 1; goto LABEL_338; } } ++v263; v170 = (int *)v143[1]; if ( v170 == (int *)v143[2] ) goto LABEL_354; goto LABEL_335; } LABEL_213: v109 = v216 + 1; } if ( !v110 ) goto LABEL_222; goto LABEL_221; } LABEL_224: v114 = *(__int64 **)(v3 + 560); if ( v114 ) { while ( 1 ) { IDNames = LevelSettingsObject::getIDNames((LevelSettingsObject *)v3, *((_DWORD *)v114 + 4)); v260 = nullptr; v261 = 0; v116 = IDNames; v262 = nullptr; v117 = (_BYTE *)v114[3]; v118 = (_BYTE *)v114[4]; if ( (v118 - v117) >> 2 ) break; v123 = nullptr; v122 = 0; v121 = nullptr; LABEL_235: v114[3] = (__int64)v121; v260 = v117; v114[4] = v122; v261 = (unsigned __int64)v118; v124 = (void *)v114[5]; v114[5] = (__int64)v123; v262 = v124; if ( v117 ) { if ( v118 != v117 ) v261 = (unsigned __int64)&v118[4 * ~((unsigned __int64)(v118 - 4 - v117) >> 2)]; operator delete(v117); } v114 = (__int64 *)*v114; if ( !v114 ) goto LABEL_240; } v119 = 0; while ( 1 ) { while ( !std::__hash_table,std::__unordered_map_hasher,std::hash,true>,std::__unordered_map_equal,std::equal_to,true>,std::allocator>>::find( v116, (int *)&v117[4 * v119]) ) { v117 = (_BYTE *)v114[3]; LABEL_233: v118 = (_BYTE *)v114[4]; if ( ++v119 >= (v118 - v117) >> 2 ) goto LABEL_234; } v120 = v261; v117 = (_BYTE *)v114[3]; if ( (void *)v261 == v262 ) { std::vector::__push_back_slow_path((__int64)&v260, &v117[4 * v119]); v117 = (_BYTE *)v114[3]; goto LABEL_233; } if ( v261 ) { *(_DWORD *)v261 = *(_DWORD *)&v117[4 * v119]; v120 = v261; v117 = (_BYTE *)v114[3]; } v261 = v120 + 4; ++v119; v118 = (_BYTE *)v114[4]; if ( v119 >= (v118 - v117) >> 2 ) { LABEL_234: v121 = v260; v122 = v261; v123 = v262; goto LABEL_235; } } } LABEL_240: v257 = 0; v258 = 0; v259 = nullptr; std::string::__init(&v257, "kA59", 4u); v125 = cocos2d::CCDictionary::objectForKey(this, &v257); if ( (v257 & 1) != 0 ) operator delete(v259); if ( v125 ) { v247 = 0; v248 = 0; v249 = nullptr; std::string::__init(&v247, "kA59", 4u); v126 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(this, &v247); v224 = (char *)cocos2d::CCString::getCString(v126); v250 = 0; v251 = 0; v252 = nullptr; v127 = strlen(v224); std::string::__init(&v250, v224, v127); v128 = *(_QWORD *)(v3 + 592); if ( v128 ) { std::__tree,std::string>,std::__map_value_compare,std::__value_type,std::string>,std::less>,true>,std::allocator,std::string>>>::destroy( v3 + 584, *(void **)v128); std::__tree,std::string>,std::__map_value_compare,std::__value_type,std::string>,std::less>,true>,std::allocator,std::string>>>::destroy( v3 + 584, *(void **)(v128 + 8)); if ( (*(_BYTE *)(v128 + 40) & 1) != 0 ) operator delete(*(void **)(v128 + 56)); operator delete((void *)v128); } *(_QWORD *)(v3 + 600) = 0; *(_QWORD *)(v3 + 592) = 0; *(_QWORD *)(v3 + 584) = v3 + 592; if ( (v250 & 1) != 0 ) { if ( !v251 ) { LABEL_270: operator delete(v252); LABEL_249: if ( (v247 & 1) != 0 ) operator delete(v249); goto LABEL_251; } } else if ( !((int)(unsigned __int8)v250 >> 1) ) { goto LABEL_249; } v175 = std::string::find((__int64)&v250, 0x7Cu, 0); std::string::basic_string(&v257, (__int64)&v250, 0, v175); if ( (v257 & 1) != 0 ) { v176 = v259; v177 = atoi(v259); operator delete(v176); } else { v177 = atoi((const char *)&v257 + 1); } if ( v177 <= 1 && v175 != -1 ) { std::string::basic_string(&v254, (__int64)&v250, v175 + 1, 0xFFFFFFFFFFFFFFFFLL); MusicDownloadManager::decodeCustomSFXMappingEntries((int)&v254, v3 + 584, 0, v178, v179, v180, v181, v182, v214); if ( (v254 & 1) != 0 ) operator delete(v256); } if ( (v250 & 1) == 0 ) goto LABEL_249; goto LABEL_270; } LABEL_251: v257 = 0; v258 = 0; v259 = nullptr; std::string::__init(&v257, "kA61", 4u); v129 = cocos2d::CCDictionary::objectForKey(this, &v257); if ( (v257 & 1) != 0 ) operator delete(v259); if ( v129 ) { v257 = 0; v258 = 0; v259 = nullptr; std::string::__init(&v257, "kA61", 4u); v130 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(this, &v257); *(_DWORD *)(v3 + 632) = cocos2d::CCString::intValue(v130); if ( (v257 & 1) != 0 ) operator delete(v259); } v257 = 0; v258 = 0; v259 = nullptr; std::string::__init(&v257, "kA62", 4u); v131 = cocos2d::CCDictionary::objectForKey(this, &v257); if ( (v257 & 1) != 0 ) operator delete(v259); if ( v131 ) { v254 = 0; v255 = 0; v256 = nullptr; std::string::__init(&v254, "kA62", 4u); v132 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(this, &v254); v225 = (char *)cocos2d::CCString::getCString(v132); v257 = 0; v258 = 0; v259 = nullptr; v133 = strlen(v225); std::string::__init(&v257, v225, v133); std::__tree::clear((_QWORD *)(v3 + 640)); v260 = nullptr; v261 = 0; v262 = nullptr; sub_79945C((unsigned __int8 *)&v257, "|", (__int64 *)&v260); v94 = v260; v134 = 0xAAAAAAAAAAAAAAABLL * ((__int64)(v261 - (_QWORD)v260) >> 3); if ( v134 ) { v135 = 0; for ( i = 0; i != v134; ++i ) { v137 = &v94[v135 + 1]; if ( (v94[v135] & 1) != 0 ) v137 = *(const char **)&v94[v135 + 16]; v138 = atoi(v137); LODWORD(v253[0]) = v138; if ( v138 > 1 || v138 == -1 ) { std::__tree::__emplace_unique_key_args((__int64 **)(v3 + 640), (int *)v253, v253); v94 = v260; } v135 += 24; } } if ( v94 ) { v93 = v261; if ( (_BYTE *)v261 != v94 ) { do { v261 = v93 - 24; std::string::~string(v93 - 24); v93 = v261; } while ( (_BYTE *)v261 != v94 ); v94 = v260; } operator delete(v94); } if ( (v257 & 1) != 0 ) operator delete(v259); if ( (v254 & 1) != 0 ) operator delete(v256); } v257 = 0; v258 = 0; v259 = nullptr; std::string::__init(&v257, "kA60", 4u); v95 = cocos2d::CCDictionary::objectForKey(this, &v257); if ( (v257 & 1) != 0 ) operator delete(v259); if ( v95 ) { v250 = 0; v251 = 0; v252 = nullptr; std::string::__init(&v250, "kA60", 4u); v96 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(this, &v250); v222 = (char *)cocos2d::CCString::getCString(v96); v254 = 0; v255 = 0; v256 = nullptr; v97 = strlen(v222); std::string::__init(&v254, v222, v97); LevelTools::base64DecodeString((__int64)&v254, &v257); if ( (*(_BYTE *)(v3 + 608) & 1) != 0 ) { **(_BYTE **)(v3 + 624) = 0; *(_QWORD *)(v3 + 616) = 0; } else { *(_BYTE *)(v3 + 609) = 0; *(_BYTE *)(v3 + 608) = 0; } std::string::reserve((__int64 *)(v3 + 608), 0); v98 = v258; *(_QWORD *)(v3 + 608) = v257; *(_QWORD *)(v3 + 616) = v98; *(_QWORD *)(v3 + 624) = v259; if ( (v254 & 1) != 0 ) operator delete(v256); if ( (v250 & 1) != 0 ) operator delete(v252); } if ( !*(_BYTE *)(v3 + 368) ) { v257 = 0; v258 = 0; v259 = nullptr; std::string::__init(&v257, "kS38", 4u); v99 = cocos2d::CCDictionary::objectForKey(this, &v257); if ( (v257 & 1) != 0 ) operator delete(v259); if ( v99 ) { v100 = *(_QWORD *)(v3 + 320); v254 = 0; v255 = 0; v256 = nullptr; std::string::__init(&v254, "kS38", 4u); v101 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(this, &v254); v235 = (cocos2d::CCDictionary *)cocos2d::CCString::getCString(v101); v257 = 0; v258 = 0; v259 = nullptr; v102 = strlen((const char *)v235); std::string::__init(&v257, v235, v102); GJEffectManager::setupFromString(v100, (char *)&v257); LABEL_194: if ( (v257 & 1) != 0 ) operator delete(v259); if ( (v254 & 1) != 0 ) operator delete(v256); return v3; } v257 = 0; v258 = 0; v259 = nullptr; std::string::__init(&v257, "kS29", 4u); v185 = cocos2d::CCDictionary::objectForKey(this, &v257); if ( (v257 & 1) != 0 ) operator delete(v259); if ( v185 ) { ColorAction = GJEffectManager::getColorAction(*(GJEffectManager **)(v3 + 320), 1000); v254 = 0; v255 = 0; v256 = nullptr; std::string::__init(&v254, "kS29", 4u); v187 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(this, &v254); v226 = (char *)cocos2d::CCString::getCString(v187); v257 = 0; v258 = 0; v259 = nullptr; v188 = strlen(v226); std::string::__init(&v257, v226, v188); ColorAction::setupFromString(ColorAction, (int)&v257); if ( (v257 & 1) != 0 ) operator delete(v259); if ( (v254 & 1) != 0 ) operator delete(v256); v189 = GJEffectManager::getColorAction(*(GJEffectManager **)(v3 + 320), 1001); v254 = 0; v255 = 0; v256 = nullptr; std::string::__init(&v254, "kS30", 4u); v190 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(this, &v254); v227 = (char *)cocos2d::CCString::getCString(v190); v257 = 0; v258 = 0; v259 = nullptr; v191 = strlen(v227); std::string::__init(&v257, v227, v191); ColorAction::setupFromString(v189, (int)&v257); if ( (v257 & 1) != 0 ) operator delete(v259); if ( (v254 & 1) != 0 ) operator delete(v256); v192 = GJEffectManager::getColorAction(*(GJEffectManager **)(v3 + 320), 1002); v254 = 0; v255 = 0; v256 = nullptr; std::string::__init(&v254, "kS31", 4u); v193 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(this, &v254); v228 = (char *)cocos2d::CCString::getCString(v193); v257 = 0; v258 = 0; v259 = nullptr; v194 = strlen(v228); std::string::__init(&v257, v228, v194); ColorAction::setupFromString(v192, (int)&v257); if ( (v257 & 1) != 0 ) operator delete(v259); if ( (v254 & 1) != 0 ) operator delete(v256); *(_BYTE *)(v192 + 84) = 1; v195 = GJEffectManager::getColorAction(*(GJEffectManager **)(v3 + 320), 1004); v254 = 0; v255 = 0; v256 = nullptr; std::string::__init(&v254, "kS32", 4u); v196 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(this, &v254); v229 = (char *)cocos2d::CCString::getCString(v196); v257 = 0; v258 = 0; v259 = nullptr; v197 = strlen(v229); std::string::__init(&v257, v229, v197); ColorAction::setupFromString(v195, (int)&v257); if ( (v257 & 1) != 0 ) operator delete(v259); if ( (v254 & 1) != 0 ) operator delete(v256); v198 = GJEffectManager::getColorAction(*(GJEffectManager **)(v3 + 320), 1); v254 = 0; v255 = 0; v256 = nullptr; std::string::__init(&v254, "kS33", 4u); v199 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(this, &v254); v230 = (char *)cocos2d::CCString::getCString(v199); v257 = 0; v258 = 0; v259 = nullptr; v200 = strlen(v230); std::string::__init(&v257, v230, v200); ColorAction::setupFromString(v198, (int)&v257); if ( (v257 & 1) != 0 ) operator delete(v259); if ( (v254 & 1) != 0 ) operator delete(v256); v201 = GJEffectManager::getColorAction(*(GJEffectManager **)(v3 + 320), 2); v254 = 0; v255 = 0; v256 = nullptr; std::string::__init(&v254, "kS34", 4u); v202 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(this, &v254); v231 = (char *)cocos2d::CCString::getCString(v202); v257 = 0; v258 = 0; v259 = nullptr; v203 = strlen(v231); std::string::__init(&v257, v231, v203); ColorAction::setupFromString(v201, (int)&v257); if ( (v257 & 1) != 0 ) operator delete(v259); if ( (v254 & 1) != 0 ) operator delete(v256); v204 = GJEffectManager::getColorAction(*(GJEffectManager **)(v3 + 320), 3); v254 = 0; v255 = 0; v256 = nullptr; std::string::__init(&v254, "kS35", 4u); v205 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(this, &v254); v232 = (char *)cocos2d::CCString::getCString(v205); v257 = 0; v258 = 0; v259 = nullptr; v206 = strlen(v232); std::string::__init(&v257, v232, v206); ColorAction::setupFromString(v204, (int)&v257); if ( (v257 & 1) != 0 ) operator delete(v259); if ( (v254 & 1) != 0 ) operator delete(v256); v207 = GJEffectManager::getColorAction(*(GJEffectManager **)(v3 + 320), 4); v254 = 0; v255 = 0; v256 = nullptr; std::string::__init(&v254, "kS36", 4u); v208 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(this, &v254); v233 = (char *)cocos2d::CCString::getCString(v208); v257 = 0; v258 = 0; v259 = nullptr; v209 = strlen(v233); std::string::__init(&v257, v233, v209); ColorAction::setupFromString(v207, (int)&v257); if ( (v257 & 1) != 0 ) operator delete(v259); if ( (v254 & 1) != 0 ) operator delete(v256); v210 = GJEffectManager::getColorAction(*(GJEffectManager **)(v3 + 320), 1003); v254 = 0; v255 = 0; v256 = nullptr; std::string::__init(&v254, "kS37", 4u); v211 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(this, &v254); v236 = (cocos2d::CCDictionary *)cocos2d::CCString::getCString(v211); v257 = 0; v258 = 0; v259 = nullptr; v212 = strlen((const char *)v236); std::string::__init(&v257, v236, v212); ColorAction::setupFromString(v210, (int)&v257); goto LABEL_194; } v257 = 0; v258 = 0; v259 = nullptr; std::string::__init(&v257, "kS1", 3u); v213 = cocos2d::CCDictionary::objectForKey(this, &v257); if ( (v257 & 1) != 0 ) operator delete(v259); if ( v213 ) LevelSettingsObject::setupColorsFromLegacyMode((GJEffectManager **)v3, this); } return v3; }
GD Web Decomp Icon

GD Web Decomp

Raw Source