//
// cocos2d::CCProgressTimer::setPercentage from 0x1003fd6dc to 0x1003fd720 (68 bytes)
//
// 3 xrefs:
// > LevelInfoLayer::onPlay @ 0x100026a68
// > LevelInfoLayer::loadLevelStep @ 0x10002a78c
// > cocos2d::CCProgressTimer::initWithSprite @ 0x1003fd628
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void __fastcall cocos2d::CCProgressTimer::setPercentage(cocos2d::CCProgressTimer *a1, float a2)
{
if ( a1->m_fPercentage != a2 )
{
a1->m_fPercentage = cocos2d::clampf(a2, 0.0, 100.0);
cocos2d::CCProgressTimer::updateProgress(a1);
}
}