{"type": "func", "start": 6442541824, "end": 6442541978, "name": "cocos2d::extension::CCTableView::ccTouchCancelled", "pseudocode": "// \n// cocos2d::extension::CCTableView::ccTouchCancelled from 0x180016300 to 0x18001639a (154 bytes)\n// \n// 3 xrefs:\n// > <???> @ 0x18002af10\n// > <???> @ 0x180032408\n// > <???> @ 0x18004c848\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:41 +0000\n// \n\nvoid __fastcall cocos2d::extension::CCTableView::ccTouchCancelled(\n        cocos2d::CCArray **this,\n        struct cocos2d::CCTouch *a2,\n        struct cocos2d::CCEvent *a3)\n{\n  __int64 v5; // rcx\n\n  if ( (*((unsigned __int8 (__fastcall **)(char *, struct cocos2d::CCTouch *, struct cocos2d::CCEvent *))*(this - 40)\n        + 43))(\n         (char *)this - 320,\n         a2,\n         a3) )\n  {\n    cocos2d::CCArray::removeObject(*(this + 23), a2, 1);\n    if ( !cocos2d::CCArray::count(*(this + 23)) )\n    {\n      *((_BYTE *)this + 116) = 0;\n      *((_BYTE *)this + 136) = 0;\n    }\n  }\n  if ( *(this + 32) )\n  {\n    v5 = (__int64)*(this + 41);\n    if ( v5 )\n      (*(void (__fastcall **)(__int64, char *))(*(_QWORD *)v5 + 40LL))(v5, (char *)this - 320);\n    *(this + 32) = nullptr;\n  }\n}", "assembly": "; \n; cocos2d::extension::CCTableView::ccTouchCancelled from 0x180016300 to 0x18001639a (154 bytes)\n; \n; 3 xrefs:\n; > <???> @ 0x18002af10\n; > <???> @ 0x180032408\n; > <???> @ 0x18004c848\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:41 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x180016300\nmov     [rsp+arg_8], rsi                                               ; +0x5, 0x180016305\npush    rdi                                                            ; +0xa, 0x18001630a\nsub     rsp, 20h                                                       ; +0xb, 0x18001630b\nmov     rax, [rcx-140h]                                                ; +0xf, 0x18001630f\nmov     rbx, rcx                                                       ; +0x16, 0x180016316\nadd     rcx, 0FFFFFFFFFFFFFEC0h                                        ; +0x19, 0x180016319\nmov     rsi, rdx                                                       ; +0x20, 0x180016320\ncall    qword ptr [rax+158h]                                           ; +0x23, 0x180016323\ntest    al, al                                                         ; +0x29, 0x180016329\njz      short loc_18001635A                                            ; +0x2b, 0x18001632b\nmov     rcx, [rbx+0B8h]                                                ; +0x2d, 0x18001632d\nmov     r8b, 1                                                         ; +0x34, 0x180016334\nmov     rdx, rsi                                                       ; +0x37, 0x180016337\ncall    cs:?removeObject@CCArray@cocos2d@@QEAAXPEAVCCObject@2@_N@Z; cocos2d::CCArray::removeObject(cocos2d::CCObject *,bool) ; +0x3a, 0x18001633a\nmov     rcx, [rbx+0B8h]                                                ; +0x40, 0x180016340\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x47, 0x180016347\ntest    eax, eax                                                       ; +0x4d, 0x18001634d\njnz     short loc_18001635A                                            ; +0x4f, 0x18001634f\nmov     [rbx+74h], al                                                  ; +0x51, 0x180016351\nmov     [rbx+88h], al                                                  ; +0x54, 0x180016354\nmov     r8, [rbx+100h]                                                 ; +0x5a, 0x18001635a\ntest    r8, r8                                                         ; +0x61, 0x180016361\njz      short loc_18001638A                                            ; +0x64, 0x180016364\nmov     rcx, [rbx+148h]                                                ; +0x66, 0x180016366\ntest    rcx, rcx                                                       ; +0x6d, 0x18001636d\njz      short loc_18001637F                                            ; +0x70, 0x180016370\nmov     rax, [rcx]                                                     ; +0x72, 0x180016372\nlea     rdx, [rbx-140h]                                                ; +0x75, 0x180016375\ncall    qword ptr [rax+28h]                                            ; +0x7c, 0x18001637c\nmov     qword ptr [rbx+100h], 0                                        ; +0x7f, 0x18001637f\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x8a, 0x18001638a\nmov     rsi, [rsp+28h+arg_8]                                           ; +0x8f, 0x18001638f\nadd     rsp, 20h                                                       ; +0x94, 0x180016394\npop     rdi                                                            ; +0x98, 0x180016398\nretn                                                                   ; +0x99, 0x180016399", "xrefs": ["<???> @ 0x18002af10", "<???> @ 0x180032408", "<???> @ 0x18004c848"], "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"}