//
// sub_18010AAB0 from 0x18010aab0 to 0x18010ab77 (199 bytes)
//
// 2 xrefs:
// > ??> @ 0x1801b0938
// > ??> @ 0x180201820
//
// 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_18010AAB0(__int64 *a1, int a2, _QWORD *a3, _DWORD *a4, _BYTE *a5)
{
__int64 v5; // rbx
__int64 v9; // rax
float v10; // xmm3_4
float v11; // xmm2_4
int v12; // ecx
_BYTE *v13; // rax
float v14; // [rsp+48h] [rbp+10h] BYREF
v5 = *a1;
if ( a2 != 7 )
return 31;
v9 = *(_QWORD *)(v5 + 168);
v10 = *(float *)(v5 + 684);
v11 = *(float *)(v5 + 680);
v12 = *(_DWORD *)(v5 + 676);
v14 = 1.0;
sub_1800F7420(v12, *(float *)(v5 + 664), v11, v10, &v14, *(float *)(v9 + 69112));
*(float *)(v5 + 552) = v14 * *(float *)(v5 + 712);
*a3 = v5 + 548;
v13 = a5;
*a4 = 8;
if ( v13 )
*v13 = 0;
return 0;
}