//
// cocos2d::CCProgressTimer::updateProgress from 0x7e0114 to 0x7e0128 (20 bytes)
//
// 1 xrefs:
// > cocos2d::CCProgressTimer::setPercentage @ 0x7e0152
//
// 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 12:00:48 +0000
//
float __fastcall cocos2d::CCProgressTimer::updateProgress(float this)
{
int v1; // r3
v1 = *(_DWORD *)(LODWORD(this) + 280);
if ( !v1 )
return cocos2d::CCProgressTimer::updateRadial(this);
if ( v1 == 1 )
return COERCE_FLOAT(cocos2d::CCProgressTimer::updateBar((float *)LODWORD(this)));
return this;
}