// // FMODAudioEngine::isPersistentMatchPlaying from 0x1003d4790 to 0x1003d4895 (261 bytes) // // 3 xrefs: // > FMODAudioEngine::updateQueuedMusic @ 0x1003cc72e // > FMODAudioEngine::loadMusic @ 0x1003ce5ad // > FMODAudioEngine::queueStartMusic @ 0x1003d522d // // 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:40 +0000 // __int64 __fastcall FMODAudioEngine::isPersistentMatchPlaying(__int64 a1, unsigned __int8 *a2, int a3) { FMOD::ChannelControl *ActiveMusicChannel; // rax unsigned int v6; // r14d unsigned int v7; // r12d char v8; // r15 size_t v9; // r13 char *v10; // rdi size_t v11; // r12 const void *v12; // r14 size_t v13; // rdx int v14; // eax int *v16; // [rsp+8h] [rbp-58h] BYREF int v17; // [rsp+14h] [rbp-4Ch] BYREF __int64 v18; // [rsp+18h] [rbp-48h] BYREF size_t v19; // [rsp+20h] [rbp-40h] void *__p; // [rsp+28h] [rbp-38h] char v21[41]; // [rsp+37h] [rbp-29h] BYREF v17 = a3; LOBYTE(v18) = 1; ActiveMusicChannel = (FMOD::ChannelControl *)FMODAudioEngine::getActiveMusicChannel(a1, a3); if ( !ActiveMusicChannel ) return 0; FMOD::ChannelControl::getPaused(ActiveMusicChannel, (bool *)&v18); if ( (v18 & 1) != 0 ) return 0; FMODAudioEngine::getActiveMusic(&v18, a1, a3); v7 = *a2; v8 = v18 & 1; if ( (v18 & 1) == 0 ) { v9 = (unsigned __int8)v18 >> 1; v10 = (char *)&v18 + 1; if ( (v7 & 1) == 0 ) goto LABEL_6; LABEL_8: v11 = *((_QWORD *)a2 + 1); v12 = *((const void **)a2 + 2); goto LABEL_9; } v9 = v19; v10 = (char *)__p; if ( (v7 & 1) != 0 ) goto LABEL_8; LABEL_6: v11 = v7 >> 1; v12 = a2 + 1; LABEL_9: v13 = v9; if ( v11 < v9 ) v13 = v11; v14 = memcmp(v10, v12, v13); v6 = 0; if ( !v14 && v11 == v9 ) { v16 = &v17; v6 = *(unsigned __int8 *)(sub_1003DC9F0(a1 + 320, &v17, &unk_100A09642, &v16, v21) + 65); v8 = v18 & 1; } if ( v8 ) operator delete(__p); return v6; }
GD Web Decomp Icon

GD Web Decomp

Raw Source