{"type": "func", "start": 5369175456, "end": 5369175606, "name": "Slider::setRotated", "pseudocode": "// \n// Slider::setRotated from 0x140071da0 to 0x140071e36 (150 bytes)\n// \n// 5 xrefs:\n// > ColorSelectLiveOverlay::init @ 0x14008c42f\n// > ColorSelectLiveOverlay::init @ 0x14008c51e\n// > ColorSelectLiveOverlay::init @ 0x14008c606\n// > ColorSelectLiveOverlay::init @ 0x14008c6ee\n// > <???> @ 0x1406c62b8\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::setRotated(Slider *a1, bool a2)\n{\n  SliderTouchLogic *m_touchLogic; // rax\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+40h] [rbp+8h] BYREF\n\n  m_touchLogic = a1->m_touchLogic;\n  m_thumb = m_touchLogic->m_thumb;\n  m_touchLogic->m_rotated = 1;\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  BYTE4(m_thumb->m_pDisabledImage) = 1;\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  ((void (__fastcall *)(cocos2d::CCSprite *))a1->m_groove->setRotation)(a1->m_groove);\n}", "assembly": "; \n; Slider::setRotated from 0x140071da0 to 0x140071e36 (150 bytes)\n; \n; 5 xrefs:\n; > ColorSelectLiveOverlay::init @ 0x14008c42f\n; > ColorSelectLiveOverlay::init @ 0x14008c51e\n; > ColorSelectLiveOverlay::init @ 0x14008c606\n; > ColorSelectLiveOverlay::init @ 0x14008c6ee\n; > <???> @ 0x1406c62b8\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, 0x140071da0\nmov     [rsp+arg_10], rsi                                              ; +0x5, 0x140071da5\npush    rdi                                                            ; +0xa, 0x140071daa\nsub     rsp, 30h                                                       ; +0xb, 0x140071dab\nmov     rax, [rcx+198h]                                                ; +0xf, 0x140071daf\nmov     rsi, rcx                                                       ; +0x16, 0x140071db6\nmovaps  [rsp+38h+var_18], xmm6                                         ; +0x19, 0x140071db9\nmov     rdi, [rax+1C8h]                                                ; +0x1e, 0x140071dbe\nmov     rcx, rdi                                                       ; +0x25, 0x140071dc5\nmov     byte ptr [rax+1E4h], 1                                         ; +0x28, 0x140071dc8\ncall    SliderThumb__getValue                                          ; +0x2f, 0x140071dcf\nmov     rbx, [rdi]                                                     ; +0x34, 0x140071dd4\nlea     rcx, [rsp+38h+arg_0]                                           ; +0x37, 0x140071dd7\nxorps   xmm2, xmm2                                                     ; +0x3c, 0x140071ddc\nmov     byte ptr [rdi+194h], 1                                         ; +0x3f, 0x140071ddf\nxorps   xmm1, xmm1                                                     ; +0x46, 0x140071de6\nmovaps  xmm6, xmm0                                                     ; +0x49, 0x140071de9\ncall    cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x4c, 0x140071dec\nmov     rdx, rax                                                       ; +0x52, 0x140071df2\nmov     rcx, rdi                                                       ; +0x55, 0x140071df5\ncall    qword ptr [rbx+0B8h]                                           ; +0x58, 0x140071df8\nmovaps  xmm1, xmm6                                                     ; +0x5e, 0x140071dfe\nmov     rcx, rdi                                                       ; +0x61, 0x140071e01\ncall    SliderThumb__setValue                                          ; +0x64, 0x140071e04\nmov     rcx, [rsi+1A8h]                                                ; +0x69, 0x140071e09\nmovss   xmm1, cs:dword_140623294                                       ; +0x70, 0x140071e10\nmov     rax, [rcx]                                                     ; +0x78, 0x140071e18\nmov     rbx, [rsp+38h+arg_8]                                           ; +0x7b, 0x140071e1b\nmov     rsi, [rsp+38h+arg_10]                                          ; +0x80, 0x140071e20\nmovaps  xmm6, [rsp+38h+var_18]                                         ; +0x85, 0x140071e25\nadd     rsp, 30h                                                       ; +0x8a, 0x140071e2a\npop     rdi                                                            ; +0x8e, 0x140071e2e\njmp     qword ptr [rax+150h]                                           ; +0x8f, 0x140071e2f", "xrefs": ["ColorSelectLiveOverlay::init @ 0x14008c42f", "ColorSelectLiveOverlay::init @ 0x14008c51e", "ColorSelectLiveOverlay::init @ 0x14008c606", "ColorSelectLiveOverlay::init @ 0x14008c6ee", "<???> @ 0x1406c62b8"], "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"}