//
// cocos2d::CCProgressTo::update from 0x180039cf0 to 0x180039d0f (31 bytes)
//
// 3 xrefs:
// > ??> @ 0x1800f01b8
// > ??> @ 0x1800f0230
// > ??> @ 0x18014cf68
//
// This function is hookable on this platform (idp: pc, 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:21:36 +0000
//
// Alternative name is '?update@CCProgressFromTo@cocos2d@@UEAAXM@Z'
void __fastcall cocos2d::CCProgressTo::update(cocos2d::CCProgressTimer **this, float a2)
{
cocos2d::CCProgressTimer::setPercentage(
*(this + 8),
(float)((float)(*((float *)this + 24) - *((float *)this + 25)) * a2) + *((float *)this + 25));
}