//
// FMODAudioEngine::isSoundReady from 0x6caf80 to 0x6cb004 (132 bytes)
//
// 3 xrefs:
// > FMODAudioEngine::updateQueuedMusic @ 0x6d927c
// > FMODAudioEngine::updateQueuedEffects @ 0x6dc268
// > ??> @ 0xcff70
//
// 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::isSoundReady(FMODAudioEngine *this, FMOD::Sound *a2)
{
int v3; // [xsp+24h] [xbp+24h]
*((_DWORD *)this + 134) = FMOD::Sound::getOpenState();
ERRCHECK_fn();
return ((v3 & 0xFFFFFFFD) == 0) | (unsigned int)(v3 == 6);
}