// // GameStatsManager::getCollectedCoinsForLevel from 0x1402e1470 to 0x1402e1526 (182 bytes) // // 9 xrefs: // > GameStatsManager::checkCoinAchievement @ 0x1402e08f4 // > GameStatsManager::checkCoinAchievement @ 0x1402e0a91 // > GameStatsManager::checkCoinAchievement @ 0x1402e0c2e // > GameStatsManager::checkCoinAchievement @ 0x1402e0dcb // > GameStatsManager::checkCoinAchievement @ 0x1402e0f83 // > GameStatsManager::checkCoinAchievement @ 0x1402e111a // > GameStatsManager::checkCoinAchievement @ 0x1402e12b1 // > @ 0x14091de10 // > @ 0x14091de1c // // 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 11:29:48 +0000 // __int64 __fastcall GameStatsManager::getCollectedCoinsForLevel(__int64 a1, __int64 a2) { const char *CoinKey; // rax unsigned int hasSecretCoin; // ebx const char *v6; // rax unsigned int v7; // edi const char *v8; // rax char v9; // al unsigned int v10; // ecx CoinKey = GJGameLevel::getCoinKey(a2, 1u, *(_DWORD *)(a2 + 992) - *(_DWORD *)(a2 + 996)); hasSecretCoin = (unsigned __int8)GameStatsManager::hasSecretCoin(a1, CoinKey); v6 = GJGameLevel::getCoinKey(a2, 2u, *(_DWORD *)(a2 + 992) - *(_DWORD *)(a2 + 996)); v7 = hasSecretCoin + 1; if ( !(unsigned __int8)GameStatsManager::hasSecretCoin(a1, v6) ) v7 = hasSecretCoin; v8 = GJGameLevel::getCoinKey(a2, 3u, *(_DWORD *)(a2 + 992) - *(_DWORD *)(a2 + 996)); v9 = GameStatsManager::hasSecretCoin(a1, v8); v10 = v7 + 1; if ( !v9 ) return v7; return v10; }
GD Web Decomp Icon

GD Web Decomp

Raw Source