//
// GameStatsManager::isStoreItemUnlocked from 0x1003c9d4c to 0x1003c9db8 (108 bytes)
//
// 4 xrefs:
// > GJShopLayer::init @ 0x1001c9d0c
// > sub_1001CA604 @ 0x1001ca644
// > GameStatsManager::purchaseItem @ 0x1003c9df8
// > GameStatsManager::isItemUnlocked @ 0x1003cdb84
//
// 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 11:04:08 +0000
//
bool __fastcall GameStatsManager::isStoreItemUnlocked(__int64 a1, int a2)
{
__int64 v2; // x19
void *v3; // x0
char *CString; // x0
__int64 v5; // x19
void *__p[2]; // [xsp+8h] [xbp-28h] BYREF
char v8; // [xsp+1Fh] [xbp-11h]
v2 = *(_QWORD *)(a1 + 632);
v3 = sub_1003065B0("%i", a2);
CString = (char *)cocos2d::CCString::getCString((__int64)v3);
sub_100009900(__p, CString);
v5 = cocos2d::CCDictionary::objectForKey(v2, __p);
if ( v8 < 0 )
operator delete(__p[0]);
return v5 != 0;
}