{"type": "func", "start": 6442783648, "end": 6442783711, "name": "cocos2d::CCLayer::ccTouchesCancelled", "pseudocode": "// \n// cocos2d::CCLayer::ccTouchesCancelled from 0x1800513a0 to 0x1800513df (63 bytes)\n// \n// 8 xrefs:\n// > <???> @ 0x1800f3490\n// > <???> @ 0x1800f3970\n// > <???> @ 0x1800f3ee0\n// > <???> @ 0x1800f44d8\n// > <???> @ 0x1800f4a48\n// > <???> @ 0x1800fd590\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801bc064\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:45 +0000\n// \n\nvoid __fastcall cocos2d::CCLayer::ccTouchesCancelled(\n        cocos2d::CCLayer *this,\n        struct cocos2d::CCSet *a2,\n        struct cocos2d::CCEvent *a3)\n{\n  char *v3; // rbx\n  struct cocos2d::CCScriptEngineManager *v5; // rax\n\n  v3 = (char *)this - 320;\n  if ( *((_DWORD *)this - 5) )\n  {\n    v5 = cocos2d::CCScriptEngineManager::sharedManager();\n    (*(void (__fastcall **)(_QWORD, char *, __int64, struct cocos2d::CCSet *))(**(_QWORD **)v5 + 104LL))(\n      *(_QWORD *)v5,\n      v3,\n      3,\n      a2);\n  }\n}", "assembly": "; \n; cocos2d::CCLayer::ccTouchesCancelled from 0x1800513a0 to 0x1800513df (63 bytes)\n; \n; 8 xrefs:\n; > <???> @ 0x1800f3490\n; > <???> @ 0x1800f3970\n; > <???> @ 0x1800f3ee0\n; > <???> @ 0x1800f44d8\n; > <???> @ 0x1800f4a48\n; > <???> @ 0x1800fd590\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801bc064\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:45 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x1800513a0\npush    rdi                                                            ; +0x5, 0x1800513a5\nsub     rsp, 20h                                                       ; +0x6, 0x1800513a6\ncmp     dword ptr [rcx-14h], 0                                         ; +0xa, 0x1800513aa\nlea     rbx, [rcx-140h]                                                ; +0xe, 0x1800513ae\nmov     rdi, rdx                                                       ; +0x15, 0x1800513b5\njz      short loc_1800513D4                                            ; +0x18, 0x1800513b8\ncall    ?sharedManager@CCScriptEngineManager@cocos2d@@SAPEAV12@XZ; cocos2d::CCScriptEngineManager::sharedManager(void) ; +0x1a, 0x1800513ba\nmov     r9, rdi                                                        ; +0x1f, 0x1800513bf\nmov     r8d, 3                                                         ; +0x22, 0x1800513c2\nmov     rdx, rbx                                                       ; +0x28, 0x1800513c8\nmov     rcx, [rax]                                                     ; +0x2b, 0x1800513cb\nmov     rax, [rcx]                                                     ; +0x2e, 0x1800513ce\ncall    qword ptr [rax+68h]                                            ; +0x31, 0x1800513d1\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x34, 0x1800513d4\nadd     rsp, 20h                                                       ; +0x39, 0x1800513d9\npop     rdi                                                            ; +0x3d, 0x1800513dd\nretn                                                                   ; +0x3e, 0x1800513de", "xrefs": ["<???> @ 0x1800f3490", "<???> @ 0x1800f3970", "<???> @ 0x1800f3ee0", "<???> @ 0x1800f44d8", "<???> @ 0x1800f4a48", "<???> @ 0x1800fd590", "<???> @ 0x18014cf68", "<???> @ 0x1801bc064"], "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"}