// // FMODAudioEngine::triggerQueuedMusic from 0x6d90b0 to 0x6d921c (364 bytes) // // 4 xrefs: // > FMODAudioEngine::updateQueuedMusic @ 0x6d93f0 // > FMODAudioEngine::activateQueuedMusic @ 0x6d96c4 // > FMODAudioEngine::loadAudioState @ 0x6db470 // > @ 0x9f238 // // This function is hookable on this platform (idp: arm, 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:51:32 +0000 // __int64 __fastcall FMODAudioEngine::triggerQueuedMusic(__int64 a1, __int64 a2) { FMODAudioEngine *v4; // x0 FMODAudioEngine *v5; // x0 FMODAudioEngine *v7; // x0 __int64 v8; // x0 _QWORD *v9; // x21 FMODAudioEngine *v10; // x0 __int64 *v11; // x0 FMODAudioEngine *v12; // x0 int v13; // [xsp+54h] [xbp+44h] BYREF v4 = (FMODAudioEngine *)*(unsigned __int8 *)(a2 + 60); if ( *(_BYTE *)(a2 + 60) ) { if ( std::__hash_table,std::__unordered_map_hasher,std::hash,true>,std::__unordered_map_equal,std::equal_to,true>,std::allocator>>::find( (_QWORD *)(a1 + 320), (int *)(a2 + 56)) ) { v13 = *(_DWORD *)std::unordered_map::operator[](a1 + 320, (int *)(a2 + 56)); if ( std::__hash_table,std::__unordered_map_hasher,std::hash,true>,std::__unordered_map_equal,std::equal_to,true>,std::allocator>>::find( (_QWORD *)(a1 + 1144), &v13) ) { *(_DWORD *)(std::unordered_map::operator[](a1 + 1144, &v13) + 176) = *(_DWORD *)(a2 + 64); } } v7 = (FMODAudioEngine *)std::__hash_table,std::__unordered_map_hasher,std::hash,true>,std::__unordered_map_equal,std::equal_to,true>,std::allocator>>::find( (_QWORD *)(a1 + 320), (int *)(a2 + 64)); if ( v7 ) { v8 = a1 + 320; v9 = (_QWORD *)(a1 + 1144); v13 = *(_DWORD *)std::unordered_map::operator[](v8, (int *)(a2 + 64)); v7 = (FMODAudioEngine *)std::__hash_table,std::__unordered_map_hasher,std::hash,true>,std::__unordered_map_equal,std::equal_to,true>,std::allocator>>::find( v9, &v13); if ( v7 ) { v7 = (FMODAudioEngine *)std::unordered_map::operator[]((unsigned __int64)v9, &v13); *((_DWORD *)v7 + 44) = *(_DWORD *)(a2 + 56); } } v10 = (FMODAudioEngine *)FMODAudioEngine::sharedEngine(v7); v11 = FMODAudioEngine::stopMusic(v10, *(_DWORD *)(a2 + 64)); v12 = (FMODAudioEngine *)FMODAudioEngine::sharedEngine((FMODAudioEngine *)v11); FMODAudioEngine::swapMusicIndex(v12, *(_DWORD *)(a2 + 56), *(_DWORD *)(a2 + 64)); v4 = (FMODAudioEngine *)*(unsigned int *)(a2 + 64); *(_DWORD *)(a2 + 56) = (_DWORD)v4; } v5 = (FMODAudioEngine *)FMODAudioEngine::sharedEngine(v4); FMODAudioEngine::startMusic( v5, *(_DWORD *)(a2 + 36), *(_DWORD *)(a2 + 40), *(_DWORD *)(a2 + 44), *(_DWORD *)(a2 + 48), *(_BYTE *)(a2 + 52), *(_DWORD *)(a2 + 56), 0, *(_BYTE *)(a2 + 88)); return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source