; ; 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 ; mov [rsp+arg_8], rbx ; +0x0, 0x1401505d0 push rdi ; +0x5, 0x1401505d5 sub rsp, 80h ; +0x6, 0x1401505d6 mov rax, cs:__security_cookie ; +0xd, 0x1401505dd xor rax, rsp ; +0x14, 0x1401505e4 mov [rsp+88h+var_18], rax ; +0x17, 0x1401505e7 mov rdi, rcx ; +0x1c, 0x1401505ec cmp qword ptr [rcx+238h], 0 ; +0x1f, 0x1401505ef jz loc_140150795 ; +0x27, 0x1401505f7 lea rax, [rsp+88h+var_58] ; +0x2d, 0x1401505fd mov [rsp+88h+var_60], rax ; +0x32, 0x140150602 mov rcx, cs:qword_14090C070 ; +0x37, 0x140150607 test rcx, rcx ; +0x3e, 0x14015060e jnz short loc_140150645 ; +0x41, 0x140150611 mov ecx, 3D0h; Size ; +0x43, 0x140150613 call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0x48, 0x140150618 mov [rsp+88h+var_68], rax ; +0x4d, 0x14015061d mov rcx, rax ; +0x52, 0x140150622 call MusicDownloadManager__MusicDownloadManager ; +0x55, 0x140150625 nop ; +0x5a, 0x14015062a mov cs:qword_14090C070, rax ; +0x5b, 0x14015062b mov rcx, [rax] ; +0x62, 0x140150632 mov rdx, [rcx+48h] ; +0x65, 0x140150635 mov rcx, rax ; +0x69, 0x140150639 call rdx ; +0x6c, 0x14015063c mov rcx, cs:qword_14090C070 ; +0x6e, 0x14015063e mov r8, [rdi+238h] ; +0x75, 0x140150645 mov r8d, [r8+140h] ; +0x7c, 0x14015064c lea rdx, [rsp+88h+var_58] ; +0x83, 0x140150653 call MusicDownloadManager__pathForSong ; +0x88, 0x140150658 mov rbx, rax ; +0x8d, 0x14015065d mov rcx, cs:qword_14090BF60 ; +0x90, 0x140150660 test rcx, rcx ; +0x97, 0x140150667 jnz short loc_14015069E ; +0x9a, 0x14015066a mov ecx, 8A8h; Size ; +0x9c, 0x14015066c call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0xa1, 0x140150671 mov [rsp+88h+var_68], rax ; +0xa6, 0x140150676 mov rcx, rax ; +0xab, 0x14015067b call FMODAudioEngine__FMODAudioEngine ; +0xae, 0x14015067e nop ; +0xb3, 0x140150683 mov cs:qword_14090BF60, rax ; +0xb4, 0x140150684 mov rcx, [rax] ; +0xbb, 0x14015068b mov rdx, [rcx+48h] ; +0xbe, 0x14015068e mov rcx, rax ; +0xc2, 0x140150692 call rdx ; +0xc5, 0x140150695 mov rcx, cs:qword_14090BF60 ; +0xc7, 0x140150697 mov rdx, rbx ; +0xce, 0x14015069e call FMODAudioEngine__isMusicPlaying ; +0xd1, 0x1401506a1 test al, al ; +0xd6, 0x1401506a6 jz short loc_14015071E ; +0xd8, 0x1401506a8 mov rbx, cs:qword_14090BF60 ; +0xda, 0x1401506aa test rbx, rbx ; +0xe1, 0x1401506b1 jnz short loc_1401506E8 ; +0xe4, 0x1401506b4 mov ecx, 8A8h; Size ; +0xe6, 0x1401506b6 call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0xeb, 0x1401506bb mov [rsp+88h+var_68], rax ; +0xf0, 0x1401506c0 mov rcx, rax ; +0xf5, 0x1401506c5 call FMODAudioEngine__FMODAudioEngine ; +0xf8, 0x1401506c8 nop ; +0xfd, 0x1401506cd mov cs:qword_14090BF60, rax ; +0xfe, 0x1401506ce mov rcx, [rax] ; +0x105, 0x1401506d5 mov rdx, [rcx+48h] ; +0x108, 0x1401506d8 mov rcx, rax ; +0x10c, 0x1401506dc call rdx ; +0x10f, 0x1401506df mov rbx, cs:qword_14090BF60 ; +0x111, 0x1401506e1 mov rcx, [rbx+228h] ; +0x118, 0x1401506e8 test rcx, rcx ; +0x11f, 0x1401506ef jz short loc_1401506FA ; +0x122, 0x1401506f2 call cs:?stop@ChannelControl@FMOD@@QEAA?AW4FMOD_RESULT@@XZ; FMOD::ChannelControl::stop(void) ; +0x124, 0x1401506f4 lea rcx, [rbx+448h] ; +0x12a, 0x1401506fa call sub_14003EB60 ; +0x131, 0x140150701 lea rcx, [rbx+488h] ; +0x136, 0x140150706 call sub_14003EB60 ; +0x13d, 0x14015070d lea rcx, [rbx+4C8h] ; +0x142, 0x140150712 call sub_14003EB60 ; +0x149, 0x140150719 mov rcx, cs:qword_14090C070 ; +0x14e, 0x14015071e test rcx, rcx ; +0x155, 0x140150725 jnz short loc_14015075C ; +0x158, 0x140150728 mov ecx, 3D0h; Size ; +0x15a, 0x14015072a call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0x15f, 0x14015072f mov [rsp+88h+var_68], rax ; +0x164, 0x140150734 mov rcx, rax ; +0x169, 0x140150739 call MusicDownloadManager__MusicDownloadManager ; +0x16c, 0x14015073c nop ; +0x171, 0x140150741 mov cs:qword_14090C070, rax ; +0x172, 0x140150742 mov rcx, [rax] ; +0x179, 0x140150749 mov rdx, [rcx+48h] ; +0x17c, 0x14015074c mov rcx, rax ; +0x180, 0x140150750 call rdx ; +0x183, 0x140150753 mov rcx, cs:qword_14090C070 ; +0x185, 0x140150755 mov r8, [rdi+238h] ; +0x18c, 0x14015075c mov r8d, [r8+140h] ; +0x193, 0x140150763 lea rdx, [rsp+88h+FileName] ; +0x19a, 0x14015076a call MusicDownloadManager__pathForSong ; +0x19f, 0x14015076f lea rcx, [rsp+88h+FileName] ; +0x1a4, 0x140150774 cmp [rsp+88h+var_20], 0Fh ; +0x1a9, 0x140150779 cmova rcx, [rsp+88h+FileName]; FileName ; +0x1af, 0x14015077f call cs:remove ; +0x1b5, 0x140150785 lea rcx, [rsp+88h+FileName] ; +0x1bb, 0x14015078b call sub_14003D310 ; +0x1c0, 0x140150790 mov rdx, rdi ; +0x1c5, 0x140150795 mov rcx, [rdi+1A0h] ; +0x1c8, 0x140150798 call TableView__deleteTableViewCell ; +0x1cf, 0x14015079f mov rcx, [rsp+88h+var_18] ; +0x1d4, 0x1401507a4 xor rcx, rsp; StackCookie ; +0x1d9, 0x1401507a9 call __security_check_cookie ; +0x1dc, 0x1401507ac mov rbx, [rsp+88h+arg_8] ; +0x1e1, 0x1401507b1 add rsp, 80h ; +0x1e9, 0x1401507b9 pop rdi ; +0x1f0, 0x1401507c0 retn ; +0x1f1, 0x1401507c1