{"type": "func", "start": 6442498128, "end": 6442498436, "name": "cocos2d::extension::CCControlStepper::ccTouchMoved", "pseudocode": "// \n// cocos2d::extension::CCControlStepper::ccTouchMoved from 0x18000b850 to 0x18000b984 (308 bytes)\n// \n// 3 xrefs:\n// > <???> @ 0x180028628\n// > <???> @ 0x180032408\n// > <???> @ 0x18004bbd0\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::CCControlStepper::ccTouchMoved(\n        cocos2d::extension::CCControlStepper *this,\n        struct cocos2d::CCTouch *a2,\n        struct cocos2d::CCEvent *a3)\n{\n  char *v3; // rbx\n  float *v6; // rax\n  __int64 v7; // r8\n  bool v8; // zf\n  void (__fastcall ***v9)(_QWORD, void *); // rcx\n  char v10; // [rsp+40h] [rbp+8h] BYREF\n  char v11; // [rsp+58h] [rbp+20h] BYREF\n\n  v3 = (char *)this - 320;\n  if ( (*(unsigned __int8 (__fastcall **)(char *, struct cocos2d::CCTouch *, struct cocos2d::CCEvent *))(*((_QWORD *)this - 40) + 1120LL))(\n         (char *)this - 320,\n         a2,\n         a3) )\n  {\n    (*(void (__fastcall **)(char *, char *, struct cocos2d::CCTouch *))(*(_QWORD *)v3 + 1112LL))(v3, &v10, a2);\n    v6 = (float *)cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v11, (const struct cocos2d::CCPoint *)&v10);\n    cocos2d::extension::CCControlStepper::updateLayoutUsingTouchLocation((__int64)v3, v6);\n    if ( !v3[544] )\n    {\n      v8 = *((_BYTE *)this + 193) == 0;\n      *((_BYTE *)this + 224) = 1;\n      if ( !v8 )\n      {\n        *((_DWORD *)v3 + 138) = -1;\n        cocos2d::CCNode::schedule(v3, sub_18000BA74, v7, 4294967294LL, 1055286887);\n      }\n    }\n  }\n  else\n  {\n    v9 = (void (__fastcall ***)(_QWORD, void *))(*((_QWORD *)v3 + 59) + 320LL);\n    v3[544] = 0;\n    *((_DWORD *)v3 + 137) = 2;\n    (**v9)(v9, &unk_180025A20);\n    (**(void (__fastcall ***)(__int64, void *))(*((_QWORD *)this + 20) + 320LL))(\n      *((_QWORD *)this + 20) + 320LL,\n      &unk_180025A20);\n    if ( *((_BYTE *)this + 193) )\n      cocos2d::CCNode::unschedule(v3, sub_18000BA74);\n  }\n}", "assembly": "; \n; cocos2d::extension::CCControlStepper::ccTouchMoved from 0x18000b850 to 0x18000b984 (308 bytes)\n; \n; 3 xrefs:\n; > <???> @ 0x180028628\n; > <???> @ 0x180032408\n; > <???> @ 0x18004bbd0\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, 0x18000b850\nmov     [rsp+arg_10], rsi                                              ; +0x5, 0x18000b855\npush    rdi                                                            ; +0xa, 0x18000b85a\nsub     rsp, 30h                                                       ; +0xb, 0x18000b85b\nlea     rbx, [rcx-140h]                                                ; +0xf, 0x18000b85f\nmov     rdi, rcx                                                       ; +0x16, 0x18000b866\nmov     rax, [rbx]                                                     ; +0x19, 0x18000b869\nmov     rcx, rbx                                                       ; +0x1c, 0x18000b86c\nmov     rsi, rdx                                                       ; +0x1f, 0x18000b86f\ncall    qword ptr [rax+460h]                                           ; +0x22, 0x18000b872\ntest    al, al                                                         ; +0x28, 0x18000b878\njz      loc_18000B916                                                  ; +0x2a, 0x18000b87a\nmov     rax, [rbx]                                                     ; +0x30, 0x18000b880\nlea     rdx, [rsp+38h+arg_0]                                           ; +0x33, 0x18000b883\nmov     r8, rsi                                                        ; +0x38, 0x18000b888\nmov     rcx, rbx                                                       ; +0x3b, 0x18000b88b\ncall    qword ptr [rax+458h]                                           ; +0x3e, 0x18000b88e\nlea     rdx, [rsp+38h+arg_0]                                           ; +0x44, 0x18000b894\nlea     rcx, [rsp+38h+arg_18]                                          ; +0x49, 0x18000b899\ncall    cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0x4e, 0x18000b89e\nmov     rdx, rax                                                       ; +0x54, 0x18000b8a4\nmov     rcx, rbx                                                       ; +0x57, 0x18000b8a7\ncall    ?updateLayoutUsingTouchLocation@CCControlStepper@extension@cocos2d@@QEAAXVCCPoint@3@@Z; cocos2d::extension::CCControlStepper::updateLayoutUsingTouchLocation(cocos2d::CCPoint) ; +0x5a, 0x18000b8aa\ncmp     byte ptr [rbx+220h], 0                                         ; +0x5f, 0x18000b8af\njnz     loc_18000B974                                                  ; +0x66, 0x18000b8b6\ncmp     byte ptr [rdi+0C1h], 0                                         ; +0x6c, 0x18000b8bc\nmov     byte ptr [rdi+0E0h], 1                                         ; +0x73, 0x18000b8c3\njz      loc_18000B974                                                  ; +0x7a, 0x18000b8ca\nmovss   xmm0, cs:dword_18002BBD4                                       ; +0x80, 0x18000b8d0\nlea     rdx, sub_18000BA74                                             ; +0x88, 0x18000b8d8\nmovss   xmm2, cs:flt_18002BBCC                                         ; +0x8f, 0x18000b8df\nmov     r9d, 0FFFFFFFEh                                                ; +0x97, 0x18000b8e7\nmov     rcx, rbx                                                       ; +0x9d, 0x18000b8ed\nmovss   [rsp+38h+var_18], xmm0                                         ; +0xa0, 0x18000b8f0\nmov     dword ptr [rbx+228h], 0FFFFFFFFh                               ; +0xa6, 0x18000b8f6\ncall    cs:?schedule@CCNode@cocos2d@@QEAAXP8CCObject@2@EAAXM@ZMIM@Z; cocos2d::CCNode::schedule(void (cocos2d::CCObject::*)(float),float,uint,float) ; +0xb0, 0x18000b900\nmov     rbx, [rsp+38h+arg_8]                                           ; +0xb6, 0x18000b906\nmov     rsi, [rsp+38h+arg_10]                                          ; +0xbb, 0x18000b90b\nadd     rsp, 30h                                                       ; +0xc0, 0x18000b910\npop     rdi                                                            ; +0xc4, 0x18000b914\nretn                                                                   ; +0xc5, 0x18000b915\nmov     rcx, [rbx+1D8h]                                                ; +0xc6, 0x18000b916\nlea     rdx, unk_180025A20                                             ; +0xcd, 0x18000b91d\nadd     rcx, 140h                                                      ; +0xd4, 0x18000b924\nmov     byte ptr [rbx+220h], 0                                         ; +0xdb, 0x18000b92b\nmov     dword ptr [rbx+224h], 2                                        ; +0xe2, 0x18000b932\nmov     rax, [rcx]                                                     ; +0xec, 0x18000b93c\ncall    qword ptr [rax]                                                ; +0xef, 0x18000b93f\nmov     rcx, [rdi+0A0h]                                                ; +0xf1, 0x18000b941\nlea     rdx, unk_180025A20                                             ; +0xf8, 0x18000b948\nadd     rcx, 140h                                                      ; +0xff, 0x18000b94f\nmov     rax, [rcx]                                                     ; +0x106, 0x18000b956\ncall    qword ptr [rax]                                                ; +0x109, 0x18000b959\ncmp     byte ptr [rdi+0C1h], 0                                         ; +0x10b, 0x18000b95b\njz      short loc_18000B974                                            ; +0x112, 0x18000b962\nlea     rdx, sub_18000BA74                                             ; +0x114, 0x18000b964\nmov     rcx, rbx                                                       ; +0x11b, 0x18000b96b\ncall    cs:?unschedule@CCNode@cocos2d@@QEAAXP8CCObject@2@EAAXM@Z@Z; cocos2d::CCNode::unschedule(void (cocos2d::CCObject::*)(float)) ; +0x11e, 0x18000b96e\nmov     rbx, [rsp+38h+arg_8]                                           ; +0x124, 0x18000b974\nmov     rsi, [rsp+38h+arg_10]                                          ; +0x129, 0x18000b979\nadd     rsp, 30h                                                       ; +0x12e, 0x18000b97e\npop     rdi                                                            ; +0x132, 0x18000b982\nretn                                                                   ; +0x133, 0x18000b983", "xrefs": ["<???> @ 0x180028628", "<???> @ 0x180032408", "<???> @ 0x18004bbd0"], "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"}