//
// cocos2d::CCProgressTimer::updateProgress from 0x10047e188 to 0x10047e1a4 (28 bytes)
//
// 1 xrefs:
// > cocos2d::CCProgressTimer::setPercentage @ 0x10047e094
//
// 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 11:05:45 +0000
//
__int64 __fastcall cocos2d::CCProgressTimer::updateProgress(__int64 result)
{
int v1; // w8
v1 = *(_DWORD *)(result + 340);
if ( v1 == 1 )
return cocos2d::CCProgressTimer::updateBar();
if ( !v1 )
return cocos2d::CCProgressTimer::updateRadial();
return result;
}