//
// sub_180071120 from 0x180071120 to 0x180071188 (104 bytes)
//
// 2 xrefs:
// > ??> @ 0x1801ad210
// > ??> @ 0x1801f9978
//
// 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:30 +0000
//
__int64 __fastcall sub_180071120(__int64 *a1, int a2, _DWORD *a3, __int64 a4)
{
__int64 v5; // r9
float v6; // xmm3_4
v5 = *a1;
if ( a2 )
{
if ( a2 == 1 )
{
*a3 = *(_DWORD *)(v5 + 1164);
if ( a4 )
{
v6 = *(float *)(v5 + 1164);
LABEL_7:
sub_1800B7CA0(a4, 32, "%.02f", v6);
}
}
}
else
{
*a3 = *(_DWORD *)(v5 + 1168);
if ( a4 )
{
v6 = *(float *)(v5 + 1168);
goto LABEL_7;
}
}
return 0;
}