//
// sub_7F82C from 0x7f82c to 0x7f87c (80 bytes)
//
// 1 xrefs:
// > ??> @ 0x114dd8
//
// 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 sub_7F82C()
{
int v0; // w8
__int64 result; // x0
v0 = FMOD::DSPTransceiver::sRefCount[0];
if ( FMOD::DSPTransceiver::sRefCount[0] )
goto LABEL_2;
result = FMOD_OS_CriticalSection_Create(&FMOD::DSPTransceiver::sCriticalSection, 0);
if ( !(_DWORD)result )
{
v0 = FMOD::DSPTransceiver::sRefCount[0];
LABEL_2:
FMOD::DSPTransceiver::sRefCount[0] = v0 + 1;
return 0;
}
return result;
}