//
// sub_1800E5C50 from 0x1800e5c50 to 0x1800e5cad (93 bytes)
//
// 3 xrefs:
// > FMOD::System::loadPlugin @ 0x1800af9d5
// > ??> @ 0x1801ffce4
// > ??> @ 0x1801ffcf0
//
// 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_1800E5C50(__int64 a1, char *a2, char *a3, unsigned int a4)
{
__int64 result; // rax
if ( *(_BYTE *)(a1 + 9) )
return sub_1800D7EC0(*(_QWORD *)(a1 + 69128), a2, a3, 0, a4);
result = sub_1800E7B20();
if ( !(_DWORD)result )
return sub_1800D7EC0(*(_QWORD *)(a1 + 69128), a2, a3, 0, a4);
return result;
}