//
// CustomSFXWidget::startMonitorDownload from 0x1005e45b0 to 0x1005e464e (158 bytes)
//
// 0 xrefs:
//
// 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
//
void __fastcall CustomSFXWidget::startMonitorDownload(CustomSFXWidget *a1)
{
cocos2d::CCSprite *m_progressBarSprite; // r14
__m128 width_low; // xmm0
__m128 v3; // xmm2
_BYTE v4[40]; // [rsp+8h] [rbp-28h] BYREF
m_progressBarSprite = a1->m_progressBarSprite;
width_low = (__m128)LODWORD(a1->m_progressOutlineSprite->m_obRect.size.width);
width_low.f32[0] = width_low.f32[0] + -4.0;
v3 = width_low;
v3.f32[0] = fminf(width_low.f32[0] * 0.0, width_low.f32[0]);
sub_10028CC00((__int64)v4, 0.0, 0.0, v3, (__m128)0x41000000u);
((void (__fastcall *)(cocos2d::CCSprite *, _BYTE *))m_progressBarSprite->setTextureRect)(m_progressBarSprite, v4);
CustomSFXWidget::showLoadingArt(a1);
cocos2d::CCNode::unschedule(a1, (cocos2d::SEL_SCHEDULE)(unsigned __int64)CustomSFXWidget::updateDownloadProgress);
cocos2d::CCNode::schedule_1(
a1,
(cocos2d::SEL_SCHEDULE)(unsigned __int64)CustomSFXWidget::updateDownloadProgress,
0.033333335);
}