// // MusicDownloadManager::pathForSong from 0x10064eb00 to 0x10064eb7f (127 bytes) // // 18 xrefs: // > GJBaseGameLayer::activateSongTrigger @ 0x100139942 // > GJBaseGameLayer::processActivatedAudioTriggers @ 0x10013fc6e // > SongSelectNode::getSongFileName @ 0x1001fcf03 // > CustomSongCell::onDelete @ 0x10023ca9e // > SetupSongTriggerPopup::updateSongTimeSlider @ 0x1002c09e8 // > SetupSongTriggerPopup::onPlayback @ 0x1002c0bd8 // > GameManager::getMenuMusicFile @ 0x100360155 // > GameManager::getPracticeMusicFile @ 0x1003602a5 // > FindBPMLayer::playMusic @ 0x10050ee1d // > GJGameLevel::getAudioFileName @ 0x1005842f3 // > MusicDownloadManager::isSongDownloaded @ 0x10064e708 // > MusicDownloadManager::limitDownloadedSongs @ 0x10064e988 // > MusicDownloadManager::deleteSong @ 0x10064e9d1 // > MusicDownloadManager::onDownloadSongCompleted @ 0x10064f4c8 // > CustomSongWidget::onPlayback @ 0x1006f8b3f // > CustomSongWidget::onPlayback @ 0x1006f8c1b // > CustomSongWidget::updatePlaybackBtn @ 0x1006fabf8 // > CustomSongWidget::deleteSong @ 0x1006faee2 // // This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 12:34:48 +0000 // std::string *__fastcall MusicDownloadManager::pathForSong(std::string *this, __int64 a2, int a3) { const std::string::value_type *v4; // rsi std::string::size_type v5; // rdx const std::string::value_type *v6; // rsi size_t v8[2]; // [rsp+8h] [rbp-28h] BYREF void *__p; // [rsp+18h] [rbp-18h] MusicDownloadManager::pathForSongFolder(this); GameToolbox::intToString(v8, a3); if ( (v8[0] & 1) != 0 ) { v4 = (const std::string::value_type *)__p; v5 = v8[1]; } else { v5 = LOBYTE(v8[0]) >> 1; v4 = (char *)v8 + 1; } std::string::append(this, v4, v5); if ( (v8[0] & 1) != 0 ) operator delete(__p); v6 = ".mp3"; if ( a3 >= 10000001 ) v6 = ".ogg"; std::string::append(this, v6); return this; }
GD Web Decomp Icon

GD Web Decomp

Raw Source