; ; CustomSFXWidget::updateProgressBar from 0x140162550 to 0x1401625d2 (130 bytes) ; ; 3 xrefs: ; > CustomSFXWidget::updateDownloadProgress @ 0x140162522 ; > CustomSongWidget::updateDownloadProgress @ 0x14016c325 ; > @ 0x140917db0 ; ; 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_0], rbx ; +0x0, 0x140162550 push rdi ; +0x5, 0x140162555 sub rsp, 40h ; +0x6, 0x140162556 mov rax, [rcx+1C8h] ; +0xa, 0x14016255a xorps xmm2, xmm2 ; +0x11, 0x140162561 mov rdi, [rcx+1D0h] ; +0x14, 0x140162564 xorps xmm1, xmm1 ; +0x1b, 0x14016256b lea rcx, [rsp+48h+var_18] ; +0x1e, 0x14016256e movss xmm3, dword ptr [rax+1B0h] ; +0x23, 0x140162573 mov rax, [rdi] ; +0x2b, 0x14016257b subss xmm3, cs:dword_140835450 ; +0x2e, 0x14016257e mov rbx, [rax+3E0h] ; +0x36, 0x140162586 xor eax, eax ; +0x3d, 0x14016258d test edx, edx ; +0x3f, 0x14016258f cmovs edx, eax ; +0x41, 0x140162591 movd xmm0, edx ; +0x44, 0x140162594 cvtdq2ps xmm0, xmm0 ; +0x48, 0x140162598 divss xmm0, cs:dword_1408357B0 ; +0x4b, 0x14016259b mulss xmm0, xmm3 ; +0x53, 0x1401625a3 minss xmm3, xmm0 ; +0x57, 0x1401625a7 movss xmm0, cs:dword_1408354D4 ; +0x5b, 0x1401625ab movss [rsp+48h+var_28], xmm0 ; +0x63, 0x1401625b3 call cs:??0CCRect@cocos2d@@QEAA@MMMM@Z; cocos2d::CCRect::CCRect(float,float,float,float) ; +0x69, 0x1401625b9 mov rdx, rax ; +0x6f, 0x1401625bf mov rcx, rdi ; +0x72, 0x1401625c2 call rbx ; +0x75, 0x1401625c5 mov rbx, [rsp+48h+arg_0] ; +0x77, 0x1401625c7 add rsp, 40h ; +0x7c, 0x1401625cc pop rdi ; +0x80, 0x1401625d0 retn ; +0x81, 0x1401625d1