//
// GameStatsManager::hasUserCoin from 0x100331f80 to 0x100331fd4 (84 bytes)
//
// 8 xrefs:
// > LevelInfoLayer::updateLabelValues @ 0x100029cb4
// > GameLevelManager::getLevelLeaderboard @ 0x1000a377c
// > LevelCell::loadCustomLevelCell @ 0x10010de38
// > GJBaseGameLayer::hasUniqueCoin @ 0x1001e95fc
// > GJBaseGameLayer::processItems @ 0x1001e9d88
// > EndLevelLayer::customSetup @ 0x1002f6a50
// > GameStatsManager::checkCoinsForLevel @ 0x100331e80
// > GameStatsManager::dataLoaded @ 0x10033f418
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
bool __fastcall GameStatsManager::hasUserCoin(GameStatsManager *a1, const char *a2)
{
cocos2d::CCDictionary *m_verifiedUserCoins; // x19
__int64 v3; // x19
void *__p[2]; // [xsp+8h] [xbp-28h] BYREF
char v6; // [xsp+1Fh] [xbp-11h]
m_verifiedUserCoins = a1->m_verifiedUserCoins;
sub_100009900(__p, (char *)a2);
v3 = cocos2d::CCDictionary::objectForKey_1(m_verifiedUserCoins, __p);
if ( v6 < 0 )
operator delete(__p[0]);
return v3 != 0;
}