; ; CustomSFXWidget::onDownload from 0x1400c1a30 to 0x1400c1b25 (245 bytes) ; ; 3 xrefs: ; > CustomSFXWidget::FLAlert_Clicked @ 0x1400c295a ; > CustomSFXWidget::init @ 0x1400c0d69 ; > @ 0x1406c7f80 ; ; 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 ; push rbx ; +0x0, 0x1400c1a30 sub rsp, 20h ; +0x2, 0x1400c1a32 mov rbx, rcx ; +0x6, 0x1400c1a36 mov rcx, [rcx+170h] ; +0x9, 0x1400c1a39 mov rax, [rcx] ; +0x10, 0x1400c1a40 xor edx, edx ; +0x13, 0x1400c1a43 call qword ptr [rax+140h] ; +0x15, 0x1400c1a45 cmp qword ptr [rbx+150h], 0 ; +0x1b, 0x1400c1a4b jz loc_1400C1B1F ; +0x23, 0x1400c1a53 mov rcx, cs:qword_1406C2ED8 ; +0x29, 0x1400c1a59 test rcx, rcx ; +0x30, 0x1400c1a60 jnz short loc_1400C1A94 ; +0x33, 0x1400c1a63 mov ecx, 668h; Size ; +0x35, 0x1400c1a65 call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0x3a, 0x1400c1a6a mov [rsp+28h+arg_0], rax ; +0x3f, 0x1400c1a6f mov rcx, rax ; +0x44, 0x1400c1a74 call sub_14017AB00 ; +0x47, 0x1400c1a77 nop ; +0x4c, 0x1400c1a7c mov cs:qword_1406C2ED8, rax ; +0x4d, 0x1400c1a7d mov rdx, [rax] ; +0x54, 0x1400c1a84 mov rcx, rax ; +0x57, 0x1400c1a87 call qword ptr [rdx+48h] ; +0x5a, 0x1400c1a8a mov rcx, cs:qword_1406C2ED8 ; +0x5d, 0x1400c1a8d lea rdx, a0016; "0016" ; +0x64, 0x1400c1a94 call GameManager__getGameVariable ; +0x6b, 0x1400c1a9b test al, al ; +0x70, 0x1400c1aa0 jnz short loc_1400C1ABA ; +0x72, 0x1400c1aa2 call MusicDownloadManager__sharedState ; +0x74, 0x1400c1aa4 lea rdx, [rbx+148h] ; +0x79, 0x1400c1aa9 add rsp, 20h ; +0x80, 0x1400c1ab0 pop rbx ; +0x84, 0x1400c1ab4 jmp MusicDownloadManager__showTOS ; +0x85, 0x1400c1ab5 mov rcx, rbx ; +0x8a, 0x1400c1aba call CustomSFXWidget__showLoadingArt ; +0x8d, 0x1400c1abd mov rcx, [rbx+178h] ; +0x92, 0x1400c1ac2 mov rax, [rcx] ; +0x99, 0x1400c1ac9 xor edx, edx ; +0x9c, 0x1400c1acc call qword ptr [rax+140h] ; +0x9e, 0x1400c1ace mov rcx, [rbx+180h] ; +0xa4, 0x1400c1ad4 mov rax, [rcx] ; +0xab, 0x1400c1adb mov dl, 1 ; +0xae, 0x1400c1ade call qword ptr [rax+140h] ; +0xb0, 0x1400c1ae0 mov rcx, [rbx+198h] ; +0xb6, 0x1400c1ae6 mov rax, [rcx] ; +0xbd, 0x1400c1aed xor edx, edx ; +0xc0, 0x1400c1af0 call qword ptr [rax+140h] ; +0xc2, 0x1400c1af2 mov byte ptr [rbx+1C3h], 0 ; +0xc8, 0x1400c1af8 call MusicDownloadManager__sharedState ; +0xcf, 0x1400c1aff mov rcx, rax ; +0xd4, 0x1400c1b04 mov edx, [rbx+1C8h] ; +0xd7, 0x1400c1b07 call MusicDownloadManager__downloadSFX ; +0xdd, 0x1400c1b0d mov rcx, rbx ; +0xe2, 0x1400c1b12 add rsp, 20h ; +0xe5, 0x1400c1b15 pop rbx ; +0xe9, 0x1400c1b19 jmp CustomSFXWidget__startMonitorDownload ; +0xea, 0x1400c1b1a add rsp, 20h ; +0xef, 0x1400c1b1f pop rbx ; +0xf3, 0x1400c1b23 retn ; +0xf4, 0x1400c1b24