// // GameStatsManager::postLoadGameStats from 0x1003de438 to 0x1003de520 (232 bytes) // // 2 xrefs: // > GameStatsManager::dataLoaded @ 0x1003de3a0 // > GJAccountManager::onSyncAccountCompleted @ 0x1004462b4 // // 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 11:04:20 +0000 // __int64 __fastcall GameStatsManager::postLoadGameStats(__int64 a1) { char v2; // w23 int v3; // w24 void *v4; // x0 char *CString; // x0 __int64 v6; // x22 char *v7; // x21 __int64 v8; // x0 int v9; // w0 __int64 result; // x0 void *__p[2]; // [xsp+10h] [xbp-60h] BYREF char v12; // [xsp+27h] [xbp-49h] void *v13[2]; // [xsp+28h] [xbp-48h] BYREF char v14; // [xsp+3Fh] [xbp-31h] v2 = *(_BYTE *)(AchievementManager::sharedState() + 360); v3 = 1; *(_BYTE *)(AchievementManager::sharedState() + 360) = 1; do { v4 = sub_1003065B0("%i", v3); CString = (char *)cocos2d::CCString::getCString((__int64)v4); sub_100009900(v13, CString); if ( v14 < 0 ) { v7 = (char *)v13[0]; v6 = *(_QWORD *)(a1 + 520); } else { v6 = *(_QWORD *)(a1 + 520); v7 = (char *)v13; } sub_100009900(__p, v7); v8 = cocos2d::CCDictionary::valueForKey(v6, __p); v9 = cocos2d::CCString::intValue(v8); GameStatsManager::setStat(a1, v7, v9); if ( v12 < 0 ) operator delete(__p[0]); if ( v14 < 0 ) operator delete(v13[0]); ++v3; } while ( v3 != 45 ); result = AchievementManager::sharedState(); *(_BYTE *)(result + 360) = v2; return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source