//
// GameStatsManager::hasUserCoin from 0x40cc44 to 0x40cc8e (74 bytes)
//
// 8 xrefs:
// > LevelCell::loadCustomLevelCell @ 0x33355a
// > LevelInfoLayer::updateLabelValues @ 0x3b326c
// > GameLevelManager::getLevelLeaderboard @ 0x3d0f72
// > GameStatsManager::checkCoinsForLevel @ 0x41bcd0
// > GameStatsManager::dataLoaded @ 0x41d8f8
// > EndLevelLayer::customSetup @ 0x42a042
// > GJBaseGameLayer::processItems @ 0x46f458
// > GJBaseGameLayer::hasUniqueCoin @ 0x46f54e
//
// 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 GameStatsManager::hasUserCoin(GameStatsManager *a1, const char *a2)
{
cocos2d::CCDictionary *m_verifiedUserCoins; // r6
int v3; // r6
bool result; // r0
std::string v5; // [sp+8h] [bp-8h] BYREF
m_verifiedUserCoins = a1->m_verifiedUserCoins;
sub_776584((int)&v5, (char *)a2);
v3 = cocos2d::CCDictionary::objectForKey(m_verifiedUserCoins, &v5);
sub_774008(&v5);
result = v3;
if ( v3 )
return 1;
return result;
}