//
// FMOD::Reverb3D::get3DAttributes from 0x1800a63e0 to 0x1800a651a (314 bytes)
//
// 5 xrefs:
// > FMOD_Reverb3D_Get3DAttributes @ 0x1800c6349
// > ??> @ 0x180186be4
// > ??> @ 0x180186bf4
// > ??> @ 0x180194348
// > ??> @ 0x1801fb808
//
// 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 FMOD::Reverb3D::get3DAttributes(__int64 a1, __int64 a2, __int64 a3, __int64 a4)
{
int v7; // r15d
unsigned int v8; // esi
__int64 result; // rax
int v10; // ebx
int v11; // ebx
int v12; // ebx
int v13; // eax
__int64 v14; // [rsp+30h] [rbp-158h] BYREF
_BYTE v15[256]; // [rsp+40h] [rbp-148h] BYREF
v7 = a1;
v8 = sub_1800DC8D0(a1, &v14);
if ( v8 || (result = sub_1800DC0A0(v14, a2, a3, a4), (v8 = result) != 0) )
{
if ( *((char *)off_1801AED20 + 16) < 0 )
{
v10 = sub_1800F31D0(v15, 256, a2);
v11 = sub_1800F2F70(&v15[v10]) + v10;
v12 = sub_1800F30A0(&v15[v11], (unsigned int)(256 - v11), a3) + v11;
v13 = sub_1800F2F70(&v15[v12]);
sub_1800F30A0(&v15[v13 + v12], (unsigned int)(256 - (v13 + v12)), a4);
sub_1800B20E0(v8, 10, v7, (unsigned int)"Reverb3D::get3DAttributes", (__int64)v15);
}
return v8;
}
return result;
}