// // CustomSongWidget::updateProgressBar from 0x4e25f8 to 0x4e2672 (122 bytes) // // 3 xrefs: // > CustomSongWidget::startMonitorDownload @ 0x4e2684 // > CustomSongWidget::init @ 0x4e4c6c // > CustomSongWidget::updateDownloadProgress @ 0x4e4fec // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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 11:51:02 +0000 // int __fastcall CustomSongWidget::updateProgressBar(CustomSongWidget *this, int a2) { int v2; // r6 int v3; // r3 float v4; // s14 int (__fastcall *v5)(int, _BYTE *); // r7 float v6; // r3 _BYTE v8[16]; // [sp+Ch] [bp-18h] BYREF v2 = *((_DWORD *)this + 84); v3 = *((_DWORD *)this + 83); v4 = *(float *)(v3 + 344) - 4.0; v5 = *(int (__fastcall **)(int, _BYTE *))(*(_DWORD *)v2 + 568); if ( v4 > (float)(v4 * (float)((float)(a2 & ~(a2 >> 31)) / 100.0)) ) v6 = v4 * (float)((float)(a2 & ~(a2 >> 31)) / 100.0); else v6 = *(float *)(v3 + 344) - 4.0; cocos2d::CCRect::CCRect((cocos2d::CCRect *)v8, 0.0, 0.0, v6, 8.0); return v5(v2, v8); }
GD Web Decomp Icon

GD Web Decomp

Raw Source