//
// sub_1005FAB68 from 0x1005fab68 to 0x1005fabf0 (136 bytes)
//
// 1 xrefs:
// > FMOD::System::isRecording @ 0x1005f3944
//
// This function is hookable on this platform (idp: arm, 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 11:09:53 +0000
//
__int64 __fastcall sub_1005FAB68(__int64 a1, unsigned int a2, bool *a3)
{
__int64 result; // x0
__int64 v7; // x8
result = sub_1005FA31C(a1);
if ( !(_DWORD)result )
{
if ( (a2 & 0x80000000) != 0 || *(_DWORD *)(a1 + 1684) <= (signed int)a2 )
{
return 31;
}
else
{
v7 = *(_QWORD *)(a1 + 1696);
if ( a3 )
*a3 = *(_QWORD *)(v7 + 56LL * a2 + 48) != 0;
if ( (*(_BYTE *)(v7 + 56LL * a2 + 24) & 1) != 0 )
return 0;
else
return 80;
}
}
return result;
}