//
// sub_1005C0AE4 from 0x1005c0ae4 to 0x1005c0b20 (60 bytes)
//
// 2 xrefs:
// > ??> @ 0x1009ab710
// > ??> @ 0x1009ab7a8
//
// 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:09:21 +0000
//
float __fastcall sub_1005C0AE4(__int64 a1)
{
float v1; // s0
float v2; // s1
bool v3; // nf
float result; // s0
v1 = *(float *)(a1 + 724) * (float)((float)*(unsigned int *)(a1 + 44) * 0.00000095367);
v2 = fminf(v1, 1000000.0);
v3 = v1 < 0.0;
result = 0.0;
if ( !v3 )
return v2;
return result;
}