//
// sub_10056E858 from 0x10056e858 to 0x10056e8dc (132 bytes)
//
// 1 xrefs:
// > ??> @ 0x1009d5490
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 11:08:17 +0000
//
__int64 __fastcall sub_10056E858(__int64 *a1, int a2, _QWORD *a3, _DWORD *a4, _BYTE *a5)
{
__int64 v8; // x22
float v9; // s1
float v10; // s0
__int64 result; // x0
if ( a2 != 4 )
return 31;
v8 = *a1;
v9 = *(float *)(*a1 + 748);
v10 = 0.0;
if ( v9 > -80.0 )
v10 = __exp10f(v9 / 20.0);
*(float *)(v8 + 760) = v10;
*a3 = v8 + 756;
*a4 = 8;
result = 0;
if ( a5 )
*a5 = 0;
return result;
}