// // CustomSongCell::onDelete from 0x1401505d0 to 0x1401507c2 (498 bytes) // // 2 xrefs: // > CustomSongCell::loadFromObject @ 0x14015046e // > @ 0x14091775c // // 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 11:27:17 +0000 // // Hidden C++ exception states: #wind=6 char __fastcall CustomSongCell::onDelete(__int64 *a1) { __int64 v2; // rcx _QWORD *v3; // rbx _QWORD *v4; // rcx _QWORD *v5; // rbx __int64 v6; // rcx __int64 v7; // rcx const char *v8; // rcx void *v10; // [rsp+20h] [rbp-68h] void *v11; // [rsp+20h] [rbp-68h] void *v12; // [rsp+20h] [rbp-68h] void *v13; // [rsp+20h] [rbp-68h] _BYTE v14[32]; // [rsp+30h] [rbp-58h] BYREF char *FileName[4]; // [rsp+50h] [rbp-38h] BYREF if ( a1[71] ) { v2 = qword_14090C070; if ( !qword_14090C070 ) { v10 = operator new(0x3D0u); qword_14090C070 = MusicDownloadManager::MusicDownloadManager(v10); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090C070 + 72LL))(qword_14090C070); v2 = qword_14090C070; } v3 = (_QWORD *)MusicDownloadManager::pathForSong(v2, v14, *(unsigned int *)(a1[71] + 320)); v4 = (_QWORD *)qword_14090BF60; if ( !qword_14090BF60 ) { v11 = operator new(0x8A8u); qword_14090BF60 = FMODAudioEngine::FMODAudioEngine((__int64)v11); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BF60 + 72LL))(qword_14090BF60); v4 = (_QWORD *)qword_14090BF60; } if ( FMODAudioEngine::isMusicPlaying(v4, v3) ) { v5 = (_QWORD *)qword_14090BF60; if ( !qword_14090BF60 ) { v12 = operator new(0x8A8u); qword_14090BF60 = FMODAudioEngine::FMODAudioEngine((__int64)v12); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BF60 + 72LL))(qword_14090BF60); v5 = (_QWORD *)qword_14090BF60; } v6 = v5[69]; if ( v6 ) FMOD::ChannelControl::stop(v6); sub_14003EB60(v5 + 137); sub_14003EB60(v5 + 145); sub_14003EB60(v5 + 153); } v7 = qword_14090C070; if ( !qword_14090C070 ) { v13 = operator new(0x3D0u); qword_14090C070 = MusicDownloadManager::MusicDownloadManager(v13); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090C070 + 72LL))(qword_14090C070); v7 = qword_14090C070; } MusicDownloadManager::pathForSong(v7, FileName, *(unsigned int *)(a1[71] + 320)); v8 = (const char *)FileName; if ( FileName[3] > (char *)0xF ) v8 = FileName[0]; remove(v8); sub_14003D310((__int64)FileName); } return TableView::deleteTableViewCell(a1[52], (struct cocos2d::CCObject *)a1); }