{"type": "func", "start": 6442481072, "end": 6442481165, "name": "cocos2d::extension::CCControlButton::ccTouchEnded", "pseudocode": "// \n// cocos2d::extension::CCControlButton::ccTouchEnded from 0x1800075b0 to 0x18000760d (93 bytes)\n// \n// 4 xrefs:\n// > <???> @ 0x180023ca8\n// > <???> @ 0x180027af0\n// > <???> @ 0x18002fdf8\n// > <???> @ 0x180049750\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 __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) + 1048LL))(\n    (char *)this - 320,\n    0,\n    a3);\n  v5 = (*(__int64 (__fastcall **)(char *, struct cocos2d::CCTouch *))(*(_QWORD *)v3 + 1104LL))(v3, a2);\n  v6 = 32;\n  if ( !v5 )\n    v6 = 64;\n  (*(void (__fastcall **)(char *, __int64))(*(_QWORD *)v3 + 1072LL))(v3, v6);\n}", "assembly": "; \n; cocos2d::extension::CCControlButton::ccTouchEnded from 0x1800075b0 to 0x18000760d (93 bytes)\n; \n; 4 xrefs:\n; > <???> @ 0x180023ca8\n; > <???> @ 0x180027af0\n; > <???> @ 0x18002fdf8\n; > <???> @ 0x180049750\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_0], rbx                                               ; +0x0, 0x1800075b0\npush    rdi                                                            ; +0x5, 0x1800075b5\nsub     rsp, 20h                                                       ; +0x6, 0x1800075b6\nlea     rdi, [rcx-140h]                                                ; +0xa, 0x1800075ba\nmov     byte ptr [rcx+0CCh], 0                                         ; +0x11, 0x1800075c1\nmov     rax, [rdi]                                                     ; +0x18, 0x1800075c8\nmov     rbx, rdx                                                       ; +0x1b, 0x1800075cb\nxor     edx, edx                                                       ; +0x1e, 0x1800075ce\nmov     rcx, rdi                                                       ; +0x20, 0x1800075d0\ncall    qword ptr [rax+418h]                                           ; +0x23, 0x1800075d3\nmov     rax, [rdi]                                                     ; +0x29, 0x1800075d9\nmov     rdx, rbx                                                       ; +0x2c, 0x1800075dc\nmov     rcx, rdi                                                       ; +0x2f, 0x1800075df\ncall    qword ptr [rax+450h]                                           ; +0x32, 0x1800075e2\nmov     r8, [rdi]                                                      ; +0x38, 0x1800075e8\nmov     rcx, rdi                                                       ; +0x3b, 0x1800075eb\nmov     edx, 20h ; ' '                                                 ; +0x3e, 0x1800075ee\ntest    al, al                                                         ; +0x43, 0x1800075f3\njnz     short loc_1800075FC                                            ; +0x45, 0x1800075f5\nmov     edx, 40h ; '@'                                                 ; +0x47, 0x1800075f7\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x4c, 0x1800075fc\nadd     rsp, 20h                                                       ; +0x51, 0x180007601\npop     rdi                                                            ; +0x55, 0x180007605\njmp     qword ptr [r8+430h]                                            ; +0x56, 0x180007606", "xrefs": ["<???> @ 0x180023ca8", "<???> @ 0x180027af0", "<???> @ 0x18002fdf8", "<???> @ 0x180049750"], "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"}