// // GameToolbox::mergeDictsSaveLargestInt from 0x3cf278 to 0x3cf368 (240 bytes) // // 19 xrefs: // > AchievementManager::dataLoaded @ 0x39604e // > GameToolbox::getLargestMergedIntDicts @ 0x3cf38e // > GameManager::dataLoaded @ 0x41c1a4 // > GameLevelManager::dataLoaded @ 0x4dd36e // > GameStatsManager::dataLoaded @ 0x52976a // > GameStatsManager::dataLoaded @ 0x5297c8 // > GameStatsManager::dataLoaded @ 0x5297fc // > GameStatsManager::dataLoaded @ 0x529830 // > GameStatsManager::dataLoaded @ 0x529864 // > GameStatsManager::dataLoaded @ 0x529898 // > GameStatsManager::dataLoaded @ 0x5298cc // > GameStatsManager::dataLoaded @ 0x529900 // > GameStatsManager::dataLoaded @ 0x529934 // > GameStatsManager::dataLoaded @ 0x529968 // > GameStatsManager::dataLoaded @ 0x52999c // > GameStatsManager::dataLoaded @ 0x5299d0 // > GameStatsManager::dataLoaded @ 0x529aa0 // > GameStatsManager::dataLoaded @ 0x529b86 // > GameStatsManager::dataLoaded @ 0x529bb8 // // 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:46:39 +0000 // int __fastcall GameToolbox::mergeDictsSaveLargestInt(int this, cocos2d::CCDictionary *a2, cocos2d::CCDictionary *a3) { int v3; // r5 int v4; // r9 int v6; // r7 size_t v7; // r0 cocos2d::CCObject *v8; // r8 size_t v9; // r0 cocos2d::CCString *v10; // r11 size_t v11; // r0 int v12; // r3 int v13; // [sp+4h] [bp-18h] int v14; // [sp+8h] [bp-14h] BYREF int v15; // [sp+Ch] [bp-10h] int v16; // [sp+10h] [bp-Ch] v3 = *((_DWORD *)a2 + 13); v4 = this; if ( v3 ) v6 = *(_DWORD *)(v3 + 272); else v6 = 0; while ( v3 ) { v14 = 0; v15 = 0; v16 = 0; v7 = strlen((const char *)v3); std::string::__init(&v14, (const void *)v3, v7); v8 = (cocos2d::CCObject *)cocos2d::CCDictionary::objectForKey(a2, &v14); this = std::string::~string((int)&v14); if ( v8 ) { v14 = 0; v15 = 0; v16 = 0; v9 = strlen((const char *)v3); std::string::__init(&v14, (const void *)v3, v9); v10 = (cocos2d::CCString *)cocos2d::CCDictionary::objectForKey(v4, &v14); std::string::~string((int)&v14); if ( !v10 || (v13 = cocos2d::CCString::intValue(v8), this = cocos2d::CCString::intValue(v10), v13 > this) ) { v14 = 0; v15 = 0; v16 = 0; v11 = strlen((const char *)v3); std::string::__init(&v14, (const void *)v3, v11); cocos2d::CCDictionary::setObject(v4, v8); this = std::string::~string((int)&v14); } } if ( v6 ) v12 = *(_DWORD *)(v6 + 272); else v12 = 0; v3 = v6; v6 = v12; } return this; }
GD Web Decomp Icon

GD Web Decomp

Raw Source