// // FMODAudioEngine::getChannelGroup from 0x6d1120 to 0x6d12d0 (432 bytes) // // 8 xrefs: // > FMODAudioEngine::setChannelVolume @ 0x6d6dc8 // > FMODAudioEngine::setChannelVolume @ 0x6d6df8 // > FMODAudioEngine::setChannelVolumeMod @ 0x6d712c // > FMODAudioEngine::setChannelVolumeMod @ 0x6d715c // > FMODAudioEngine::setChannelPitch @ 0x6d731c // > FMODAudioEngine::setChannelPitch @ 0x6d7334 // > FMODAudioEngine::playEffectAdvanced @ 0x6da8c4 // > @ 0xe5fd8 // // 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:27 +0000 // FMOD::ChannelGroup *__fastcall FMODAudioEngine::getChannelGroup(FMODAudioEngine *this, int a2, unsigned __int8 a3) { int v4; // w21 FMOD::ChannelGroup *result; // x0 char *v6; // x23 char *v7; // x0 _QWORD *v8; // x0 int v9; // [xsp+4Ch] [xbp+4Ch] BYREF FMOD::ChannelGroup *v10; // [xsp+50h] [xbp+50h] BYREF v9 = a2; v4 = a3; if ( a2 == -999999 ) return *((FMOD::ChannelGroup **)this + 66); if ( a2 ) { v10 = nullptr; v6 = (char *)this + 1528; if ( a3 ) v6 = (char *)this + 1568; if ( std::__hash_table,std::__unordered_map_hasher,std::hash,true>,std::__unordered_map_equal,std::equal_to,true>,std::allocator>>::find( v6, &v9) ) { result = *(FMOD::ChannelGroup **)std::unordered_map::operator[]((__int64)v6, &v9); v10 = result; if ( result ) return result; } else { result = v10; if ( v10 ) return result; } FMOD::System::createChannelGroup(*((FMOD::System **)this + 61), nullptr, &v10); if ( !std::__hash_table,std::__unordered_map_hasher,std::hash,true>,std::__unordered_map_equal,std::equal_to,true>,std::allocator>>::find( (_QWORD *)this + 98, &v9) ) *(float *)std::unordered_map::operator[]((unsigned __int64)this + 784, &v9) = 1.0; if ( !std::__hash_table,std::__unordered_map_hasher,std::hash,true>,std::__unordered_map_equal,std::equal_to,true>,std::allocator>>::find( (_QWORD *)this + 103, &v9) ) *(float *)std::unordered_map::operator[]((unsigned __int64)this + 824, &v9) = 1.0; if ( !std::__hash_table,std::__unordered_map_hasher,std::hash,true>,std::__unordered_map_equal,std::equal_to,true>,std::allocator>>::find( (_QWORD *)this + 108, &v9) ) *(float *)std::unordered_map::operator[]((unsigned __int64)this + 864, &v9) = 1.0; FMOD::ChannelGroup::addGroup(); if ( v4 ) v7 = (char *)this + 1568; else v7 = (char *)this + 1528; v8 = (_QWORD *)std::unordered_map::operator[]((__int64)v7, &v9); *v8 = v10; return v10; } else if ( a3 ) { return *((FMOD::ChannelGroup **)this + 65); } else { return *((FMOD::ChannelGroup **)this + 64); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source