//
// sub_180088A80 from 0x180088a80 to 0x180088ae8 (104 bytes)
//
// 1 xrefs:
// > ??> @ 0x1801ae4a8
//
// 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_180088A80(__int64 *a1, int a2, _QWORD *a3, _DWORD *a4, _BYTE *a5)
{
__int64 v5; // rax
float v7; // xmm0_4
__int64 v8; // rcx
v5 = *a1;
if ( a2 != 2 )
return 31;
v7 = 0.0;
if ( *(_DWORD *)(v5 + 560) != -1 )
{
v8 = *(_QWORD *)(v5 + 576);
if ( v8 )
v7 = *(float *)(v8 + 636);
else
v7 = 1.0;
}
*(float *)(v5 + 568) = v7 * *(float *)(v5 + 552);
*a3 = v5 + 564;
*a4 = 8;
if ( a5 )
*a5 = 0;
return 0;
}