// // GameStatsManager::getBaseDiamonds from 0x7a34dc to 0x7a34f0 (20 bytes) // // 7 xrefs: // > LevelCell::loadCustomLevelCell @ 0x6114b8 // > LevelInfoLayer::setupLevelInfo @ 0x6dae14 // > GameStatsManager::getBonusDiamonds @ 0x7a3520 // > GameStatsManager::getAwardedDiamondsForLevel @ 0x7a3600 // > GameStatsManager::getTotalCollectedDiamonds @ 0x7a5344 // > GameStatsManager::awardDiamondsForLevel @ 0x7bb064 // > @ 0x5dc60 // // 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::getBaseDiamonds(GameStatsManager *a1, int a2) { unsigned int v2; // w0 int v3; // w1 v2 = a2 - 2; v3 = a2 + 2; if ( v2 > 8 ) return 0; else return v3; }
GD Web Decomp Icon

GD Web Decomp

Raw Source