// // FMODAudioEngine::updateQueuedMusic from 0x3f017c to 0x3f029c (288 bytes) // // 1 xrefs: // > sub_3F1D80 @ 0x3f1dca // // 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:13 +0000 // FMOD::Channel *__fastcall FMODAudioEngine::updateQueuedMusic(FMOD::Channel *this) { int *v1; // r4 _DWORD *v2; // r9 int v3; // r10 FMODAudioEngine *v4; // r6 int isPersistentMatchPlaying; // r8 int v6; // r8 _DWORD *v7; // r0 int *v8; // r8 int v9[18]; // [sp+1Ch] [bp-4Ch] BYREF v1 = *((int **)this + 169); v2 = (_DWORD *)((char *)this + 668); v3 = (int)this + 688; v4 = this; while ( v1 ) { if ( !v1[19] ) goto LABEL_13; if ( *((_BYTE *)v1 + 80) ) { std::string::basic_string(v9, (int)(v1 + 3)); isPersistentMatchPlaying = FMODAudioEngine::isPersistentMatchPlaying(v4, (unsigned __int8 *)v9, v1[16]); std::string::~string((int)v9); if ( isPersistentMatchPlaying ) goto LABEL_13; } this = (FMOD::Channel *)FMODAudioEngine::isSoundReady(v4, (FMOD::Sound *)v1[19]); if ( !this ) goto LABEL_14; v6 = v1[18]; if ( v6 ) { if ( v6 == 1 ) { if ( *((_BYTE *)v1 + 68) ) { FMODQueuedMusic::FMODQueuedMusic((FMODQueuedMusic *)v9, (const FMODQueuedMusic *)(v1 + 3)); FMODAudioEngine::triggerQueuedMusic(v4, (int)v9); std::string::~string((int)v9); } else { v7 = std::unordered_map::operator[](v3, (unsigned int *)v1 + 2); FMODQueuedMusic::operator=((int)v7, (int)(v1 + 3)); } } LABEL_13: v8 = (int *)*v1; this = (FMOD::Channel *)std::__hash_table,std::__unordered_map_hasher,std::hash,true>,std::__unordered_map_equal,std::equal_to,true>,std::allocator>>::erase( v2, v1); v1 = v8; } else { std::string::basic_string(v9, (int)(v1 + 3)); FMODAudioEngine::loadMusic( (int)v4, (unsigned __int8 *)v9, *((float *)v1 + 6), v1[7], *((float *)v1 + 8), *((_BYTE *)v1 + 52), v1[14], 0, *((_BYTE *)v1 + 80)); std::string::~string((int)v9); this = FMODAudioEngine::setMusicTimeMS(v4, v1[9], 1u, v1[14]); v1[18] = 1; LABEL_14: v1 = (int *)*v1; } } return this; }
GD Web Decomp Icon

GD Web Decomp

Raw Source