//
// sub_1800E8400 from 0x1800e8400 to 0x1800e843a (58 bytes)
//
// 2 xrefs:
// > FMOD::System::unloadPlugin @ 0x1800b1efe
// > ??> @ 0x1801fff3c
//
// 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_1800E8400(__int64 a1, unsigned int a2)
{
__int64 result; // rax
if ( *(_BYTE *)(a1 + 9) )
return sub_1800D98B0(*(_QWORD **)(a1 + 69128), a2, 0);
result = sub_1800E7B20(a1);
if ( !(_DWORD)result )
return sub_1800D98B0(*(_QWORD **)(a1 + 69128), a2, 0);
return result;
}