// // SetupSongTriggerPopup::updateSongTimeSlider from 0x1001c3354 to 0x1001c3414 (192 bytes) // // 1 xrefs: // > SetupSongTriggerPopup::init @ 0x1001c304c // // 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 SetupSongTriggerPopup::updateSongTimeSlider(SetupSongTriggerPopup *a1) { FMODAudioEngine *v2; // x20 FMODAudioEngine *v3; // x0 unsigned int MusicLengthMS; // w0 float v5; // s8 std::string __p; // [xsp+8h] [xbp-38h] BYREF if ( a1->m_selectNode->m_selectedSongID >= 1 ) { v2 = FMODAudioEngine::sharedEngine(); MusicDownloadManager::sharedState(); MusicDownloadManager::pathForSong((unsigned int)a1->m_selectNode->m_selectedSongID, &__p); FMODAudioEngine::loadMusic_1((__int64)v2, (__int64)&__p); if ( SHIBYTE(__p.__r_.__value_.__r.__words[2]) < 0 ) operator delete(__p.__r_.__value_.__l.__data_); v3 = FMODAudioEngine::sharedEngine(); MusicLengthMS = FMODAudioEngine::getMusicLengthMS(v3, 0); if ( MusicLengthMS ) { v5 = (float)MusicLengthMS; SetupTriggerPopup::setMaxSliderValue(a1, (float)MusicLengthMS, 408); SetupTriggerPopup::setMaxSliderValue(a1, v5, 410); SetupTriggerPopup::updateSlider_1(a1, 408); SetupTriggerPopup::updateSlider_1(a1, 410); } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source