; ; CustomSFXWidget::onCancelDownload from 0x140161d90 to 0x140161e4a (186 bytes) ; ; 2 xrefs: ; > CustomSFXWidget::init @ 0x140160998 ; > @ 0x140917d5c ; ; 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:25 +0000 ; mov [rsp+arg_8], rbx ; +0x0, 0x140161d90 mov [rsp+arg_10], rsi ; +0x5, 0x140161d95 push rdi ; +0xa, 0x140161d9a sub rsp, 20h ; +0xb, 0x140161d9b mov rdi, rcx ; +0xf, 0x140161d9f mov rbx, cs:qword_14090C070 ; +0x12, 0x140161da2 test rbx, rbx ; +0x19, 0x140161da9 jnz short loc_140161DE0 ; +0x1c, 0x140161dac mov ecx, 3D0h; Size ; +0x1e, 0x140161dae call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0x23, 0x140161db3 mov [rsp+28h+arg_0], rax ; +0x28, 0x140161db8 mov rcx, rax ; +0x2d, 0x140161dbd call MusicDownloadManager__MusicDownloadManager ; +0x30, 0x140161dc0 nop ; +0x35, 0x140161dc5 mov cs:qword_14090C070, rax ; +0x36, 0x140161dc6 mov rcx, [rax] ; +0x3d, 0x140161dcd mov rdx, [rcx+48h] ; +0x40, 0x140161dd0 mov rcx, rax ; +0x44, 0x140161dd4 call rdx ; +0x47, 0x140161dd7 mov rbx, cs:qword_14090C070 ; +0x49, 0x140161dd9 mov edx, [rdi+1F0h] ; +0x50, 0x140161de0 lea rcx, aDI; "d_%i" ; +0x56, 0x140161de6 call cs:?createWithFormat@CCString@cocos2d@@SAPEAV12@PEBDZZ; cocos2d::CCString::createWithFormat(char const *,...) ; +0x5d, 0x140161ded mov rcx, rax ; +0x63, 0x140161df3 call cs:?getCString@CCString@cocos2d@@QEBAPEBDXZ; cocos2d::CCString::getCString(void) ; +0x66, 0x140161df6 mov rsi, rax ; +0x6c, 0x140161dfc mov rdx, rax ; +0x6f, 0x140161dff mov rcx, rbx ; +0x72, 0x140161e02 call AchievementManager__getAchievementsWithID; Merged with: AchievementManager::getAchievementsWithID, MusicDownloadManager::getDLObject ; +0x75, 0x140161e05 test rax, rax ; +0x7a, 0x140161e0a jz short loc_140161E16 ; +0x7d, 0x140161e0d mov byte ptr [rax+0CCh], 1 ; +0x7f, 0x140161e0f mov rdx, rsi ; +0x86, 0x140161e16 mov rcx, rbx ; +0x89, 0x140161e19 call MusicDownloadManager__removeDLFromActive ; +0x8c, 0x140161e1c lea rcx, [rdi+140h] ; +0x91, 0x140161e21 mov rax, [rcx] ; +0x98, 0x140161e28 mov r8d, 3 ; +0x9b, 0x140161e2b mov edx, [rdi+1F0h] ; +0xa1, 0x140161e31 mov rbx, [rsp+28h+arg_8] ; +0xa7, 0x140161e37 mov rsi, [rsp+28h+arg_10] ; +0xac, 0x140161e3c add rsp, 20h ; +0xb1, 0x140161e41 pop rdi ; +0xb5, 0x140161e45 jmp qword ptr [rax+38h] ; +0xb6, 0x140161e46