//
// FMOD::Reverb3D::get3DAttributes from 0x1005e2dc8 to 0x1005e2f18 (336 bytes)
//
// 1 xrefs:
// > sub_10057A798 @ 0x10057a79c
//
// This function is hookable on this platform (idp: arm, 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 11:09:41 +0000
//
__int64 __fastcall FMOD::Reverb3D::get3DAttributes(__int64 a1, __int64 a2, __int64 a3, __int64 a4)
{
int v8; // w3
int v9; // w4
int v10; // w5
int v11; // w6
int v12; // w7
__int64 v13; // x20
float v14; // s0
int v15; // w0
int v16; // w3
int v17; // w4
int v18; // w5
int v19; // w6
int v20; // w7
__int64 v21; // x26
int v22; // w3
int v23; // w4
int v24; // w5
int v25; // w6
int v26; // w7
int v27; // w22
int v28; // w3
int v29; // w4
int v30; // w5
int v31; // w6
int v32; // w7
int v33; // w0
int v34; // w3
int v35; // w4
int v36; // w5
int v37; // w6
int v38; // w7
__int64 v40; // [xsp+0h] [xbp-160h] BYREF
_BYTE v41[256]; // [xsp+8h] [xbp-158h] BYREF
v13 = sub_1005E36FC(a1, &v40);
if ( (_DWORD)v13 || (v13 = sub_1005E3A40(v40, a2, a3, a4, v14), (_DWORD)v13) )
{
if ( (*((_BYTE *)off_1009DA5E8 + 32) & 0x80) != 0 )
{
v15 = sub_10055C3B4((int)v41, 0x100u, a2, v8, v9, v10, v11, v12);
v21 = v15 + (__int64)(int)sub_10055C01C(&v41[v15], (unsigned int)(256 - v15), ", ", v16, v17, v18, v19, v20);
v27 = v21 + sub_10055C314((int)&v41[v21], (unsigned int)(256 - v21), a3, v22, v23, v24, v25, v26);
v33 = sub_10055C01C(&v41[v27], (unsigned int)(256 - v27), ", ", v28, v29, v30, v31, v32);
sub_10055C314((int)&v41[v27 + v33], (unsigned int)(256 - (v27 + v33)), a4, v34, v35, v36, v37, v38);
sub_1005AAA04(v13, 10, a1, (__int64)"Reverb3D::get3DAttributes", (__int64)v41);
}
}
return v13;
}