{"type": "func", "start": 6442776000, "end": 6442776063, "name": "cocos2d::CCLayer::ccTouchesEnded", "pseudocode": "// \n// cocos2d::CCLayer::ccTouchesEnded from 0x18004f5c0 to 0x18004f5ff (63 bytes)\n// \n// 8 xrefs:\n// > <???> @ 0x1800ed328\n// > <???> @ 0x1800ed7e8\n// > <???> @ 0x1800edd38\n// > <???> @ 0x1800ee310\n// > <???> @ 0x1800ee860\n// > <???> @ 0x1800f7140\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801b1ddc\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::CCLayer::ccTouchesEnded(\n        cocos2d::CCLayer *this,\n        struct cocos2d::CCSet *a2,\n        struct cocos2d::CCEvent *a3)\n{\n  struct cocos2d::CCScriptEngineManager *v5; // rax\n\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      (char *)this - 320,\n      2,\n      a2);\n  }\n}", "assembly": "; \n; cocos2d::CCLayer::ccTouchesEnded from 0x18004f5c0 to 0x18004f5ff (63 bytes)\n; \n; 8 xrefs:\n; > <???> @ 0x1800ed328\n; > <???> @ 0x1800ed7e8\n; > <???> @ 0x1800edd38\n; > <???> @ 0x1800ee310\n; > <???> @ 0x1800ee860\n; > <???> @ 0x1800f7140\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801b1ddc\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, 0x18004f5c0\npush    rdi                                                            ; +0x5, 0x18004f5c5\nsub     rsp, 20h                                                       ; +0x6, 0x18004f5c6\ncmp     dword ptr [rcx-14h], 0                                         ; +0xa, 0x18004f5ca\nmov     rdi, rdx                                                       ; +0xe, 0x18004f5ce\nmov     rbx, rcx                                                       ; +0x11, 0x18004f5d1\njz      short loc_18004F5F4                                            ; +0x14, 0x18004f5d4\ncall    ?sharedManager@CCScriptEngineManager@cocos2d@@SAPEAV12@XZ; cocos2d::CCScriptEngineManager::sharedManager(void) ; +0x16, 0x18004f5d6\nlea     rdx, [rbx-140h]                                                ; +0x1b, 0x18004f5db\nmov     r9, rdi                                                        ; +0x22, 0x18004f5e2\nmov     r8d, 2                                                         ; +0x25, 0x18004f5e5\nmov     rcx, [rax]                                                     ; +0x2b, 0x18004f5eb\nmov     rax, [rcx]                                                     ; +0x2e, 0x18004f5ee\ncall    qword ptr [rax+68h]                                            ; +0x31, 0x18004f5f1\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x34, 0x18004f5f4\nadd     rsp, 20h                                                       ; +0x39, 0x18004f5f9\npop     rdi                                                            ; +0x3d, 0x18004f5fd\nretn                                                                   ; +0x3e, 0x18004f5fe", "xrefs": ["<???> @ 0x1800ed328", "<???> @ 0x1800ed7e8", "<???> @ 0x1800edd38", "<???> @ 0x1800ee310", "<???> @ 0x1800ee860", "<???> @ 0x1800f7140", "<???> @ 0x1801438a8", "<???> @ 0x1801b1ddc"], "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"}