//
// sub_10050F928 from 0x10050f928 to 0x10050f9cc (164 bytes)
//
// 0 xrefs:
//
// 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_10050F928(__int64 a1, int a2, _QWORD *a3, _DWORD *a4, _BYTE *a5)
{
__int64 result; // x0
if ( a2 != 19 )
return 31;
sub_10043C9A4(
*(_DWORD *)(a1 + 948),
(float *)(a1 + 572),
*(float *)(a1 + 1000),
*(float *)(a1 + 952),
*(float *)(a1 + 956),
*(float *)(*(_QWORD *)(a1 + 168) + 69112LL));
*(float *)(a1 + 572) = (float)(1.0 - *(float *)(a1 + 968)) + (float)(*(float *)(a1 + 968) * *(float *)(a1 + 572));
*a3 = a1 + 572;
*a4 = 8;
result = 0;
if ( a5 )
*a5 = 0;
return result;
}