// // GameToolbox::mergeDictsSaveLargestInt from 0x100044834 to 0x100044948 (276 bytes) // // 17 xrefs: // > GameLevelManager::dataLoaded @ 0x10009b844 // > AchievementManager::dataLoaded @ 0x1000e8380 // > GameManager::dataLoaded @ 0x10031b490 // > GameStatsManager::dataLoaded @ 0x10033f47c // > GameStatsManager::dataLoaded @ 0x10033f4d4 // > GameStatsManager::dataLoaded @ 0x10033f504 // > GameStatsManager::dataLoaded @ 0x10033f534 // > GameStatsManager::dataLoaded @ 0x10033f564 // > GameStatsManager::dataLoaded @ 0x10033f594 // > GameStatsManager::dataLoaded @ 0x10033f5c4 // > GameStatsManager::dataLoaded @ 0x10033f5f4 // > GameStatsManager::dataLoaded @ 0x10033f624 // > GameStatsManager::dataLoaded @ 0x10033f654 // > GameStatsManager::dataLoaded @ 0x10033f684 // > GameStatsManager::dataLoaded @ 0x10033f6b4 // > GameStatsManager::dataLoaded @ 0x10033f8f8 // > GameStatsManager::dataLoaded @ 0x10033f928 // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // void __fastcall GameToolbox::mergeDictsSaveLargestInt(cocos2d::CCDictionary *a1, cocos2d::CCDictionary *a2) { cocos2d::CCDictElement *m_pElements; // x25 char *v5; // x21 __int64 v6; // x0 cocos2d::CCString *v7; // x22 __int64 v8; // x0 cocos2d::CCString *v9; // x23 int v10; // w24 void *__p[2]; // [xsp+8h] [xbp-58h] BYREF char v12; // [xsp+1Fh] [xbp-41h] m_pElements = a2->m_pElements; while ( m_pElements ) { while ( 1 ) { v5 = (char *)m_pElements; m_pElements = (cocos2d::CCDictElement *)m_pElements->hh.next; sub_100009900(__p, v5); v6 = cocos2d::CCDictionary::objectForKey_1(a2, __p); v7 = (cocos2d::CCString *)v6; if ( v12 < 0 ) { operator delete(__p[0]); if ( !v7 ) goto LABEL_12; } else if ( !v6 ) { goto LABEL_12; } sub_100009900(__p, v5); v8 = cocos2d::CCDictionary::objectForKey_1(a1, __p); v9 = (cocos2d::CCString *)v8; if ( (v12 & 0x80000000) == 0 ) break; operator delete(__p[0]); if ( !v9 ) goto LABEL_11; LABEL_10: v10 = cocos2d::CCString::intValue(v7); if ( v10 > cocos2d::CCString::intValue(v9) ) goto LABEL_11; LABEL_12: if ( !m_pElements ) return; } if ( v8 ) goto LABEL_10; LABEL_11: sub_100009900(__p, v5); cocos2d::CCDictionary::setObject_1(a1, v7, __p); if ( (v12 & 0x80000000) == 0 ) goto LABEL_12; operator delete(__p[0]); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source