//
// sub_1800D2C70 from 0x1800d2c70 to 0x1800d2cb9 (73 bytes)
//
// 2 xrefs:
// > sub_1800E7460 @ 0x1800e74d8
// > ??> @ 0x1801fecac
//
// 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:10 +0000
//
__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);
}