//
// GameStatsManager::getStoreItem from 0x41b704 to 0x41b752 (78 bytes)
//
// 3 xrefs:
// > GameStatsManager::isItemUnlocked @ 0x41b986
// > GameStatsManager::generateItemUnlockableData @ 0x41cd00
// > GJPathPage::onUnlock @ 0x58e9a8
//
// 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
//
GJStoreItem *GameStatsManager::getStoreItem(GameStatsManager *a1, int a2)
{
int v2; // r2
cocos2d::CCDictionary *m_allStoreItems; // r7
GJStoreItem *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;
m_allStoreItems = a1->m_allStoreItems;
GameStatsManager::getItemKey((GameStatsManager *)v6, (int)a1, a2, v2);
v4 = (GJStoreItem *)cocos2d::CCDictionary::objectForKey(m_allStoreItems, v6);
sub_774008(v6);
return v4;
}