//
// sub_1800E5AC0 from 0x1800e5ac0 to 0x1800e5b4d (141 bytes)
//
// 2 xrefs:
// > FMOD::System::isRecording @ 0x1800af719
// > ??> @ 0x1801ffca8
//
// 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_1800E5AC0(__int64 a1, int a2, bool *a3)
{
__int64 v4; // rbx
__int64 result; // rax
v4 = a2;
result = sub_1800E8520();
if ( !(_DWORD)result )
{
if ( (int)v4 < 0 || (int)v4 >= *(_DWORD *)(a1 + 1684) )
{
return 31;
}
else
{
if ( a3 )
*a3 = *(_QWORD *)(56 * v4 + *(_QWORD *)(a1 + 1696) + 48) != 0;
result = 0;
if ( (*(_BYTE *)(56 * v4 + *(_QWORD *)(a1 + 1696) + 24) & 1) == 0 )
return 80;
}
}
return result;
}