//
// GameStatsManager::getSpecialChestKeyForItem from 0x1000664b0 to 0x1000664fb (75 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
//
cocos2d::CCString *__fastcall GameStatsManager::getSpecialChestKeyForItem(GameStatsManager *a1, int a2, UnlockType a3)
{
cocos2d::CCDictionary *m_allSpecialChestItems; // rbx
cocos2d::CCString *result; // rax
cocos2d::CCString *v5; // rbx
_BYTE v6[16]; // [rsp+8h] [rbp-28h] BYREF
void *__p; // [rsp+18h] [rbp-18h]
m_allSpecialChestItems = a1->m_allSpecialChestItems;
GameStatsManager::getItemKey(v6, a2, (unsigned int)a2, (unsigned int)a3);
result = (cocos2d::CCString *)cocos2d::CCDictionary::objectForKey_1(m_allSpecialChestItems, v6);
if ( (v6[0] & 1) != 0 )
{
v5 = result;
operator delete(__p);
return v5;
}
return result;
}