//
// FMODAudioEngine::isSoundReady from 0x1003e7f60 to 0x1003e7f9b (59 bytes)
//
// 0 xrefs:
//
// 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 __fastcall FMODAudioEngine::isSoundReady(FMODAudioEngine *a1, FMOD::Sound *a2)
{
__int64 v2; // rax
FMOD_OPENSTATE v4[3]; // [rsp+0h] [rbp-Ch] BYREF
v4[0] = HIDWORD(v2);
a1->m_lastResult = FMOD::Sound::getOpenState(a2, v4, nullptr, nullptr, nullptr);
return (v4[0] < FMOD_OPENSTATE_SETPOSITION) & (0x45u >> SLOBYTE(v4[0]));
}