//
// GameStatsManager::getBonusDiamonds from 0x7a34f0 to 0x7a3540 (80 bytes)
//
// 4 xrefs:
// > GameStatsManager::completedDailyLevel @ 0x7c5b74
// > DailyLevelNode::init @ 0x913d90
// > DailyLevelPage::claimLevelReward @ 0x915798
// > ??> @ 0x859f8
//
// 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::getBonusDiamonds(GameStatsManager *a1, int a2)
{
int v2; // w2
v2 = 0;
if ( (unsigned int)(a2 - 2) > 8 )
return v2;
v2 = 20;
if ( a2 == 10 )
return v2;
else
return vcvtms_s32_f32((float)GameStatsManager::getBaseDiamonds(a1, a2) * 0.5);
}