//
// sub_1004D11BC from 0x1004d11bc to 0x1004d1228 (108 bytes)
//
// 1 xrefs:
// > FMOD::System::registerOutput @ 0x1004ca038
//
// 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_1004D11BC(__int64 a1, __int128 *a2, _DWORD *a3)
{
__int64 result; // x0
if ( *(_BYTE *)(a1 + 9) )
return sub_1004BC0F4(*(_QWORD *)(a1 + 69128), a2, a3, 0, 1);
result = sub_1004CE560(a1);
if ( !(_DWORD)result )
return sub_1004BC0F4(*(_QWORD *)(a1 + 69128), a2, a3, 0, 1);
return result;
}