//
// GameStatsManager::getStoreItem from 0x10002ba00 to 0x10002ba4b (75 bytes)
//
// 1 xrefs:
// > GJPathPage::onUnlock @ 0x1002eba8f
//
// This function is hookable on this platform (idp: pc, 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:19:27 +0000
//
__int64 __fastcall GameStatsManager::getStoreItem(__int64 a1, __int64 a2, unsigned int a3)
{
__int64 v3; // rbx
__int64 result; // rax
__int64 v5; // rbx
_BYTE v6[16]; // [rsp+8h] [rbp-28h] BYREF
void *__p; // [rsp+18h] [rbp-18h]
v3 = *(_QWORD *)(a1 + 328);
GameStatsManager::getItemKey(v6, a2, (unsigned int)a2, a3);
result = cocos2d::CCDictionary::objectForKey(v3, v6);
if ( (v6[0] & 1) != 0 )
{
v5 = result;
operator delete(__p);
return v5;
}
return result;
}