//
// sub_53B94 from 0x53b94 to 0x53bec (88 bytes)
//
// 1 xrefs:
// > FMOD::Reverb3D::set3DAttributes @ 0xb4590
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:40:44 +0000
//
int __fastcall sub_53B94(int a1, _DWORD *a2, float a3, float a4)
{
float v4; // s0
int v5; // r5
int v6; // r6
v4 = a3;
if ( a2 )
{
v5 = a2[1];
v6 = a2[2];
*(_DWORD *)(a1 + 76) = *a2;
*(_DWORD *)(a1 + 80) = v5;
*(_DWORD *)(a1 + 84) = v6;
}
*(float *)(a1 + 88) = a3;
if ( *(float *)(a1 + 92) < a3 )
*(float *)(a1 + 92) = a3;
*(float *)(a1 + 92) = a4;
if ( a3 > a4 )
{
*(float *)(a1 + 88) = a4;
v4 = a4;
}
*(float *)(a1 + 96) = a4 - v4;
return 0;
}