// // MusicDownloadManager::pathForSong from 0x82f95c to 0x82fabc (352 bytes) // // 18 xrefs: // > FindBPMLayer::playMusic @ 0x5bf898 // > GameManager::getMenuMusicFile @ 0x5e8a70 // > GameManager::getPracticeMusicFile @ 0x5e8bb4 // > CustomSongCell::onDelete @ 0x60b428 // > GJGameLevel::getAudioFileName @ 0x70201c // > CustomSongWidget::onPlayback @ 0x742704 // > CustomSongWidget::onPlayback @ 0x742750 // > CustomSongWidget::updatePlaybackBtn @ 0x743eec // > CustomSongWidget::deleteSong @ 0x747510 // > MusicDownloadManager::deleteSong @ 0x82fadc // > MusicDownloadManager::isSongDownloaded @ 0x82fc10 // > MusicDownloadManager::onDownloadSongCompleted @ 0x82ff34 // > SongSelectNode::getSongFileName @ 0x83bebc // > GJBaseGameLayer::activateSongTrigger @ 0x87ba00 // > GJBaseGameLayer::processActivatedAudioTriggers @ 0x88d644 // > SetupSongTriggerPopup::onPlayback @ 0x9a9bb4 // > SetupSongTriggerPopup::updateSongTimeSlider @ 0x9a9e9c // > @ 0x3e118 // // 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 // __int64 *__usercall MusicDownloadManager::pathForSong@( __int64 *__return_ptr a1@, MusicDownloadManager *this@, int a3@) { void *v5; // x0 unsigned int *v7; // x1 int v8; // w2 __int64 v9; // [xsp+50h] [xbp+50h] BYREF MusicDownloadManager::pathForSongFolder(this, a3, (__int64)a1); GameToolbox::intToString(&v9, (GameToolbox *)(unsigned int)a3); sub_D15E14(a1, &v9); v5 = (void *)(v9 - 24); if ( (__int64 *)(v9 - 24) != &qword_124B6B0 ) { if ( &pthread_create ) { v7 = (unsigned int *)(v9 - 8); do v8 = __ldaxr(v7); while ( __stlxr(v8 - 1, v7) ); } else { v8 = *(_DWORD *)(v9 - 8); *(_DWORD *)(v9 - 8) = v8 - 1; } if ( v8 <= 0 ) operator delete(v5); } if ( a3 <= 10000000 ) sub_D15FD4(a1, ".mp3", 4); else sub_D15FD4(a1, ".ogg", 4); return a1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source