//
// sub_1800E4710 from 0x1800e4710 to 0x1800e473f (47 bytes)
//
// 1 xrefs:
// > FMOD::System::getOutputHandle @ 0x1800ae490
//
// 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_1800E4710(__int64 a1, __int64 a2)
{
__int64 result; // rax
__int64 v3; // rcx
if ( !a2 )
return 31;
v3 = *(_QWORD *)(a1 + 1648);
if ( !v3 )
return 67;
result = *(_QWORD *)(v3 + 880);
if ( result )
return ((__int64 (__fastcall *)(__int64))result)(v3 + 8);
return result;
}