//
// sub_10050BEF4 from 0x10050bef4 to 0x10050bf4c (88 bytes)
//
// 1 xrefs:
// > sub_10050BD04 @ 0x10050bd7c
//
// 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_10050BEF4(__int64 a1, int a2, float *a3, char *a4, int a5, int a6, int a7, int a8)
{
double v9; // [xsp+0h] [xbp-10h]
if ( !a2 )
{
*a3 = *(float *)(*(_QWORD *)a1 + 564LL);
if ( !a4 )
return 0;
goto LABEL_3;
}
if ( a4 )
{
LABEL_3:
v9 = *a3;
sub_1004C7414(a4, 0x20u, "%.02f", (int)a4, a5, a6, a7, a8, SLOBYTE(v9));
}
return 0;
}