{"type": "func", "start": 6442783392, "end": 6442783455, "name": "cocos2d::CCLayer::ccTouchCancelled", "pseudocode": "// \n// cocos2d::CCLayer::ccTouchCancelled from 0x1800512a0 to 0x1800512df (63 bytes)\n// \n// 7 xrefs:\n// > <???> @ 0x1800f3470\n// > <???> @ 0x1800f3950\n// > <???> @ 0x1800f3ec0\n// > <???> @ 0x1800f44b8\n// > <???> @ 0x1800f4a28\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801bc034\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::ccTouchCancelled(\n        cocos2d::CCLayer *this,\n        struct cocos2d::CCTouch *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::CCTouch *))(**(_QWORD **)v5 + 112LL))(\n      *(_QWORD *)v5,\n      v3,\n      3,\n      a2);\n  }\n}", "assembly": "; \n; cocos2d::CCLayer::ccTouchCancelled from 0x1800512a0 to 0x1800512df (63 bytes)\n; \n; 7 xrefs:\n; > <???> @ 0x1800f3470\n; > <???> @ 0x1800f3950\n; > <???> @ 0x1800f3ec0\n; > <???> @ 0x1800f44b8\n; > <???> @ 0x1800f4a28\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801bc034\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, 0x1800512a0\npush    rdi                                                            ; +0x5, 0x1800512a5\nsub     rsp, 20h                                                       ; +0x6, 0x1800512a6\ncmp     dword ptr [rcx-14h], 0                                         ; +0xa, 0x1800512aa\nlea     rbx, [rcx-140h]                                                ; +0xe, 0x1800512ae\nmov     rdi, rdx                                                       ; +0x15, 0x1800512b5\njz      short loc_1800512D4                                            ; +0x18, 0x1800512b8\ncall    ?sharedManager@CCScriptEngineManager@cocos2d@@SAPEAV12@XZ; cocos2d::CCScriptEngineManager::sharedManager(void) ; +0x1a, 0x1800512ba\nmov     r9, rdi                                                        ; +0x1f, 0x1800512bf\nmov     r8d, 3                                                         ; +0x22, 0x1800512c2\nmov     rdx, rbx                                                       ; +0x28, 0x1800512c8\nmov     rcx, [rax]                                                     ; +0x2b, 0x1800512cb\nmov     rax, [rcx]                                                     ; +0x2e, 0x1800512ce\ncall    qword ptr [rax+70h]                                            ; +0x31, 0x1800512d1\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x34, 0x1800512d4\nadd     rsp, 20h                                                       ; +0x39, 0x1800512d9\npop     rdi                                                            ; +0x3d, 0x1800512dd\nretn                                                                   ; +0x3e, 0x1800512de", "xrefs": ["<???> @ 0x1800f3470", "<???> @ 0x1800f3950", "<???> @ 0x1800f3ec0", "<???> @ 0x1800f44b8", "<???> @ 0x1800f4a28", "<???> @ 0x18014cf68", "<???> @ 0x1801bc034"], "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"}