{"type": "func", "start": 6442479744, "end": 6442479837, "name": "cocos2d::extension::CCControlButton::ccTouchEnded", "pseudocode": "// \n// cocos2d::extension::CCControlButton::ccTouchEnded from 0x180007080 to 0x1800070dd (93 bytes)\n// \n// 4 xrefs:\n// > <???> @ 0x1800261e0\n// > <???> @ 0x18002a158\n// > <???> @ 0x180032408\n// > <???> @ 0x18004b684\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:36 +0000\n// \n\nvoid __fastcall cocos2d::extension::CCControlButton::ccTouchEnded(\n        cocos2d::extension::CCControlButton *this,\n        struct cocos2d::CCTouch *a2,\n        struct cocos2d::CCEvent *a3)\n{\n  char *v3; // rdi\n  char v5; // al\n  __int64 v6; // rdx\n\n  v3 = (char *)this - 320;\n  *((_BYTE *)this + 204) = 0;\n  (*(void (__fastcall **)(char *, _QWORD, struct cocos2d::CCEvent *))(*((_QWORD *)this - 40) + 1064LL))(\n    (char *)this - 320,\n    0,\n    a3);\n  v5 = (*(__int64 (__fastcall **)(char *, struct cocos2d::CCTouch *))(*(_QWORD *)v3 + 1120LL))(v3, a2);\n  v6 = 32;\n  if ( !v5 )\n    v6 = 64;\n  (*(void (__fastcall **)(char *, __int64))(*(_QWORD *)v3 + 1088LL))(v3, v6);\n}", "assembly": "; \n; cocos2d::extension::CCControlButton::ccTouchEnded from 0x180007080 to 0x1800070dd (93 bytes)\n; \n; 4 xrefs:\n; > <???> @ 0x1800261e0\n; > <???> @ 0x18002a158\n; > <???> @ 0x180032408\n; > <???> @ 0x18004b684\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:36 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x180007080\npush    rdi                                                            ; +0x5, 0x180007085\nsub     rsp, 20h                                                       ; +0x6, 0x180007086\nlea     rdi, [rcx-140h]                                                ; +0xa, 0x18000708a\nmov     rbx, rdx                                                       ; +0x11, 0x180007091\nxor     edx, edx                                                       ; +0x14, 0x180007094\nmov     byte ptr [rdi+20Ch], 0                                         ; +0x16, 0x180007096\nmov     rax, [rdi]                                                     ; +0x1d, 0x18000709d\nmov     rcx, rdi                                                       ; +0x20, 0x1800070a0\ncall    qword ptr [rax+428h]                                           ; +0x23, 0x1800070a3\nmov     rax, [rdi]                                                     ; +0x29, 0x1800070a9\nmov     rdx, rbx                                                       ; +0x2c, 0x1800070ac\nmov     rcx, rdi                                                       ; +0x2f, 0x1800070af\ncall    qword ptr [rax+460h]                                           ; +0x32, 0x1800070b2\nmov     r8, [rdi]                                                      ; +0x38, 0x1800070b8\nmov     rcx, rdi                                                       ; +0x3b, 0x1800070bb\nmov     edx, 20h ; ' '                                                 ; +0x3e, 0x1800070be\ntest    al, al                                                         ; +0x43, 0x1800070c3\njnz     short loc_1800070CC                                            ; +0x45, 0x1800070c5\nmov     edx, 40h ; '@'                                                 ; +0x47, 0x1800070c7\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x4c, 0x1800070cc\nadd     rsp, 20h                                                       ; +0x51, 0x1800070d1\npop     rdi                                                            ; +0x55, 0x1800070d5\njmp     qword ptr [r8+440h]                                            ; +0x56, 0x1800070d6", "xrefs": ["<???> @ 0x1800261e0", "<???> @ 0x18002a158", "<???> @ 0x180032408", "<???> @ 0x18004b684"], "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"}