//
// sub_65EDC from 0x65edc to 0x65f24 (72 bytes)
//
// 1 xrefs:
// > FMOD::Reverb3D::set3DAttributes @ 0xd7cb8
//
// 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_65EDC(__int64 a1, __int64 *a2, float a3, float a4)
{
__int64 v4; // x9
float v5; // s2
if ( a2 )
{
v4 = *a2;
*(_DWORD *)(a1 + 104) = *((_DWORD *)a2 + 2);
*(_QWORD *)(a1 + 96) = v4;
}
v5 = *(float *)(a1 + 112);
*(float *)(a1 + 108) = a3;
if ( v5 < a3 )
*(float *)(a1 + 112) = a3;
*(float *)(a1 + 112) = a4;
if ( a3 > a4 )
{
a3 = a4;
*(float *)(a1 + 108) = a4;
}
*(float *)(a1 + 116) = a4 - a3;
return 0;
}