//
// CustomSongWidget::startMonitorDownload from 0x1006faaf0 to 0x1006fab9b (171 bytes)
//
// 0 xrefs:
//
// 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 12:35:55 +0000
//
__int64 __fastcall CustomSongWidget::startMonitorDownload(__int64 a1)
{
__int64 v1; // r14
__m128 v2; // xmm0
__m128 v3; // xmm2
_BYTE v5[40]; // [rsp+8h] [rbp-28h] BYREF
v1 = *(_QWORD *)(a1 + 464);
v2 = (__m128)*(unsigned int *)(*(_QWORD *)(a1 + 456) + 432LL);
v2.f32[0] = v2.f32[0] + -4.0;
v3 = v2;
v3.f32[0] = fminf(v2.f32[0] * 0.0, v2.f32[0]);
sub_100278270((__int64)v5, 0.0, 0.0, v3, (__m128)0x41000000u);
(*(void (__fastcall **)(__int64, _BYTE *))(*(_QWORD *)v1 + 1136LL))(v1, v5);
(*(void (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 456) + 344LL))(*(_QWORD *)(a1 + 456), 1);
cocos2d::CCNode::unschedule(a1, (__int64)CustomSongWidget::updateDownloadProgress, 0);
return cocos2d::CCNode::schedule_1(
a1,
(__int64)CustomSongWidget::updateDownloadProgress,
0,
COERCE_DOUBLE(1023969417));
}