//
// sub_1004D0198 from 0x1004d0198 to 0x1004d01e4 (76 bytes)
//
// 1 xrefs:
// > FMOD::System::close @ 0x1004ca2b0
//
// 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_1004D0198(__int64 a1)
{
__int64 result; // x0
if ( *(_BYTE *)(a1 + 69984) )
return 28;
if ( !*(_BYTE *)(a1 + 8) )
return 0;
result = sub_1004CEE58(a1, 0);
if ( !(_DWORD)result )
return 0;
return result;
}