//
// sub_82D94 from 0x82d94 to 0x82de0 (76 bytes)
//
// 1 xrefs:
// > sub_838F0 @ 0x839ac
//
// 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_82D94(__int64 a1)
{
_DWORD *v1; // x19
__int64 v2; // x0
__int64 v4; // [xsp+0h] [xbp-20h] BYREF
v1 = (_DWORD *)a1;
v4 = *(_QWORD *)(a1 + 32);
v2 = FMOD_OS_CriticalSection_Enter(v4);
sub_83A20(v2);
LODWORD(v1) = v1[2] - v1[3] + v1[4];
sub_52090((__int64)&v4);
return (unsigned int)v1;
}