//
// sub_10050FC3C from 0x10050fc3c to 0x10050fce0 (164 bytes)
//
// 1 xrefs:
// > ??> @ 0x100858748
//
// 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_10050FC3C(__int64 *a1, int a2, _QWORD *a3, _DWORD *a4, _BYTE *a5)
{
__int64 v8; // x23
__int64 result; // x0
if ( a2 != 19 )
return 31;
v8 = *a1;
sub_10043C9A4(
*(_DWORD *)(*a1 + 948),
(float *)(v8 + 572),
*(float *)(v8 + 1000),
*(float *)(v8 + 952),
*(float *)(v8 + 956),
*(float *)(*(_QWORD *)(v8 + 168) + 69112LL));
*(float *)(v8 + 572) = (float)(1.0 - *(float *)(v8 + 968)) + (float)(*(float *)(v8 + 968) * *(float *)(v8 + 572));
*a3 = v8 + 572;
*a4 = 8;
result = 0;
if ( a5 )
*a5 = 0;
return result;
}