// // GameStatsManager::getBaseDiamonds from 0x40d334 to 0x40d340 (12 bytes) // // 6 xrefs: // > LevelCell::loadCustomLevelCell @ 0x332920 // > LevelInfoLayer::setupLevelInfo @ 0x3b39f0 // > GameStatsManager::getBonusDiamonds @ 0x40d34c // > GameStatsManager::getAwardedDiamondsForLevel @ 0x40d3fe // > GameStatsManager::getTotalCollectedDiamonds @ 0x40df38 // > GameStatsManager::awardDiamondsForLevel @ 0x41c30a // // 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) { if ( (unsigned int)(a2 - 2) > 8 ) return 0; else return a2 + 2; }
GD Web Decomp Icon

GD Web Decomp

Raw Source