//
// GameStatsManager::getBaseCurrency from 0x7a305c to 0x7a30b4 (88 bytes)
//
// 2 xrefs:
// > GameStatsManager::getBaseCurrencyForLevel @ 0x7a3198
// > ??> @ 0x30a98
//
// 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 GameStatsManager::getBaseCurrency(GameStatsManager *a1, int a2, bool a3, int a4)
{
int result; // w0
unsigned int v5; // w1
if ( a3 )
{
if ( a4 == 18 || a4 == 20 || a4 == 14 )
return 400;
else
return 20 * (a2 + 1);
}
else
{
v5 = a2 - 2;
result = 0;
if ( v5 <= 8 )
return dword_ED05A0[v5];
}
return result;
}