// // CustomSFXWidget::updateProgressBar from 0x6a6060 to 0x6a60da (122 bytes) // // 3 xrefs: // > CustomSFXWidget::startMonitorDownload @ 0x6a6258 // > CustomSFXWidget::updateDownloadProgress @ 0x6a6ea2 // > CustomSFXWidget::init @ 0x6a7c52 // // 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:56:30 +0000 // int __fastcall CustomSFXWidget::updateProgressBar(CustomSFXWidget *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); }