// // GameToolbox::addProgressBarFill from 0x69ce08 to 0x69cfa0 (408 bytes) // // 3 xrefs: // > GameToolbox::createProgressBar @ 0x69d024 // > PauseLayer::setupSessionProgressBar @ 0x7d5c5c // > @ 0x621d0 // // This function is hookable on this platform (idp: arm, 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:50:40 +0000 // float *__fastcall GameToolbox::addProgressBarFill(__int64 a1, int a2, __int64 a3, unsigned int a4) { float *v6; // x19 float v7; // s8 void (__fastcall *v8)(float *, _BYTE *); // x25 __int64 v9; // x0 __int64 (__fastcall *v10)(__int64); // x1 void (__fastcall *v11)(float *, _BYTE *); // x24 __int64 v12; // x0 float v13; // s0 void (__fastcall *v14)(float *, _BYTE *); // x20 float v15; // s2 __int64 v18; // [xsp+68h] [xbp+68h] BYREF _BYTE v19[16]; // [xsp+78h] [xbp+78h] BYREF v18 = a3; v6 = (float *)cocos2d::CCSprite::create((cocos2d::CCSprite *)"GJ_progressBar_001.png", _stack_chk_guard); (*(void (__fastcall **)(float *, float))(*(_QWORD *)v6 + 128LL))(v6, 0.992); (*(void (__fastcall **)(float *, float))(*(_QWORD *)v6 + 144LL))(v6, 0.86); (*(void (__fastcall **)(float *, __int64 *))(*(_QWORD *)v6 + 960LL))(v6, &v18); v7 = v6[108]; (*(void (__fastcall **)(__int64, float *, _QWORD))(*(_QWORD *)a1 + 464LL))(a1, v6, a4); v8 = *(void (__fastcall **)(float *, _BYTE *))(*(_QWORD *)v6 + 296LL); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v19, 0.0, 0.5); v8(v6, v19); v9 = a1; v10 = *(__int64 (__fastcall **)(__int64))(*(_QWORD *)a1 + 328LL); v11 = *(void (__fastcall **)(float *, _BYTE *))(*(_QWORD *)v6 + 184LL); v12 = v10(v9); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v19, (float)(v7 - (float)(v7 * 0.992)) * 0.5, *(float *)(v12 + 4) * 0.5); v11(v6, v19); v13 = (float)a2; v14 = *(void (__fastcall **)(float *, _BYTE *))(*(_QWORD *)v6 + 1136LL); v15 = (float)(v13 / 100.0) * v7; if ( v7 <= v15 ) v15 = v7; cocos2d::CCRect::CCRect((cocos2d::CCRect *)v19, 0.0, 0.0, v15, v6[109]); v14(v6, v19); return v6; }
GD Web Decomp Icon

GD Web Decomp

Raw Source