//
// FMODAudioEngine::isAnyPersistentPlaying from 0x5abc48 to 0x5abc80 (56 bytes)
//
// 2 xrefs:
// > PlayLayer::loadFromCheckpoint @ 0x5e4f54
// > ??> @ 0x6c4b0
//
// 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
//
bool FMODAudioEngine::isAnyPersistentPlaying(FMODAudioEngine *a1)
{
std::__detail::_Hash_node_base *M_nxt; // x1
bool result; // w0
M_nxt = a1->m_fmodMusic._M_h._M_before_begin._M_nxt;
if ( !M_nxt )
return 0;
result = BYTE1(M_nxt[5]._M_nxt);
if ( !result )
{
while ( 1 )
{
M_nxt = M_nxt->_M_nxt;
if ( !M_nxt )
break;
if ( BYTE1(M_nxt[5]._M_nxt) )
return BYTE1(M_nxt[5]._M_nxt);
}
}
return result;
}