//
// FMODAudioEngine::isAnyPersistentPlaying from 0x6caf48 to 0x6caf80 (56 bytes)
//
// 2 xrefs:
// > PlayLayer::loadFromCheckpoint @ 0x70fa2c
// > ??> @ 0x92470
//
// 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:51:23 +0000
//
__int64 __fastcall FMODAudioEngine::isAnyPersistentPlaying(FMODAudioEngine *this)
{
__int64 *v1; // x1
__int64 result; // x0
v1 = *((__int64 **)this + 42);
if ( !v1 )
return 0;
result = *((unsigned __int8 *)v1 + 65);
if ( !*((_BYTE *)v1 + 65) )
{
while ( 1 )
{
v1 = (__int64 *)*v1;
if ( !v1 )
break;
if ( *((_BYTE *)v1 + 65) )
return *((unsigned __int8 *)v1 + 65);
}
}
return result;
}