//
// sub_7F82C from 0x7f82c to 0x7f87c (80 bytes)
//
// 1 xrefs:
// > ??> @ 0x114dd8
//
// This function is hookable on this platform (idp: arm, 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 12:14:07 +0000
//
__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;
}