//
// GameToolbox::createProgressBar from 0x3cd920 to 0x3cd968 (72 bytes)
//
// 5 xrefs:
// > PauseLayer::setupSessionProgressBar @ 0x48f1ca
// > PauseLayer::setupLegacyProgressBars @ 0x48f3ee
// > PauseLayer::setupLegacyProgressBars @ 0x48f450
// > LevelInfoLayer::addProgressBar @ 0x49a070
// > RetryLevelLayer::setupLastProgress @ 0x5471c4
//
// 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:46:38 +0000
//
int __fastcall GameToolbox::createProgressBar(int a1, const char *a2, int a3)
{
int v5; // r4
v5 = cocos2d::CCSprite::create((cocos2d::CCSprite *)"GJ_progressBar_001.png", a2);
(*(void (__fastcall **)(int, void *))(*(_DWORD *)v5 + 480))(v5, &unk_BEADC6);
(*(void (__fastcall **)(int, int))(*(_DWORD *)v5 + 456))(v5, 125);
(*(void (__fastcall **)(int, int))(*(_DWORD *)v5 + 80))(v5, a1);
GameToolbox::addProgressBarFill(v5, a2, a3, 1);
return v5;
}