//
// sub_69E98 from 0x69e98 to 0x69ed8 (64 bytes)
//
// 1 xrefs:
// > FMOD::ChannelI::validate @ 0x5946c
//
// 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_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;
}