{"type": "func", "start": 6442783712, "end": 6442783775, "name": "cocos2d::CCLayer::ccTouchesEnded", "pseudocode": "// \n// cocos2d::CCLayer::ccTouchesEnded from 0x1800513e0 to 0x18005141f (63 bytes)\n// \n// 8 xrefs:\n// > <???> @ 0x1800f3488\n// > <???> @ 0x1800f3968\n// > <???> @ 0x1800f3ed8\n// > <???> @ 0x1800f44d0\n// > <???> @ 0x1800f4a40\n// > <???> @ 0x1800fd588\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801bc070\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::ccTouchesEnded(\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      2,\n      a2);\n  }\n}", "assembly": "; \n; cocos2d::CCLayer::ccTouchesEnded from 0x1800513e0 to 0x18005141f (63 bytes)\n; \n; 8 xrefs:\n; > <???> @ 0x1800f3488\n; > <???> @ 0x1800f3968\n; > <???> @ 0x1800f3ed8\n; > <???> @ 0x1800f44d0\n; > <???> @ 0x1800f4a40\n; > <???> @ 0x1800fd588\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801bc070\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, 0x1800513e0\npush    rdi                                                            ; +0x5, 0x1800513e5\nsub     rsp, 20h                                                       ; +0x6, 0x1800513e6\ncmp     dword ptr [rcx-14h], 0                                         ; +0xa, 0x1800513ea\nlea     rbx, [rcx-140h]                                                ; +0xe, 0x1800513ee\nmov     rdi, rdx                                                       ; +0x15, 0x1800513f5\njz      short loc_180051414                                            ; +0x18, 0x1800513f8\ncall    ?sharedManager@CCScriptEngineManager@cocos2d@@SAPEAV12@XZ; cocos2d::CCScriptEngineManager::sharedManager(void) ; +0x1a, 0x1800513fa\nmov     r9, rdi                                                        ; +0x1f, 0x1800513ff\nmov     r8d, 2                                                         ; +0x22, 0x180051402\nmov     rdx, rbx                                                       ; +0x28, 0x180051408\nmov     rcx, [rax]                                                     ; +0x2b, 0x18005140b\nmov     rax, [rcx]                                                     ; +0x2e, 0x18005140e\ncall    qword ptr [rax+68h]                                            ; +0x31, 0x180051411\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x34, 0x180051414\nadd     rsp, 20h                                                       ; +0x39, 0x180051419\npop     rdi                                                            ; +0x3d, 0x18005141d\nretn                                                                   ; +0x3e, 0x18005141e", "xrefs": ["<???> @ 0x1800f3488", "<???> @ 0x1800f3968", "<???> @ 0x1800f3ed8", "<???> @ 0x1800f44d0", "<???> @ 0x1800f4a40", "<???> @ 0x1800fd588", "<???> @ 0x18014cf68", "<???> @ 0x1801bc070"], "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"}