// // CustomSongWidget::updateProgressBar from 0x1006f99b0 to 0x1006f9a26 (118 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::updateProgressBar(__int64 a1, int a2, double a3, double a4, __m128 a5) { int v5; // eax __int64 v6; // rbx _BYTE v8[32]; // [rsp+0h] [rbp-20h] BYREF v5 = 0; if ( a2 > 0 ) v5 = a2; v6 = *(_QWORD *)(a1 + 464); a5.f32[0] = fminf( (float)((float)v5 / 100.0) * (float)(*(float *)(*(_QWORD *)(a1 + 456) + 432LL) + -4.0), *(float *)(*(_QWORD *)(a1 + 456) + 432LL) + -4.0); sub_100278270((__int64)v8, 0.0, 0.0, a5, (__m128)0x41000000u); return (*(__int64 (__fastcall **)(__int64, _BYTE *))(*(_QWORD *)v6 + 1136LL))(v6, v8); }