//
// cocos2d::CCProgressTo::update from 0x1800395b0 to 0x1800395cf (31 bytes)
//
// 3 xrefs:
// > ??> @ 0x1800ea158
// > ??> @ 0x1800ea1d0
// > ??> @ 0x1801438a8
//
// 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
//
// Alternative name is '?update@CCProgressFromTo@cocos2d@@UEAAXM@Z'
void __fastcall cocos2d::CCProgressTo::update(cocos2d::CCProgressTo *this, float a2)
{
cocos2d::CCProgressTimer::setPercentage(
(cocos2d::CCProgressTimer *)this->m_pTarget,
(float)((float)(*((float *)this + 24) - *((float *)this + 25)) * a2) + *((float *)this + 25));
}