// // SetupSongTriggerPopup::updateSongTimeSlider from 0x525108 to 0x5251b8 (176 bytes) // // 1 xrefs: // > SetupSongTriggerPopup::init @ 0x52576e // // 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 SetupSongTriggerPopup::updateSongTimeSlider(SetupSongTriggerPopup *a1) { FMODAudioEngine *v2; // r7 MusicDownloadManager *v3; // r0 FMODAudioEngine *v4; // r0 unsigned int MusicLengthMS; // r0 unsigned int v6; // s15 int v7; // [sp+0h] [bp-Ch] BYREF if ( a1->m_selectNode->m_selectedSongID > 0 ) { v2 = FMODAudioEngine::sharedEngine(); v3 = MusicDownloadManager::sharedState(); MusicDownloadManager::pathForSong((MusicDownloadManager *)&v7, v3, a1->m_selectNode->m_selectedSongID); FMODAudioEngine::loadMusic((int)v2, (int)&v7); sub_774008(&v7); v4 = FMODAudioEngine::sharedEngine(); MusicLengthMS = FMODAudioEngine::getMusicLengthMS(v4, 0); if ( MusicLengthMS ) { v6 = MusicLengthMS; SetupTriggerPopup::setMaxSliderValue(a1, (float)MusicLengthMS, 408); SetupTriggerPopup::setMaxSliderValue(a1, (float)v6, 410); SetupTriggerPopup::updateSlider(a1, 408); SetupTriggerPopup::updateSlider(a1, 410); } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source