//
// sub_1005E37A0 from 0x1005e37a0 to 0x1005e3810 (112 bytes)
//
// 2 xrefs:
// > FMOD::Reverb3D::release @ 0x1005e2c84
// > sub_1005F4FC0 @ 0x1005f529c
//
// 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_1005E37A0(int *a1, int a2)
{
_QWORD *v4; // x9
_QWORD *v5; // x0
v4 = *((_QWORD **)a1 + 1);
*v4 = *(_QWORD *)a1;
*(_QWORD *)(*(_QWORD *)a1 + 8LL) = v4;
*(_QWORD *)a1 = a1;
*((_QWORD *)a1 + 1) = a1;
v5 = *((_QWORD **)a1 + 10);
if ( v5 )
sub_10056930C(v5);
if ( a2 )
sub_1005D7AD8(*((_QWORD *)off_1009DA5E8 + 54), a1);
return 0;
}