//
// sub_180109080 from 0x180109080 to 0x180109114 (148 bytes)
//
// 2 xrefs:
// > ??> @ 0x1801b07f8
// > ??> @ 0x1802016a0
//
// This function is hookable on this platform (idp: pc, 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 10:54:32 +0000
//
__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;
}