// // cocos2d::CCTMXMapInfo::startElement from 0xdae8f8 to 0xdb07c8 (7888 bytes) // // 3 xrefs: // > `non-virtual thunk to'cocos2d::CCTMXMapInfo::startElement @ 0xdb07d4 // > @ 0xa7a28 // > @ 0x15313e0 // // 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 13:08:38 +0000 // __int64 __fastcall cocos2d::CCTMXMapInfo::startElement( cocos2d::CCTMXMapInfo *this, void *a2, char *a3, const char **a4) { size_t v5; // x0 __int64 **v6; // x0 __int64 **v7; // x28 __int64 **v8; // x20 const char *v9; // x1 const char **v10; // x26 __int64 *v11; // x2 size_t v12; // x0 const char *v13; // x1 size_t v14; // x0 __int64 *v15; // x0 char *v16; // x7 const char *v17; // x7 __int64 *v18; // x1 __int64 *v19; // x1 int v20; // w19 int v21; // w24 __int64 v22; // x4 __int64 *v23; // x19 int v25; // w0 cocos2d::CCArray *v26; // x0 char *v27; // x22 size_t v28; // x0 cocos2d::CCDictionary *v29; // x28 const char *v30; // x0 int v31; // w0 const char *v32; // x0 int v33; // w0 char *v34; // x0 size_t v35; // x0 char *v36; // x0 size_t v37; // x0 int v38; // w25 int v39; // w26 char *v40; // x19 char *v41; // x4 char *v42; // x0 float v43; // s0 char *v44; // x0 float v45; // s0 char *v46; // x0 float v47; // s0 char *v48; // x0 float v49; // s0 char v50; // w0 int v51; // w19 char *v52; // x0 size_t v53; // x0 size_t v54; // x1 unsigned __int8 v55; // w24 char *v56; // x26 __int64 v57; // x3 char *v58; // x23 int v59; // t1 char *v60; // x26 __int64 v61; // x24 char *v62; // x24 int v63; // t1 size_t v64; // x3 cocos2d::CCFileUtils *v65; // x0 __int64 v66; // x0 char *v67; // x1 char *v68; // x0 const char *v69; // x1 cocos2d::CCArray *v70; // x0 __int64 Object; // x19 cocos2d::CCDictionary *v72; // x24 char *v73; // x0 cocos2d::CCDictionary *TileProperties; // x0 __int64 v75; // x19 char *v76; // x0 char *v77; // x0 float v78; // s0 char *v79; // x0 float v80; // s0 char *v81; // x0 size_t v82; // x0 size_t v83; // x4 bool v84; // w0 char *v85; // x0 size_t v86; // x0 const char *v87; // x25 char *v88; // x0 double v89; // d8 char *v90; // x0 float v91; // s1 float v92; // s0 cocos2d::CCArray *v93; // x0 char v94; // w0 __int64 v95; // x1 __int64 v96; // x28 cocos2d::CCArray *v97; // x0 float *v98; // x27 cocos2d::CCDictionary *v99; // x19 char *v100; // x25 cocos2d::CCString *v101; // x26 size_t v102; // x0 char *v103; // x0 int v104; // w0 cocos2d::CCString *v105; // x28 char *v106; // x0 int v107; // w28 char *v108; // x0 int v109; // w0 cocos2d::CCString *v110; // x28 cocos2d::CCArray *v111; // x0 char *v112; // x28 cocos2d::CCArray *v113; // x0 char *v114; // x0 size_t v115; // x0 unsigned __int8 v116; // w23 char *v117; // x24 __int64 v118; // x3 char *v119; // x26 int v120; // t1 char *v121; // x22 __int64 v122; // x0 char *v123; // x24 int v124; // t1 size_t v125; // x3 char *v126; // x25 char *v127; // x1 char *v128; // x1 size_t v129; // x2 __int64 *v130; // x0 char *v131; // x3 __int64 v132; // x19 char *v133; // x0 char *v134; // x0 float v135; // s0 char *v136; // x0 float v137; // s0 cocos2d::CCArray *v138; // x0 __int64 v139; // x24 char *v140; // x0 int v141; // w0 char *v142; // x0 char *v143; // x0 char *v144; // x0 float v145; // s0 char *v146; // x0 float v147; // s0 cocos2d::CCArray *v148; // x0 __int64 v149; // x1 char *v150; // x1 char *v151; // x1 size_t v152; // x2 __int64 *v153; // x0 char *v154; // x3 char *v155; // x0 char *v156; // x0 size_t v157; // x0 char *v158; // x0 size_t v159; // x0 int v160; // w26 size_t v161; // x4 int v162; // w27 int v163; // w0 int v164; // w25 char *v165; // x19 __int64 v166; // x4 int v167; // w0 cocos2d::CCDictionary *v168; // x0 __int64 v169; // x0 __int64 v170; // x25 char *v171; // x24 cocos2d::CCString *v172; // x22 const char *v173; // x0 size_t v174; // x0 cocos2d::CCString *v175; // x26 char *v176; // x0 size_t v177; // x0 __int64 v178; // x22 char *v179; // x25 size_t v180; // x0 cocos2d::CCArray *v181; // x0 __int64 v182; // x0 cocos2d::CCArray *v183; // x0 cocos2d::CCArray *v184; // x0 __int64 v185; // x25 __int64 v186; // x0 cocos2d::CCArray *v187; // x0 __int64 v188; // x19 cocos2d::CCString *v189; // x25 char *v190; // x0 size_t v191; // x0 __int64 v192; // x26 char *v193; // x22 size_t v194; // x0 __int64 v195; // [xsp+70h] [xbp+70h] float *v196; // [xsp+80h] [xbp+80h] cocos2d::CCObject *v197; // [xsp+88h] [xbp+88h] char *sa; // [xsp+90h] [xbp+90h] char *sb; // [xsp+90h] [xbp+90h] char *sc; // [xsp+90h] [xbp+90h] char *v203; // [xsp+98h] [xbp+98h] char *v204; // [xsp+98h] [xbp+98h] char *v205; // [xsp+98h] [xbp+98h] char *v206; // [xsp+98h] [xbp+98h] char *v207; // [xsp+98h] [xbp+98h] char *v208; // [xsp+98h] [xbp+98h] char *v209; // [xsp+98h] [xbp+98h] char *v210; // [xsp+98h] [xbp+98h] const char *v211; // [xsp+98h] [xbp+98h] char *v212; // [xsp+98h] [xbp+98h] char *v213; // [xsp+98h] [xbp+98h] char *v214; // [xsp+98h] [xbp+98h] const char *v215; // [xsp+98h] [xbp+98h] const char *v216; // [xsp+98h] [xbp+98h] char *v217; // [xsp+98h] [xbp+98h] const char *v218; // [xsp+98h] [xbp+98h] const char *v219; // [xsp+98h] [xbp+98h] char *v220; // [xsp+98h] [xbp+98h] float v221[2]; // [xsp+A0h] [xbp+A0h] BYREF __int64 v222; // [xsp+A8h] [xbp+A8h] BYREF __int64 v223; // [xsp+B0h] [xbp+B0h] BYREF __int64 v224; // [xsp+B8h] [xbp+B8h] void *v225; // [xsp+C0h] [xbp+C0h] _QWORD v226[2]; // [xsp+C8h] [xbp+C8h] BYREF void *v227; // [xsp+D8h] [xbp+D8h] _QWORD v228[2]; // [xsp+E0h] [xbp+E0h] BYREF char *v229; // [xsp+F0h] [xbp+F0h] _QWORD v230[2]; // [xsp+F8h] [xbp+F8h] BYREF char *v231; // [xsp+108h] [xbp+108h] __int64 v232; // [xsp+110h] [xbp+110h] BYREF char *v233; // [xsp+118h] [xbp+118h] char *v234; // [xsp+120h] [xbp+120h] __int64 (__fastcall **v235)(); // [xsp+128h] [xbp+128h] BYREF const char *v236; // [xsp+130h] [xbp+130h] __int64 (__fastcall **v237)(); // [xsp+138h] [xbp+138h] __int64 (__fastcall **v238)(); // [xsp+140h] [xbp+140h] BYREF _BYTE v239[8]; // [xsp+148h] [xbp+148h] BYREF __int64 v240; // [xsp+150h] [xbp+150h] __int64 v241; // [xsp+158h] [xbp+158h] __int64 v242; // [xsp+160h] [xbp+160h] __int64 v243; // [xsp+168h] [xbp+168h] __int64 v244; // [xsp+170h] [xbp+170h] __int64 v245; // [xsp+178h] [xbp+178h] __int64 v246; // [xsp+180h] [xbp+180h] __int64 v247; // [xsp+188h] [xbp+188h] void *v248; // [xsp+190h] [xbp+190h] __int64 v249; // [xsp+198h] [xbp+198h] int v250; // [xsp+1A0h] [xbp+1A0h] _QWORD v251[18]; // [xsp+1A8h] [xbp+1A8h] BYREF int v252; // [xsp+238h] [xbp+238h] __int64 v253; // [xsp+240h] [xbp+240h] BYREF char *v254; // [xsp+248h] [xbp+248h] char *v255; // [xsp+250h] [xbp+250h] __int64 (__fastcall **v256)(); // [xsp+258h] [xbp+258h] BYREF const char *v257; // [xsp+260h] [xbp+260h] BYREF __int64 (__fastcall **v258)(); // [xsp+268h] [xbp+268h] __int64 v259; // [xsp+270h] [xbp+270h] __int64 v260; // [xsp+278h] [xbp+278h] __int64 v261; // [xsp+280h] [xbp+280h] __int64 v262; // [xsp+288h] [xbp+288h] __int64 v263; // [xsp+290h] [xbp+290h] __int64 v264; // [xsp+298h] [xbp+298h] __int64 v265; // [xsp+2A0h] [xbp+2A0h] void *v266; // [xsp+2A8h] [xbp+2A8h] __int64 v267; // [xsp+2B0h] [xbp+2B0h] int v268; // [xsp+2B8h] [xbp+2B8h] _QWORD v269[18]; // [xsp+2C0h] [xbp+2C0h] BYREF int v270; // [xsp+350h] [xbp+350h] __int64 v271; // [xsp+358h] [xbp+358h] BYREF __int64 v272; // [xsp+360h] [xbp+360h] __int64 v273; // [xsp+368h] [xbp+368h] __int64 v274; // [xsp+370h] [xbp+370h] v223 = 0; v224 = 0; v225 = nullptr; v5 = strlen(a3); std::string::__init(&v223, a3, v5); v6 = (__int64 **)operator new(0x18u); v7 = v6 + 1; v8 = v6; v6[1] = nullptr; v6[2] = nullptr; *v6 = (__int64 *)(v6 + 1); if ( a4 ) { v9 = *a4; if ( *a4 ) { v10 = a4 + 1; do { while ( 1 ) { v232 = 0; v233 = nullptr; v234 = nullptr; v203 = (char *)v9; v12 = strlen(v9); std::string::__init(&v232, v203, v12); v235 = nullptr; v13 = *v10; v236 = nullptr; v237 = nullptr; v204 = (char *)v13; v14 = strlen(v13); std::string::__init((__int64 *)&v235, v204, v14); v253 = 0; v254 = nullptr; v255 = nullptr; if ( (v232 & 1) != 0 ) break; v253 = v232; v254 = v233; v255 = v234; v256 = nullptr; v257 = nullptr; v258 = nullptr; if ( ((unsigned __int8)v235 & 1) != 0 ) goto LABEL_13; LABEL_5: v256 = v235; v257 = v236; v258 = v237; v11 = std::__tree,std::__map_value_compare,std::less,true>,std::allocator>>::__find_equal( (__int64)v8, &v222, (__int64)&v253); if ( !*v11 ) goto LABEL_14; LABEL_6: if ( ((unsigned __int8)v256 & 1) != 0 ) goto LABEL_17; LABEL_7: if ( (v253 & 1) != 0 ) goto LABEL_18; LABEL_8: if ( ((unsigned __int8)v235 & 1) != 0 ) goto LABEL_19; LABEL_9: if ( (v232 & 1) == 0 ) goto LABEL_10; LABEL_20: v10 += 2; operator delete(v234); v9 = *(v10 - 1); if ( !v9 ) goto LABEL_21; } std::string::__init(&v253, v234, (size_t)v233); v256 = nullptr; v257 = nullptr; v258 = nullptr; if ( ((unsigned __int8)v235 & 1) == 0 ) goto LABEL_5; LABEL_13: std::string::__init((__int64 *)&v256, v237, (size_t)v236); v11 = std::__tree,std::__map_value_compare,std::less,true>,std::allocator>>::__find_equal( (__int64)v8, &v222, (__int64)&v253); if ( *v11 ) goto LABEL_6; LABEL_14: v205 = (char *)v11; v15 = (__int64 *)operator new(0x50u); v16 = v254; v15[4] = v253; v15[5] = (__int64)v16; v15[6] = (__int64)v255; v253 = 0; v254 = nullptr; v255 = nullptr; v17 = v257; v15[7] = (__int64)v256; v15[8] = (__int64)v17; v15[9] = (__int64)v258; v256 = nullptr; v257 = nullptr; v258 = nullptr; v15[2] = v222; *v15 = 0; v15[1] = 0; *(_QWORD *)v205 = v15; v18 = (__int64 *)**v8; if ( v18 ) { *v8 = v18; v19 = *(__int64 **)v205; } else { v19 = v15; } std::__tree_balance_after_insert *>(*v7, v19); v8[2] = (__int64 *)((char *)v8[2] + 1); if ( ((unsigned __int8)v256 & 1) == 0 ) goto LABEL_7; LABEL_17: operator delete(v258); if ( (v253 & 1) == 0 ) goto LABEL_8; LABEL_18: operator delete(v255); if ( ((unsigned __int8)v235 & 1) == 0 ) goto LABEL_9; LABEL_19: operator delete(v237); if ( (v232 & 1) != 0 ) goto LABEL_20; LABEL_10: v10 += 2; v9 = *(v10 - 1); } while ( v9 ); } } LABEL_21: v20 = (unsigned __int8)v223; v21 = v223 & 1; if ( v21 ) { v22 = v224; if ( v224 != 3 ) { if ( v224 != 7 ) goto LABEL_24; goto LABEL_93; } if ( (unsigned int)std::string::compare((__int64)&v223, 0, 0xFFFFFFFFFFFFFFFFLL, "map", 3u) ) goto LABEL_31; LABEL_79: v34 = sub_DADE28("version", (__int64)v8); v235 = nullptr; v236 = nullptr; v237 = nullptr; v206 = v34; v35 = strlen(v34); std::string::__init((__int64 *)&v235, v206, v35); v36 = sub_DADE28("orientation", (__int64)v8); v253 = 0; v254 = nullptr; v255 = nullptr; v207 = v36; v37 = strlen(v36); std::string::__init(&v253, v207, v37); v38 = (unsigned __int8)v253; v39 = v253 & 1; if ( v39 ) { v40 = v254; if ( v254 == &byte_9[1] ) { if ( !(unsigned int)std::string::compare((__int64)&v253, 0, 0xFFFFFFFFFFFFFFFFLL, "orthogonal", 0xAu) ) { *((_DWORD *)this + 16) = 0; goto LABEL_84; } goto LABEL_82; } if ( v254 != byte_9 ) { LABEL_82: v41 = v40; LABEL_83: if ( v41 == byte_9 && !(unsigned int)std::string::compare((__int64)&v253, 0, 0xFFFFFFFFFFFFFFFFLL, "hexagonal", 9u) ) { *((_DWORD *)this + 16) = 1; } LABEL_84: cocos2d::CCSize::CCSize((cocos2d::CCSize *)&v222); v42 = sub_DADE28("width", (__int64)v8); v43 = atof(v42); *(float *)&v222 = v43; v44 = sub_DADE28("height", (__int64)v8); v45 = atof(v44); *((float *)&v222 + 1) = v45; cocos2d::CCSize::operator=((float *)this + 17, (float *)&v222); v46 = sub_DADE28("tilewidth", (__int64)v8); v47 = atof(v46); *(float *)&v222 = v47; v48 = sub_DADE28("tileheight", (__int64)v8); v49 = atof(v48); *((float *)&v222 + 1) = v49; cocos2d::CCSize::operator=((float *)this + 19, (float *)&v222); v50 = v253; *((_DWORD *)this + 28) = 1; if ( (v50 & 1) == 0 ) goto LABEL_85; LABEL_142: operator delete(v255); goto LABEL_85; } } else { v51 = (int)(unsigned __int8)v253 >> 1; if ( v51 == 10 ) { if ( !(unsigned int)std::string::compare((__int64)&v253, 0, 0xFFFFFFFFFFFFFFFFLL, "orthogonal", 0xAu) ) { *((_DWORD *)this + 16) = 0; goto LABEL_84; } goto LABEL_91; } if ( v51 != 9 ) { LABEL_91: v41 = (char *)v51; goto LABEL_83; } } if ( !(unsigned int)std::string::compare((__int64)&v253, 0, 0xFFFFFFFFFFFFFFFFLL, "isometric", 9u) ) { *((_DWORD *)this + 16) = 2; goto LABEL_84; } v51 = v38 >> 1; if ( v39 ) { v40 = v254; goto LABEL_82; } goto LABEL_91; } v25 = (int)(unsigned __int8)v223 >> 1; if ( v25 == 3 ) { if ( (unsigned int)std::string::compare((__int64)&v223, 0, 0xFFFFFFFFFFFFFFFFLL, "map", 3u) ) goto LABEL_31; goto LABEL_79; } if ( v25 != 7 ) goto LABEL_42; LABEL_93: if ( !(unsigned int)std::string::compare((__int64)&v223, 0, 0xFFFFFFFFFFFFFFFFLL, "tileset", 7u) ) { v52 = sub_DADE28("source", (__int64)v8); v232 = 0; v233 = nullptr; v234 = nullptr; v208 = v52; v53 = strlen(v52); std::string::__init(&v232, v208, v53); v54 = (unsigned __int8)v232 >> 1; if ( (v232 & 1) != 0 ) v54 = (size_t)v233; if ( !v54 && !(unsigned int)std::string::compare((__int64)&v232, 0, 0xFFFFFFFFFFFFFFFFLL, &byte_11B8890, 0) ) { v139 = operator new(0x88u); cocos2d::CCTMXTilesetInfo::CCTMXTilesetInfo((cocos2d::CCTMXTilesetInfo *)v139); v140 = sub_DADE28("name", (__int64)v8); std::string::assign((__int64 *)(v139 + 56), v140); v141 = *((_DWORD *)this + 54); if ( v141 ) { *(_DWORD *)(v139 + 80) = v141; *((_DWORD *)this + 54) = 0; } else { v155 = sub_DADE28("firstgid", (__int64)v8); *(_DWORD *)(v139 + 80) = atoi(v155); } v142 = sub_DADE28("spacing", (__int64)v8); *(_DWORD *)(v139 + 92) = atoi(v142); v143 = sub_DADE28("margin", (__int64)v8); *(_DWORD *)(v139 + 96) = atoi(v143); cocos2d::CCSize::CCSize((cocos2d::CCSize *)&v222); v144 = sub_DADE28("tilewidth", (__int64)v8); v145 = atof(v144); *(float *)&v222 = v145; v146 = sub_DADE28("tileheight", (__int64)v8); v147 = atof(v146); *((float *)&v222 + 1) = v147; cocos2d::CCSize::operator=((float *)(v139 + 84), (float *)&v222); v148 = (cocos2d::CCArray *)(*(__int64 (__fastcall **)(cocos2d::CCTMXMapInfo *))(*(_QWORD *)this + 96LL))(this); cocos2d::CCArray::addObject(v148, (cocos2d::CCObject *)v139); cocos2d::CCObject::release((_DWORD *)v139); LABEL_122: if ( (v232 & 1) != 0 ) operator delete(v234); goto LABEL_31; } v55 = *((_BYTE *)this + 136); if ( (v55 & 1) != 0 ) { v56 = *((char **)this + 19); v57 = *((_QWORD *)this + 18); } else { v56 = (char *)this + 137; v57 = v55 >> 1; } v58 = &v56[v57]; if ( &v56[v57] == v56 ) goto LABEL_187; while ( 1 ) { v59 = (unsigned __int8)*--v58; if ( memchr(&word_11BA098, v59, 1u) ) break; if ( v58 == v56 ) goto LABEL_187; } if ( v58 - v56 == -1 ) { LABEL_187: std::operator+((char *)&word_11BA098, (__int64)this + 160, (unsigned __int64 *)&v235); if ( (v232 & 1) != 0 ) { v128 = v234; v129 = (size_t)v233; } else { v129 = (unsigned __int8)v232 >> 1; v128 = (char *)&v232 + 1; } v130 = (__int64 *)std::string::append((__int64)&v235, v128, v129); v131 = (char *)v130[1]; v253 = *v130; v254 = v131; v255 = (char *)v130[2]; *v130 = 0; v130[1] = 0; v130[2] = 0; if ( (v232 & 1) != 0 ) { LABEL_112: *v234 = 0; v233 = nullptr; LABEL_113: std::string::reserve(&v232, 0); v65 = (cocos2d::CCFileUtils *)(unsigned __int8)v235; v234 = v255; v232 = v253; v233 = v254; if ( ((unsigned __int8)v235 & 1) != 0 ) operator delete(v237); v66 = cocos2d::CCFileUtils::sharedFileUtils(v65); v67 = (char *)&v232 + 1; if ( (v232 & 1) != 0 ) v67 = v234; (*(void (__fastcall **)(__int64, char *, _QWORD))(*(_QWORD *)v66 + 48LL))(v66, v67, 0); if ( (v232 & 1) != 0 ) { *v234 = 0; v233 = nullptr; } else { LOWORD(v232) = 0; } std::string::reserve(&v232, 0); v234 = v255; v232 = v253; v233 = v254; v68 = sub_DADE28("firstgid", (__int64)v8); *((_DWORD *)this + 54) = atoi(v68); v69 = (char *)&v232 + 1; if ( (v232 & 1) != 0 ) v69 = v234; cocos2d::CCTMXMapInfo::parseXMLFile(this, v69); goto LABEL_122; } } else { if ( (v55 & 1) != 0 ) { v60 = *((char **)this + 19); v61 = *((_QWORD *)this + 18); } else { v60 = (char *)this + 137; v61 = v55 >> 1; } v62 = &v60[v61]; if ( v62 == v60 ) { LABEL_202: v64 = 0; } else { while ( 1 ) { v63 = (unsigned __int8)*--v62; if ( memchr(&word_11BA098, v63, 1u) ) break; if ( v62 == v60 ) goto LABEL_202; } v64 = v62 - v60 + 1; } std::string::basic_string((__int64 *)&v235, (__int64)this + 136, 0, v64); std::operator+((__int64)&v235, (__int64)&v232, (unsigned __int64 *)&v253); if ( (v232 & 1) != 0 ) goto LABEL_112; } LOWORD(v232) = 0; goto LABEL_113; } v25 = v20 >> 1; if ( !v21 ) { LABEL_42: if ( v25 != 4 ) goto LABEL_43; goto LABEL_127; } v22 = v224; LABEL_24: if ( v22 != 4 ) goto LABEL_25; LABEL_127: if ( !(unsigned int)std::string::compare((__int64)&v223, 0, 0xFFFFFFFFFFFFFFFFLL, "tile", 4u) ) { v70 = (cocos2d::CCArray *)(*(__int64 (__fastcall **)(cocos2d::CCTMXMapInfo *))(*(_QWORD *)this + 96LL))(this); Object = cocos2d::CCArray::lastObject(v70); v72 = (cocos2d::CCDictionary *)operator new(0x48u); cocos2d::CCDictionary::CCDictionary(v72); LODWORD(Object) = *(_DWORD *)(Object + 80); v73 = sub_DADE28("id", (__int64)v8); *((_DWORD *)this + 29) = atoi(v73) + Object; TileProperties = (cocos2d::CCDictionary *)cocos2d::CCTMXMapInfo::getTileProperties(this); cocos2d::CCDictionary::setObject(TileProperties, v72, *((unsigned int *)this + 29)); cocos2d::CCObject::release(v72); *((_DWORD *)this + 28) = 5; goto LABEL_31; } v25 = v20 >> 1; if ( v21 ) { v22 = v224; LABEL_25: if ( v22 != 5 ) { if ( v22 != 11 ) goto LABEL_27; goto LABEL_198; } goto LABEL_132; } LABEL_43: if ( v25 != 5 ) { if ( v25 != 11 ) goto LABEL_45; goto LABEL_198; } LABEL_132: if ( !(unsigned int)std::string::compare((__int64)&v223, 0, 0xFFFFFFFFFFFFFFFFLL, "layer", 5u) ) { v75 = operator new(0x80u); cocos2d::CCTMXLayerInfo::CCTMXLayerInfo((cocos2d::CCTMXLayerInfo *)v75); v76 = sub_DADE28("name", (__int64)v8); std::string::assign((__int64 *)(v75 + 64), v76); cocos2d::CCSize::CCSize((cocos2d::CCSize *)v221); v77 = sub_DADE28("width", (__int64)v8); v78 = atof(v77); v221[0] = v78; v79 = sub_DADE28("height", (__int64)v8); v80 = atof(v79); v221[1] = v80; cocos2d::CCSize::operator=((float *)(v75 + 88), v221); v81 = sub_DADE28("visible", (__int64)v8); v235 = nullptr; v236 = nullptr; v237 = nullptr; v209 = v81; v82 = strlen(v81); std::string::__init((__int64 *)&v235, v209, v82); v83 = (unsigned __int8)v235 >> 1; if ( ((unsigned __int8)v235 & 1) != 0 ) v83 = (size_t)v236; v84 = 1; if ( v83 == 1 ) v84 = (unsigned int)std::string::compare((__int64)&v235, 0, 0xFFFFFFFFFFFFFFFFLL, "0", 1u) != 0; *(_BYTE *)(v75 + 104) = v84; v85 = sub_DADE28("opacity", (__int64)v8); v253 = 0; v254 = nullptr; v255 = nullptr; v210 = v85; v86 = strlen(v85); std::string::__init(&v253, v210, v86); if ( (v253 & 1) != 0 ) { if ( !v254 && !(unsigned int)std::string::compare((__int64)&v253, 0, 0xFFFFFFFFFFFFFFFFLL, &byte_11B8890, 0) ) { LABEL_146: *(_BYTE *)(v75 + 105) = -1; LABEL_141: v88 = sub_DADE28("x", (__int64)v8); v89 = atof(v88); v90 = sub_DADE28("y", (__int64)v8); v91 = atof(v90); v92 = v89; cocos2d::CCPoint::CCPoint((float *)&v222, v92, v91); cocos2d::CCPoint::operator=((float *)(v75 + 116), (float *)&v222); v93 = (cocos2d::CCArray *)(*(__int64 (__fastcall **)(cocos2d::CCTMXMapInfo *))(*(_QWORD *)this + 80LL))(this); cocos2d::CCArray::addObject(v93, (cocos2d::CCObject *)v75); cocos2d::CCObject::release((_DWORD *)v75); v94 = v253; *((_DWORD *)this + 28) = 2; if ( (v94 & 1) == 0 ) goto LABEL_85; goto LABEL_142; } v87 = v255; } else { v87 = (char *)&v253 + 1; if ( !((int)(unsigned __int8)v253 >> 1) && !(unsigned int)std::string::compare((__int64)&v253, 0, 0xFFFFFFFFFFFFFFFFLL, &byte_11B8890, 0) ) { goto LABEL_146; } } *(_BYTE *)(v75 + 105) = (unsigned int)(atof(v87) * 255.0); goto LABEL_141; } if ( v21 ) { v22 = v224; if ( v224 != 11 ) goto LABEL_184; } else { v25 = v20 >> 1; if ( v20 >> 1 != 11 ) goto LABEL_161; } LABEL_198: if ( !(unsigned int)std::string::compare((__int64)&v223, 0, 0xFFFFFFFFFFFFFFFFLL, "objectgroup", 0xBu) ) { v132 = operator new(0x68u); cocos2d::CCTMXObjectGroup::CCTMXObjectGroup((cocos2d::CCTMXObjectGroup *)v132); v133 = sub_DADE28("name", (__int64)v8); std::string::assign((__int64 *)(v132 + 80), v133); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v222); v134 = sub_DADE28("x", (__int64)v8); v135 = atof(v134); *(float *)&v222 = v135 * *((float *)this + 19); v136 = sub_DADE28("y", (__int64)v8); v137 = atof(v136); *((float *)&v222 + 1) = v137 * *((float *)this + 20); cocos2d::CCPoint::operator=((float *)(v132 + 56), (float *)&v222); v138 = (cocos2d::CCArray *)(*(__int64 (__fastcall **)(cocos2d::CCTMXMapInfo *))(*(_QWORD *)this + 112LL))(this); cocos2d::CCArray::addObject(v138, (cocos2d::CCObject *)v132); cocos2d::CCObject::release((_DWORD *)v132); *((_DWORD *)this + 28) = 3; goto LABEL_31; } v25 = v20 >> 1; if ( !v21 ) { LABEL_161: if ( v25 != 5 ) goto LABEL_45; goto LABEL_162; } v22 = v224; LABEL_184: if ( v22 != 5 ) { LABEL_27: if ( v22 != 4 ) goto LABEL_28; goto LABEL_222; } LABEL_162: if ( !(unsigned int)std::string::compare((__int64)&v223, 0, 0xFFFFFFFFFFFFFFFFLL, "image", 5u) ) { v112 = (char *)this + 136; v113 = (cocos2d::CCArray *)(*(__int64 (__fastcall **)(cocos2d::CCTMXMapInfo *))(*(_QWORD *)this + 96LL))(this); v212 = (char *)cocos2d::CCArray::lastObject(v113); v114 = sub_DADE28("source", (__int64)v8); v232 = 0; v233 = nullptr; v234 = nullptr; sc = v114; v115 = strlen(v114); std::string::__init(&v232, sc, v115); v116 = *((_BYTE *)this + 136); if ( (v116 & 1) != 0 ) { v117 = *((char **)this + 19); v118 = *((_QWORD *)this + 18); } else { v117 = (char *)this + 137; v118 = v116 >> 1; } v119 = &v117[v118]; if ( &v117[v118] == v117 ) goto LABEL_208; while ( 1 ) { v120 = (unsigned __int8)*--v119; if ( memchr(&word_11BA098, v120, 1u) ) break; if ( v119 == v117 ) goto LABEL_208; } if ( v119 - v117 == -1 ) { LABEL_208: v149 = *((_BYTE *)this + 160) >> 1; v126 = v212 + 104; if ( (*((_BYTE *)this + 160) & 1) != 0 ) v149 = *((_QWORD *)this + 21); if ( v149 ) v150 = (char *)&word_11BA098; else v150 = &byte_11B8890; std::operator+(v150, (__int64)this + 160, (unsigned __int64 *)&v235); if ( (v232 & 1) != 0 ) { v151 = v234; v152 = (size_t)v233; } else { v152 = (unsigned __int8)v232 >> 1; v151 = (char *)&v232 + 1; } v153 = (__int64 *)std::string::append((__int64)&v235, v151, v152); v154 = (char *)v153[1]; v253 = *v153; v254 = v154; v255 = (char *)v153[2]; *v153 = 0; v153[1] = 0; v153[2] = 0; if ( (v212[104] & 1) != 0 ) { LABEL_178: **((_BYTE **)v126 + 2) = 0; *((_QWORD *)v126 + 1) = 0; goto LABEL_179; } } else { if ( (v116 & 1) != 0 ) { v121 = *((char **)this + 19); v122 = *((_QWORD *)v112 + 1); } else { v121 = (char *)this + 137; v122 = v116 >> 1; } v123 = &v121[v122]; if ( &v121[v122] == v121 ) { LABEL_242: v125 = 0; } else { while ( 1 ) { v124 = (unsigned __int8)*--v123; if ( memchr(&word_11BA098, v124, 1u) ) break; if ( v123 == v121 ) goto LABEL_242; } v125 = v123 - v121 + 1; } std::string::basic_string((__int64 *)&v235, (__int64)v112, 0, v125); v126 = v212 + 104; std::operator+((__int64)&v235, (__int64)&v232, (unsigned __int64 *)&v253); if ( (v212[104] & 1) != 0 ) goto LABEL_178; } v212[105] = 0; v212[104] = 0; LABEL_179: std::string::reserve((__int64 *)v126, 0); v127 = v254; *(_QWORD *)v126 = v253; *((_QWORD *)v126 + 1) = v127; *((_QWORD *)v126 + 2) = v255; if ( ((unsigned __int8)v235 & 1) != 0 ) operator delete(v237); goto LABEL_122; } v25 = v20 >> 1; if ( v21 ) { v22 = v224; goto LABEL_27; } LABEL_45: if ( v25 != 4 ) goto LABEL_46; LABEL_222: if ( !(unsigned int)std::string::compare((__int64)&v223, 0, 0xFFFFFFFFFFFFFFFFLL, "data", 4u) ) { v156 = sub_DADE28("encoding", (__int64)v8); v235 = nullptr; v236 = nullptr; v237 = nullptr; v213 = v156; v157 = strlen(v156); std::string::__init((__int64 *)&v235, v213, v157); v158 = sub_DADE28("compression", (__int64)v8); v253 = 0; v254 = nullptr; v255 = nullptr; v214 = v158; v159 = strlen(v158); std::string::__init(&v253, v214, v159); v160 = (unsigned __int8)v235 & 1; v161 = (unsigned __int8)v235 >> 1; if ( v160 ) v161 = (size_t)v236; if ( v161 != 6 || (unsigned int)std::string::compare((__int64)&v235, 0, 0xFFFFFFFFFFFFFFFFLL, "base64", 6u) ) { if ( (v253 & 1) != 0 ) goto LABEL_237; goto LABEL_227; } v162 = *((_DWORD *)this + 30); v163 = (unsigned __int8)v253; *((_BYTE *)this + 124) = 1; *((_DWORD *)this + 30) = v162 | 2; v164 = v163 & 1; if ( (v163 & 1) != 0 ) { v165 = v254; if ( v254 == byte_4 && !(unsigned int)std::string::compare((__int64)&v253, 0, 0xFFFFFFFFFFFFFFFFLL, "gzip", 4u) ) { LABEL_269: *((_DWORD *)this + 30) = v162 | 6; if ( v164 ) goto LABEL_237; goto LABEL_227; } v166 = (__int64)v165; } else if ( v163 >> 1 == 4 ) { if ( !(unsigned int)std::string::compare((__int64)&v253, 0, 0xFFFFFFFFFFFFFFFFLL, "gzip", 4u) ) goto LABEL_269; v166 = 4; } else { v166 = v163 >> 1; } if ( v166 == 4 && !(unsigned int)std::string::compare((__int64)&v253, 0, 0xFFFFFFFFFFFFFFFFLL, "zlib", 4u) ) *((_DWORD *)this + 30) = v162 | 0xA; if ( v164 ) { LABEL_237: operator delete(v255); if ( ((unsigned __int8)v235 & 1) == 0 ) goto LABEL_31; goto LABEL_86; } LABEL_227: if ( !v160 ) goto LABEL_31; goto LABEL_86; } v25 = v20 >> 1; if ( !v21 ) { LABEL_46: if ( v25 != 6 ) goto LABEL_47; goto LABEL_147; } v22 = v224; LABEL_28: if ( v22 != 6 ) goto LABEL_29; LABEL_147: if ( !(unsigned int)std::string::compare((__int64)&v223, 0, 0xFFFFFFFFFFFFFFFFLL, "object", 6u) ) { v95 = *(_QWORD *)this; v96 = 0; v271 = 0; v272 = 0; v273 = 0; v274 = 0; v97 = (cocos2d::CCArray *)(*(__int64 (__fastcall **)(cocos2d::CCTMXMapInfo *))(v95 + 112))(this); v98 = (float *)cocos2d::CCArray::lastObject(v97); v99 = (cocos2d::CCDictionary *)operator new(0x48u); cocos2d::CCDictionary::CCDictionary(v99); v253 = (__int64)"name"; v256 = (__int64 (__fastcall **)())"height"; v254 = "type"; v255 = "width"; v257 = "gid"; do { v100 = (char *)*(&v253 + v96); v211 = sub_DADE28(v100, (__int64)v8); v101 = (cocos2d::CCString *)operator new(0x50u); cocos2d::CCString::CCString(v101, v211); cocos2d::CCObject::autorelease(v101); v235 = nullptr; v236 = nullptr; v237 = nullptr; v102 = strlen(v100); std::string::__init((__int64 *)&v235, v100, v102); cocos2d::CCDictionary::setObject((__int64)v99, v101, (__int64)&v235); if ( ((unsigned __int8)v235 & 1) != 0 ) operator delete(v237); ++v96; } while ( v96 != 5 ); v103 = sub_DADE28("x", (__int64)v8); if ( v103 ) { v104 = atoi(v103); sprintf((char *)&v271, "%d", v104 + (int)v98[14]); v105 = (cocos2d::CCString *)operator new(0x50u); cocos2d::CCString::CCString(v105, (const char *)&v271); cocos2d::CCObject::autorelease(v105); v235 = nullptr; v236 = nullptr; v237 = nullptr; std::string::__init((__int64 *)&v235, "x", 1u); cocos2d::CCDictionary::setObject((__int64)v99, v105, (__int64)&v235); if ( ((unsigned __int8)v235 & 1) != 0 ) operator delete(v237); } v106 = sub_DADE28("y", (__int64)v8); if ( v106 ) { v107 = (int)(float)(*((float *)this + 18) * *((float *)this + 20)) - (atoi(v106) + (int)v98[15]); v108 = sub_DADE28("height", (__int64)v8); v109 = atoi(v108); sprintf((char *)&v271, "%d", v107 - v109); v110 = (cocos2d::CCString *)operator new(0x50u); cocos2d::CCString::CCString(v110, (const char *)&v271); cocos2d::CCObject::autorelease(v110); v235 = nullptr; v236 = nullptr; v237 = nullptr; std::string::__init((__int64 *)&v235, "y", 1u); cocos2d::CCDictionary::setObject((__int64)v99, v110, (__int64)&v235); if ( ((unsigned __int8)v235 & 1) != 0 ) operator delete(v237); } v111 = (cocos2d::CCArray *)(*(__int64 (__fastcall **)(float *))(*(_QWORD *)v98 + 96LL))(v98); cocos2d::CCArray::addObject(v111, v99); cocos2d::CCObject::release(v99); *((_DWORD *)this + 28) = 4; goto LABEL_31; } v25 = v20 >> 1; if ( v21 ) { v22 = v224; LABEL_29: if ( v22 != 8 ) goto LABEL_30; goto LABEL_245; } LABEL_47: if ( v25 != 8 ) goto LABEL_48; LABEL_245: if ( (unsigned int)std::string::compare((__int64)&v223, 0, 0xFFFFFFFFFFFFFFFFLL, "property", 8u) ) { v25 = v20 >> 1; if ( v21 ) { v22 = v224; LABEL_30: if ( v22 != 7 ) goto LABEL_31; LABEL_49: if ( !(unsigned int)std::string::compare((__int64)&v223, 0, 0xFFFFFFFFFFFFFFFFLL, "polygon", 7u) ) { v196 = (float *)cocos2d::CCArray::lastObject(*((cocos2d::CCArray **)this + 13)); v26 = (cocos2d::CCArray *)(*(__int64 (**)(void))(*(_QWORD *)v196 + 96LL))(); v195 = cocos2d::CCArray::lastObject(v26); v27 = sub_DADE28("points", (__int64)v8); if ( v27 ) { v197 = (cocos2d::CCObject *)operator new(0x40u); cocos2d::CCArray::CCArray(v197); v253 = 0; v254 = nullptr; v255 = nullptr; v28 = strlen(v27); std::string::__init(&v253, v27, v28); v236 = nullptr; v235 = (__int64 (__fastcall **)())&unk_143EFC8; v251[0] = &unk_143EFF0; std::ios_base::init((std::ios_base *)v251, &v238); v252 = -1; v251[0] = off_143F138; v238 = off_143EE50; v251[17] = 0; v235 = off_143F0E8; v237 = off_143F110; std::locale::locale((std::locale *)v239); v240 = 0; v241 = 0; v238 = off_143EEF0; v242 = 0; v243 = 0; v244 = 0; v245 = 0; v246 = 0; v247 = 0; v248 = nullptr; v249 = 0; v250 = 24; std::stringbuf::str((__int64)&v238, (__int64)&v253); if ( (v253 & 1) != 0 ) operator delete(v255); v226[0] = 0; v226[1] = 0; v227 = nullptr; while ( 1 ) { std::istream::sentry::sentry((bool *)&v222, &v235, 1u); if ( (_BYTE)v222 ) sub_DAE464(&v235, (__int64)v226, 0x20u); if ( (*(_DWORD *)&v239[(_QWORD)*(v235 - 3)] & 5) != 0 ) break; v253 = (__int64)&unk_143EFC8; v269[0] = &unk_143EFF0; v254 = nullptr; std::ios_base::init((std::ios_base *)v269, &v256); v270 = -1; v269[0] = off_143F138; v269[17] = 0; v256 = off_143EE50; v253 = (__int64)off_143F0E8; v255 = (char *)off_143F110; std::locale::locale((std::locale *)&v257); v258 = nullptr; v259 = 0; v256 = off_143EEF0; v260 = 0; v268 = 24; v261 = 0; v262 = 0; v263 = 0; v264 = 0; v265 = 0; v266 = nullptr; v267 = 0; std::stringbuf::str((__int64)&v256, (__int64)v226); v228[0] = 0; v228[1] = 0; v229 = nullptr; v230[0] = 0; v230[1] = 0; v231 = nullptr; v271 = 0; v272 = 0; v273 = 0; v274 = 0; v29 = (cocos2d::CCDictionary *)operator new(0x48u); cocos2d::CCDictionary::CCDictionary(v29); std::istream::sentry::sentry((bool *)&v222, &v253, 1u); if ( (_BYTE)v222 ) sub_DAE464(&v253, (__int64)v228, 0x2Cu); if ( (*(_DWORD *)((_BYTE *)&v257 + *(_QWORD *)(v253 - 24)) & 5) == 0 ) { v30 = (char *)v228 + 1; if ( (v228[0] & 1) != 0 ) v30 = v229; v31 = atoi(v30); sprintf((char *)&v271, "%d", (unsigned int)(v31 + (int)v196[14])); sa = (char *)operator new(0x50u); cocos2d::CCString::CCString((cocos2d::CCString *)sa, (const char *)&v271); cocos2d::CCObject::autorelease((cocos2d::CCObject *)sa); v232 = 0; v233 = nullptr; v234 = nullptr; std::string::__init(&v232, "x", 1u); cocos2d::CCDictionary::setObject((__int64)v29, (cocos2d::CCObject *)sa, (__int64)&v232); if ( (v232 & 1) != 0 ) operator delete(v234); } std::istream::sentry::sentry((bool *)&v222, &v253, 1u); if ( (_BYTE)v222 ) sub_DAE464(&v253, (__int64)v230, 0x2Cu); if ( (*(_DWORD *)((_BYTE *)&v257 + *(_QWORD *)(v253 - 24)) & 5) == 0 ) { v32 = (char *)v230 + 1; if ( (v230[0] & 1) != 0 ) v32 = v231; v33 = atoi(v32); sprintf((char *)&v271, "%d", (unsigned int)(v33 + (int)v196[15])); sb = (char *)operator new(0x50u); cocos2d::CCString::CCString((cocos2d::CCString *)sb, (const char *)&v271); cocos2d::CCObject::autorelease((cocos2d::CCObject *)sb); v232 = 0; v233 = nullptr; v234 = nullptr; std::string::__init(&v232, "y", 1u); cocos2d::CCDictionary::setObject((__int64)v29, (cocos2d::CCObject *)sb, (__int64)&v232); if ( (v232 & 1) != 0 ) operator delete(v234); } cocos2d::CCArray::addObject(v197, v29); cocos2d::CCObject::release(v29); if ( (v230[0] & 1) != 0 ) operator delete(v231); if ( (v228[0] & 1) != 0 ) operator delete(v229); v253 = (__int64)off_143F0E8; v269[0] = off_143F138; v255 = (char *)off_143F110; v256 = off_143EEF0; if ( (v264 & 1) != 0 ) operator delete(v266); v256 = off_143EE50; std::locale::~locale((std::locale *)&v257); v269[0] = off_143EED0; std::ios_base::~ios_base((std::ios_base *)v269); } v253 = 0; v254 = nullptr; v255 = nullptr; std::string::__init(&v253, "points", 6u); cocos2d::CCDictionary::setObject(v195, v197, (__int64)&v253); if ( (v253 & 1) != 0 ) operator delete(v255); cocos2d::CCObject::release(v197); if ( (v226[0] & 1) != 0 ) operator delete(v227); v235 = off_143F0E8; v251[0] = off_143F138; v237 = off_143F110; v238 = off_143EEF0; if ( (v246 & 1) != 0 ) operator delete(v248); v238 = off_143EE50; std::locale::~locale((std::locale *)v239); v251[0] = off_143EED0; std::ios_base::~ios_base((std::ios_base *)v251); } } goto LABEL_31; } LABEL_48: if ( v25 != 7 ) goto LABEL_31; goto LABEL_49; } v167 = *((_DWORD *)this + 28); if ( !v167 ) goto LABEL_31; if ( v167 == 1 ) { v216 = sub_DADE28("value", (__int64)v8); v175 = (cocos2d::CCString *)operator new(0x50u); cocos2d::CCString::CCString(v175, v216); v176 = sub_DADE28("name", (__int64)v8); v235 = nullptr; v236 = nullptr; v237 = nullptr; v217 = v176; v177 = strlen(v176); std::string::__init((__int64 *)&v235, v217, v177); v178 = (*(__int64 (__fastcall **)(cocos2d::CCTMXMapInfo *))(*(_QWORD *)this + 128LL))(this); v179 = (char *)&v235 + 1; if ( ((unsigned __int8)v235 & 1) != 0 ) v179 = (char *)v237; v253 = 0; v254 = nullptr; v255 = nullptr; v180 = strlen(v179); std::string::__init(&v253, v179, v180); cocos2d::CCDictionary::setObject(v178, v175, (__int64)&v253); if ( (v253 & 1) != 0 ) operator delete(v255); cocos2d::CCObject::release(v175); if ( ((unsigned __int8)v235 & 1) == 0 ) goto LABEL_31; LABEL_86: operator delete(v237); goto LABEL_31; } if ( v167 == 2 ) { v187 = (cocos2d::CCArray *)(*(__int64 (__fastcall **)(cocos2d::CCTMXMapInfo *))(*(_QWORD *)this + 80LL))(this); v188 = cocos2d::CCArray::lastObject(v187); v219 = sub_DADE28("value", (__int64)v8); v189 = (cocos2d::CCString *)operator new(0x50u); cocos2d::CCString::CCString(v189, v219); v190 = sub_DADE28("name", (__int64)v8); v235 = nullptr; v236 = nullptr; v237 = nullptr; v220 = v190; v191 = strlen(v190); std::string::__init((__int64 *)&v235, v220, v191); v192 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v188 + 80LL))(v188); v193 = (char *)&v235 + 1; if ( ((unsigned __int8)v235 & 1) != 0 ) v193 = (char *)v237; v253 = 0; v254 = nullptr; v255 = nullptr; v194 = strlen(v193); std::string::__init(&v253, v193, v194); cocos2d::CCDictionary::setObject(v192, v189, (__int64)&v253); if ( (v253 & 1) != 0 ) operator delete(v255); cocos2d::CCObject::release(v189); LABEL_85: if ( ((unsigned __int8)v235 & 1) == 0 ) goto LABEL_31; goto LABEL_86; } if ( v167 == 3 ) { v184 = (cocos2d::CCArray *)(*(__int64 (__fastcall **)(cocos2d::CCTMXMapInfo *))(*(_QWORD *)this + 112LL))(this); v185 = cocos2d::CCArray::lastObject(v184); v218 = sub_DADE28("value", (__int64)v8); v172 = (cocos2d::CCString *)operator new(0x50u); cocos2d::CCString::CCString(v172, v218); v171 = sub_DADE28("name", (__int64)v8); v186 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v185 + 80LL))(v185); v253 = 0; v170 = v186; v173 = v171; } else { if ( v167 == 4 ) { v181 = (cocos2d::CCArray *)(*(__int64 (__fastcall **)(cocos2d::CCTMXMapInfo *))(*(_QWORD *)this + 112LL))(this); v182 = cocos2d::CCArray::lastObject(v181); v183 = (cocos2d::CCArray *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v182 + 96LL))(v182); v169 = cocos2d::CCArray::lastObject(v183); } else { if ( v167 != 5 ) goto LABEL_31; v168 = (cocos2d::CCDictionary *)cocos2d::CCTMXMapInfo::getTileProperties(this); v169 = cocos2d::CCDictionary::objectForKey(v168, *((unsigned int *)this + 29)); } v170 = v169; v171 = sub_DADE28("name", (__int64)v8); v215 = sub_DADE28("value", (__int64)v8); v172 = (cocos2d::CCString *)operator new(0x50u); cocos2d::CCString::CCString(v172, v215); v253 = 0; v173 = v171; } v254 = nullptr; v255 = nullptr; v174 = strlen(v173); std::string::__init(&v253, v171, v174); cocos2d::CCDictionary::setObject(v170, v172, (__int64)&v253); if ( (v253 & 1) != 0 ) operator delete(v255); cocos2d::CCObject::release(v172); LABEL_31: v23 = v8[1]; if ( v23 ) { std::__tree,std::__map_value_compare,std::less,true>,std::allocator>>::destroy( (__int64)v8, (__int64 *)*v23); std::__tree,std::__map_value_compare,std::less,true>,std::allocator>>::destroy( (__int64)v8, (__int64 *)v23[1]); if ( (v23[7] & 1) != 0 ) operator delete((void *)v23[9]); if ( (v23[4] & 1) != 0 ) operator delete((void *)v23[6]); operator delete(v23); } operator delete(v8); if ( (v223 & 1) != 0 ) operator delete(v225); return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source