//
// sub_180076510 from 0x180076510 to 0x180076597 (135 bytes)
//
// 2 xrefs:
// > ??> @ 0x1801ad710
// > ??> @ 0x1801f9bc4
//
// 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:32 +0000
//
__int64 __fastcall sub_180076510(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 + 276);
if ( a4 )
{
v7 = v5[276];
LABEL_10:
sub_1800B7CA0(a4, 32, "%.02f", v7);
}
}
}
else
{
*a3 = *((_DWORD *)v5 + 275);
if ( a4 )
{
v7 = v5[275];
goto LABEL_10;
}
}
}
else
{
*a3 = *((_DWORD *)v5 + 274);
if ( a4 )
{
v7 = v5[274];
goto LABEL_10;
}
}
return 0;
}