// // MusicDownloadManager::pathForSong from 0x10058eae0 to 0x10058eb5f (127 bytes) // // 18 xrefs: // > GJBaseGameLayer::activateSongTrigger @ 0x10015a472 // > GJBaseGameLayer::processActivatedAudioTriggers @ 0x10016048e // > SongSelectNode::getSongFileName @ 0x100219a73 // > CustomSongCell::onDelete @ 0x100253e4e // > SetupSongTriggerPopup::updateSongTimeSlider @ 0x1002d3e48 // > SetupSongTriggerPopup::onPlayback @ 0x1002d4038 // > GameManager::getMenuMusicFile @ 0x100376dc5 // > GameManager::getPracticeMusicFile @ 0x100376f15 // > FindBPMLayer::playMusic @ 0x10050d91d // > GJGameLevel::getAudioFileName @ 0x10055c013 // > MusicDownloadManager::isSongDownloaded @ 0x10058e6e8 // > MusicDownloadManager::limitDownloadedSongs @ 0x10058e968 // > MusicDownloadManager::deleteSong @ 0x10058e9b1 // > MusicDownloadManager::onDownloadSongCompleted @ 0x10058f5a8 // > CustomSongWidget::onPlayback @ 0x10061bf6f // > CustomSongWidget::onPlayback @ 0x10061c04b // > CustomSongWidget::updatePlaybackBtn @ 0x10061e768 // > CustomSongWidget::deleteSong @ 0x10061e952 // // 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 // std::string *__fastcall MusicDownloadManager::pathForSong(std::string *this, double a2, __int64 a3, int a4) { const std::string::value_type *v5; // rsi std::string::size_type v6; // rdx const std::string::value_type *v7; // rsi size_t v9[2]; // [rsp+8h] [rbp-28h] BYREF void *__p; // [rsp+18h] [rbp-18h] MusicDownloadManager::pathForSongFolder(this); GameToolbox::intToString(v9, a4, a2); if ( (v9[0] & 1) != 0 ) { v5 = (const std::string::value_type *)__p; v6 = v9[1]; } else { v6 = LOBYTE(v9[0]) >> 1; v5 = (char *)v9 + 1; } std::string::append(this, v5, v6); if ( (v9[0] & 1) != 0 ) operator delete(__p); v7 = ".mp3"; if ( a4 >= 10000001 ) v7 = ".ogg"; std::string::append(this, v7); return this; }
GD Web Decomp Icon

GD Web Decomp

Raw Source