// // MusicBrowser::sliderEnded from 0x5814f6 to 0x581550 (90 bytes) // // 1 xrefs: // > `non-virtual thunk to'MusicBrowser::sliderEnded @ 0x581554 // // 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; // r0 SliderThumb *Thumb; // r0 float Value; // s16 FMODAudioEngine *v6; // r0 unsigned int MusicLengthMS; // s17 FMODAudioEngine *v8; // r0 v3 = FMODAudioEngine::sharedEngine(); if ( FMODAudioEngine::isMusicPlaying(v3, 0) ) { Thumb = Slider::getThumb(a2); Value = SliderThumb::getValue(Thumb); v6 = FMODAudioEngine::sharedEngine(); MusicLengthMS = FMODAudioEngine::getMusicLengthMS(v6, 0); v8 = FMODAudioEngine::sharedEngine(); FMODAudioEngine::setMusicTimeMS(v8, (unsigned int)(float)(Value * (float)MusicLengthMS), 0, 0); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source