//
// sub_1800DC450 from 0x1800dc450 to 0x1800dc487 (55 bytes)
//
// 1 xrefs:
// > FMOD::Reverb3D::set3DAttributes @ 0x1800a6851
//
// This function is hookable on this platform (idp: pc, 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 10:54:14 +0000
//
__int64 __fastcall sub_1800DC450(__int64 a1, __int64 a2, float a3, float a4)
{
if ( a2 )
{
*(_QWORD *)(a1 + 96) = *(_QWORD *)a2;
*(_DWORD *)(a1 + 104) = *(_DWORD *)(a2 + 8);
}
*(float *)(a1 + 108) = a3;
*(float *)(a1 + 112) = a4;
if ( a4 < a3 )
{
*(float *)(a1 + 108) = a4;
a3 = a4;
}
*(float *)(a1 + 116) = a4 - a3;
return 0;
}