// // GameStatsManager::getBaseDiamonds from 0x516368 to 0x516374 (12 bytes) // // 6 xrefs: // > LevelCell::loadCustomLevelCell @ 0x42fb14 // > LevelInfoLayer::setupLevelInfo @ 0x49ca7e // > GameStatsManager::getBonusDiamonds @ 0x516380 // > GameStatsManager::getAwardedDiamondsForLevel @ 0x517f4c // > GameStatsManager::getTotalCollectedDiamonds @ 0x518454 // > GameStatsManager::awardDiamondsForLevel @ 0x52a544 // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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:51:40 +0000 // int __fastcall GameStatsManager::getBaseDiamonds(GameStatsManager *this, int a2) { if ( (unsigned int)(a2 - 2) > 8 ) return 0; else return a2 + 2; }
GD Web Decomp Icon

GD Web Decomp

Raw Source