//
// GameToolbox::createProgressBar from 0x69cfac to 0x69d038 (140 bytes)
//
// 6 xrefs:
// > PauseLayer::setupSessionProgressBar @ 0x7d5bf8
// > PauseLayer::setupLegacyProgressBars @ 0x7d5f54
// > PauseLayer::setupLegacyProgressBars @ 0x7d5fc8
// > LevelInfoLayer::addProgressBar @ 0x7e5dc0
// > RetryLevelLayer::setupLastProgress @ 0x91892c
// > ??> @ 0x46090
//
// 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
//
__int64 __fastcall GameToolbox::createProgressBar(int a1, const char *a2, long double a3)
{
__int64 v4; // x19
v4 = cocos2d::CCSprite::create((cocos2d::CCSprite *)"GJ_progressBar_001.png", a2);
(*(void (__fastcall **)(__int64, void *))(*(_QWORD *)v4 + 960LL))(v4, &unk_111C360);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v4 + 912LL))(v4, 125);
(*(void (__fastcall **)(__int64, long double))(*(_QWORD *)v4 + 160LL))(v4, a3);
GameToolbox::addProgressBarFill(v4, a1, (__int64)a2, 1u);
return v4;
}