; ; CustomSFXWidget::updateProgressBar from 0x1400c1ed0 to 0x1400c1f4f (127 bytes) ; ; 2 xrefs: ; > CustomSFXWidget::updateDownloadProgress @ 0x1400c1e98 ; > @ 0x1406c7fb0 ; ; 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, 0x1400c1ed0 push rdi ; +0x5, 0x1400c1ed5 sub rsp, 40h ; +0x6, 0x1400c1ed6 mov rax, [rcx+1A0h] ; +0xa, 0x1400c1eda xorps xmm2, xmm2 ; +0x11, 0x1400c1ee1 mov rbx, [rcx+1A8h] ; +0x14, 0x1400c1ee4 xorps xmm1, xmm1 ; +0x1b, 0x1400c1eeb lea rcx, [rsp+48h+var_18] ; +0x1e, 0x1400c1eee movss xmm3, dword ptr [rax+1B0h] ; +0x23, 0x1400c1ef3 xor eax, eax ; +0x2b, 0x1400c1efb subss xmm3, cs:dword_140622FF0 ; +0x2d, 0x1400c1efd mov rdi, [rbx] ; +0x35, 0x1400c1f05 test edx, edx ; +0x38, 0x1400c1f08 cmovs edx, eax ; +0x3a, 0x1400c1f0a movd xmm0, edx ; +0x3d, 0x1400c1f0d cvtdq2ps xmm0, xmm0 ; +0x41, 0x1400c1f11 divss xmm0, cs:dword_1406232BC ; +0x44, 0x1400c1f14 mulss xmm0, xmm3 ; +0x4c, 0x1400c1f1c minss xmm3, xmm0 ; +0x50, 0x1400c1f20 movss xmm0, cs:dword_140623068 ; +0x54, 0x1400c1f24 movss [rsp+48h+var_28], xmm0 ; +0x5c, 0x1400c1f2c call cs:??0CCRect@cocos2d@@QEAA@MMMM@Z; cocos2d::CCRect::CCRect(float,float,float,float) ; +0x62, 0x1400c1f32 mov rdx, rax ; +0x68, 0x1400c1f38 mov rcx, rbx ; +0x6b, 0x1400c1f3b call qword ptr [rdi+3D0h] ; +0x6e, 0x1400c1f3e mov rbx, [rsp+48h+arg_0] ; +0x74, 0x1400c1f44 add rsp, 40h ; +0x79, 0x1400c1f49 pop rdi ; +0x7d, 0x1400c1f4d retn ; +0x7e, 0x1400c1f4e