//
// sub_180088A80 from 0x180088a80 to 0x180088ae8 (104 bytes)
//
// 1 xrefs:
// > ??> @ 0x1801ae4a8
//
// 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:53:41 +0000
//
__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;
}