// // CustomSongWidget::downloadSongStarted from 0x1006fcf60 to 0x1006fd023 (195 bytes) // // 1 xrefs: // > @ 0x100b95dc8 // // 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:56 +0000 // __int64 __fastcall CustomSongWidget::downloadSongStarted(__int64 a1, int a2) { __int64 result; // rax __int64 v3; // r14 __m128 v4; // xmm0 __m128 v5; // xmm2 _BYTE v6[48]; // [rsp-30h] [rbp-30h] BYREF result = *(unsigned int *)(a1 + 504); LOBYTE(result) = (_DWORD)result != a2 || (_DWORD)result == 0; if ( !(_BYTE)result ) { v3 = *(_QWORD *)(a1 + 464); v4 = (__m128)*(unsigned int *)(*(_QWORD *)(a1 + 456) + 432LL); v4.f32[0] = v4.f32[0] + -4.0; v5 = v4; v5.f32[0] = fminf(v4.f32[0] * 0.0, v4.f32[0]); sub_100278270((__int64)v6, 0.0, 0.0, v5, (__m128)0x41000000u); (*(void (__fastcall **)(__int64, _BYTE *))(*(_QWORD *)v3 + 1136LL))(v3, v6); (*(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)); } return result; }