//
// GameStatsManager::getBaseCurrency from 0x10033253c to 0x10033259c (96 bytes)
//
// 1 xrefs:
// > GameStatsManager::getBaseCurrencyForLevel @ 0x100332670
//
// 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::getBaseCurrency(GameStatsManager *a1, int a2, bool a3, int a4)
{
if ( a3 )
{
if ( (unsigned int)a4 <= 0x14 && ((1 << a4) & 0x144000) != 0 )
return 400;
else
return 20 * a2 + 20;
}
else if ( (unsigned int)(a2 - 2) > 8 )
{
return 0;
}
else
{
return dword_100645440[a2 - 2];
}
}