{"type": "func", "start": 6442493600, "end": 6442493782, "name": "cocos2d::extension::CCControlSlider::ccTouchMoved", "pseudocode": "// \n// cocos2d::extension::CCControlSlider::ccTouchMoved from 0x18000a6a0 to 0x18000a756 (182 bytes)\n// \n// 3 xrefs:\n// > <???> @ 0x180028038\n// > <???> @ 0x180032408\n// > <???> @ 0x18004ba8c\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 12:15:37 +0000\n// \n\nvoid __fastcall cocos2d::extension::CCControlSlider::ccTouchMoved(\n        cocos2d::extension::CCControlSlider *this,\n        struct cocos2d::CCTouch *a2,\n        struct cocos2d::CCEvent *a3)\n{\n  __int64 v4; // rax\n  float *v5; // rax\n  __int64 v6; // rax\n  float v7; // [rsp+30h] [rbp+8h] BYREF\n  char v8; // [rsp+48h] [rbp+20h] BYREF\n\n  cocos2d::CCTouch::getLocation(a2);\n  v4 = cocos2d::CCNode::convertToNodeSpace((char *)this - 320, &v8, &v7);\n  cocos2d::CCPoint::operator=(&v7, v4);\n  if ( v7 >= 0.0 )\n  {\n    v5 = (float *)(*(__int64 (__fastcall **)(_QWORD))(**((_QWORD **)this + 24) + 320LL))(*((_QWORD *)this + 24));\n    if ( v7 > *v5 )\n      v7 = *(float *)(*(__int64 (__fastcall **)(_QWORD))(**((_QWORD **)this + 24) + 320LL))(*((_QWORD *)this + 24));\n  }\n  else\n  {\n    v7 = 0.0;\n  }\n  v6 = cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v8, (const struct cocos2d::CCPoint *)&v7);\n  cocos2d::extension::CCControlSlider::sliderMoved((char *)this - 320, v6);\n}", "assembly": "; \n; cocos2d::extension::CCControlSlider::ccTouchMoved from 0x18000a6a0 to 0x18000a756 (182 bytes)\n; \n; 3 xrefs:\n; > <???> @ 0x180028038\n; > <???> @ 0x180032408\n; > <???> @ 0x18004ba8c\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 12:15:37 +0000\n; \nmov     [rsp+arg_8], rbx                                               ; +0x0, 0x18000a6a0\npush    rdi                                                            ; +0x5, 0x18000a6a5\nsub     rsp, 20h                                                       ; +0x6, 0x18000a6a6\nmov     rax, rdx                                                       ; +0xa, 0x18000a6aa\nmov     rbx, rcx                                                       ; +0xd, 0x18000a6ad\nmov     rcx, rax                                                       ; +0x10, 0x18000a6b0\nlea     rdx, [rsp+28h+arg_0]                                           ; +0x13, 0x18000a6b3\ncall    cs:?getLocation@CCTouch@cocos2d@@QEBA?AVCCPoint@2@XZ; cocos2d::CCTouch::getLocation(void) ; +0x18, 0x18000a6b8\nlea     r8, [rsp+28h+arg_0]                                            ; +0x1e, 0x18000a6be\nlea     rdx, [rsp+28h+arg_18]                                          ; +0x23, 0x18000a6c3\nlea     rcx, [rbx-140h]                                                ; +0x28, 0x18000a6c8\ncall    cs:?convertToNodeSpace@CCNode@cocos2d@@QEAA?AVCCPoint@2@AEBV32@@Z; cocos2d::CCNode::convertToNodeSpace(cocos2d::CCPoint const &) ; +0x2f, 0x18000a6cf\nmov     rdx, rax                                                       ; +0x35, 0x18000a6d5\nlea     rcx, [rsp+28h+arg_0]                                           ; +0x38, 0x18000a6d8\ncall    cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0x3d, 0x18000a6dd\nxorps   xmm0, xmm0                                                     ; +0x43, 0x18000a6e3\ncomiss  xmm0, [rsp+28h+arg_0]                                          ; +0x46, 0x18000a6e6\njbe     short loc_18000A6F7                                            ; +0x4b, 0x18000a6eb\nmov     [rsp+28h+arg_0], 0                                             ; +0x4d, 0x18000a6ed\njmp     short loc_18000A72C                                            ; +0x55, 0x18000a6f5\nmov     rcx, [rbx+0C0h]                                                ; +0x57, 0x18000a6f7\nmov     rax, [rcx]                                                     ; +0x5e, 0x18000a6fe\ncall    qword ptr [rax+140h]                                           ; +0x61, 0x18000a701\nmovss   xmm0, [rsp+28h+arg_0]                                          ; +0x67, 0x18000a707\ncomiss  xmm0, dword ptr [rax]                                          ; +0x6d, 0x18000a70d\njbe     short loc_18000A72C                                            ; +0x70, 0x18000a710\nmov     rcx, [rbx+0C0h]                                                ; +0x72, 0x18000a712\nmov     rax, [rcx]                                                     ; +0x79, 0x18000a719\ncall    qword ptr [rax+140h]                                           ; +0x7c, 0x18000a71c\nmovss   xmm0, dword ptr [rax]                                          ; +0x82, 0x18000a722\nmovss   [rsp+28h+arg_0], xmm0                                          ; +0x86, 0x18000a726\nlea     rdx, [rsp+28h+arg_0]                                           ; +0x8c, 0x18000a72c\nlea     rcx, [rsp+28h+arg_18]                                          ; +0x91, 0x18000a731\ncall    cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0x96, 0x18000a736\nmov     rdx, rax                                                       ; +0x9c, 0x18000a73c\nlea     rcx, [rbx-140h]                                                ; +0x9f, 0x18000a73f\ncall    ?sliderMoved@CCControlSlider@extension@cocos2d@@IEAAXVCCPoint@3@@Z; cocos2d::extension::CCControlSlider::sliderMoved(cocos2d::CCPoint) ; +0xa6, 0x18000a746\nmov     rbx, [rsp+28h+arg_8]                                           ; +0xab, 0x18000a74b\nadd     rsp, 20h                                                       ; +0xb0, 0x18000a750\npop     rdi                                                            ; +0xb4, 0x18000a754\nretn                                                                   ; +0xb5, 0x18000a755", "xrefs": ["<???> @ 0x180028038", "<???> @ 0x180032408", "<???> @ 0x18004ba8c"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}