// // FMODAudioEngine::updateQueuedEffects from 0x3f1c20 to 0x3f1d7a (346 bytes) // // 1 xrefs: // > sub_3F1D80 @ 0x3f1db8 // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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 11:47:14 +0000 // void __fastcall FMODAudioEngine::updateQueuedEffects(FMODAudioEngine *this) { FMOD::Sound **v1; // r4 FMOD::Sound *v3; // r6 unsigned int v4; // r11 FMOD::Sound *v5; // r8 unsigned int v6; // r10 unsigned int v7; // r0 int v8; // r6 FMOD::Sound **i; // r9 FMOD::Sound *v10; // r0 int v11; // r1 unsigned int v12; // r0 int v13; // r1 unsigned int v14; // r0 int v15; // r1 int v16; // [sp+4h] [bp-14h] FMOD::Sound **v17; // [sp+14h] [bp-4h] int v18[3]; // [sp+18h] [bp+0h] BYREF v1 = *((FMOD::Sound ***)this + 223); v17 = (FMOD::Sound **)((char *)this + 892); while ( v1 ) { if ( FMODAudioEngine::isSoundReady(this, v1[5]) ) { v3 = v1[5]; std::string::basic_string(v18, (int)(v1 + 2)); FMODAudioEngine::storeEffect((int)this, v3, (unsigned __int8 *)v18); std::string::~string((int)v18); std::string::basic_string(v18, (int)(v1 + 2)); FMODAudioEngine::queuedEffectFinishedLoading((int)this, (unsigned __int8 *)v18); std::string::~string((int)v18); v4 = *((_DWORD *)this + 222); v5 = *v1; v6 = v4 - 1; v7 = (unsigned int)v1[1]; v16 = (v4 - 1) & v4; if ( v16 ) v8 = v7 % v4; else v8 = v6 & v7; for ( i = *(FMOD::Sound ***)(*((_DWORD *)this + 221) + 4 * v8); *i != (FMOD::Sound *)v1; i = (FMOD::Sound **)*i ) ; if ( i == v17 || ((v10 = i[1], v16) ? (v11 = (unsigned int)v10 % v4) : (v11 = v6 & (unsigned int)v10), v11 != v8) ) { if ( !v5 || ((v12 = *((_DWORD *)v5 + 1), v16) ? (v13 = v12 % v4) : (v13 = v6 & v12), v13 != v8) ) *(_DWORD *)(*((_DWORD *)this + 221) + 4 * v8) = 0; } if ( *v1 ) { v14 = *((_DWORD *)*v1 + 1); if ( v16 ) v15 = v14 % v4; else v15 = v6 & v14; if ( v15 != v8 ) *(_DWORD *)(*((_DWORD *)this + 221) + 4 * v15) = i; } *i = *v1; *v1 = nullptr; --*((_DWORD *)this + 224); std::string::~string((int)(v1 + 2)); operator delete(v1); } else { v5 = *v1; } v1 = (FMOD::Sound **)v5; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source