// // GameStatsManager::getCollectedCoinsForLevel from 0x40cdf0 to 0x40ce18 (40 bytes) // // 7 xrefs: // > GameStatsManager::checkCoinAchievement @ 0x40ce4e // > GameStatsManager::checkCoinAchievement @ 0x40ceae // > GameStatsManager::checkCoinAchievement @ 0x40cee8 // > GameStatsManager::checkCoinAchievement @ 0x40cf32 // > GameStatsManager::checkCoinAchievement @ 0x40cf7a // > GameStatsManager::checkCoinAchievement @ 0x40cfb4 // > GameStatsManager::checkCoinAchievement @ 0x40cfee // // 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 GameStatsManager::getCollectedCoinsForLevel(GameStatsManager *a1, GJGameLevel *a2) { int v4; // r4 int v5; // r5 const char *CoinKey; // r0 v4 = 1; v5 = 0; do { CoinKey = GJGameLevel::getCoinKey(a2, v4); if ( GameStatsManager::hasSecretCoin(a1, CoinKey) ) ++v5; ++v4; } while ( v4 != 4 ); return v5; }
GD Web Decomp Icon

GD Web Decomp

Raw Source