; ; CustomSongWidget::startDownload from 0x1400cada0 to 0x1400cae53 (179 bytes) ; ; 5 xrefs: ; > CustomSongWidget::init @ 0x1400c95c1 ; > CustomSongWidget::onDownload @ 0x1400cad76 ; > CustomSongWidget::loadSongInfoFinished @ 0x1400ccdc1 ; > CustomSongWidget::downloadSongStarted @ 0x1400ccf15 ; > @ 0x1406c8304 ; ; 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, 0x1400cada0 mov [rsp+arg_8], rsi ; +0x5, 0x1400cada5 push rdi ; +0xa, 0x1400cadaa sub rsp, 40h ; +0xb, 0x1400cadab mov rax, [rcx+1C0h] ; +0xf, 0x1400cadaf xorps xmm1, xmm1 ; +0x16, 0x1400cadb6 mov rbx, [rcx+1C8h] ; +0x19, 0x1400cadb9 mov rsi, rcx ; +0x20, 0x1400cadc0 xorps xmm2, xmm2 ; +0x23, 0x1400cadc3 lea rcx, [rsp+48h+var_18] ; +0x26, 0x1400cadc6 movss xmm3, dword ptr [rax+1B0h] ; +0x2b, 0x1400cadcb subss xmm3, cs:dword_140622FF0 ; +0x33, 0x1400cadd3 mov rdi, [rbx] ; +0x3b, 0x1400caddb movaps xmm0, xmm3 ; +0x3e, 0x1400cadde mulss xmm0, xmm1 ; +0x41, 0x1400cade1 minss xmm3, xmm0 ; +0x45, 0x1400cade5 movss xmm0, cs:dword_140623068 ; +0x49, 0x1400cade9 movss [rsp+48h+var_28], xmm0 ; +0x51, 0x1400cadf1 call cs:??0CCRect@cocos2d@@QEAA@MMMM@Z; cocos2d::CCRect::CCRect(float,float,float,float) ; +0x57, 0x1400cadf7 mov rdx, rax ; +0x5d, 0x1400cadfd mov rcx, rbx ; +0x60, 0x1400cae00 call qword ptr [rdi+3D0h] ; +0x63, 0x1400cae03 mov rcx, [rsi+1C0h] ; +0x69, 0x1400cae09 mov dl, 1 ; +0x70, 0x1400cae10 mov rax, [rcx] ; +0x72, 0x1400cae12 call qword ptr [rax+140h] ; +0x75, 0x1400cae15 lea rdx, CustomSongWidget__updateDownloadProgress ; +0x7b, 0x1400cae1b mov rcx, rsi ; +0x82, 0x1400cae22 call cs:?unschedule@CCNode@cocos2d@@QEAAXP8CCObject@2@EAAXM@Z@Z; cocos2d::CCNode::unschedule(void (cocos2d::CCObject::*)(float)) ; +0x85, 0x1400cae25 movss xmm2, cs:dword_1406229D4 ; +0x8b, 0x1400cae2b lea rdx, CustomSongWidget__updateDownloadProgress ; +0x93, 0x1400cae33 mov rcx, rsi ; +0x9a, 0x1400cae3a mov rbx, [rsp+48h+arg_0] ; +0x9d, 0x1400cae3d mov rsi, [rsp+48h+arg_8] ; +0xa2, 0x1400cae42 add rsp, 40h ; +0xa7, 0x1400cae47 pop rdi ; +0xab, 0x1400cae4b jmp cs:?schedule@CCNode@cocos2d@@QEAAXP8CCObject@2@EAAXM@ZM@Z; cocos2d::CCNode::schedule(void (cocos2d::CCObject::*)(float),float) ; +0xac, 0x1400cae4c