// // FMODAudioEngine::isPersistentMatchPlaying from 0x14005ad80 to 0x14005aee2 (354 bytes) // // 4 xrefs: // > FMODAudioEngine::loadMusic @ 0x14005a341 // > FMODAudioEngine::queueStartMusic @ 0x14005ab09 // > FMODAudioEngine::updateQueuedMusic @ 0x14005b74c // > @ 0x1406c531c // // 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 // // Hidden C++ exception states: #wind=2 __int64 __fastcall FMODAudioEngine::isPersistentMatchPlaying(FMODAudioEngine *a1, _QWORD *a2, int a3) { char v5; // di std::unordered_map *p_m_fmodMusic; // rsi _QWORD *v7; // rax unsigned __int64 v8; // rbx unsigned __int8 v9; // si void *v10; // rcx int v12; // [rsp+20h] [rbp-88h] BYREF int v13; // [rsp+28h] [rbp-80h] BYREF int v14; // [rsp+30h] [rbp-78h] char v15[16]; // [rsp+38h] [rbp-70h] BYREF char v16[16]; // [rsp+48h] [rbp-60h] BYREF _QWORD *v17; // [rsp+58h] [rbp-50h] void *Block[2]; // [rsp+60h] [rbp-48h] BYREF __int64 v19; // [rsp+70h] [rbp-38h] __int64 v20; // [rsp+78h] [rbp-30h] v17 = a2; v13 = a3; v5 = 0; v14 = 0; if ( !FMODAudioEngine::isMusicPlaying_1(a1, a3) ) { v8 = v20; LABEL_9: v9 = 0; goto LABEL_10; } v12 = v13; p_m_fmodMusic = &a1->m_fmodMusic; if ( sub_14005F8D0(p_m_fmodMusic, &v12) ) { v7 = (_QWORD *)sub_140061560(p_m_fmodMusic, v15, &v12); sub_14003BDB0((__int64)Block, *v7 + 40LL); v8 = v20; } else { *(_OWORD *)Block = 0; v19 = 0; v8 = 15; v20 = 15; LOBYTE(Block[0]) = 0; } v5 = 3; v14 = 3; if ( sub_14003A760(Block, a2) || !*(_BYTE *)(*(_QWORD *)sub_140061560(p_m_fmodMusic, v16, &v13) + 73LL) ) goto LABEL_9; v9 = 1; LABEL_10: if ( (v5 & 1) != 0 && v8 > 0xF ) { v10 = Block[0]; if ( v8 + 1 >= 0x1000 ) { v10 = *((void **)Block[0] - 1); if ( (unsigned __int64)((char *)Block[0] - (char *)v10 - 8) > 0x1F ) invalid_parameter_noinfo_noreturn(); } j_j_free(v10); } sub_14003A830((__int64)a2); return v9; }
GD Web Decomp Icon

GD Web Decomp

Raw Source