//
// GameStatsManager::getBaseDiamonds from 0x1000370d0 to 0x1000370e4 (20 bytes)
//
// 2 xrefs:
// > LevelCell::loadCustomLevelCell @ 0x100238e8b
// > LevelInfoLayer::setupLevelInfo @ 0x1002ad918
//
// This function is hookable on this platform (idp: pc, 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 12:19:32 +0000
//
__int64 __fastcall GameStatsManager::getBaseDiamonds(__int64 a1, int a2)
{
__int64 result; // rax
result = 0;
if ( (unsigned int)(a2 - 11) >= 0xFFFFFFF7 )
return (unsigned int)(a2 + 2);
return result;
}