//
// sub_1800E4740 from 0x1800e4740 to 0x1800e478d (77 bytes)
//
// 1 xrefs:
// > FMOD::System::getPluginHandle @ 0x1800ae573
//
// This function is hookable on this platform (idp: pc, 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 10:54:17 +0000
//
__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;
}