// // LevelInfoLayer::addProgressBar from 0x49a048 to 0x49a116 (206 bytes) // // 3 xrefs: // > LevelInfoLayer::setupPlatformerStats @ 0x49cf22 // > LevelInfoLayer::setupProgressBars @ 0x49d30e // > LevelInfoLayer::setupProgressBars @ 0x49d414 // // 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:49:44 +0000 // int __fastcall LevelInfoLayer::addProgressBar( int a1, int a2, const char *a3, int a4, cocos2d::CCLabelBMFont *a5, cocos2d::CCLabelBMFont *a6) { int ProgressBar; // r7 const char *v9; // r2 int v10; // r5 const char *v11; // r2 int v12; // r5 void (__fastcall *v13)(int, _BYTE *); // r10 _BYTE v15[8]; // [sp+Ch] [bp-14h] BYREF _BYTE v16[8]; // [sp+14h] [bp-Ch] BYREF ProgressBar = GameToolbox::createProgressBar(1060320051, a3, a4); (*(void (__fastcall **)(int, int, int))(*(_DWORD *)a1 + 232))(a1, ProgressBar, 3); (*(void (__fastcall **)(int, int))(*(_DWORD *)ProgressBar + 92))(ProgressBar, a2); v10 = cocos2d::CCLabelBMFont::create(a6, "bigFont.fnt", v9); (*(void (__fastcall **)(int, int, int))(*(_DWORD *)a1 + 232))(a1, v10, 4); (*(void (__fastcall **)(int, int))(*(_DWORD *)v10 + 92))(v10, a2); (*(void (__fastcall **)(int, int))(*(_DWORD *)v10 + 80))(v10, 1053609165); v12 = cocos2d::CCLabelBMFont::create(a5, "bigFont.fnt", v11); (*(void (__fastcall **)(int, int, int))(*(_DWORD *)a1 + 232))(a1, v12, 4); v13 = *(void (__fastcall **)(int, _BYTE *))(*(_DWORD *)v12 + 92); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v15, 0.0, 15.0); cocos2d::CCPoint::operator+(v16, a2, v15); v13(v12, v16); (*(void (__fastcall **)(int, int))(*(_DWORD *)v12 + 80))(v12, 1053609165); return ProgressBar; }
GD Web Decomp Icon

GD Web Decomp

Raw Source