//
// sub_18007C840 from 0x18007c840 to 0x18007c870 (48 bytes)
//
// 2 xrefs:
// > ??> @ 0x1801671d0
// > ??> @ 0x180168ee8
//
// 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:35 +0000
//
float __fastcall sub_18007C840(__int64 a1)
{
float v1; // xmm0_4
v1 = (float)((float)*(int *)(a1 + 44) * 0.00000095367432) * *(float *)(a1 + 732);
if ( v1 >= 0.0 )
return fminf(v1, 1000000.0);
else
return 0.0;
}