//
// sub_1800E4740 from 0x1800e4740 to 0x1800e478d (77 bytes)
//
// 1 xrefs:
// > FMOD::System::getPluginHandle @ 0x1800ae573
//
// 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_1800E4740(__int64 a1, int a2, int a3, _DWORD *a4)
{
int v4; // edx
if ( !a2 )
return sub_1800D7DF0(*(_QWORD *)(a1 + 69128), a3, a4);
v4 = a2 - 1;
if ( !v4 )
return sub_1800D7B40(*(_QWORD *)(a1 + 69128), a3, a4);
if ( v4 == 1 )
return sub_1800D7C00(*(_QWORD *)(a1 + 69128), a3, a4);
return 31;
}