//
// sub_10050BC7C from 0x10050bc7c to 0x10050bd04 (136 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_10050BC7C(__int64 a1, int a2, _QWORD *a3, _DWORD *a4, _BYTE *a5)
{
float v9; // s1
float v10; // s0
__int64 result; // x0
if ( a2 != 1 )
return 31;
v9 = *(float *)(a1 + 564);
v10 = 0.0;
if ( v9 > -80.0 )
v10 = __exp10f(v9 / 20.0);
*(float *)(a1 + 688) = v10;
*(_DWORD *)(a1 + 692) = 0;
*a3 = a1 + 688;
*a4 = 8;
result = 0;
if ( a5 )
*a5 = 0;
return result;
}