//
// GameStatsManager::getCollectedCoinsForLevel from 0x10006d260 to 0x10006d2d3 (115 bytes)
//
// 0 xrefs:
//
// 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
//
int __fastcall GameStatsManager::getCollectedCoinsForLevel(GameStatsManager *a1, GJGameLevel *a2)
{
const char *CoinKey; // rax
_BOOL4 hasSecretCoin; // r15d
const char *v4; // rax
int v5; // r12d
const char *v6; // rax
CoinKey = GJGameLevel::getCoinKey(a2, 1);
hasSecretCoin = GameStatsManager::hasSecretCoin(a1, CoinKey);
v4 = GJGameLevel::getCoinKey(a2, 2);
v5 = hasSecretCoin + GameStatsManager::hasSecretCoin(a1, v4);
v6 = GJGameLevel::getCoinKey(a2, 3);
return v5 + GameStatsManager::hasSecretCoin(a1, v6);
}