//
// sub_100437DB8 from 0x100437db8 to 0x100437e48 (144 bytes)
//
// 1 xrefs:
// > ??> @ 0x10084cce0
//
// 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_100437DB8(__int64 a1, int a2, float a3)
{
__int64 v3; // x19
float v4; // s1
float v6; // s1
v3 = *(_QWORD *)(a1 + 8);
if ( a2 == 2 )
{
v6 = 0.0;
if ( a3 > -80.0 )
v6 = __exp10f(a3 / 20.0);
*(float *)(v3 + 44) = v6;
return 0;
}
else if ( a2 == 1 )
{
v4 = 0.0;
if ( a3 > -80.0 )
v4 = __exp10f(a3 / 20.0);
*(float *)(v3 + 40) = v4;
return 0;
}
else
{
return 31;
}
}