//
// sub_51E88 from 0x51e88 to 0x51ef4 (108 bytes)
//
// 1 xrefs:
// > sub_51E14 @ 0x51e58
//
// 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_51E88(__int64 a1)
{
void *v2; // x8
__int64 v3; // x0
sub_E4458();
v2 = off_114000;
*((_QWORD *)off_114000 + *(int *)(a1 + 368) + 40) = 0;
v3 = *(_QWORD *)(a1 + 360);
if ( v3 )
{
FMOD_OS_CriticalSection_Free(v3, 0);
v2 = off_114000;
}
sub_E2D74(*(__int64 *)((char *)&qword_1B0 + (_QWORD)v2), a1, "../../src/fmod_async.cpp", 145, 1);
return 0;
}