// // CustomSongCell::onDelete from 0x10023ca60 to 0x10023cb0d (173 bytes) // // 1 xrefs: // > CustomSongCell::loadFromObject @ 0x100229a1e // // 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:27:16 +0000 // __int64 __fastcall CustomSongCell::onDelete(__int64 a1, double a2) { __int64 v3; // r14 std::string::pointer data; // rdi char isMusicPlaying; // r14 std::error_code *v6; // rax std::string v8; // [rsp+0h] [rbp-30h] BYREF if ( *(_QWORD *)(a1 + 560) ) { v3 = FMODAudioEngine::sharedEngine(a2); MusicDownloadManager::sharedState(a1); MusicDownloadManager::pathForSong(&v8); data = (std::string::pointer)v3; isMusicPlaying = FMODAudioEngine::isMusicPlaying(v3, &v8, 0); if ( (*(_BYTE *)&v8.__r_.__value_.__s.0 & 1) != 0 ) { data = v8.__r_.__value_.__l.__data_; operator delete(v8.__r_.__value_.__l.__data_); } if ( isMusicPlaying ) { data = (std::string::pointer)FMODAudioEngine::sharedEngine(a2); FMODAudioEngine::stopAllMusic(data, 1); } v6 = (std::error_code *)MusicDownloadManager::sharedState(data); MusicDownloadManager::deleteSong(v6); } return TableView::deleteTableViewCell(*(_QWORD *)(a1 + 416), a1); }