//
// sub_180068510 from 0x180068510 to 0x1800685aa (154 bytes)
//
// 2 xrefs:
// > sub_180068920 @ 0x1800689a0
// > ??> @ 0x1801f9474
//
// 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_180068510(__int64 *a1, int a2, _QWORD *a3, _DWORD *a4, _BYTE *a5)
{
__int64 v5; // rbx
float v8; // xmm1_4
float v9; // xmm0_4
v5 = *a1;
if ( a2 != 1 )
return 31;
v8 = *(float *)(v5 + 572);
if ( v8 > -80.0 )
v9 = powf(10.0, v8 * 0.050000001);
else
v9 = 0.0;
*(_DWORD *)(v5 + 700) = 0;
*(float *)(v5 + 696) = v9;
*a3 = v5 + 696;
*a4 = 8;
if ( a5 )
*a5 = 0;
return 0;
}