//
// cocos2d::extension::CCControlSlider::setThumbSprite from 0x1800078b0 to 0x1800078fb (75 bytes)
//
// 2 xrefs:
// > ??> @ 0x18002fdf8
// > ??> @ 0x1800497a4
//
// 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 '?setBackgroundSprite@CCControlButton@extension@cocos2d@@QEAAXPEAVCCScale9Sprite@23@@Z'
// Alternative name is '?setPlusLabel@CCControlStepper@extension@cocos2d@@QEAAXPEAVCCLabelTTF@3@@Z'
void __fastcall cocos2d::extension::CCControlSlider::setThumbSprite(
cocos2d::extension::CCControlSlider *this,
struct cocos2d::CCSprite *a2)
{
cocos2d::CCObject *v4; // rcx
if ( *((struct cocos2d::CCSprite **)this + 62) != a2 )
{
if ( a2 )
cocos2d::CCObject::retain(a2);
v4 = *((cocos2d::CCObject **)this + 62);
if ( v4 )
cocos2d::CCObject::release(v4);
*((_QWORD *)this + 62) = a2;
}
}