//
// GameStatsManager::getStoreItem from 0x1000663d0 to 0x10006641b (75 bytes)
//
// 1 xrefs:
// > GJPathPage::onUnlock @ 0x100300daf
//
// 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 *__fastcall GameStatsManager::getStoreItem(GameStatsManager *a1, int a2, int a3)
{
cocos2d::CCDictionary *m_allStoreItems; // rbx
GJStoreItem *result; // rax
GJStoreItem *v5; // rbx
_BYTE v6[16]; // [rsp+8h] [rbp-28h] BYREF
void *__p; // [rsp+18h] [rbp-18h]
m_allStoreItems = a1->m_allStoreItems;
GameStatsManager::getItemKey(v6, a2, (unsigned int)a2, (unsigned int)a3);
result = (GJStoreItem *)cocos2d::CCDictionary::objectForKey_1(m_allStoreItems, v6);
if ( (v6[0] & 1) != 0 )
{
v5 = result;
operator delete(__p);
return v5;
}
return result;
}