//
// GameStatsManager::getCollectedCoinsForLevel from 0x1000328b0 to 0x100032923 (115 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: pc, 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 12:19:31 +0000
//
__int64 __fastcall GameStatsManager::getCollectedCoinsForLevel(__int64 a1, __int64 a2)
{
__int64 CoinKey_1; // rax
unsigned __int8 v3; // al
int v4; // r15d
__int64 v5; // rax
unsigned __int8 v6; // al
int v7; // r12d
__int64 v8; // rax
unsigned __int8 v9; // al
CoinKey_1 = GJGameLevel::getCoinKey_1(a2, 1);
GameStatsManager::hasSecretCoin(a1, CoinKey_1);
v4 = v3;
v5 = GJGameLevel::getCoinKey_1(a2, 2);
GameStatsManager::hasSecretCoin(a1, v5);
v7 = v4 + v6;
v8 = GJGameLevel::getCoinKey_1(a2, 3);
GameStatsManager::hasSecretCoin(a1, v8);
return v7 + (unsigned int)v9;
}