//
// sub_10055DF20 from 0x10055df20 to 0x10055dfb0 (144 bytes)
//
// 1 xrefs:
// > ??> @ 0x1009d4e00
//
// 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 11:08:05 +0000
//
__int64 __fastcall sub_10055DF20(__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;
}
}