//
// sub_1800DC380 from 0x1800dc380 to 0x1800dc3f4 (116 bytes)
//
// 3 xrefs:
// > FMOD::Reverb3D::release @ 0x1800a6799
// > sub_1800E2620 @ 0x1800e299a
// > ??> @ 0x1801ff540
//
// 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_1800DC380(_DWORD *a1, char a2)
{
**((_QWORD **)a1 + 1) = *(_QWORD *)a1;
*(_QWORD *)(*(_QWORD *)a1 + 8LL) = *((_QWORD *)a1 + 1);
*((_QWORD *)a1 + 1) = a1;
*(_QWORD *)a1 = a1;
if ( *((_QWORD *)a1 + 10) )
sub_1801024A0();
if ( a2 )
sub_1800B6AA0(*((_QWORD *)off_1801AED20 + 52), a1);
return 0;
}