; ; CustomSongWidget::onToggleFavorite from 0x14016b7e0 to 0x14016b88d (173 bytes) ; ; 2 xrefs: ; > CustomSongWidget::init @ 0x14016a0d7 ; > @ 0x140918110 ; ; 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:29 +0000 ; mov [rsp+arg_8], rbx ; +0x0, 0x14016b7e0 push rdi ; +0x5, 0x14016b7e5 sub rsp, 30h ; +0x6, 0x14016b7e6 mov rdi, rcx ; +0xa, 0x14016b7ea cmp qword ptr [rcx+150h], 0 ; +0xd, 0x14016b7ed jz loc_14016B882 ; +0x15, 0x14016b7f5 mov rbx, cs:qword_14090C070 ; +0x1b, 0x14016b7fb test rbx, rbx ; +0x22, 0x14016b802 jnz short loc_14016B839 ; +0x25, 0x14016b805 mov ecx, 3D0h; Size ; +0x27, 0x14016b807 call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0x2c, 0x14016b80c mov [rsp+38h+arg_0], rax ; +0x31, 0x14016b811 mov rcx, rax ; +0x36, 0x14016b816 call MusicDownloadManager__MusicDownloadManager ; +0x39, 0x14016b819 nop ; +0x3e, 0x14016b81e mov cs:qword_14090C070, rax ; +0x3f, 0x14016b81f mov rcx, [rax] ; +0x46, 0x14016b826 mov rdx, [rcx+48h] ; +0x49, 0x14016b829 mov rcx, rax ; +0x4d, 0x14016b82d call rdx ; +0x50, 0x14016b830 mov rbx, cs:qword_14090C070 ; +0x52, 0x14016b832 mov rax, [rdi+150h] ; +0x59, 0x14016b839 mov ecx, [rax+140h] ; +0x60, 0x14016b840 mov dword ptr [rsp+38h+arg_0], ecx ; +0x66, 0x14016b846 test ecx, ecx ; +0x6a, 0x14016b84a jle short loc_14016B87A ; +0x6c, 0x14016b84c lea rcx, [rbx+308h] ; +0x6e, 0x14016b84e lea rdx, [rsp+38h+arg_0] ; +0x75, 0x14016b855 call sub_140066A60 ; +0x7a, 0x14016b85a test rax, rax ; +0x7f, 0x14016b85f jnz short loc_14016B87A ; +0x82, 0x14016b862 lea rcx, [rbx+308h] ; +0x84, 0x14016b864 lea r8, [rsp+38h+arg_0] ; +0x8b, 0x14016b86b lea rdx, [rsp+38h+var_18] ; +0x90, 0x14016b870 call sub_140068190 ; +0x95, 0x14016b875 mov rcx, rdi ; +0x9a, 0x14016b87a call CustomSongWidget__updateSongInfo ; +0x9d, 0x14016b87d mov rbx, [rsp+38h+arg_8] ; +0xa2, 0x14016b882 add rsp, 30h ; +0xa7, 0x14016b887 pop rdi ; +0xab, 0x14016b88b retn ; +0xac, 0x14016b88c