// // GameStatsManager::dataLoaded from 0x5294d0 to 0x529e54 (2436 bytes) // // 1 xrefs: // > GameManager::dataLoaded @ 0x41c590 // // 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:51:58 +0000 // int __fastcall GameStatsManager::dataLoaded(GameStatsManager *this, DS_Dictionary *a2) { int BoolForKey; // r0 cocos2d::CCDictionary *DictForKey; // r0 char *v6; // r2 cocos2d::CCObject *v7; // r0 unsigned int v8; // r10 cocos2d::CCString *v9; // r0 const char *CString; // r8 int v11; // r0 size_t v12; // r0 cocos2d::CCString *v13; // r0 size_t v14; // r0 int v15; // r9 cocos2d::CCString *v16; // r0 const char *v17; // r11 size_t v18; // r0 _BOOL4 isSecretCoin; // r9 const char *v20; // r3 cocos2d::CCObject *v21; // r0 cocos2d::CCObject *v22; // r11 size_t v23; // r0 int v24; // r3 int v25; // r6 int i; // r7 int StatFromKey; // r0 cocos2d::CCDictionary *v28; // r0 cocos2d::CCDictionary *v29; // r6 cocos2d::CCObject *v30; // r0 unsigned int v31; // r6 cocos2d::CCArray *v32; // r7 cocos2d::CCString *v33; // r0 const char *v34; // r8 int v35; // r2 int v36; // r3 cocos2d::CCDictionary *v37; // r0 cocos2d::CCDictionary *v38; // r2 cocos2d::CCDictionary *v39; // r6 cocos2d::CCObject *v40; // r0 cocos2d::CCObject *v41; // r0 cocos2d::CCObject *v42; // r6 cocos2d::CCObject *v43; // r0 cocos2d::CCDictionary *v44; // r0 cocos2d::CCDictionary *v45; // r2 cocos2d::CCDictionary *v46; // r6 cocos2d::CCObject *v47; // r0 cocos2d::CCDictionary *v48; // r0 cocos2d::CCDictionary *v49; // r2 cocos2d::CCDictionary *v50; // r6 cocos2d::CCObject *v51; // r0 cocos2d::CCDictionary *v52; // r0 cocos2d::CCDictionary *v53; // r2 cocos2d::CCDictionary *v54; // r6 cocos2d::CCObject *v55; // r0 cocos2d::CCDictionary *v56; // r0 cocos2d::CCDictionary *v57; // r2 cocos2d::CCDictionary *v58; // r6 cocos2d::CCObject *v59; // r0 cocos2d::CCDictionary *v60; // r0 cocos2d::CCDictionary *v61; // r2 cocos2d::CCDictionary *v62; // r6 cocos2d::CCObject *v63; // r0 cocos2d::CCDictionary *v64; // r0 cocos2d::CCDictionary *v65; // r2 cocos2d::CCDictionary *v66; // r6 cocos2d::CCObject *v67; // r0 cocos2d::CCDictionary *v68; // r0 cocos2d::CCDictionary *v69; // r2 cocos2d::CCDictionary *v70; // r6 cocos2d::CCObject *v71; // r0 cocos2d::CCDictionary *v72; // r0 cocos2d::CCDictionary *v73; // r2 cocos2d::CCDictionary *v74; // r6 cocos2d::CCObject *v75; // r0 cocos2d::CCDictionary *v76; // r0 cocos2d::CCDictionary *v77; // r2 cocos2d::CCDictionary *v78; // r6 cocos2d::CCObject *v79; // r0 cocos2d::CCDictionary *v80; // r0 cocos2d::CCDictionary *v81; // r2 cocos2d::CCDictionary *v82; // r6 cocos2d::CCObject *v83; // r0 cocos2d::CCDictionary *v84; // r0 cocos2d::CCDictionary *v85; // r2 cocos2d::CCDictionary *v86; // r6 cocos2d::CCObject *v87; // r0 cocos2d::CCDictionary *v88; // r0 cocos2d::CCDictionary *v89; // r2 cocos2d::CCDictionary *v90; // r6 cocos2d::CCObject *v91; // r0 cocos2d::CCDictionary *v92; // r0 cocos2d::CCDictionary *v93; // r2 cocos2d::CCDictionary *v94; // r6 cocos2d::CCObject *v95; // r0 cocos2d::CCDictionary *v96; // r0 cocos2d::CCDictionary *v97; // r2 cocos2d::CCDictionary *v98; // r6 cocos2d::CCObject *v99; // r0 cocos2d::CCDictionary *v100; // r0 cocos2d::CCDictionary *v101; // r2 cocos2d::CCDictionary *v102; // r6 cocos2d::CCObject *v103; // r0 cocos2d::CCDictionary *v104; // r0 cocos2d::CCDictionary *v105; // r2 cocos2d::CCDictionary *v106; // r6 cocos2d::CCObject *v107; // r0 cocos2d::CCDictionary *v108; // r0 cocos2d::CCDictionary *v109; // r9 cocos2d::CCObject *v110; // r0 int v111; // r0 _DWORD *v112; // r2 cocos2d::CCString **v113; // r6 cocos2d::CCString **v114; // r10 cocos2d::CCString *v115; // r0 cocos2d::CCString *v116; // t1 cocos2d::CCObject *v117; // r0 cocos2d::CCObject *v118; // r6 cocos2d::CCObject *v119; // r0 cocos2d::CCDictionary *v120; // r0 cocos2d::CCDictionary *v121; // r2 cocos2d::CCDictionary *v122; // r6 cocos2d::CCObject *v123; // r0 cocos2d::CCDictionary *v124; // r0 cocos2d::CCDictionary *v125; // r2 cocos2d::CCDictionary *v126; // r6 cocos2d::CCObject *v127; // r0 cocos2d::CCDictionary *v128; // r0 cocos2d::CCDictionary *v129; // r2 cocos2d::CCDictionary *v130; // r6 cocos2d::CCObject *v131; // r0 cocos2d::CCDictionary *v132; // r0 cocos2d::CCDictionary *v133; // r2 cocos2d::CCDictionary *v134; // r6 cocos2d::CCObject *v135; // r0 cocos2d::CCDictionary *v136; // r0 cocos2d::CCDictionary *v137; // r2 cocos2d::CCDictionary *v138; // r6 cocos2d::CCObject *v139; // r0 cocos2d::CCDictionary *v140; // r0 cocos2d::CCDictionary *v141; // r2 cocos2d::CCDictionary *v142; // r6 cocos2d::CCObject *v143; // r0 cocos2d::CCDictionary *v144; // r0 int v145; // r1 cocos2d::CCDictionary *v146; // r2 int v147; // r3 cocos2d::CCDictionary *v148; // r6 cocos2d::CCObject *v149; // r0 int v150; // r6 int IntegerForKey; // r1 int v152; // r0 size_t v154; // r0 _BOOL4 isSecretCoinValid; // r9 size_t v156; // r0 int v157; // r11 size_t v158; // r0 int v159; // r11 cocos2d::CCObject *v160; // r9 const char *v161; // r0 const char *v162; // r7 size_t v163; // r0 cocos2d::CCObject *v164; // r7 GJChallengeItem *v165; // r0 int v166; // r2 int v167; // r3 int v168; // r1 cocos2d::CCDictionary *v169; // [sp+4h] [bp-40h] _BOOL4 v170; // [sp+8h] [bp-3Ch] cocos2d::CCArray *v171; // [sp+Ch] [bp-38h] const char *v172; // [sp+10h] [bp-34h] int v173; // [sp+1Ch] [bp-28h] int v174[3]; // [sp+24h] [bp-20h] BYREF int v175; // [sp+30h] [bp-14h] BYREF int v176; // [sp+34h] [bp-10h] int v177; // [sp+38h] [bp-Ch] v170 = DS_Dictionary::getIntegerForKey(a2, "binaryVersion") == 38; if ( !*((_BYTE *)this + 568) ) { BoolForKey = DS_Dictionary::getBoolForKey(a2, "GS_29"); *((_BYTE *)this + 568) = BoolForKey; if ( v170 && !BoolForKey ) *((_BYTE *)this + 569) = 1; } DictForKey = (cocos2d::CCDictionary *)DS_Dictionary::getDictForKey(a2, "GS_value", 0); v169 = DictForKey; if ( *((_DWORD *)this + 92) ) { v8 = 0; v171 = (cocos2d::CCArray *)cocos2d::CCDictionary::allKeys(DictForKey); while ( 1 ) { if ( v8 >= cocos2d::CCArray::count(v171) ) goto LABEL_28; v9 = (cocos2d::CCString *)cocos2d::CCArray::stringAtIndex(v171, v8); CString = (const char *)cocos2d::CCString::getCString(v9); v11 = atoi(CString); if ( v11 > 29 ) { if ( v11 <= 39 ) { if ( v170 && !*((_BYTE *)this + 569) ) goto LABEL_27; } else if ( v11 <= 43 ) { goto LABEL_27; } } else if ( v11 >= 23 || v11 >= 3 && (v11 <= 8 || (unsigned int)(v11 - 12) <= 9) ) { goto LABEL_27; } v175 = 0; v176 = 0; v177 = 0; v12 = strlen(CString); std::string::__init(&v175, CString, v12); v13 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(v169, &v175); v172 = (const char *)cocos2d::CCString::intValue(v13); std::string::~string((int)&v175); v175 = 0; v176 = 0; v177 = 0; v14 = strlen(CString); v15 = *((_DWORD *)this + 92); std::string::__init(&v175, CString, v14); v16 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(v15, &v175); v17 = (const char *)cocos2d::CCString::intValue(v16); std::string::~string((int)&v175); v175 = 0; v176 = 0; v177 = 0; v18 = strlen(CString); std::string::__init(&v175, CString, v18); isSecretCoin = GameStatsManager::isSecretCoin((int)this, (unsigned __int8 *)&v175); std::string::~string((int)&v175); if ( isSecretCoin ) { memset(v174, 0, sizeof(v174)); v154 = strlen(CString); std::string::__init(v174, CString, v154); isSecretCoinValid = GameStatsManager::isSecretCoinValid((int)this, (unsigned __int8 *)v174); if ( isSecretCoinValid ) { v175 = 0; v176 = 0; v177 = 0; v156 = strlen(CString); v157 = *((_DWORD *)this + 92); std::string::__init(&v175, CString, v156); isSecretCoinValid = cocos2d::CCDictionary::objectForKey(v157, &v175) == 0; std::string::~string((int)&v175); } std::string::~string((int)v174); if ( isSecretCoinValid ) { v175 = 0; v176 = 0; v177 = 0; v158 = strlen(CString); v159 = *((_DWORD *)this + 92); v160 = *((cocos2d::CCObject **)this + 66); std::string::__init(&v175, CString, v158); cocos2d::CCDictionary::setObject(v159, v160); std::string::~string((int)&v175); GameStatsManager::incrementStat(this, (const char *)&a1i2r3e45s789g[10]); } } else { v173 = *((_DWORD *)this + 92); v20 = v172; if ( (int)v172 < (int)v17 ) v20 = v17; v21 = (cocos2d::CCObject *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"%i", v20); v175 = 0; v176 = 0; v177 = 0; v22 = v21; v23 = strlen(CString); std::string::__init(&v175, CString, v23); cocos2d::CCDictionary::setObject(v173, v22); std::string::~string((int)&v175); } LABEL_27: ++v8; } } if ( DictForKey ) { cocos2d::CCObject::retain(DictForKey); v7 = *((cocos2d::CCObject **)this + 92); if ( v7 ) cocos2d::CCObject::release(v7); *((_DWORD *)this + 92) = v169; } LABEL_28: v24 = *((unsigned __int8 *)this + 568); if ( !*((_BYTE *)this + 568) ) { v25 = *((unsigned __int8 *)this + 569); if ( !*((_BYTE *)this + 569) ) { for ( i = 30; i != 40; ++i ) { if ( GameStatsManager::getStatFromKey(this, i, v6, v24) >= 1000 ) StatFromKey = 1000; else StatFromKey = GameStatsManager::getStatFromKey(this, i, v6, v24); v25 += StatFromKey; } if ( v25 > 1000 ) *((_BYTE *)this + 568) = 1; } } v28 = (cocos2d::CCDictionary *)DS_Dictionary::getDictForKey(a2, "GS_3", 0); v29 = v28; if ( *((_DWORD *)this + 104) ) { v31 = 0; v32 = (cocos2d::CCArray *)cocos2d::CCDictionary::allKeys(v28); while ( v31 < cocos2d::CCArray::count(v32) ) { v33 = (cocos2d::CCString *)cocos2d::CCArray::stringAtIndex(v32, v31); v34 = (const char *)cocos2d::CCString::getCString(v33); if ( !GameStatsManager::hasUserCoin(this, v34) ) { GameStatsManager::storeUserCoin(this, v34, v35, v36); GameStatsManager::incrementStat(this, "12"); } ++v31; } } else if ( v28 ) { cocos2d::CCObject::retain(v28); v30 = *((cocos2d::CCObject **)this + 104); if ( v30 ) cocos2d::CCObject::release(v30); *((_DWORD *)this + 104) = v29; } v37 = (cocos2d::CCDictionary *)DS_Dictionary::getDictForKey(a2, "GS_4", 0); v39 = v37; if ( *((_DWORD *)this + 105) ) { GameToolbox::mergeDictsSaveLargestInt(*((_DWORD *)this + 105), v37, v38); } else if ( v37 ) { cocos2d::CCObject::retain(v37); v40 = *((cocos2d::CCObject **)this + 105); if ( v40 ) cocos2d::CCObject::release(v40); *((_DWORD *)this + 105) = v39; } v41 = (cocos2d::CCObject *)DS_Dictionary::getDictForKey(a2, "GS_completed", 0); v42 = v41; if ( !*((_DWORD *)this + 103) && v41 ) { cocos2d::CCObject::retain(v41); v43 = *((cocos2d::CCObject **)this + 103); if ( v43 ) cocos2d::CCObject::release(v43); *((_DWORD *)this + 103) = v42; } v44 = (cocos2d::CCDictionary *)DS_Dictionary::getDictForKey(a2, "GS_5", 0); v46 = v44; if ( *((_DWORD *)this + 117) ) { GameToolbox::mergeDictsSaveLargestInt(*((_DWORD *)this + 117), v44, v45); } else if ( v44 ) { cocos2d::CCObject::retain(v44); v47 = *((cocos2d::CCObject **)this + 117); if ( v47 ) cocos2d::CCObject::release(v47); *((_DWORD *)this + 117) = v46; } v48 = (cocos2d::CCDictionary *)DS_Dictionary::getDictForKey(a2, "GS_6", 0); v50 = v48; if ( *((_DWORD *)this + 106) ) { GameToolbox::mergeDictsSaveLargestInt(*((_DWORD *)this + 106), v48, v49); } else if ( v48 ) { cocos2d::CCObject::retain(v48); v51 = *((cocos2d::CCObject **)this + 106); if ( v51 ) cocos2d::CCObject::release(v51); *((_DWORD *)this + 106) = v50; } v52 = (cocos2d::CCDictionary *)DS_Dictionary::getDictForKey(a2, "GS_7", 0); v54 = v52; if ( *((_DWORD *)this + 107) ) { GameToolbox::mergeDictsSaveLargestInt(*((_DWORD *)this + 107), v52, v53); } else if ( v52 ) { cocos2d::CCObject::retain(v52); v55 = *((cocos2d::CCObject **)this + 107); if ( v55 ) cocos2d::CCObject::release(v55); *((_DWORD *)this + 107) = v54; } v56 = (cocos2d::CCDictionary *)DS_Dictionary::getDictForKey(a2, "GS_23", 0); v58 = v56; if ( *((_DWORD *)this + 109) ) { GameToolbox::mergeDictsSaveLargestInt(*((_DWORD *)this + 109), v56, v57); } else if ( v56 ) { cocos2d::CCObject::retain(v56); v59 = *((cocos2d::CCObject **)this + 109); if ( v59 ) cocos2d::CCObject::release(v59); *((_DWORD *)this + 109) = v58; } v60 = (cocos2d::CCDictionary *)DS_Dictionary::getDictForKey(a2, "GS_10", 0); v62 = v60; if ( *((_DWORD *)this + 108) ) { GameToolbox::mergeDictsSaveLargestInt(*((_DWORD *)this + 108), v60, v61); } else if ( v60 ) { cocos2d::CCObject::retain(v60); v63 = *((cocos2d::CCObject **)this + 108); if ( v63 ) cocos2d::CCObject::release(v63); *((_DWORD *)this + 108) = v62; } v64 = (cocos2d::CCDictionary *)DS_Dictionary::getDictForKey(a2, "GS_16", 0); v66 = v64; if ( *((_DWORD *)this + 110) ) { GameToolbox::mergeDictsSaveLargestInt(*((_DWORD *)this + 110), v64, v65); } else if ( v64 ) { cocos2d::CCObject::retain(v64); v67 = *((cocos2d::CCObject **)this + 110); if ( v67 ) cocos2d::CCObject::release(v67); *((_DWORD *)this + 110) = v66; } v68 = (cocos2d::CCDictionary *)DS_Dictionary::getDictForKey(a2, "GS_9", 0); v70 = v68; if ( *((_DWORD *)this + 111) ) { GameToolbox::mergeDictsSaveLargestInt(*((_DWORD *)this + 111), v68, v69); } else if ( v68 ) { cocos2d::CCObject::retain(v68); v71 = *((cocos2d::CCObject **)this + 111); if ( v71 ) cocos2d::CCObject::release(v71); *((_DWORD *)this + 111) = v70; } v72 = (cocos2d::CCDictionary *)DS_Dictionary::getDictForKey(a2, "GS_17", 0); v74 = v72; if ( *((_DWORD *)this + 112) ) { GameToolbox::mergeDictsSaveLargestInt(*((_DWORD *)this + 112), v72, v73); } else if ( v72 ) { cocos2d::CCObject::retain(v72); v75 = *((cocos2d::CCObject **)this + 112); if ( v75 ) cocos2d::CCObject::release(v75); *((_DWORD *)this + 112) = v74; } v76 = (cocos2d::CCDictionary *)DS_Dictionary::getDictForKey(a2, "GS_18", 0); v78 = v76; if ( *((_DWORD *)this + 113) ) { GameToolbox::mergeDictsSaveLargestInt(*((_DWORD *)this + 113), v76, v77); } else if ( v76 ) { cocos2d::CCObject::retain(v76); v79 = *((cocos2d::CCObject **)this + 113); if ( v79 ) cocos2d::CCObject::release(v79); *((_DWORD *)this + 113) = v78; } v80 = (cocos2d::CCDictionary *)DS_Dictionary::getDictForKey(a2, "GS_24", 0); v82 = v80; if ( *((_DWORD *)this + 114) ) { GameToolbox::mergeDictsSaveLargestInt(*((_DWORD *)this + 114), v80, v81); } else if ( v80 ) { cocos2d::CCObject::retain(v80); v83 = *((cocos2d::CCObject **)this + 114); if ( v83 ) cocos2d::CCObject::release(v83); *((_DWORD *)this + 114) = v82; } v84 = (cocos2d::CCDictionary *)DS_Dictionary::getDictForKey(a2, "GS_8", 0); v86 = v84; if ( *((_DWORD *)this + 115) ) { GameToolbox::mergeDictsSaveLargestInt(*((_DWORD *)this + 115), v84, v85); } else if ( v84 ) { cocos2d::CCObject::retain(v84); v87 = *((cocos2d::CCObject **)this + 115); if ( v87 ) cocos2d::CCObject::release(v87); *((_DWORD *)this + 115) = v86; } v88 = (cocos2d::CCDictionary *)DS_Dictionary::getDictForKey(a2, "GS_11", 0); v90 = v88; if ( *((_DWORD *)this + 86) ) { GameToolbox::mergeDictsSkipConflict(*((_DWORD *)this + 86), v88, v89); } else if ( v88 ) { cocos2d::CCObject::retain(v88); v91 = *((cocos2d::CCObject **)this + 86); if ( v91 ) cocos2d::CCObject::release(v91); *((_DWORD *)this + 86) = v90; } v92 = (cocos2d::CCDictionary *)DS_Dictionary::getDictForKey(a2, "GS_25", 0); v94 = v92; if ( *((_DWORD *)this + 119) ) { GameToolbox::mergeDictsSkipConflict(*((_DWORD *)this + 119), v92, v93); } else if ( v92 ) { cocos2d::CCObject::retain(v92); v95 = *((cocos2d::CCObject **)this + 119); if ( v95 ) cocos2d::CCObject::release(v95); *((_DWORD *)this + 119) = v94; } v96 = (cocos2d::CCDictionary *)DS_Dictionary::getDictForKey(a2, "GS_31", 0); v98 = v96; if ( *((_DWORD *)this + 120) ) { GameToolbox::mergeDictsSkipConflict(*((_DWORD *)this + 120), v96, v97); } else if ( v96 ) { cocos2d::CCObject::retain(v96); v99 = *((cocos2d::CCObject **)this + 120); if ( v99 ) cocos2d::CCObject::release(v99); *((_DWORD *)this + 120) = v98; } v100 = (cocos2d::CCDictionary *)DS_Dictionary::getDictForKey(a2, "GS_33", 0); v102 = v100; if ( *((_DWORD *)this + 121) ) { GameToolbox::mergeDictsSaveLargestInt(*((_DWORD *)this + 121), v100, v101); } else if ( v100 ) { cocos2d::CCObject::retain(v100); v103 = *((cocos2d::CCObject **)this + 121); if ( v103 ) cocos2d::CCObject::release(v103); *((_DWORD *)this + 121) = v102; } v104 = (cocos2d::CCDictionary *)DS_Dictionary::getDictForKey(a2, "GS_22", 0); v106 = v104; if ( *((_DWORD *)this + 87) ) { GameToolbox::mergeDictsSkipConflict(*((_DWORD *)this + 87), v104, v105); } else if ( v104 ) { cocos2d::CCObject::retain(v104); v107 = *((cocos2d::CCObject **)this + 87); if ( v107 ) cocos2d::CCObject::release(v107); *((_DWORD *)this + 87) = v106; } v108 = (cocos2d::CCDictionary *)DS_Dictionary::getDictForKey(a2, "GS_12", 0); v109 = v108; if ( *((_DWORD *)this + 88) ) { v111 = cocos2d::CCDictionary::allKeys(v108); if ( v111 ) { v112 = *(_DWORD **)(v111 + 52); if ( *v112 ) { v113 = (cocos2d::CCString **)v112[3]; v114 = &v113[*v112] + 0x3FFFFFFF; while ( v113 <= v114 ) { v116 = *v113++; v115 = v116; if ( !v116 ) break; v161 = (const char *)cocos2d::CCString::getCString(v115); v175 = 0; v176 = 0; v177 = 0; v162 = v161; v163 = strlen(v161); std::string::__init(&v175, v162, v163); v164 = (cocos2d::CCObject *)cocos2d::CCDictionary::objectForKey(v109, &v175); v165 = (GJChallengeItem *)cocos2d::CCDictionary::objectForKey(*((_DWORD *)this + 88), &v175); if ( v165 ) { if ( *((_DWORD *)v165 + 23) == *((_DWORD *)v164 + 23) && *((_DWORD *)v165 + 13) == *((_DWORD *)v164 + 13) ) { v168 = *((_DWORD *)v164 + 14) - *((_DWORD *)v164 + 15); if ( *((_DWORD *)v165 + 14) - *((_DWORD *)v165 + 15) < v168 ) GJChallengeItem::setCount(v165, v168); } } else if ( !GameStatsManager::hasCompletedChallenge(this, v164, v166, v167) ) { cocos2d::CCDictionary::setObject(*((_DWORD *)this + 88), v164); } std::string::~string((int)&v175); } } } } else if ( v108 ) { cocos2d::CCObject::retain(v108); v110 = *((cocos2d::CCObject **)this + 88); if ( v110 ) cocos2d::CCObject::release(v110); *((_DWORD *)this + 88) = v109; } v117 = (cocos2d::CCObject *)DS_Dictionary::getDictForKey(a2, "GS_15", 0); v118 = v117; if ( !*((_DWORD *)this + 89) && v117 ) { cocos2d::CCObject::retain(v117); v119 = *((cocos2d::CCObject **)this + 89); if ( v119 ) cocos2d::CCObject::release(v119); *((_DWORD *)this + 89) = v118; } v120 = (cocos2d::CCDictionary *)DS_Dictionary::getDictForKey(a2, "GS_14", 0); v122 = v120; if ( *((_DWORD *)this + 116) ) { GameToolbox::mergeDictsSaveLargestInt(*((_DWORD *)this + 116), v120, v121); } else if ( v120 ) { cocos2d::CCObject::retain(v120); v123 = *((cocos2d::CCObject **)this + 116); if ( v123 ) cocos2d::CCObject::release(v123); *((_DWORD *)this + 116) = v122; } v124 = (cocos2d::CCDictionary *)DS_Dictionary::getDictForKey(a2, "GS_27", 0); v126 = v124; if ( *((_DWORD *)this + 118) ) { GameToolbox::mergeDictsSaveLargestInt(*((_DWORD *)this + 118), v124, v125); } else if ( v124 ) { cocos2d::CCObject::retain(v124); v127 = *((cocos2d::CCObject **)this + 118); if ( v127 ) cocos2d::CCObject::release(v127); *((_DWORD *)this + 118) = v126; } v128 = (cocos2d::CCDictionary *)DS_Dictionary::getDictForKey(a2, "GS_19", 0); v130 = v128; if ( *((_DWORD *)this + 122) ) { GameToolbox::mergeDictsSkipConflict(*((_DWORD *)this + 122), v128, v129); } else if ( v128 ) { cocos2d::CCObject::retain(v128); v131 = *((cocos2d::CCObject **)this + 122); if ( v131 ) cocos2d::CCObject::release(v131); *((_DWORD *)this + 122) = v130; } v132 = (cocos2d::CCDictionary *)DS_Dictionary::getDictForKey(a2, "GS_30", 0); v134 = v132; if ( *((_DWORD *)this + 128) ) { GameToolbox::mergeDictsSkipConflict(*((_DWORD *)this + 128), v132, v133); } else if ( v132 ) { cocos2d::CCObject::retain(v132); v135 = *((cocos2d::CCObject **)this + 128); if ( v135 ) cocos2d::CCObject::release(v135); *((_DWORD *)this + 128) = v134; } v136 = (cocos2d::CCDictionary *)DS_Dictionary::getDictForKey(a2, "GS_21", 0); v138 = v136; if ( *((_DWORD *)this + 126) ) { GameToolbox::mergeDictsSkipConflict(*((_DWORD *)this + 126), v136, v137); } else if ( v136 ) { cocos2d::CCObject::retain(v136); v139 = *((cocos2d::CCObject **)this + 126); if ( v139 ) cocos2d::CCObject::release(v139); *((_DWORD *)this + 126) = v138; } v140 = (cocos2d::CCDictionary *)DS_Dictionary::getDictForKey(a2, "GS_28", 0); v142 = v140; if ( *((_DWORD *)this + 127) ) { GameToolbox::mergeDictsSkipConflict(*((_DWORD *)this + 127), v140, v141); } else if ( v140 ) { cocos2d::CCObject::retain(v140); v143 = *((cocos2d::CCObject **)this + 127); if ( v143 ) cocos2d::CCObject::release(v143); *((_DWORD *)this + 127) = v142; } v144 = (cocos2d::CCDictionary *)DS_Dictionary::getDictForKey(a2, "GS_32", 0); v147 = *((_DWORD *)this + 130); v148 = v144; if ( v147 ) { GameToolbox::mergeDictsSkipConflict(*((_DWORD *)this + 130), v144, v146); } else if ( v144 ) { cocos2d::CCObject::retain(v144); v149 = *((cocos2d::CCObject **)this + 130); if ( v149 ) cocos2d::CCObject::release(v149); *((_DWORD *)this + 130) = v148; } GameStatsManager::removeErrorFromSpecialChests((cocos2d::CCDictionary **)this, v145, (int)v146, v147); v150 = *((_DWORD *)this + 123) - *((_DWORD *)this + 124); IntegerForKey = DS_Dictionary::getIntegerForKey(a2, "GS_20"); if ( IntegerForKey > v150 ) GameStatsManager::setAwardedBonusKeys(this, IntegerForKey); v152 = DS_Dictionary::getIntegerForKey(a2, "GS_26"); GameStatsManager::updateActivePath((int)this, v152); return GameStatsManager::postLoadGameStats(this); }
GD Web Decomp Icon

GD Web Decomp

Raw Source