// // GameToolbox::addProgressBarFill from 0x14006f370 to 0x14006f4d9 (361 bytes) // // 3 xrefs: // > GameToolbox::createProgressBar @ 0x14006f33f // > PauseLayer::setupSessionProgressBar @ 0x1404d9fb8 // > @ 0x140911768 // // 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 11:25:49 +0000 // struct cocos2d::CCSprite *__fastcall GameToolbox::addProgressBarFill(__int64 a1, int a2, __int64 a3, unsigned int a4) { struct cocos2d::CCSprite *v8; // r14 float v9; // xmm8_4 __int64 v10; // rbx __int64 v11; // rax __int64 v12; // rbx __int64 v13; // rax __int64 v14; // rax void (__fastcall *v15)(struct cocos2d::CCSprite *, __int64); // rbx __int64 v16; // rax _BYTE v18[16]; // [rsp+30h] [rbp-38h] BYREF char v19; // [rsp+70h] [rbp+8h] BYREF v8 = cocos2d::CCSprite::create("GJ_progressBar_001.png"); (*(void (__fastcall **)(struct cocos2d::CCSprite *))(*(_QWORD *)v8 + 120LL))(v8); (*(void (__fastcall **)(struct cocos2d::CCSprite *))(*(_QWORD *)v8 + 136LL))(v8); (**((void (__fastcall ***)(__int64, __int64))v8 + 40))((__int64)v8 + 320, a3); v9 = *((float *)v8 + 108); (*(void (__fastcall **)(__int64, struct cocos2d::CCSprite *, _QWORD))(*(_QWORD *)a1 + 456LL))(a1, v8, a4); v10 = *(_QWORD *)v8; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v19, 0.0, 0.5); (*(void (__fastcall **)(struct cocos2d::CCSprite *, __int64))(v10 + 288))(v8, v11); v12 = *(_QWORD *)v8; v13 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a1 + 320LL))(a1); cocos2d::CCPoint::CCPoint( (cocos2d::CCPoint *)&v19, (float)(v9 - (float)(v9 * 0.99199998)) * 0.5, *(float *)(v13 + 4) * 0.5); (*(void (__fastcall **)(struct cocos2d::CCSprite *, __int64))(v12 + 184))(v8, v14); v15 = *(void (__fastcall **)(struct cocos2d::CCSprite *, __int64))(*(_QWORD *)v8 + 992LL); v16 = cocos2d::CCRect::CCRect( (cocos2d::CCRect *)v18, 0.0, 0.0, fminf(v9, (float)((float)a2 / 100.0) * v9), *((float *)v8 + 109)); v15(v8, v16); return v8; }
GD Web Decomp Icon

GD Web Decomp

Raw Source