//
// AchievementManager::dataLoaded from 0x396018 to 0x396054 (60 bytes)
//
// 1 xrefs:
// > GameManager::dataLoaded @ 0x41c586
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:46:20 +0000
//
cocos2d::CCDictionary *__fastcall AchievementManager::dataLoaded(GameToolbox **this, DS_Dictionary *a2)
{
cocos2d::CCDictionary *result; // r0
cocos2d::CCDictionary *v4; // r2
GameToolbox *v5; // r4
result = (cocos2d::CCDictionary *)DS_Dictionary::getDictForKey(a2, "reportedAchievements", 0);
v5 = result;
if ( *(this + 70) )
return (cocos2d::CCDictionary *)GameToolbox::mergeDictsSaveLargestInt(*(this + 70), result, v4);
if ( result )
{
cocos2d::CCObject::retain(result);
result = *(this + 70);
if ( result )
result = (cocos2d::CCDictionary *)cocos2d::CCObject::release(result);
*(this + 70) = v5;
}
return result;
}