//
// sub_51E88 from 0x51e88 to 0x51ef4 (108 bytes)
//
// 1 xrefs:
// > sub_51E14 @ 0x51e58
//
// 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:13:47 +0000
//
__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;
}