// // FMODAudioEngine::waitUntilSoundReady from 0x1003d6c80 to 0x1003d6d12 (146 bytes) // // 0 xrefs: // // This function is hookable on this platform (idp: pc, 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:29:41 +0000 // __int64 __fastcall FMODAudioEngine::waitUntilSoundReady(__int64 a1, __int64 a2) { __int64 v2; // rax __int64 v3; // r13 int v4; // r12d __int64 result; // rax unsigned int v6; // [rsp-34h] [rbp-34h] BYREF __int64 v7; // [rsp-20h] [rbp-20h] if ( !a2 ) return 2; v7 = v3; v6 = HIDWORD(v2); v4 = 69; do { do { *(_DWORD *)(a1 + 536) = FMOD::Sound::getOpenState(a2, &v6, 0, 0, 0); if ( v6 <= 6 ) { result = v6; if ( _bittest(&v4, v6) ) break; } result = (unsigned int)v3; } while ( v6 > 6 ); LODWORD(v3) = result; } while ( !_bittest(&v4, v6) ); return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source