//
// sub_1004BD8A0 from 0x1004bd8a0 to 0x1004bd8d8 (56 bytes)
//
// 1 xrefs:
// > FMOD::Reverb3D::set3DAttributes @ 0x1004bcbe8
//
// 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_1004BD8A0(__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;
}