//
// sub_69E98 from 0x69e98 to 0x69ed8 (64 bytes)
//
// 1 xrefs:
// > FMOD::ChannelI::validate @ 0x5946c
//
// 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:56 +0000
//
__int64 __fastcall sub_69E98(unsigned int a1, _QWORD *a2)
{
bool v3; // cc
__int64 result; // x0
__int64 v5; // x8
if ( !a2 )
return 31;
v3 = a1 > 7;
result = 31;
*a2 = 0;
if ( !v3 )
{
v5 = *((_QWORD *)off_114000 + a1 + 46);
if ( v5 )
result = 0;
else
result = 31;
*a2 = v5;
}
return result;
}