//
// cocos2d::extension::CCControlPotentiometer::setProgressTimer from 0x180008720 to 0x18000876b (75 bytes)
//
// 2 xrefs:
// > ??> @ 0x180032408
// > ??> @ 0x18004b864
//
// 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 12:15:36 +0000
//
// Alternative name is '?setBackground@CCControlHuePicker@extension@cocos2d@@QEAAXPEAVCCSprite@3@@Z'
// Alternative name is '?setPlusSprite@CCControlStepper@extension@cocos2d@@QEAAXPEAVCCSprite@3@@Z'
void __fastcall cocos2d::extension::CCControlPotentiometer::setProgressTimer(
cocos2d::extension::CCControlPotentiometer *this,
struct cocos2d::CCProgressTimer *a2)
{
cocos2d::CCObject *v4; // rcx
if ( *((struct cocos2d::CCProgressTimer **)this + 60) != a2 )
{
if ( a2 )
cocos2d::CCObject::retain(a2);
v4 = *((cocos2d::CCObject **)this + 60);
if ( v4 )
cocos2d::CCObject::release(v4);
*((_QWORD *)this + 60) = a2;
}
}