// // FMODAudioEngine::registerChannel from 0x6d3cbc to 0x6d3de4 (296 bytes) // // 3 xrefs: // > FMODAudioEngine::loadMusic @ 0x6d89e4 // > FMODAudioEngine::playEffectAdvanced @ 0x6daaac // > @ 0xc6760 // // 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:28 +0000 // __int64 __fastcall FMODAudioEngine::registerChannel( FMODAudioEngine *this, FMOD::Channel *a2, int NextChannelID, int a4) { float *v6; // x0 _DWORD *v7; // x0 _DWORD *v8; // x0 _DWORD *v9; // x0 int v11; // [xsp+48h] [xbp+48h] BYREF unsigned int v12; // [xsp+4Ch] [xbp+4Ch] BYREF float v13; // [xsp+50h] [xbp+50h] BYREF int v14; // [xsp+54h] [xbp+54h] BYREF v12 = NextChannelID; v11 = a4; if ( !NextChannelID ) { NextChannelID = FMODAudioEngine::getNextChannelID(this); v12 = NextChannelID; } FMOD::ChannelControl::setUserData(a2, (void *)NextChannelID); *(_QWORD *)std::unordered_map::operator[]((__int64)this + 1256, (int *)&v12) = a2; v13 = 0.0; FMOD::ChannelControl::getVolume(a2, &v13); v6 = (float *)std::unordered_map::operator[]((unsigned __int64)this + 664, (int *)&v12); *v6 = v13; *(float *)std::unordered_map::operator[]((unsigned __int64)this + 704, (int *)&v12) = 1.0; v14 = 0; FMOD::ChannelControl::getPitch(a2, (float *)&v14); v7 = (_DWORD *)std::unordered_map::operator[]((unsigned __int64)this + 744, (int *)&v12); *v7 = v14; if ( v11 ) { v8 = (_DWORD *)std::unordered_map::operator[]((__int64)this + 1344, (int *)&v12); *v8 = v11; v9 = (_DWORD *)std::unordered_map::operator[]((__int64)this + 1384, &v11); *v9 = v12; } return v12; }
GD Web Decomp Icon

GD Web Decomp

Raw Source