//
// sub_180109080 from 0x180109080 to 0x180109114 (148 bytes)
//
// 2 xrefs:
// > ??> @ 0x1801b07f8
// > ??> @ 0x1802016a0
//
// 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_180109080(__int64 *a1, int a2, _QWORD *a3, _DWORD *a4, _BYTE *a5)
{
__int64 v5; // rbx
float v9; // xmm1_4
float v10; // xmm0_4
v5 = *a1;
if ( a2 != 4 )
return 31;
v9 = *(float *)(v5 + 756);
if ( v9 > -80.0 )
v10 = powf(10.0, v9 * 0.050000001);
else
v10 = 0.0;
*(float *)(v5 + 768) = v10;
*a3 = v5 + 764;
*a4 = 8;
if ( a5 )
*a5 = 0;
return 0;
}