//
// AchievementManager::dataLoaded from 0x1000e8344 to 0x1000e8394 (80 bytes)
//
// 1 xrefs:
// > GameManager::dataLoaded @ 0x10031baac
//
// 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 AchievementManager::dataLoaded(AchievementManager *a1, DS_Dictionary *a2)
{
cocos2d::CCDictionary *DictForKey; // x1
cocos2d::CCDictionary *m_reportedAchievements; // x0
DictForKey = DS_Dictionary::getDictForKey(a2, "reportedAchievements", 0);
m_reportedAchievements = a1->m_reportedAchievements;
if ( m_reportedAchievements )
GameToolbox::mergeDictsSaveLargestInt(m_reportedAchievements, DictForKey);
else
sub_10009AA28((__int64)a1, DictForKey);
}