//
// GameStatsManager::getBaseCurrency from 0x8cb788 to 0x8cb7e0 (88 bytes)
//
// 2 xrefs:
// > GameStatsManager::getBaseCurrencyForLevel @ 0x8cdfa4
// > ??> @ 0x48850
//
// 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 12:56:36 +0000
//
__int64 __fastcall GameStatsManager::getBaseCurrency(GameStatsManager *this, int a2, char a3, int a4)
{
__int64 result; // x0
unsigned int v5; // w1
if ( a3 )
{
if ( a4 == 18 || a4 == 20 || a4 == 14 )
return 400;
else
return (unsigned int)(20 * (a2 + 1));
}
else
{
v5 = a2 - 2;
result = 0;
if ( v5 <= 8 )
return dword_114E230[v5];
}
return result;
}