// // GameManager::getPracticeMusicFile from 0x100311fcc to 0x100312078 (172 bytes) // // 1 xrefs: // > PlayLayer::togglePracticeMode @ 0x100121a68 // // 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 __usercall GameManager::getPracticeMusicFile(__int64 a1@, _QWORD *a2@) { MusicDownloadManager *v4; // x0 std::string *p_p; // x1 std::string __p; // [xsp+8h] [xbp-28h] BYREF if ( *(int *)(a1 + 1052) < 1 ) goto LABEL_11; v4 = MusicDownloadManager::sharedState(); if ( !MusicDownloadManager::isSongDownloaded(v4, *(_DWORD *)(a1 + 1052)) ) { *(_DWORD *)(a1 + 1052) = 0; goto LABEL_11; } if ( *(int *)(a1 + 1052) < 1 ) { LABEL_11: sub_100009900(a2, "StayInsideMe.mp3"); return; } MusicDownloadManager::sharedState(); MusicDownloadManager::pathForSong(*(unsigned int *)(a1 + 1052), &__p); if ( (__p.__r_.__value_.__r.__words[2] & 0x8000000000000000LL) == 0LL ) p_p = &__p; else p_p = (std::string *)__p.__r_.__value_.__r.__words[0]; sub_100009900(a2, (char *)p_p); if ( SHIBYTE(__p.__r_.__value_.__r.__words[2]) < 0 ) operator delete(__p.__r_.__value_.__l.__data_); }
GD Web Decomp Icon

GD Web Decomp

Raw Source