// // FMODAudioEngine::getMusicLengthMS from 0x3eeb80 to 0x3eebd4 (84 bytes) // // 3 xrefs: // > SetupSongTriggerPopup::updateSongTimeSlider @ 0x65850e // > MusicBrowser::update @ 0x6bd2d0 // > MusicBrowser::sliderEnded @ 0x6bd3aa // // 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:11 +0000 // unsigned int __fastcall FMODAudioEngine::getMusicLengthMS(FMODAudioEngine *this, unsigned int a2) { int *v3; // r0 FMOD::Channel *v4; // r0 unsigned int v6; // [sp+4h] [bp-14h] BYREF unsigned int v7; // [sp+Ch] [bp-Ch] BYREF FMOD::Sound *v8; // [sp+10h] [bp-8h] BYREF v6 = a2; v7 = 0; v3 = std::unordered_map::operator[]((int)this + 264, &v6); v4 = (FMOD::Channel *)FMODAudioEngine::channelForChannelID(this, *v3); if ( v4 ) { v8 = nullptr; FMOD::Channel::getCurrentSound(v4, &v8); if ( v8 ) FMOD::Sound::getLength(v8, &v7, 1u); } return v7; }
GD Web Decomp Icon

GD Web Decomp

Raw Source