//
// sub_1003C99CC from 0x1003c99cc to 0x1003c9a20 (84 bytes)
//
// 2 xrefs:
// > sub_1003C96D8 @ 0x1003c97d8
// > GameStatsManager::isItemUnlocked @ 0x1003cdb98
//
// 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
//
__int64 __fastcall sub_1003C99CC(__int64 a1, __int64 a2, __int64 a3)
{
__int64 v3; // x19
__int64 v4; // x0
__int64 v5; // x19
void *__p[2]; // [xsp+8h] [xbp-28h] BYREF
char v8; // [xsp+1Fh] [xbp-11h]
v3 = *(_QWORD *)(a1 + 352);
sub_1003C9AA8(__p, a1, a2, a3);
v4 = cocos2d::CCDictionary::valueForKey(v3, __p);
v5 = cocos2d::CCString::intValue(v4);
if ( v8 < 0 )
operator delete(__p[0]);
return v5;
}