//
// AchievementManager::dataLoaded from 0x643054 to 0x6430c4 (112 bytes)
//
// 2 xrefs:
// > GameManager::dataLoaded @ 0x7279f4
// > ??> @ 0x9a810
//
// 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 12:50:18 +0000
//
cocos2d::CCDictionary *__fastcall AchievementManager::dataLoaded(AchievementManager *this, DS_Dictionary *a2)
{
cocos2d::CCDictionary *result; // x0
GameToolbox *v4; // x2
cocos2d::CCDictionary *v5; // x1
cocos2d::CCDictionary *v6; // [xsp+28h] [xbp+28h]
result = (cocos2d::CCDictionary *)DS_Dictionary::getDictForKey(a2, "reportedAchievements", 0);
v4 = *((GameToolbox **)this + 44);
if ( v4 )
return (cocos2d::CCDictionary *)GameToolbox::mergeDictsSaveLargestInt(v4, result, v4);
v6 = result;
if ( result )
{
cocos2d::CCObject::retain(result);
result = *((cocos2d::CCDictionary **)this + 44);
v5 = v6;
if ( result )
{
result = (cocos2d::CCDictionary *)cocos2d::CCObject::release(result);
v5 = v6;
}
*((_QWORD *)this + 44) = v5;
}
return result;
}