//
// AchievementManager::dataLoaded from 0x100864000 to 0x100864063 (99 bytes)
//
// 1 xrefs:
// > GameManager::dataLoaded @ 0x1003734d5
//
// This function is hookable on this platform (idp: pc, 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 12:36:42 +0000
//
void __fastcall AchievementManager::dataLoaded(__int64 a1, _QWORD *a2)
{
__int64 DictForKey; // rax
__int64 v4; // rdi
__int64 v5; // r14
_DWORD *v6; // rdi
DictForKey = DS_Dictionary::getDictForKey(a2, "reportedAchievements", 0);
v4 = *(_QWORD *)(a1 + 352);
if ( v4 )
{
GameToolbox::mergeDictsSaveLargestInt(v4, DictForKey);
}
else if ( DictForKey )
{
v5 = DictForKey;
cocos2d::CCObject::retain(DictForKey);
v6 = *(_DWORD **)(a1 + 352);
if ( v6 )
cocos2d::CCObject::release(v6);
*(_QWORD *)(a1 + 352) = v5;
}
}