//
// SliderThumb::setMaxOffset from 0x2f5584 to 0x2f55d2 (78 bytes)
//
// 1 xrefs:
// > SliderTouchLogic::setMaxOffset @ 0x2f576e
//
// 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
//
void SliderThumb::setMaxOffset(SliderThumb *a1, float a2)
{
float Value; // r0
SliderThumb_vtbl *v5; // r3
void (__fastcall *setPosition)(cocos2d::CCNode *__hidden, const cocos2d::CCPoint *); // r8
float v7; // r7
cocos2d::CCPoint v8; // [sp+4h] [bp-Ch] BYREF
v8.x = a2;
Value = SliderThumb::getValue(a1);
v5 = a1->cocos2d::CCMenuItemImage::cocos2d::CCMenuItemSprite::cocos2d::CCMenuItem::cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;
a1->m_length = a2;
setPosition = v5->setPosition;
v7 = Value;
cocos2d::CCPoint::CCPoint(&v8, 0.0, 0.0);
setPosition(a1, &v8);
SliderThumb::setValue(a1, v7);
}