//
// sub_65C8C from 0x65c8c to 0x65cfc (112 bytes)
//
// 3 xrefs:
// > sub_65C28 @ 0x65c5c
// > sub_6A544 @ 0x6a7ac
// > FMOD::Reverb3D::release @ 0xd7c28
//
// 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_65C8C(_QWORD *a1, char a2)
{
_QWORD *v2; // x9
__int64 v5; // x0
v2 = (_QWORD *)a1[1];
*v2 = *a1;
*(_QWORD *)(*a1 + 8LL) = v2;
v5 = a1[10];
*a1 = a1;
a1[1] = a1;
if ( v5 )
sub_7BF50();
if ( (a2 & 1) != 0 )
sub_E2D74(*(__int64 *)((char *)&qword_1B0 + (_QWORD)off_114000), a1, "../../src/fmod_reverbi.cpp", 314, 1);
return 0;
}