//
// sub_1800D2C70 from 0x1800d2c70 to 0x1800d2cb9 (73 bytes)
//
// 2 xrefs:
// > sub_1800E7460 @ 0x1800e74d8
// > ??> @ 0x1801fecac
//
// 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_1800D2C70(__int64 a1)
{
struct _RTL_CRITICAL_SECTION *v2; // rbx
v2 = *(struct _RTL_CRITICAL_SECTION **)(*(_QWORD *)(a1 + 24) + 400LL);
FMOD_OS_CriticalSection_Enter(v2);
sub_1800D5F40(*(_QWORD *)(*(_QWORD *)(a1 + 24) + 416LL));
return FMOD_OS_CriticalSection_Leave(v2);
}