// // Slider::setMaxOffset from 0x140071e40 to 0x140071ed3 (147 bytes) // // 7 xrefs: // > ColorSelectLiveOverlay::init @ 0x14008c43e // > ColorSelectLiveOverlay::init @ 0x14008c52d // > ColorSelectLiveOverlay::init @ 0x14008c615 // > ColorSelectLiveOverlay::init @ 0x14008c6fd // > CreateParticlePopup::createParticleSlider @ 0x140430e19 // > SetupTriggerPopup::createValueControlAdvanced @ 0x1404767d4 // > @ 0x1406c62c4 // // 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 Slider::setMaxOffset(Slider *a1, float a2) { SliderTouchLogic *m_touchLogic; // rbx float v3; // xmm0_4 SliderThumb *m_thumb; // rdi float Value; // xmm0_4 SliderThumb_vtbl *v6; // rbx float v7; // xmm6_4 const cocos2d::CCPoint *v8; // rax cocos2d::CCPoint v9; // [rsp+50h] [rbp+8h] BYREF m_touchLogic = a1->m_touchLogic; v3 = m_touchLogic->m_thumb->getScale(m_touchLogic->m_thumb); m_thumb = m_touchLogic->m_thumb; m_touchLogic->m_length = v3 * a2; Value = SliderThumb::getValue(m_thumb); v6 = m_thumb->cocos2d::CCMenuItemImage::cocos2d::CCMenuItemSprite::cocos2d::CCMenuItem::cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable; *(float *)&m_thumb->m_pDisabledImage = a2; v7 = Value; cocos2d::CCPoint::CCPoint(&v9, 0.0, 0.0); v6->setPosition_0(m_thumb, v8); SliderThumb::setValue(m_thumb, v7); }
GD Web Decomp Icon

GD Web Decomp

Raw Source