{"type": "func", "start": 6442823840, "end": 6442823975, "name": "cocos2d::CCMenu::ccTouchMoved", "pseudocode": "// \n// cocos2d::CCMenu::ccTouchMoved from 0x18005b0a0 to 0x18005b127 (135 bytes)\n// \n// 3 xrefs:\n// > <???> @ 0x1800fd560\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801bcd3c\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 11:21:48 +0000\n// \n\nvoid __fastcall cocos2d::CCMenu::ccTouchMoved(\n        cocos2d::CCMenu *this,\n        struct cocos2d::CCTouch *a2,\n        struct cocos2d::CCEvent *a3)\n{\n  struct cocos2d::CCMenuItem *v5; // rbx\n  struct cocos2d::CCMenuItem *v6; // rcx\n\n  v5 = cocos2d::CCMenu::itemForTouch((cocos2d::CCMenu *)((char *)this - 320), a2, 0);\n  if ( !v5 )\n    v5 = cocos2d::CCMenu::itemForTouch((cocos2d::CCMenu *)((char *)this - 320), a2, 1);\n  v6 = *((struct cocos2d::CCMenuItem **)this + 15);\n  if ( v5 != v6 )\n  {\n    if ( v6 )\n      (*(void (__fastcall **)(struct cocos2d::CCMenuItem *))(*(_QWORD *)v6 + 904LL))(v6);\n    *((_QWORD *)this + 15) = v5;\n    if ( v5 )\n      (*(void (__fastcall **)(struct cocos2d::CCMenuItem *))(*(_QWORD *)v5 + 896LL))(v5);\n  }\n}", "assembly": "; \n; cocos2d::CCMenu::ccTouchMoved from 0x18005b0a0 to 0x18005b127 (135 bytes)\n; \n; 3 xrefs:\n; > <???> @ 0x1800fd560\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801bcd3c\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 11:21:48 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x18005b0a0\nmov     [rsp+arg_8], rbp                                               ; +0x5, 0x18005b0a5\nmov     [rsp+arg_10], rsi                                              ; +0xa, 0x18005b0aa\npush    rdi                                                            ; +0xf, 0x18005b0af\nsub     rsp, 20h                                                       ; +0x10, 0x18005b0b0\nmov     rdi, rcx                                                       ; +0x14, 0x18005b0b4\nxor     r8d, r8d; bool                                                 ; +0x17, 0x18005b0b7\nadd     rcx, 0FFFFFFFFFFFFFEC0h; this                                  ; +0x1a, 0x18005b0ba\nmov     rsi, rdx                                                       ; +0x21, 0x18005b0c1\ncall    ?itemForTouch@CCMenu@cocos2d@@IEAAPEAVCCMenuItem@2@PEAVCCTouch@2@_N@Z; cocos2d::CCMenu::itemForTouch(cocos2d::CCTouch *,bool) ; +0x24, 0x18005b0c4\nmov     rbx, rax                                                       ; +0x29, 0x18005b0c9\ntest    rax, rax                                                       ; +0x2c, 0x18005b0cc\njnz     short loc_18005B0E6                                            ; +0x2f, 0x18005b0cf\nmov     r8b, 1; bool                                                   ; +0x31, 0x18005b0d1\nlea     rcx, [rdi-140h]; this                                          ; +0x34, 0x18005b0d4\nmov     rdx, rsi; struct cocos2d::CCTouch *                            ; +0x3b, 0x18005b0db\ncall    ?itemForTouch@CCMenu@cocos2d@@IEAAPEAVCCMenuItem@2@PEAVCCTouch@2@_N@Z; cocos2d::CCMenu::itemForTouch(cocos2d::CCTouch *,bool) ; +0x3e, 0x18005b0de\nmov     rbx, rax                                                       ; +0x43, 0x18005b0e3\nmov     rcx, [rdi+78h]                                                 ; +0x46, 0x18005b0e6\ncmp     rbx, rcx                                                       ; +0x4a, 0x18005b0ea\njz      short loc_18005B112                                            ; +0x4d, 0x18005b0ed\ntest    rcx, rcx                                                       ; +0x4f, 0x18005b0ef\njz      short loc_18005B0FD                                            ; +0x52, 0x18005b0f2\nmov     rax, [rcx]                                                     ; +0x54, 0x18005b0f4\ncall    qword ptr [rax+388h]                                           ; +0x57, 0x18005b0f7\nmov     [rdi+78h], rbx                                                 ; +0x5d, 0x18005b0fd\ntest    rbx, rbx                                                       ; +0x61, 0x18005b101\njz      short loc_18005B112                                            ; +0x64, 0x18005b104\nmov     rax, [rbx]                                                     ; +0x66, 0x18005b106\nmov     rcx, rbx                                                       ; +0x69, 0x18005b109\ncall    qword ptr [rax+380h]                                           ; +0x6c, 0x18005b10c\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x72, 0x18005b112\nmov     rbp, [rsp+28h+arg_8]                                           ; +0x77, 0x18005b117\nmov     rsi, [rsp+28h+arg_10]                                          ; +0x7c, 0x18005b11c\nadd     rsp, 20h                                                       ; +0x81, 0x18005b121\npop     rdi                                                            ; +0x85, 0x18005b125\nretn                                                                   ; +0x86, 0x18005b126", "xrefs": ["<???> @ 0x1800fd560", "<???> @ 0x18014cf68", "<???> @ 0x1801bcd3c"], "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"}