//
// GameStatsManager::hasUserCoin from 0x1003cfee4 to 0x1003cff38 (84 bytes)
//
// 9 xrefs:
// > LevelInfoLayer::updateLabelValues @ 0x10002d3e8
// > sub_1000BD74C @ 0x1000bdaac
// > LevelCell::loadCustomLevelCell @ 0x100134ff4
// > PauseLayer::customSetup @ 0x1001bedc4
// > GJBaseGameLayer::hasUniqueCoin @ 0x100284ee4
// > GJBaseGameLayer::processItems @ 0x1002856f8
// > EndLevelLayer::customSetup @ 0x100393300
// > sub_1003CFD70 @ 0x1003cfde4
// > GameStatsManager::dataLoaded @ 0x1003ddce4
//
// 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:10 +0000
//
bool __fastcall GameStatsManager::hasUserCoin(__int64 a1, char *a2)
{
__int64 v2; // x19
__int64 v3; // x19
void *__p[2]; // [xsp+8h] [xbp-28h] BYREF
char v6; // [xsp+1Fh] [xbp-11h]
v2 = *(_QWORD *)(a1 + 616);
sub_100009900(__p, a2);
v3 = cocos2d::CCDictionary::objectForKey(v2, __p);
if ( v6 < 0 )
operator delete(__p[0]);
return v3 != 0;
}