; ; CustomSongWidget::onCancelDownload from 0x14016b650 to 0x14016b70a (186 bytes) ; ; 2 xrefs: ; > CustomSongWidget::init @ 0x140169720 ; > @ 0x1409180f8 ; ; 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, 0x14016b650 mov [rsp+arg_10], rsi ; +0x5, 0x14016b655 push rdi ; +0xa, 0x14016b65a sub rsp, 20h ; +0xb, 0x14016b65b mov rdi, rcx ; +0xf, 0x14016b65f mov rbx, cs:qword_14090C070 ; +0x12, 0x14016b662 test rbx, rbx ; +0x19, 0x14016b669 jnz short loc_14016B6A0 ; +0x1c, 0x14016b66c mov ecx, 3D0h; Size ; +0x1e, 0x14016b66e call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0x23, 0x14016b673 mov [rsp+28h+arg_0], rax ; +0x28, 0x14016b678 mov rcx, rax ; +0x2d, 0x14016b67d call MusicDownloadManager__MusicDownloadManager ; +0x30, 0x14016b680 nop ; +0x35, 0x14016b685 mov cs:qword_14090C070, rax ; +0x36, 0x14016b686 mov rcx, [rax] ; +0x3d, 0x14016b68d mov rdx, [rcx+48h] ; +0x40, 0x14016b690 mov rcx, rax ; +0x44, 0x14016b694 call rdx ; +0x47, 0x14016b697 mov rbx, cs:qword_14090C070 ; +0x49, 0x14016b699 mov edx, [rdi+1F8h] ; +0x50, 0x14016b6a0 lea rcx, aDI; "d_%i" ; +0x56, 0x14016b6a6 call cs:?createWithFormat@CCString@cocos2d@@SAPEAV12@PEBDZZ; cocos2d::CCString::createWithFormat(char const *,...) ; +0x5d, 0x14016b6ad mov rcx, rax ; +0x63, 0x14016b6b3 call cs:?getCString@CCString@cocos2d@@QEBAPEBDXZ; cocos2d::CCString::getCString(void) ; +0x66, 0x14016b6b6 mov rsi, rax ; +0x6c, 0x14016b6bc mov rdx, rax ; +0x6f, 0x14016b6bf mov rcx, rbx ; +0x72, 0x14016b6c2 call AchievementManager__getAchievementsWithID; Merged with: AchievementManager::getAchievementsWithID, MusicDownloadManager::getDLObject ; +0x75, 0x14016b6c5 test rax, rax ; +0x7a, 0x14016b6ca jz short loc_14016B6D6 ; +0x7d, 0x14016b6cd mov byte ptr [rax+0CCh], 1 ; +0x7f, 0x14016b6cf mov rdx, rsi ; +0x86, 0x14016b6d6 mov rcx, rbx ; +0x89, 0x14016b6d9 call MusicDownloadManager__removeDLFromActive ; +0x8c, 0x14016b6dc lea rcx, [rdi+140h] ; +0x91, 0x14016b6e1 mov rax, [rcx] ; +0x98, 0x14016b6e8 mov r8d, 3 ; +0x9b, 0x14016b6eb mov edx, [rdi+1F8h] ; +0xa1, 0x14016b6f1 mov rbx, [rsp+28h+arg_8] ; +0xa7, 0x14016b6f7 mov rsi, [rsp+28h+arg_10] ; +0xac, 0x14016b6fc add rsp, 20h ; +0xb1, 0x14016b701 pop rdi ; +0xb5, 0x14016b705 jmp qword ptr [rax+20h] ; +0xb6, 0x14016b706