//
// CustomSFXWidget::startMonitorDownload from 0x1400c1b30 to 0x1400c1bd9 (169 bytes)
//
// 3 xrefs:
// > CustomSFXWidget::init @ 0x1400c1622
// > CustomSFXWidget::onDownload @ 0x1400c1b1a
// > ??> @ 0x1406c7f8c
//
// 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 CustomSFXWidget::startMonitorDownload(CustomSFXWidget *a1)
{
cocos2d::CCSprite *m_progressBarSprite; // rbx
cocos2d::CCSprite_vtbl *v3; // rdi
const cocos2d::CCRect *v4; // rax
cocos2d::CCRect v5; // [rsp+30h] [rbp-18h] BYREF
m_progressBarSprite = a1->m_progressBarSprite;
v3 = m_progressBarSprite->cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;
cocos2d::CCRect::CCRect(
&v5,
0.0,
0.0,
fminf(
a1->m_progressOutlineSprite->m_obRect.size.width - 4.0,
(float)(a1->m_progressOutlineSprite->m_obRect.size.width - 4.0) * 0.0),
8.0);
v3->setTextureRect_0(m_progressBarSprite, v4);
CustomSFXWidget::showLoadingArt(a1);
cocos2d::CCNode::unschedule(a1, CustomSFXWidget::updateDownloadProgress);
cocos2d::CCNode::schedule(a1, CustomSFXWidget::updateDownloadProgress);
}