//
// GameManager::unlockIcon from 0x100378230 to 0x1003782a0 (112 bytes)
//
// 0 xrefs:
//
// 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 GameManager::unlockIcon(GameManager *a1, int a2, IconType a3)
{
double v3; // xmm0_8
cocos2d::CCDictionary *m_valueKeeper; // r15
cocos2d::CCObject *v6; // r12
size_t v7[8]; // [rsp+0h] [rbp-40h] BYREF
m_valueKeeper = a1->m_valueKeeper;
v6 = (cocos2d::CCObject *)sub_1007AB580("%i", v7[0]);
GameManager::iconKey(v7, v3, 1, a2, a3);
cocos2d::CCDictionary::setObject_1((__int64)m_valueKeeper, v6, (char *)v7);
if ( (v7[0] & 1) != 0 )
operator delete((void *)v7[2]);
}