//
// sub_180067970 from 0x180067970 to 0x1800679ec (124 bytes)
//
// 4 xrefs:
// > sub_180066D40 @ 0x180066e7c
// > sub_180067510 @ 0x18006755d
// > sub_180067510 @ 0x180067637
// > ??> @ 0x1801f9414
//
// 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 10:53:26 +0000
//
float __fastcall sub_180067970(float *a1)
{
float v1; // xmm1_4
float v4; // xmm2_4
v1 = a1[138];
if ( v1 >= 1.0 )
return -1.0;
if ( v1 > 0.0 )
v4 = 0.000050000002 / log10f(a1[138]);
else
v4 = -0.000012500001;
return (float)(0.001 - (float)((float)(a1[141] + 100.0) * v4)) * a1[136];
}