// // MusicBrowser::sliderEnded from 0x10060f170 to 0x10060f1e4 (116 bytes) // // 2 xrefs: // > sub_10060F1F0 @ 0x10060f1f5 // > @ 0x100980b78 // // 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 __fastcall MusicBrowser::sliderEnded(MusicBrowser *a1, Slider *a2) { FMODAudioEngine *v2; // rax SliderThumb *Thumb; // rax FMODAudioEngine *v4; // rax unsigned int v5; // ebx FMODAudioEngine *v6; // rax float Value; // [rsp+0h] [rbp-Ch] v2 = FMODAudioEngine::sharedEngine(); if ( FMODAudioEngine::isMusicPlaying_1(v2, 0) ) { Thumb = Slider::getThumb(a2); Value = SliderThumb::getValue(Thumb); v4 = FMODAudioEngine::sharedEngine(); v5 = (int)(float)((float)(int)FMODAudioEngine::getMusicLengthMS(v4, 0) * Value); v6 = FMODAudioEngine::sharedEngine(); FMODAudioEngine::setMusicTimeMS(v6, v5, 0, 0); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source