//
// sub_10050BBAC from 0x10050bbac to 0x10050bc18 (108 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_10050BBAC(__int64 a1, int a2, float a3)
{
__int64 result; // x0
__int64 v4; // x19
float v5; // s1
if ( a2 )
return 0;
*(float *)(a1 + 564) = a3;
v4 = *(_QWORD *)(a1 + 536);
v5 = 0.0;
if ( a3 > -80.0 )
v5 = __exp10f(a3 / 20.0);
result = sub_1004F2D8C(v4, 64, 1, 0, v5);
if ( !(_DWORD)result )
return 0;
return result;
}