; ; CustomSongWidget::onCancelDownload from 0x1400caaa0 to 0x1400cab26 (134 bytes) ; ; 2 xrefs: ; > CustomSongWidget::init @ 0x1400c8855 ; > @ 0x1406c82e0 ; ; This function is hookable on this platform! ; ; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA ; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings ; mov [rsp+arg_0], rbx ; +0x0, 0x1400caaa0 mov [rsp+arg_8], rsi ; +0x5, 0x1400caaa5 push rdi ; +0xa, 0x1400caaaa sub rsp, 20h ; +0xb, 0x1400caaab mov ebx, [rcx+1F0h] ; +0xf, 0x1400caaaf mov rdi, rcx ; +0x15, 0x1400caab5 call MusicDownloadManager__sharedState ; +0x18, 0x1400caab8 mov edx, ebx ; +0x1d, 0x1400caabd lea rcx, aDI; "d_%i" ; +0x1f, 0x1400caabf mov rsi, rax ; +0x26, 0x1400caac6 call cs:?createWithFormat@CCString@cocos2d@@SAPEAV12@PEBDZZ; cocos2d::CCString::createWithFormat(char const *,...) ; +0x29, 0x1400caac9 mov rcx, rax ; +0x2f, 0x1400caacf call cs:?getCString@CCString@cocos2d@@QEBAPEBDXZ; cocos2d::CCString::getCString(void) ; +0x32, 0x1400caad2 mov rdx, rax ; +0x38, 0x1400caad8 mov rcx, rsi ; +0x3b, 0x1400caadb mov rbx, rax ; +0x3e, 0x1400caade call AchievementManager__getAchievementsWithID; Merged with: AchievementManager::getAchievementsWithID, MusicDownloadManager::getDLObject ; +0x41, 0x1400caae1 test rax, rax ; +0x46, 0x1400caae6 jz short loc_1400CAAF2 ; +0x49, 0x1400caae9 mov byte ptr [rax+0CCh], 1 ; +0x4b, 0x1400caaeb mov rdx, rbx ; +0x52, 0x1400caaf2 mov rcx, rsi ; +0x55, 0x1400caaf5 call MusicDownloadManager__removeDLFromActive ; +0x58, 0x1400caaf8 mov edx, [rdi+1F0h] ; +0x5d, 0x1400caafd lea rcx, [rdi+140h] ; +0x63, 0x1400cab03 mov rax, [rcx] ; +0x6a, 0x1400cab0a mov r8d, 3 ; +0x6d, 0x1400cab0d mov rbx, [rsp+28h+arg_0] ; +0x73, 0x1400cab13 mov rsi, [rsp+28h+arg_8] ; +0x78, 0x1400cab18 add rsp, 20h ; +0x7d, 0x1400cab1d pop rdi ; +0x81, 0x1400cab21 jmp qword ptr [rax+20h] ; +0x82, 0x1400cab22