//
// GameStatsManager::getBaseCurrency from 0x1000364e0 to 0x100036522 (66 bytes)
//
// 0 xrefs:
//
// 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::getBaseCurrency(__int64 a1, int a2, int a3, unsigned int a4)
{
__int64 result; // rax
int v5; // edx
unsigned int v6; // esi
if ( a3 )
{
if ( a4 > 0x14 )
return (unsigned int)(20 * a2 + 20);
result = 400;
v5 = 1327104;
if ( !_bittest(&v5, a4) )
return (unsigned int)(20 * a2 + 20);
}
else
{
v6 = a2 - 2;
result = 0;
if ( v6 <= 8 )
return dword_100A03CA4[v6];
}
return result;
}