//
// GameManager::unlockIcon from 0x7212e8 to 0x7213b0 (200 bytes)
//
// 2 xrefs:
// > GameManager::completedAchievement @ 0x721ed8
// > ??> @ 0xc33b8
//
// 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:52:23 +0000
//
__int64 __fastcall GameManager::unlockIcon(__int64 a1, unsigned int a2, int a3)
{
__int64 v4; // x23
cocos2d::CCObject *v5; // x22
unsigned __int64 v8[3]; // [xsp+50h] [xbp+50h] BYREF
v4 = *(_QWORD *)(a1 + 424);
v5 = (cocos2d::CCObject *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"%i", (const char *)&dword_0 + 1);
GameManager::iconKey(a2, a3, v8);
cocos2d::CCDictionary::setObject(v4, v5);
if ( (v8[0] & 1) != 0 )
operator delete((void *)v8[2]);
return _stack_chk_guard;
}