//
// GameStatsManager::getBonusDiamonds from 0x100332b54 to 0x100332b88 (52 bytes)
//
// 2 xrefs:
// > DailyLevelPage::claimLevelReward @ 0x1001bab50
// > DailyLevelNode::init @ 0x1001bb678
//
// 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 __fastcall GameStatsManager::getBonusDiamonds(GameStatsManager *a1, int a2)
{
if ( (unsigned int)(a2 - 11) < 0xFFFFFFF7 )
return 0;
if ( a2 == 10 )
return 20;
return vcvtms_s32_f32(vcvts_n_f32_u32(a2 + 2, 1u));
}