//
// GameStatsManager::getBaseCurrency from 0x1003d04a0 to 0x1003d0500 (96 bytes)
//
// 1 xrefs:
// > GameStatsManager::getBaseCurrencyForLevel @ 0x1003d05d4
//
// 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:10 +0000
//
__int64 __fastcall GameStatsManager::getBaseCurrency(__int64 a1, int a2, int a3, unsigned int a4)
{
if ( a3 )
{
if ( a4 <= 0x14 && ((1 << a4) & 0x144000) != 0 )
return 400;
else
return (unsigned int)(20 * a2 + 20);
}
else if ( (unsigned int)(a2 - 2) > 8 )
{
return 0;
}
else
{
return dword_10076E3A4[a2 - 2];
}
}