//
// sub_10050A694 from 0x10050a694 to 0x10050a71c (136 bytes)
//
// 3 xrefs:
// > ??> @ 0x100827b28
// > ??> @ 0x100827d50
// > ??> @ 0x10082a608
//
// 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
//
float __fastcall sub_10050A694(__int64 a1, bool *a2, float *a3, float *a4)
{
float result; // s0
_BYTE v9[4]; // [xsp+Ch] [xbp-24h] BYREF
if ( !(*(unsigned int (__fastcall **)(__int64, _BYTE *))(*(_QWORD *)a1 + 152LL))(a1, v9) && (v9[0] & 0x10) != 0 )
{
if ( a2 )
*a2 = (*(_DWORD *)(a1 + 72) & 0x100000) != 0;
if ( a3 )
{
result = *(float *)(a1 + 248);
*a3 = result;
}
if ( a4 )
{
result = *(float *)(a1 + 252);
*a4 = result;
}
}
return result;
}