{"type": "func", "start": 5369175232, "end": 5369175355, "name": "Slider::updateBar", "pseudocode": "// \n// Slider::updateBar from 0x140071cc0 to 0x140071d3b (123 bytes)\n// \n// 2 xrefs:\n// > SliderTouchLogic::ccTouchMoved @ 0x1400716f3\n// > <???> @ 0x1406c62ac\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::updateBar(Slider *a1)\n{\n  float Value; // xmm0_4\n  float m_width; // xmm3_4\n  cocos2d::CCSprite_vtbl *v4; // rbx\n  const cocos2d::CCRect *v5; // rax\n  cocos2d::CCRect v6; // [rsp+30h] [rbp-18h] BYREF\n\n  Value = SliderThumb::getValue(a1->m_touchLogic->m_thumb);\n  m_width = a1->m_width;\n  if ( (float)(m_width * Value) <= m_width )\n    m_width = a1->m_width * Value;\n  v4 = a1->m_sliderBar->__vftable;\n  v5 = (const cocos2d::CCRect *)cocos2d::CCRect::CCRect(&v6, 0.0, 0.0, m_width, a1->m_height);\n  v4->setTextureRect_0(a1->m_sliderBar, v5);\n}", "assembly": "; \n; Slider::updateBar from 0x140071cc0 to 0x140071d3b (123 bytes)\n; \n; 2 xrefs:\n; > SliderTouchLogic::ccTouchMoved @ 0x1400716f3\n; > <???> @ 0x1406c62ac\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_0], rbx                                               ; +0x0, 0x140071cc0\npush    rdi                                                            ; +0x5, 0x140071cc5\nsub     rsp, 40h                                                       ; +0x6, 0x140071cc6\nmov     rax, [rcx+198h]                                                ; +0xa, 0x140071cca\nmov     rdi, rcx                                                       ; +0x11, 0x140071cd1\nmov     rcx, [rax+1C8h]                                                ; +0x14, 0x140071cd4\ncall    SliderThumb__getValue                                          ; +0x1b, 0x140071cdb\nmovss   xmm3, dword ptr [rdi+1B0h]                                     ; +0x20, 0x140071ce0\nmovaps  xmm1, xmm3                                                     ; +0x28, 0x140071ce8\nmulss   xmm1, xmm0                                                     ; +0x2b, 0x140071ceb\ncomiss  xmm1, xmm3                                                     ; +0x2f, 0x140071cef\nja      short loc_140071CF7                                            ; +0x32, 0x140071cf2\nmovaps  xmm3, xmm1                                                     ; +0x34, 0x140071cf4\nmov     rax, [rdi+1A0h]                                                ; +0x37, 0x140071cf7\nlea     rcx, [rsp+48h+var_18]                                          ; +0x3e, 0x140071cfe\nmovss   xmm0, dword ptr [rdi+1B4h]                                     ; +0x43, 0x140071d03\nxorps   xmm2, xmm2                                                     ; +0x4b, 0x140071d0b\nxorps   xmm1, xmm1                                                     ; +0x4e, 0x140071d0e\nmovss   [rsp+48h+var_28], xmm0                                         ; +0x51, 0x140071d11\nmov     rbx, [rax]                                                     ; +0x57, 0x140071d17\ncall    cs:??0CCRect@cocos2d@@QEAA@MMMM@Z; cocos2d::CCRect::CCRect(float,float,float,float) ; +0x5a, 0x140071d1a\nmov     rcx, [rdi+1A0h]                                                ; +0x60, 0x140071d20\nmov     rdx, rax                                                       ; +0x67, 0x140071d27\ncall    qword ptr [rbx+3D0h]                                           ; +0x6a, 0x140071d2a\nmov     rbx, [rsp+48h+arg_0]                                           ; +0x70, 0x140071d30\nadd     rsp, 40h                                                       ; +0x75, 0x140071d35\npop     rdi                                                            ; +0x79, 0x140071d39\nretn                                                                   ; +0x7a, 0x140071d3a", "xrefs": ["SliderTouchLogic::ccTouchMoved @ 0x1400716f3", "<???> @ 0x1406c62ac"], "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"}