//
// sub_1800E7620 from 0x1800e7620 to 0x1800e766d (77 bytes)
//
// 2 xrefs:
// > FMOD::System::setOutputByPlugin @ 0x1800b161e
// > ??> @ 0x1801fff0c
//
// 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:18 +0000
//
__int64 __fastcall sub_1800E7620(__int64 a1, unsigned int a2)
{
__int64 result; // rax
if ( *(_BYTE *)(a1 + 69976) )
return 51;
result = sub_1800FBAE0(a1, 0, a2);
if ( !(_DWORD)result )
{
*(_DWORD *)(a1 + 69820) = 0;
*(_DWORD *)(a1 + 69824) = a2;
}
return result;
}