//
// sub_1800F5FF0 from 0x1800f5ff0 to 0x1800f608b (155 bytes)
//
// 2 xrefs:
// > ??> @ 0x1801b0130
// > ??> @ 0x180200980
//
// 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
//
__int64 __fastcall sub_1800F5FF0(__int64 a1, int a2, float a3)
{
__int64 v3; // rbx
int v4; // edx
v3 = *(_QWORD *)(a1 + 8);
v4 = a2 - 1;
if ( v4 )
{
if ( v4 == 1 )
{
if ( a3 > -80.0 )
*(float *)(v3 + 44) = powf(10.0, a3 * 0.050000001);
else
*(_DWORD *)(v3 + 44) = 0;
return 0;
}
else
{
return 31;
}
}
else
{
if ( a3 > -80.0 )
*(float *)(v3 + 40) = powf(10.0, a3 * 0.050000001);
else
*(_DWORD *)(v3 + 40) = 0;
return 0;
}
}