; ; CustomSongWidget::downloadSongFinished from 0x1400ccf20 to 0x1400ccfdf (191 bytes) ; ; 2 xrefs: ; > @ 0x14054ec78 ; > @ 0x1406c8394 ; ; 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, 0x1400ccf20 push rdi ; +0x5, 0x1400ccf25 sub rsp, 20h ; +0x6, 0x1400ccf26 cmp byte ptr [rcx+0C9h], 0 ; +0xa, 0x1400ccf2a mov rbx, rcx ; +0x11, 0x1400ccf31 jz short loc_1400CCF52 ; +0x14, 0x1400ccf34 mov r8d, 1 ; +0x16, 0x1400ccf36 add rcx, 0FFFFFFFFFFFFFEC0h ; +0x1c, 0x1400ccf3c mov rbx, [rsp+28h+arg_0] ; +0x23, 0x1400ccf43 add rsp, 20h ; +0x28, 0x1400ccf48 pop rdi ; +0x2c, 0x1400ccf4c jmp CustomSongWidget__downloadAssetFinished ; +0x2d, 0x1400ccf4d mov eax, [rcx+0B0h] ; +0x32, 0x1400ccf52 cmp eax, edx ; +0x38, 0x1400ccf58 jnz short loc_1400CCFD4 ; +0x3a, 0x1400ccf5a test eax, eax ; +0x3c, 0x1400ccf5c jz short loc_1400CCFD4 ; +0x3e, 0x1400ccf5e mov rcx, [rcx+38h] ; +0x40, 0x1400ccf60 lea rdx, stru_140529A30 ; +0x44, 0x1400ccf64 add rcx, 170h ; +0x4b, 0x1400ccf6b mov rax, [rcx] ; +0x52, 0x1400ccf72 call qword ptr [rax] ; +0x55, 0x1400ccf75 mov rcx, [rbx+38h] ; +0x57, 0x1400ccf77 lea rdx, aDownloadComple; "Download complete." ; +0x5b, 0x1400ccf7b add rcx, 168h ; +0x62, 0x1400ccf82 mov rax, [rcx] ; +0x69, 0x1400ccf89 call qword ptr [rax] ; +0x6c, 0x1400ccf8c cmp byte ptr [rbx+0ADh], 0 ; +0x6e, 0x1400ccf8e xorps xmm3, xmm3 ; +0x75, 0x1400ccf95 mov rcx, [rbx+38h] ; +0x78, 0x1400ccf98 jz short loc_1400CCFB0 ; +0x7c, 0x1400ccf9c movss xmm2, cs:dword_140622ABC ; +0x7e, 0x1400ccf9e movss xmm1, cs:dword_140623338 ; +0x86, 0x1400ccfa6 jmp short loc_1400CCFC0 ; +0x8e, 0x1400ccfae movss xmm2, cs:dword_140622AD0 ; +0x90, 0x1400ccfb0 movss xmm1, cs:dword_140623400 ; +0x98, 0x1400ccfb8 call cs:?limitLabelWidth@CCLabelBMFont@cocos2d@@QEAAXMMM@Z; cocos2d::CCLabelBMFont::limitLabelWidth(float,float,float) ; +0xa0, 0x1400ccfc0 mov dl, 1 ; +0xa6, 0x1400ccfc6 lea rcx, [rbx-140h] ; +0xa8, 0x1400ccfc8 call CustomSongWidget__showError ; +0xaf, 0x1400ccfcf mov rbx, [rsp+28h+arg_0] ; +0xb4, 0x1400ccfd4 add rsp, 20h ; +0xb9, 0x1400ccfd9 pop rdi ; +0xbd, 0x1400ccfdd retn ; +0xbe, 0x1400ccfde