{"type": "func", "start": 5369175616, "end": 5369175763, "name": "Slider::setMaxOffset", "pseudocode": "// \n// Slider::setMaxOffset from 0x140071e40 to 0x140071ed3 (147 bytes)\n// \n// 7 xrefs:\n// > ColorSelectLiveOverlay::init @ 0x14008c43e\n// > ColorSelectLiveOverlay::init @ 0x14008c52d\n// > ColorSelectLiveOverlay::init @ 0x14008c615\n// > ColorSelectLiveOverlay::init @ 0x14008c6fd\n// > CreateParticlePopup::createParticleSlider @ 0x140430e19\n// > SetupTriggerPopup::createValueControlAdvanced @ 0x1404767d4\n// > <???> @ 0x1406c62c4\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nvoid Slider::setMaxOffset(Slider *a1, float a2)\n{\n  SliderTouchLogic *m_touchLogic; // rbx\n  float v3; // xmm0_4\n  SliderThumb *m_thumb; // rdi\n  float Value; // xmm0_4\n  SliderThumb_vtbl *v6; // rbx\n  float v7; // xmm6_4\n  const cocos2d::CCPoint *v8; // rax\n  cocos2d::CCPoint v9; // [rsp+50h] [rbp+8h] BYREF\n\n  m_touchLogic = a1->m_touchLogic;\n  v3 = m_touchLogic->m_thumb->getScale(m_touchLogic->m_thumb);\n  m_thumb = m_touchLogic->m_thumb;\n  m_touchLogic->m_length = v3 * a2;\n  Value = SliderThumb::getValue(m_thumb);\n  v6 = m_thumb->cocos2d::CCMenuItemImage::cocos2d::CCMenuItemSprite::cocos2d::CCMenuItem::cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;\n  *(float *)&m_thumb->m_pDisabledImage = a2;\n  v7 = Value;\n  cocos2d::CCPoint::CCPoint(&v9, 0.0, 0.0);\n  v6->setPosition_0(m_thumb, v8);\n  SliderThumb::setValue(m_thumb, v7);\n}", "assembly": "; \n; Slider::setMaxOffset from 0x140071e40 to 0x140071ed3 (147 bytes)\n; \n; 7 xrefs:\n; > ColorSelectLiveOverlay::init @ 0x14008c43e\n; > ColorSelectLiveOverlay::init @ 0x14008c52d\n; > ColorSelectLiveOverlay::init @ 0x14008c615\n; > ColorSelectLiveOverlay::init @ 0x14008c6fd\n; > CreateParticlePopup::createParticleSlider @ 0x140430e19\n; > SetupTriggerPopup::createValueControlAdvanced @ 0x1404767d4\n; > <???> @ 0x1406c62c4\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nmov     [rsp+arg_8], rbx                                               ; +0x0, 0x140071e40\npush    rdi                                                            ; +0x5, 0x140071e45\nsub     rsp, 40h                                                       ; +0x6, 0x140071e46\nmov     rbx, [rcx+198h]                                                ; +0xa, 0x140071e4a\nmovaps  [rsp+48h+var_18], xmm6                                         ; +0x11, 0x140071e51\nmovaps  [rsp+48h+var_28], xmm7                                         ; +0x16, 0x140071e56\nmovaps  xmm7, xmm1                                                     ; +0x1b, 0x140071e5b\nmov     rcx, [rbx+1C8h]                                                ; +0x1e, 0x140071e5e\nmov     rax, [rcx]                                                     ; +0x25, 0x140071e65\ncall    qword ptr [rax+0A8h]                                           ; +0x28, 0x140071e68\nmov     rdi, [rbx+1C8h]                                                ; +0x2e, 0x140071e6e\nmulss   xmm0, xmm7                                                     ; +0x35, 0x140071e75\nmov     rcx, rdi                                                       ; +0x39, 0x140071e79\nmovss   dword ptr [rbx+1C4h], xmm0                                     ; +0x3c, 0x140071e7c\ncall    SliderThumb__getValue                                          ; +0x44, 0x140071e84\nmov     rbx, [rdi]                                                     ; +0x49, 0x140071e89\nlea     rcx, [rsp+48h+arg_0]                                           ; +0x4c, 0x140071e8c\nxorps   xmm2, xmm2                                                     ; +0x51, 0x140071e91\nmovss   dword ptr [rdi+190h], xmm7                                     ; +0x54, 0x140071e94\nxorps   xmm1, xmm1                                                     ; +0x5c, 0x140071e9c\nmovaps  xmm6, xmm0                                                     ; +0x5f, 0x140071e9f\ncall    cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x62, 0x140071ea2\nmov     rdx, rax                                                       ; +0x68, 0x140071ea8\nmov     rcx, rdi                                                       ; +0x6b, 0x140071eab\ncall    qword ptr [rbx+0B8h]                                           ; +0x6e, 0x140071eae\nmovaps  xmm1, xmm6                                                     ; +0x74, 0x140071eb4\nmov     rcx, rdi                                                       ; +0x77, 0x140071eb7\nmov     rbx, [rsp+48h+arg_8]                                           ; +0x7a, 0x140071eba\nmovaps  xmm6, [rsp+48h+var_18]                                         ; +0x7f, 0x140071ebf\nmovaps  xmm7, [rsp+48h+var_28]                                         ; +0x84, 0x140071ec4\nadd     rsp, 40h                                                       ; +0x89, 0x140071ec9\npop     rdi                                                            ; +0x8d, 0x140071ecd\njmp     SliderThumb__setValue                                          ; +0x8e, 0x140071ece", "xrefs": ["ColorSelectLiveOverlay::init @ 0x14008c43e", "ColorSelectLiveOverlay::init @ 0x14008c52d", "ColorSelectLiveOverlay::init @ 0x14008c615", "ColorSelectLiveOverlay::init @ 0x14008c6fd", "CreateParticlePopup::createParticleSlider @ 0x140430e19", "SetupTriggerPopup::createValueControlAdvanced @ 0x1404767d4", "<???> @ 0x1406c62c4"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}