//
// GameStatsManager::hasPendingUserCoin from 0x100331f10 to 0x100331f64 (84 bytes)
//
// 7 xrefs:
// > LevelInfoLayer::updateLabelValues @ 0x100029cd8
// > GameLevelManager::getLevelLeaderboard @ 0x1000a3754
// > LevelCell::loadCustomLevelCell @ 0x10010de5c
// > GJBaseGameLayer::hasUniqueCoin @ 0x1001e961c
// > GJBaseGameLayer::processItems @ 0x1001e9d38
// > EndLevelLayer::customSetup @ 0x1002f6a98
// > GameStatsManager::checkCoinsForLevel @ 0x100331e70
//
// 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::hasPendingUserCoin(GameStatsManager *a1, const char *a2)
{
cocos2d::CCDictionary *m_pendingUserCoins; // x19
__int64 v3; // x19
void *__p[2]; // [xsp+8h] [xbp-28h] BYREF
char v6; // [xsp+1Fh] [xbp-11h]
m_pendingUserCoins = a1->m_pendingUserCoins;
sub_100009900(__p, (char *)a2);
v3 = cocos2d::CCDictionary::objectForKey_1(m_pendingUserCoins, __p);
if ( v6 < 0 )
operator delete(__p[0]);
return v3 != 0;
}