//
// GameStatsManager::getStoreItem from 0x8e2938 to 0x8e29d0 (152 bytes)
//
// 4 xrefs:
// > GameStatsManager::isItemUnlocked @ 0x8e8090
// > GameStatsManager::generateItemUnlockableData @ 0x8ec59c
// > GJPathPage::onUnlock @ 0xba86e0
// > ??> @ 0x995f8
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 12:56:50 +0000
//
__int64 __fastcall GameStatsManager::getStoreItem(GameStatsManager *this, unsigned int a2, unsigned int a3)
{
__int64 v3; // x21
__int64 v4; // x20
unsigned __int64 v6[3]; // [xsp+30h] [xbp+30h] BYREF
v3 = *((_QWORD *)this + 41);
GameStatsManager::getItemKey(a2, a3, v6);
v4 = cocos2d::CCDictionary::objectForKey(v3, v6);
if ( (v6[0] & 1) != 0 )
operator delete((void *)v6[2]);
return v4;
}