//
// sub_6F798 from 0x6f798 to 0x6f7f4 (92 bytes)
//
// 1 xrefs:
// > FMOD::System::getRecordPosition @ 0xde690
//
// 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 12:13:58 +0000
//
__int64 sub_6F798()
{
_DWORD *v0; // x19
int v1; // w20
__int64 v2; // x21
__int64 result; // x0
__int64 v4; // x10
result = sub_702B4();
if ( !(_DWORD)result )
{
if ( v1 < 0 || *(_DWORD *)(v2 + 1684) <= v1 )
{
return 31;
}
else
{
if ( v0 )
{
v4 = *(_QWORD *)(*(_QWORD *)(v2 + 1696) + 56LL * v1 + 48);
if ( v4 )
LODWORD(v4) = *(_DWORD *)(v4 + 52);
*v0 = v4;
}
return sub_70270();
}
}
return result;
}