//
// sub_10014186C from 0x10014186c to 0x1001418c4 (88 bytes)
//
// 2 xrefs:
// > FMODAudioEngine::unloadAllEffects @ 0x10013cd44
// > sub_100141C34 @ 0x100141c54
//
// 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_10014186C(_QWORD *a1, __int64 *a2)
{
__int64 v2; // x19
void *v3; // x20
void *__p; // [xsp+8h] [xbp-28h] BYREF
char v6; // [xsp+18h] [xbp-18h]
v2 = *a2;
sub_100018910(a1, a2, (__int64)&__p);
v3 = __p;
__p = nullptr;
if ( v3 )
{
if ( v6 == 1 )
sub_10013F8B0((__int64)v3 + 16);
operator delete(v3);
}
return v2;
}