// // MusicBrowser::sliderEnded from 0xa5a384 to 0xa5a3fc (120 bytes) // // 3 xrefs: // > `non-virtual thunk to'MusicBrowser::sliderEnded @ 0xa5a400 // > @ 0x76f38 // > @ 0x11eace0 // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // void MusicBrowser::sliderEnded(MusicBrowser *a1, Slider *a2) { FMODAudioEngine *v3; // x0 SliderThumb *Thumb; // x0 FMODAudioEngine *v5; // x0 unsigned int MusicLengthMS; // w19 FMODAudioEngine *v7; // x0 float Value; // [xsp+20h] [xbp+20h] v3 = FMODAudioEngine::sharedEngine(); if ( FMODAudioEngine::isMusicPlaying(v3, 0) ) { Thumb = Slider::getThumb(a2); Value = SliderThumb::getValue(Thumb); v5 = FMODAudioEngine::sharedEngine(); MusicLengthMS = FMODAudioEngine::getMusicLengthMS(v5, 0); v7 = FMODAudioEngine::sharedEngine(); FMODAudioEngine::setMusicTimeMS(v7, (unsigned int)(float)(Value * (float)MusicLengthMS), 0, 0); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source