//
// sub_1005E3A08 from 0x1005e3a08 to 0x1005e3a40 (56 bytes)
//
// 1 xrefs:
// > FMOD::Reverb3D::set3DAttributes @ 0x1005e2d50
//
// 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 sub_1005E3A08(__int64 a1, __int64 *a2, float a3, float a4)
{
__int64 v4; // x8
if ( a2 )
{
v4 = *a2;
*(_DWORD *)(a1 + 104) = *((_DWORD *)a2 + 2);
*(_QWORD *)(a1 + 96) = v4;
}
*(float *)(a1 + 108) = a3;
*(float *)(a1 + 112) = a4;
if ( a3 > a4 )
{
*(float *)(a1 + 108) = a4;
a3 = a4;
}
*(float *)(a1 + 116) = a4 - a3;
return 0;
}