//
// AchievementManager::firstSetup from 0x643008 to 0x643054 (76 bytes)
//
// 2 xrefs:
// > GameManager::firstLoad @ 0x71fbf4
// > ??> @ 0x6b590
//
// 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::CCObject *__fastcall AchievementManager::firstSetup(cocos2d::CCObject **this)
{
cocos2d::CCObject *result; // x0
cocos2d::CCObject *v3; // x19
cocos2d::CCObject *v4; // x1
result = (cocos2d::CCObject *)cocos2d::CCDictionary::create((cocos2d::CCDictionary *)this);
v3 = result;
v4 = *(this + 44);
if ( result != v4 )
{
if ( result )
{
result = (cocos2d::CCObject *)cocos2d::CCObject::retain(result);
v4 = *(this + 44);
}
if ( v4 )
result = (cocos2d::CCObject *)cocos2d::CCObject::release(v4);
*(this + 44) = v3;
}
return result;
}