//
// GameStatsManager::getSpecialChestKeyForItem from 0x41b7c4 to 0x41b812 (78 bytes)
//
// 3 xrefs:
// > GameStatsManager::isItemUnlocked @ 0x41b9d0
// > GameStatsManager::getItemUnlockStateLite @ 0x41cc16
// > GameStatsManager::generateItemUnlockableData @ 0x41cd6c
//
// 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 *GameStatsManager::getSpecialChestKeyForItem(GameStatsManager *a1, int a2, UnlockType a3)
{
cocos2d::CCDictionary *m_allSpecialChestItems; // r7
cocos2d::CCString *v4; // r6
std::string v6[3]; // [sp+0h] [bp-Ch] BYREF
v6[0].m_data.m_data = (stl::StringData::Internal *)a1;
v6[1].m_data.m_data = (stl::StringData::Internal *)a2;
v6[2].m_data.m_data = (stl::StringData::Internal *)a3;
m_allSpecialChestItems = a1->m_allSpecialChestItems;
GameStatsManager::getItemKey((GameStatsManager *)v6, (int)a1, a2, a3);
v4 = (cocos2d::CCString *)cocos2d::CCDictionary::objectForKey(m_allSpecialChestItems, v6);
sub_774008(v6);
return v4;
}