// // CustomSongWidget::downloadSongStarted from 0x1006207f0 to 0x1006208b3 (195 bytes) // // 1 xrefs: // > @ 0x100982248 // // 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 CustomSongWidget::downloadSongStarted(CustomSongWidget *a1, int a2) { cocos2d::CCSprite *m_sliderBar; // r14 __m128 width_low; // xmm0 __m128 v4; // xmm2 _BYTE v5[48]; // [rsp-30h] [rbp-30h] BYREF if ( a1->m_customSongID == a2 && a1->m_customSongID != 0 ) { m_sliderBar = a1->m_sliderBar; width_low = (__m128)LODWORD(a1->m_sliderGroove->m_obRect.size.width); width_low.f32[0] = width_low.f32[0] + -4.0; v4 = width_low; v4.f32[0] = fminf(width_low.f32[0] * 0.0, width_low.f32[0]); sub_10028CC00((__int64)v5, 0.0, 0.0, v4, (__m128)0x41000000u); ((void (__fastcall *)(cocos2d::CCSprite *, _BYTE *))m_sliderBar->setTextureRect)(m_sliderBar, v5); ((void (__fastcall *)(cocos2d::CCSprite *, __int64))a1->m_sliderGroove->setVisible)(a1->m_sliderGroove, 1); cocos2d::CCNode::unschedule(a1, (cocos2d::SEL_SCHEDULE)(unsigned __int64)CustomSongWidget::updateDownloadProgress); cocos2d::CCNode::schedule_1( a1, (cocos2d::SEL_SCHEDULE)(unsigned __int64)CustomSongWidget::updateDownloadProgress, 0.033333335); } }