//
// sub_180075040 from 0x180075040 to 0x1800750c7 (135 bytes)
//
// 2 xrefs:
// > ??> @ 0x1801ad4f0
// > ??> @ 0x1801f9ad4
//
// 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_180075040(float **a1, int a2, _DWORD *a3, __int64 a4)
{
float *v5; // r9
int v6; // edx
float v7; // xmm3_4
v5 = *a1;
if ( a2 )
{
v6 = a2 - 1;
if ( v6 )
{
if ( v6 == 1 )
{
*a3 = *((_DWORD *)v5 + 141);
if ( a4 )
{
v7 = v5[141];
LABEL_10:
sub_1800B7CA0(a4, 32, "%.02f", v7);
}
}
}
else
{
*a3 = *((_DWORD *)v5 + 140);
if ( a4 )
{
v7 = v5[140];
goto LABEL_10;
}
}
}
else
{
*a3 = *((_DWORD *)v5 + 139);
if ( a4 )
{
v7 = v5[139];
goto LABEL_10;
}
}
return 0;
}