//
// sub_641DC from 0x641dc to 0x6420c (48 bytes)
//
// 6 xrefs:
// > sub_63AAC @ 0x63e0c
// > sub_63AAC @ 0x63e1c
// > sub_8337C @ 0x833f4
// > sub_834C0 @ 0x83650
// > sub_836EC @ 0x837b0
// > sub_836EC @ 0x837ec
//
// 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_641DC(__int64 *a1)
{
__int64 result; // x0
result = *a1;
if ( result )
{
result = FMOD_OS_CriticalSection_Leave(result);
if ( !(_DWORD)result )
*a1 = 0;
}
return result;
}