// // GameLevelManager::dataLoaded from 0x4dcc54 to 0x4dd758 (2820 bytes) // // 1 xrefs: // > GameManager::dataLoaded @ 0x41c59a // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 11:50:58 +0000 // int __fastcall GameLevelManager::dataLoaded(GameLevelManager *this, DS_Dictionary *a2) { cocos2d::CCObject *DictForKey; // r0 cocos2d::CCObject *v5; // r7 cocos2d::CCObject *v6; // r0 int v7; // r7 int v8; // r8 size_t v9; // r0 void *v10; // r0 GJGameLevel *v11; // r7 const void *v12; // r0 GJGameLevel *v13; // r0 GJGameLevel *v14; // r11 int v15; // r3 GameStatsManager *NormalPercent; // r0 GameStatsManager *v17; // r0 cocos2d::CCObject *v18; // r0 cocos2d::CCObject *v19; // r7 cocos2d::CCObject *v20; // r0 int v21; // r7 int v22; // r9 size_t v23; // r0 void *v24; // r0 GJGameLevel *v25; // r7 const void *v26; // r0 GJGameLevel *v27; // r0 GJGameLevel *v28; // r1 int v29; // r3 GJGameLevel *v30; // r7 GameStatsManager *v31; // r0 GJGameLevel *v32; // r3 GameStatsManager *v33; // r0 cocos2d::CCObject *v34; // r0 cocos2d::CCObject *v35; // r7 cocos2d::CCObject *v36; // r0 int v37; // r7 int v38; // r9 size_t v39; // r0 void *v40; // r0 GJGameLevel *v41; // r7 const void *v42; // r0 GJGameLevel *v43; // r0 GJGameLevel *v44; // r1 int v45; // r3 GJGameLevel *v46; // r0 GJGameLevel *v47; // r7 GJGameLevel *v48; // r3 GameStatsManager *v49; // r0 cocos2d::CCObject *v50; // r0 cocos2d::CCObject *v51; // r7 cocos2d::CCObject *v52; // r0 int v53; // r7 int v54; // r9 size_t v55; // r0 void *v56; // r0 GJGameLevel *v57; // r7 const void *v58; // r0 GJGameLevel *v59; // r0 GJGameLevel *v60; // r1 int v61; // r3 GJGameLevel *v62; // r0 GJGameLevel *v63; // r7 GJGameLevel *v64; // r3 GameStatsManager *v65; // r0 unsigned int v66; // r8 cocos2d::CCDictionary *ArrayForKey; // r11 cocos2d::CCObject *v68; // r7 const void *v69; // r0 const char **v70; // r0 const char *LevelListKey; // r0 size_t v72; // r0 cocos2d::CCObject *v73; // r0 int v74; // r7 int v75; // r8 size_t v76; // r0 void *v77; // r0 cocos2d::CCObject *v78; // r7 const void *v79; // r0 cocos2d::CCObject *v80; // r0 cocos2d::CCObject *v81; // r3 int v82; // r3 int v83; // r0 cocos2d::CCObject *v84; // r1 int v85; // r1 cocos2d::CCDictionary *v86; // r7 int v87; // r0 cocos2d::CCString *v88; // r0 cocos2d::CCDictionary *v89; // r2 GameManager *v90; // r0 GameManager *v91; // r0 cocos2d::CCObject *v92; // r0 cocos2d::CCObject *v93; // r6 cocos2d::CCObject *v94; // r0 cocos2d::CCObject *v95; // r0 cocos2d::CCObject *v96; // r6 cocos2d::CCObject *v97; // r0 cocos2d::CCObject *v98; // r0 cocos2d::CCObject *v99; // r6 cocos2d::CCObject *v100; // r0 int v101; // r6 int v102; // r8 size_t v103; // r0 int v104; // r10 size_t v105; // r0 int v106; // r11 cocos2d::CCObject *v107; // r10 int v108; // r3 cocos2d::CCObject *v109; // r0 cocos2d::CCObject *v110; // r6 cocos2d::CCObject *v111; // r0 int v112; // r6 int v113; // r8 size_t v114; // r0 int v115; // r10 size_t v116; // r0 int v117; // r11 cocos2d::CCObject *v118; // r10 int v119; // r3 cocos2d::CCObject *v120; // r0 cocos2d::CCObject *v121; // r6 cocos2d::CCObject *v122; // r0 int v123; // r6 int v124; // r8 size_t v125; // r0 int v126; // r10 size_t v127; // r0 int v128; // r11 cocos2d::CCObject *v129; // r10 int v130; // r3 cocos2d::CCObject *v131; // r0 cocos2d::CCObject *v132; // r6 cocos2d::CCObject *v133; // r0 cocos2d::CCDictionary *v134; // r0 cocos2d::CCDictionary *v135; // r2 cocos2d::CCDictionary *v136; // r6 cocos2d::CCObject *v137; // r0 cocos2d::CCDictionary *v138; // r0 cocos2d::CCDictionary *v139; // r2 cocos2d::CCDictionary *v140; // r6 cocos2d::CCObject *v141; // r0 cocos2d::CCObject *v142; // r0 cocos2d::CCObject *v143; // r5 cocos2d::CCObject *v144; // r0 struct __class_type_info *lpstype; // [sp+4h] [bp-20h] struct __class_type_info *lpstypea; // [sp+4h] [bp-20h] struct __class_type_info *lpstypeb; // [sp+4h] [bp-20h] struct __class_type_info *lpstypec; // [sp+4h] [bp-20h] cocos2d::CCObject *v150; // [sp+8h] [bp-1Ch] int v151; // [sp+10h] [bp-14h] BYREF int v152; // [sp+14h] [bp-10h] int v153; // [sp+18h] [bp-Ch] DictForKey = (cocos2d::CCObject *)DS_Dictionary::getDictForKey(a2, "GLM_01", 0); v5 = DictForKey; if ( *((_DWORD *)this + 134) ) { if ( !DictForKey ) goto LABEL_25; v7 = *((_DWORD *)DictForKey + 13); if ( v7 ) v8 = *(_DWORD *)(v7 + 272); else v8 = 0; while ( 1 ) { if ( !v7 ) goto LABEL_25; v151 = 0; v152 = 0; v153 = 0; v9 = strlen((const char *)v7); std::string::__init(&v151, (const void *)v7, v9); v10 = *(void **)(v7 + 260); if ( v10 ) v10 = _dynamic_cast( v10, (const struct __class_type_info *)&`typeinfo for'cocos2d::CCObject, (const struct __class_type_info *)&`typeinfo for'GJGameLevel, 0); v11 = (GJGameLevel *)v10; v12 = (const void *)cocos2d::CCDictionary::objectForKey(*((_DWORD *)this + 134), &v151); if ( v12 ) { v13 = (GJGameLevel *)_dynamic_cast( v12, (const struct __class_type_info *)&`typeinfo for'cocos2d::CCObject, (const struct __class_type_info *)&`typeinfo for'GJGameLevel, 0); v14 = v13; if ( !v11 ) goto LABEL_15; if ( v13 ) { GJGameLevel::handleStatsConflict(v13, v11); v11 = v14; goto LABEL_21; } } else if ( !v11 ) { goto LABEL_15; } cocos2d::CCDictionary::setObject(*((_DWORD *)this + 134), v11); LABEL_21: NormalPercent = (GameStatsManager *)GJGameLevel::getNormalPercent(v11); if ( (int)NormalPercent > 99 ) { v17 = (GameStatsManager *)GameStatsManager::sharedState(NormalPercent); GameStatsManager::completedLevel(v17, v11); } LABEL_15: std::string::~string((int)&v151); if ( v8 ) v15 = *(_DWORD *)(v8 + 272); else v15 = 0; v7 = v8; v8 = v15; } } if ( DictForKey ) { cocos2d::CCObject::retain(DictForKey); v6 = *((cocos2d::CCObject **)this + 134); if ( v6 ) cocos2d::CCObject::release(v6); *((_DWORD *)this + 134) = v5; } LABEL_25: v18 = (cocos2d::CCObject *)DS_Dictionary::getDictForKey(a2, "GLM_03", 0); v19 = v18; if ( *((_DWORD *)this + 136) ) { if ( !v18 ) goto LABEL_50; v21 = *((_DWORD *)v18 + 13); if ( v21 ) v22 = *(_DWORD *)(v21 + 272); else v22 = 0; while ( 1 ) { if ( !v21 ) goto LABEL_50; v151 = 0; v152 = 0; v153 = 0; v23 = strlen((const char *)v21); std::string::__init(&v151, (const void *)v21, v23); v24 = *(void **)(v21 + 260); if ( v24 ) v24 = _dynamic_cast( v24, (const struct __class_type_info *)&`typeinfo for'cocos2d::CCObject, (const struct __class_type_info *)&`typeinfo for'GJGameLevel, 0); v25 = (GJGameLevel *)v24; v26 = (const void *)cocos2d::CCDictionary::objectForKey(*((_DWORD *)this + 136), &v151); if ( v26 ) { v27 = (GJGameLevel *)_dynamic_cast( v26, (const struct __class_type_info *)&`typeinfo for'cocos2d::CCObject, (const struct __class_type_info *)&`typeinfo for'GJGameLevel, 0); v28 = v27; if ( !v25 ) goto LABEL_39; if ( v27 ) { if ( *((_DWORD *)v27 + 153) > *((_DWORD *)v25 + 153) ) { v32 = v25; v25 = v27; v28 = v32; } GJGameLevel::handleStatsConflict(v25, v28); } } else if ( !v25 ) { goto LABEL_39; } cocos2d::CCDictionary::setObject(*((_DWORD *)this + 136), v25); v30 = (GJGameLevel *)cocos2d::CCDictionary::objectForKey(*((_DWORD *)this + 136), &v151); v31 = (GameStatsManager *)GJGameLevel::getNormalPercent(v30); if ( (int)v31 > 99 ) { v33 = (GameStatsManager *)GameStatsManager::sharedState(v31); GameStatsManager::completedLevel(v33, v30); } LABEL_39: std::string::~string((int)&v151); if ( v22 ) v29 = *(_DWORD *)(v22 + 272); else v29 = 0; v21 = v22; v22 = v29; } } if ( v18 ) { cocos2d::CCObject::retain(v18); v20 = *((cocos2d::CCObject **)this + 136); if ( v20 ) cocos2d::CCObject::release(v20); *((_DWORD *)this + 136) = v19; } LABEL_50: GameLevelManager::verifyContainerOnlyHasLevels(this, *((cocos2d::CCDictionary **)this + 136)); v34 = (cocos2d::CCObject *)DS_Dictionary::getDictForKey(a2, "GLM_10", 0); v35 = v34; if ( *((_DWORD *)this + 147) ) { if ( !v34 ) goto LABEL_74; v37 = *((_DWORD *)v34 + 13); if ( v37 ) v38 = *(_DWORD *)(v37 + 272); else v38 = 0; while ( 1 ) { if ( !v37 ) goto LABEL_74; v151 = 0; v152 = 0; v153 = 0; v39 = strlen((const char *)v37); std::string::__init(&v151, (const void *)v37, v39); v40 = *(void **)(v37 + 260); if ( v40 ) v40 = _dynamic_cast( v40, (const struct __class_type_info *)&`typeinfo for'cocos2d::CCObject, (const struct __class_type_info *)&`typeinfo for'GJGameLevel, 0); v41 = (GJGameLevel *)v40; v42 = (const void *)cocos2d::CCDictionary::objectForKey(*((_DWORD *)this + 147), &v151); if ( v42 ) { v43 = (GJGameLevel *)_dynamic_cast( v42, (const struct __class_type_info *)&`typeinfo for'cocos2d::CCObject, (const struct __class_type_info *)&`typeinfo for'GJGameLevel, 0); v44 = v43; if ( !v41 ) goto LABEL_64; if ( v43 ) { if ( *((_DWORD *)v43 + 153) > *((_DWORD *)v41 + 153) ) { v48 = v41; v41 = v43; v44 = v48; } GJGameLevel::handleStatsConflict(v41, v44); } } else if ( !v41 ) { goto LABEL_64; } cocos2d::CCDictionary::setObject(*((_DWORD *)this + 147), v41); v46 = (GJGameLevel *)cocos2d::CCDictionary::objectForKey(*((_DWORD *)this + 147), &v151); v47 = v46; if ( *((_DWORD *)v46 + 172) - *((_DWORD *)v46 + 173) > 99 ) { v49 = (GameStatsManager *)GameStatsManager::sharedState(v46); GameStatsManager::completedLevel(v49, v47); } LABEL_64: std::string::~string((int)&v151); if ( v38 ) v45 = *(_DWORD *)(v38 + 272); else v45 = 0; v37 = v38; v38 = v45; } } if ( v34 ) { cocos2d::CCObject::retain(v34); v36 = *((cocos2d::CCObject **)this + 147); if ( v36 ) cocos2d::CCObject::release(v36); *((_DWORD *)this + 147) = v35; } LABEL_74: v50 = (cocos2d::CCObject *)DS_Dictionary::getDictForKey(a2, "GLM_16", 0); v51 = v50; if ( *((_DWORD *)this + 168) ) { if ( !v50 ) goto LABEL_98; v53 = *((_DWORD *)v50 + 13); if ( v53 ) v54 = *(_DWORD *)(v53 + 272); else v54 = 0; while ( 1 ) { if ( !v53 ) goto LABEL_98; v151 = 0; v152 = 0; v153 = 0; v55 = strlen((const char *)v53); std::string::__init(&v151, (const void *)v53, v55); v56 = *(void **)(v53 + 260); if ( v56 ) v56 = _dynamic_cast( v56, (const struct __class_type_info *)&`typeinfo for'cocos2d::CCObject, (const struct __class_type_info *)&`typeinfo for'GJGameLevel, 0); v57 = (GJGameLevel *)v56; v58 = (const void *)cocos2d::CCDictionary::objectForKey(*((_DWORD *)this + 168), &v151); if ( v58 ) { v59 = (GJGameLevel *)_dynamic_cast( v58, (const struct __class_type_info *)&`typeinfo for'cocos2d::CCObject, (const struct __class_type_info *)&`typeinfo for'GJGameLevel, 0); v60 = v59; if ( !v57 ) goto LABEL_88; if ( v59 ) { if ( *((_DWORD *)v59 + 153) > *((_DWORD *)v57 + 153) ) { v64 = v57; v57 = v59; v60 = v64; } GJGameLevel::handleStatsConflict(v57, v60); } } else if ( !v57 ) { goto LABEL_88; } cocos2d::CCDictionary::setObject(*((_DWORD *)this + 168), v57); v62 = (GJGameLevel *)cocos2d::CCDictionary::objectForKey(*((_DWORD *)this + 168), &v151); v63 = v62; if ( *((_DWORD *)v62 + 172) - *((_DWORD *)v62 + 173) > 99 ) { v65 = (GameStatsManager *)GameStatsManager::sharedState(v62); GameStatsManager::completedLevel(v65, v63); } LABEL_88: std::string::~string((int)&v151); if ( v54 ) v61 = *(_DWORD *)(v54 + 272); else v61 = 0; v53 = v54; v54 = v61; } } if ( v50 ) { cocos2d::CCObject::retain(v50); v52 = *((cocos2d::CCObject **)this + 168); if ( v52 ) cocos2d::CCObject::release(v52); *((_DWORD *)this + 168) = v51; } LABEL_98: v66 = 0; ArrayForKey = (cocos2d::CCDictionary *)DS_Dictionary::getArrayForKey(a2, "GLM_22", 0); v68 = (cocos2d::CCObject *)cocos2d::CCDictionary::create(ArrayForKey); while ( v66 < cocos2d::CCArray::count(ArrayForKey) ) { v69 = (const void *)cocos2d::CCArray::objectAtIndex(ArrayForKey, v66); if ( v69 ) { v70 = (const char **)_dynamic_cast( v69, (const struct __class_type_info *)&`typeinfo for'cocos2d::CCObject, (const struct __class_type_info *)&`typeinfo for'GJLevelList, 0); if ( v70 ) { v150 = (cocos2d::CCObject *)v70; LevelListKey = (const char *)GameLevelManager::getLevelListKey(this, v70[69]); v151 = 0; v152 = 0; v153 = 0; lpstype = (struct __class_type_info *)LevelListKey; v72 = strlen(LevelListKey); std::string::__init(&v151, lpstype, v72); cocos2d::CCDictionary::setObject((int)v68, v150); std::string::~string((int)&v151); } } ++v66; } if ( *((_DWORD *)this + 139) ) { if ( !v68 ) goto LABEL_128; v74 = *((_DWORD *)v68 + 13); if ( v74 ) v75 = *(_DWORD *)(v74 + 272); else v75 = 0; while ( 1 ) { if ( !v74 ) goto LABEL_128; v151 = 0; v152 = 0; v153 = 0; v76 = strlen((const char *)v74); std::string::__init(&v151, (const void *)v74, v76); v77 = *(void **)(v74 + 260); if ( v77 ) v77 = _dynamic_cast( v77, (const struct __class_type_info *)&`typeinfo for'cocos2d::CCObject, (const struct __class_type_info *)&`typeinfo for'GJLevelList, 0); v78 = (cocos2d::CCObject *)v77; v79 = (const void *)cocos2d::CCDictionary::objectForKey(*((_DWORD *)this + 139), &v151); if ( v79 ) break; if ( v78 ) goto LABEL_121; LABEL_118: std::string::~string((int)&v151); if ( v75 ) v82 = *(_DWORD *)(v75 + 272); else v82 = 0; v74 = v75; v75 = v82; } v80 = (cocos2d::CCObject *)_dynamic_cast( v79, (const struct __class_type_info *)&`typeinfo for'cocos2d::CCObject, (const struct __class_type_info *)&`typeinfo for'GJLevelList, 0); v81 = v80; if ( !v78 ) goto LABEL_118; if ( v80 ) { v85 = *((_DWORD *)v80 + 70); v83 = *((_DWORD *)this + 139); if ( v85 > *((_DWORD *)v78 + 70) ) v84 = v81; else v84 = v78; } else { LABEL_121: v83 = *((_DWORD *)this + 139); v84 = v78; } cocos2d::CCDictionary::setObject(v83, v84); goto LABEL_118; } if ( v68 ) { cocos2d::CCObject::retain(v68); v73 = *((cocos2d::CCObject **)this + 139); if ( v73 ) cocos2d::CCObject::release(v73); *((_DWORD *)this + 139) = v68; } LABEL_128: *((_DWORD *)this + 150) = DS_Dictionary::getIntegerForKey(a2, "GLM_11"); *((_DWORD *)this + 153) = DS_Dictionary::getIntegerForKey(a2, "GLM_17"); *((_DWORD *)this + 156) = DS_Dictionary::getIntegerForKey(a2, "GLM_23"); *((_DWORD *)this + 163) = DS_Dictionary::getIntegerForKey(a2, "GLM_24"); *((_DWORD *)this + 164) = DS_Dictionary::getIntegerForKey(a2, "GLM_25"); *((_DWORD *)this + 165) = DS_Dictionary::getIntegerForKey(a2, "GLM_26"); *((_DWORD *)this + 166) = DS_Dictionary::getIntegerForKey(a2, "GLM_27"); *((_BYTE *)this + 668) = DS_Dictionary::getIntegerForKey(a2, "GLM_28") != 0; DS_Dictionary::addBoolValuesToMapForKey((int)a2, (int)this + 676, "GLM_09"); DS_Dictionary::addBoolValuesToMapForKeySpecial((int)a2, (int)this + 676, "GLM_04"); v86 = (cocos2d::CCDictionary *)DS_Dictionary::getDictForKey(a2, "GLM_06", 0); if ( *((_DWORD *)this + 138) ) { v151 = 0; v152 = 0; v153 = 0; std::string::__init(&v151, "gv_", 3u); std::string::append(&v151, "0241"); if ( cocos2d::CCDictionary::count(v86) ) { v87 = DS_Dictionary::getDictForKey(a2, "valueKeeper", 0); v88 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(v87, &v151); if ( !cocos2d::CCString::boolValue(v88) ) { v90 = (GameManager *)GameToolbox::mergeDictsSaveLargestInt(*((_DWORD *)this + 138), v86, v89); v91 = (GameManager *)GameManager::sharedState(v90); GameManager::setGameVariable(v91, "0241", nullptr); } } std::string::~string((int)&v151); } else { sub_4A9C2E((GameLevelManager *)((char *)this + 552), v86); } v92 = (cocos2d::CCObject *)DS_Dictionary::getDictForKey(a2, "GLM_07", 0); v93 = v92; if ( !*((_DWORD *)this + 140) && v92 ) { cocos2d::CCObject::retain(v92); v94 = *((cocos2d::CCObject **)this + 140); if ( v94 ) cocos2d::CCObject::release(v94); *((_DWORD *)this + 140) = v93; } v95 = (cocos2d::CCObject *)DS_Dictionary::getDictForKey(a2, "GLM_08", 0); v96 = v95; if ( !*((_DWORD *)this + 135) && v95 ) { cocos2d::CCObject::retain(v95); v97 = *((cocos2d::CCObject **)this + 135); if ( v97 ) cocos2d::CCObject::release(v97); *((_DWORD *)this + 135) = v96; } v98 = (cocos2d::CCObject *)DS_Dictionary::getDictForKey(a2, "GLM_12", 0); v99 = v98; if ( *((_DWORD *)this + 141) ) { v101 = *((_DWORD *)v98 + 13); if ( v101 ) v102 = *(_DWORD *)(v101 + 272); else v102 = 0; while ( v101 && cocos2d::CCDictionary::count(*((cocos2d::CCDictionary **)this + 141)) < 0x3E8u ) { v151 = 0; v152 = 0; v153 = 0; v103 = strlen((const char *)v101); v104 = *((_DWORD *)this + 141); std::string::__init(&v151, (const void *)v101, v103); lpstypea = (struct __class_type_info *)cocos2d::CCDictionary::objectForKey(v104, &v151); std::string::~string((int)&v151); if ( !lpstypea ) { v151 = 0; v152 = 0; v153 = 0; v105 = strlen((const char *)v101); v106 = *((_DWORD *)this + 141); v107 = *((cocos2d::CCObject **)this + 242); std::string::__init(&v151, (const void *)v101, v105); cocos2d::CCDictionary::setObject(v106, v107); std::string::~string((int)&v151); } if ( v102 ) v108 = *(_DWORD *)(v102 + 272); else v108 = 0; v101 = v102; v102 = v108; } } else if ( v98 ) { cocos2d::CCObject::retain(v98); v100 = *((cocos2d::CCObject **)this + 141); if ( v100 ) cocos2d::CCObject::release(v100); *((_DWORD *)this + 141) = v99; } v109 = (cocos2d::CCObject *)DS_Dictionary::getDictForKey(a2, "GLM_13", 0); v110 = v109; if ( *((_DWORD *)this + 142) ) { v112 = *((_DWORD *)v109 + 13); if ( v112 ) v113 = *(_DWORD *)(v112 + 272); else v113 = 0; while ( v112 && cocos2d::CCDictionary::count(*((cocos2d::CCDictionary **)this + 142)) < 0x3E8u ) { v151 = 0; v152 = 0; v153 = 0; v114 = strlen((const char *)v112); v115 = *((_DWORD *)this + 142); std::string::__init(&v151, (const void *)v112, v114); lpstypeb = (struct __class_type_info *)cocos2d::CCDictionary::objectForKey(v115, &v151); std::string::~string((int)&v151); if ( !lpstypeb ) { v151 = 0; v152 = 0; v153 = 0; v116 = strlen((const char *)v112); v117 = *((_DWORD *)this + 142); v118 = *((cocos2d::CCObject **)this + 242); std::string::__init(&v151, (const void *)v112, v116); cocos2d::CCDictionary::setObject(v117, v118); std::string::~string((int)&v151); } if ( v113 ) v119 = *(_DWORD *)(v113 + 272); else v119 = 0; v112 = v113; v113 = v119; } } else if ( v109 ) { cocos2d::CCObject::retain(v109); v111 = *((cocos2d::CCObject **)this + 142); if ( v111 ) cocos2d::CCObject::release(v111); *((_DWORD *)this + 142) = v110; } v120 = (cocos2d::CCObject *)DS_Dictionary::getDictForKey(a2, "GLM_15", 0); v121 = v120; if ( *((_DWORD *)this + 143) ) { v123 = *((_DWORD *)v120 + 13); if ( v123 ) v124 = *(_DWORD *)(v123 + 272); else v124 = 0; while ( v123 && cocos2d::CCDictionary::count(*((cocos2d::CCDictionary **)this + 143)) < 0x3E8u ) { v151 = 0; v152 = 0; v153 = 0; v125 = strlen((const char *)v123); v126 = *((_DWORD *)this + 143); std::string::__init(&v151, (const void *)v123, v125); lpstypec = (struct __class_type_info *)cocos2d::CCDictionary::objectForKey(v126, &v151); std::string::~string((int)&v151); if ( !lpstypec ) { v151 = 0; v152 = 0; v153 = 0; v127 = strlen((const char *)v123); v128 = *((_DWORD *)this + 143); v129 = *((cocos2d::CCObject **)this + 242); std::string::__init(&v151, (const void *)v123, v127); cocos2d::CCDictionary::setObject(v128, v129); std::string::~string((int)&v151); } if ( v124 ) v130 = *(_DWORD *)(v124 + 272); else v130 = 0; v123 = v124; v124 = v130; } } else if ( v120 ) { cocos2d::CCObject::retain(v120); v122 = *((cocos2d::CCObject **)this + 143); if ( v122 ) cocos2d::CCObject::release(v122); *((_DWORD *)this + 143) = v121; } v131 = (cocos2d::CCObject *)DS_Dictionary::getDictForKey(a2, "GLM_14", 0); v132 = v131; if ( !*((_DWORD *)this + 144) && v131 ) { cocos2d::CCObject::retain(v131); v133 = *((cocos2d::CCObject **)this + 144); if ( v133 ) cocos2d::CCObject::release(v133); *((_DWORD *)this + 144) = v132; } v134 = (cocos2d::CCDictionary *)DS_Dictionary::getDictForKey(a2, "GLM_18", 0); v136 = v134; if ( *((_DWORD *)this + 145) ) { GameToolbox::mergeDictsSkipConflict(*((_DWORD *)this + 145), v134, v135); } else if ( v134 ) { cocos2d::CCObject::retain(v134); v137 = *((cocos2d::CCObject **)this + 145); if ( v137 ) cocos2d::CCObject::release(v137); *((_DWORD *)this + 145) = v136; } v138 = (cocos2d::CCDictionary *)DS_Dictionary::getDictForKey(a2, "GLM_19", 0); v140 = v138; if ( *((_DWORD *)this + 146) ) { GameToolbox::mergeDictsSkipConflict(*((_DWORD *)this + 146), v138, v139); } else if ( v138 ) { cocos2d::CCObject::retain(v138); v141 = *((cocos2d::CCObject **)this + 146); if ( v141 ) cocos2d::CCObject::release(v141); *((_DWORD *)this + 146) = v140; } v142 = (cocos2d::CCObject *)DS_Dictionary::getArrayForKey(a2, "GLM_20", 0); v143 = v142; if ( !*((_DWORD *)this + 243) && v142 ) { cocos2d::CCObject::retain(v142); v144 = *((cocos2d::CCObject **)this + 243); if ( v144 ) cocos2d::CCObject::release(v144); *((_DWORD *)this + 243) = v143; } *((_DWORD *)this + 202) = 1; GameLevelManager::limitSavedLevels((cocos2d::CCDictionary **)this); GameLevelManager::purgeUnusedLevels((cocos2d::CCDictionary **)this); return GameLevelManager::updateUsernames((int)this); }
GD Web Decomp Icon

GD Web Decomp

Raw Source