//
// GameStatsManager::getStoreItem from 0x10032ba80 to 0x10032bad0 (80 bytes)
//
// 3 xrefs:
// > GameStatsManager::generateItemUnlockableData @ 0x10032b8b4
// > GameStatsManager::isItemUnlocked @ 0x10032fc60
// > GJPathPage::onUnlock @ 0x1003ba290
//
// 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
//
// local variable allocation has failed, the output may be wrong!
GJStoreItem *__fastcall GameStatsManager::getStoreItem(GameStatsManager *a1, int a2, int a3)
{
cocos2d::CCDictionary *m_allStoreItems; // x19
GJStoreItem *v4; // x19
void *__p[2]; // [xsp+8h] [xbp-28h] BYREF
char v7; // [xsp+1Fh] [xbp-11h]
m_allStoreItems = a1->m_allStoreItems;
GameStatsManager::getItemKey(__p, a1, *(_QWORD *)&a2, *(_QWORD *)&a3);
v4 = (GJStoreItem *)cocos2d::CCDictionary::objectForKey_1(m_allStoreItems, __p);
if ( v7 < 0 )
operator delete(__p[0]);
return v4;
}