//
// GameStatsManager::getBonusDiamonds from 0x1003d0c24 to 0x1003d0c58 (52 bytes)
//
// 2 xrefs:
// > DailyLevelPage::claimLevelReward @ 0x1002507e8
// > DailyLevelNode::init @ 0x100251314
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// 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:04:11 +0000
//
unsigned int __fastcall GameStatsManager::getBonusDiamonds(__int64 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));
}