//
// GameToolbox::createProgressBar from 0x14006f2b0 to 0x14006f361 (177 bytes)
//
// 6 xrefs:
// > LevelInfoLayer::addProgressBar @ 0x14041fc37
// > PauseLayer::setupSessionProgressBar @ 0x1404d9f4f
// > PauseLayer::setupLegacyProgressBars @ 0x1404da28e
// > PauseLayer::setupLegacyProgressBars @ 0x1404da324
// > RetryLevelLayer::setupLastProgress @ 0x1405611e7
// > ??> @ 0x14091175c
//
// 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::createProgressBar(__int64 a1, unsigned int a2, __int16 *a3)
{
struct cocos2d::CCSprite *v5; // rsi
__int64 v6; // rdx
__int16 v8; // [rsp+50h] [rbp+18h] BYREF
char v9; // [rsp+52h] [rbp+1Ah]
v5 = cocos2d::CCSprite::create("GJ_progressBar_001.png");
(**((void (__fastcall ***)(__int64, void *))v5 + 40))((__int64)v5 + 320, &unk_1406FE7C0);
LOBYTE(v6) = 125;
(*(void (__fastcall **)(__int64, __int64))(*((_QWORD *)v5 + 40) + 40LL))((__int64)v5 + 320, v6);
(*(void (__fastcall **)(struct cocos2d::CCSprite *))(*(_QWORD *)v5 + 160LL))(v5);
v8 = *a3;
v9 = *((_BYTE *)a3 + 2);
GameToolbox::addProgressBarFill(v5, a2, &v8, 1);
return v5;
}