//
// sub_1800E4710 from 0x1800e4710 to 0x1800e473f (47 bytes)
//
// 1 xrefs:
// > FMOD::System::getOutputHandle @ 0x1800ae490
//
// 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_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;
}