// // FMODAudioEngine::releaseRemovedSounds from 0x1003df090 to 0x1003df166 (214 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 // void __fastcall FMODAudioEngine::releaseRemovedSounds(FMODAudioEngine *a1) { FMOD::Sound **begin; // rax __int64 v2; // r14 int v3; // r13d FMOD::Sound **end; // r15 FMOD::Sound *v5; // r15 std::__vector_base::pointer v6; // rax FMOD::Sound **v7; // r15 char *v8; // r12 std::__vector_base::pointer v9; // [rsp-38h] [rbp-38h] BYREF begin = a1->m_removedSounds.__begin_; if ( a1->m_removedSounds.__end_ != begin ) { v9 = a1->m_removedSounds.__begin_; v2 = 0; v3 = 0; do { v5 = begin[v2]; a1->m_lastResult = FMOD::Sound::getOpenState(v5, (FMOD_OPENSTATE *)&v9 + 1, nullptr, nullptr, nullptr); if ( (HIDWORD(v9) & 0xFFFFFFFD) != 0 ) { ++v3; end = a1->m_removedSounds.__end_; } else { FMOD::Sound::release(v5); v6 = a1->m_removedSounds.__begin_; v7 = &v6[v2]; v8 = (char *)((char *)a1->m_removedSounds.__end_ - (char *)(v7 + 1)); if ( v8 ) memmove(&v6[v2], v7 + 1, (size_t)v8); end = (FMOD::Sound **)((char *)v7 + (_QWORD)v8); a1->m_removedSounds.__end_ = end; } v2 = v3; begin = a1->m_removedSounds.__begin_; } while ( end - begin > (unsigned __int64)v3 ); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source