{"type": "func", "start": 5369172848, "end": 5369173143, "name": "SliderThumb::setValue", "pseudocode": "// \n// SliderThumb::setValue from 0x140071370 to 0x140071497 (295 bytes)\n// \n// 15 xrefs:\n// > Slider::setValue @ 0x140071c4b\n// > Slider::setRotated @ 0x140071e04\n// > Slider::setMaxOffset @ 0x140071ece\n// > ColorSelectPopup::init @ 0x14008e607\n// > SetupCameraModePopup::init @ 0x140414933\n// > SetupCameraModePopup::init @ 0x140414b1f\n// > SetupOpacityPopup::init @ 0x14042b314\n// > SetupPulsePopup::init @ 0x140437dc4\n// > SetupPulsePopup::init @ 0x140438234\n// > SetupPulsePopup::init @ 0x1404386bc\n// > SetupShakePopup::init @ 0x14045588a\n// > SetupShakePopup::init @ 0x14045591b\n// > <???> @ 0x140666c8c\n// > <???> @ 0x140666c9c\n// > <???> @ 0x1406c61f8\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 SliderThumb::setValue(SliderThumb *a1, float a2)\n{\n  SliderThumb_vtbl *v3; // rbp\n  float v4; // xmm6_4\n  double v5; // xmm0_8\n  SliderThumb_vtbl *v6; // rbx\n  float v7; // xmm7_4\n  float v8; // xmm6_4\n  const cocos2d::CCPoint *v9; // rdi\n  float v10; // xmm7_4\n  const cocos2d::CCPoint *v11; // rax\n  double v12; // xmm0_8\n  float v13; // xmm6_4\n  __int64 v14; // rbx\n  float v15; // xmm6_4\n  cocos2d::CCPoint v16; // [rsp+60h] [rbp+8h] BYREF\n\n  v3 = a1->cocos2d::CCMenuItemImage::cocos2d::CCMenuItemSprite::cocos2d::CCMenuItem::cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;\n  if ( BYTE4(a1->m_pDisabledImage) )\n  {\n    v4 = *(float *)&a1->m_pDisabledImage;\n    v5 = ((double (*)(void))v3->getScale)();\n    v6 = a1->cocos2d::CCMenuItemImage::cocos2d::CCMenuItemSprite::cocos2d::CCMenuItem::cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;\n    v7 = *(float *)&v5 * v4;\n    v8 = *(float *)&a1->m_pDisabledImage;\n    v9 = a1->getPosition_0(a1);\n    v10 = (float)(v7 * a2) - (float)((float)(v6->getScale(a1) * v8) * 0.5);\n    cocos2d::CCPoint::CCPoint(&v16, v9->x, v10);\n  }\n  else\n  {\n    v12 = ((double (*)(void))v3->getScale)();\n    v13 = (float)(*(float *)&v12 * *(float *)&a1->m_pDisabledImage) * a2;\n    v14 = (__int64)v3->getPosition_0(a1);\n    v15 = v13 - (float)((float)(a1->getScale(a1) * *(float *)&a1->m_pDisabledImage) * 0.5);\n    cocos2d::CCPoint::CCPoint(&v16, v15, *(float *)(v14 + 4));\n  }\n  v3->setPosition_0(a1, v11);\n}", "assembly": "; \n; SliderThumb::setValue from 0x140071370 to 0x140071497 (295 bytes)\n; \n; 15 xrefs:\n; > Slider::setValue @ 0x140071c4b\n; > Slider::setRotated @ 0x140071e04\n; > Slider::setMaxOffset @ 0x140071ece\n; > ColorSelectPopup::init @ 0x14008e607\n; > SetupCameraModePopup::init @ 0x140414933\n; > SetupCameraModePopup::init @ 0x140414b1f\n; > SetupOpacityPopup::init @ 0x14042b314\n; > SetupPulsePopup::init @ 0x140437dc4\n; > SetupPulsePopup::init @ 0x140438234\n; > SetupPulsePopup::init @ 0x1404386bc\n; > SetupShakePopup::init @ 0x14045588a\n; > SetupShakePopup::init @ 0x14045591b\n; > <???> @ 0x140666c8c\n; > <???> @ 0x140666c9c\n; > <???> @ 0x1406c61f8\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_10], rbx                                              ; +0x0, 0x140071370\nmov     [rsp+arg_18], rbp                                              ; +0x5, 0x140071375\npush    rsi                                                            ; +0xa, 0x14007137a\nsub     rsp, 50h                                                       ; +0xb, 0x14007137b\ncmp     byte ptr [rcx+194h], 0                                         ; +0xf, 0x14007137f\nmov     rsi, rcx                                                       ; +0x16, 0x140071386\nmov     rbp, [rcx]                                                     ; +0x19, 0x140071389\nmovaps  [rsp+58h+var_18], xmm6                                         ; +0x1c, 0x14007138c\nmovaps  [rsp+58h+var_38], xmm8                                         ; +0x21, 0x140071391\nmovaps  xmm8, xmm1                                                     ; +0x27, 0x140071397\njz      short loc_14007141B                                            ; +0x2b, 0x14007139b\nmovss   xmm6, dword ptr [rcx+190h]                                     ; +0x2d, 0x14007139d\nmov     [rsp+58h+arg_8], rdi                                           ; +0x35, 0x1400713a5\nmovaps  [rsp+58h+var_28], xmm7                                         ; +0x3a, 0x1400713aa\ncall    qword ptr [rbp+0A8h]                                           ; +0x3f, 0x1400713af\nmov     rbx, [rsi]                                                     ; +0x45, 0x1400713b5\nmov     rcx, rsi                                                       ; +0x48, 0x1400713b8\nmovaps  xmm7, xmm0                                                     ; +0x4b, 0x1400713bb\nmulss   xmm7, xmm6                                                     ; +0x4e, 0x1400713be\nmovss   xmm6, dword ptr [rsi+190h]                                     ; +0x52, 0x1400713c2\nmulss   xmm7, xmm8                                                     ; +0x5a, 0x1400713ca\ncall    qword ptr [rbx+0C8h]                                           ; +0x5f, 0x1400713cf\nmov     rcx, rsi                                                       ; +0x65, 0x1400713d5\nmov     rdi, rax                                                       ; +0x68, 0x1400713d8\ncall    qword ptr [rbx+0A8h]                                           ; +0x6b, 0x1400713db\nmovss   xmm1, dword ptr [rdi]                                          ; +0x71, 0x1400713e1\nlea     rcx, [rsp+58h+arg_0]                                           ; +0x75, 0x1400713e5\nmulss   xmm0, xmm6                                                     ; +0x7a, 0x1400713ea\nmulss   xmm0, cs:dword_140622B08                                       ; +0x7e, 0x1400713ee\nsubss   xmm7, xmm0                                                     ; +0x86, 0x1400713f6\nmovaps  xmm2, xmm7                                                     ; +0x8a, 0x1400713fa\ncall    cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x8d, 0x1400713fd\nmov     rdx, rax                                                       ; +0x93, 0x140071403\nmov     rcx, rsi                                                       ; +0x96, 0x140071406\ncall    qword ptr [rbp+0B8h]                                           ; +0x99, 0x140071409\nmovaps  xmm7, [rsp+58h+var_28]                                         ; +0x9f, 0x14007140f\nmov     rdi, [rsp+58h+arg_8]                                           ; +0xa4, 0x140071414\njmp     short loc_14007147C                                            ; +0xa9, 0x140071419\ncall    qword ptr [rbp+0A8h]                                           ; +0xab, 0x14007141b\nmovaps  xmm6, xmm0                                                     ; +0xb1, 0x140071421\nmov     rcx, rsi                                                       ; +0xb4, 0x140071424\nmulss   xmm6, dword ptr [rsi+190h]                                     ; +0xb7, 0x140071427\nmulss   xmm6, xmm8                                                     ; +0xbf, 0x14007142f\ncall    qword ptr [rbp+0C8h]                                           ; +0xc4, 0x140071434\nmov     rdx, [rsi]                                                     ; +0xca, 0x14007143a\nmov     rcx, rsi                                                       ; +0xcd, 0x14007143d\nmov     rbx, rax                                                       ; +0xd0, 0x140071440\ncall    qword ptr [rdx+0A8h]                                           ; +0xd3, 0x140071443\nmovss   xmm2, dword ptr [rbx+4]                                        ; +0xd9, 0x140071449\nlea     rcx, [rsp+58h+arg_0]                                           ; +0xde, 0x14007144e\nmulss   xmm0, dword ptr [rsi+190h]                                     ; +0xe3, 0x140071453\nmulss   xmm0, cs:dword_140622B08                                       ; +0xeb, 0x14007145b\nsubss   xmm6, xmm0                                                     ; +0xf3, 0x140071463\nmovaps  xmm1, xmm6                                                     ; +0xf7, 0x140071467\ncall    cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0xfa, 0x14007146a\nmov     rdx, rax                                                       ; +0x100, 0x140071470\nmov     rcx, rsi                                                       ; +0x103, 0x140071473\ncall    qword ptr [rbp+0B8h]                                           ; +0x106, 0x140071476\nmov     rbx, [rsp+58h+arg_10]                                          ; +0x10c, 0x14007147c\nmov     rbp, [rsp+58h+arg_18]                                          ; +0x111, 0x140071481\nmovaps  xmm6, [rsp+58h+var_18]                                         ; +0x116, 0x140071486\nmovaps  xmm8, [rsp+58h+var_38]                                         ; +0x11b, 0x14007148b\nadd     rsp, 50h                                                       ; +0x121, 0x140071491\npop     rsi                                                            ; +0x125, 0x140071495\nretn                                                                   ; +0x126, 0x140071496", "xrefs": ["Slider::setValue @ 0x140071c4b", "Slider::setRotated @ 0x140071e04", "Slider::setMaxOffset @ 0x140071ece", "ColorSelectPopup::init @ 0x14008e607", "SetupCameraModePopup::init @ 0x140414933", "SetupCameraModePopup::init @ 0x140414b1f", "SetupOpacityPopup::init @ 0x14042b314", "SetupPulsePopup::init @ 0x140437dc4", "SetupPulsePopup::init @ 0x140438234", "SetupPulsePopup::init @ 0x1404386bc", "SetupShakePopup::init @ 0x14045588a", "SetupShakePopup::init @ 0x14045591b", "<???> @ 0x140666c8c", "<???> @ 0x140666c9c", "<???> @ 0x1406c61f8"], "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"}