{"type": "func", "start": 6442815600, "end": 6442815653, "name": "cocos2d::CCMenu::ccTouchEnded", "pseudocode": "// \n// cocos2d::CCMenu::ccTouchEnded from 0x180059070 to 0x1800590a5 (53 bytes)\n// \n// 3 xrefs:\n// > <???> @ 0x1800f7120\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801b2a9c\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::CCMenu::ccTouchEnded(\n        cocos2d::CCMenu *this,\n        struct cocos2d::CCTouch *a2,\n        struct cocos2d::CCEvent *a3)\n{\n  __int64 v4; // rcx\n\n  v4 = *(_QWORD *)&this->m_sAdditionalTransform.b;\n  if ( v4 )\n  {\n    (*(void (__fastcall **)(__int64, struct cocos2d::CCTouch *, struct cocos2d::CCEvent *))(*(_QWORD *)v4 + 888LL))(\n      v4,\n      a2,\n      a3);\n    (*(void (__fastcall **)(_QWORD))(**(_QWORD **)&this->m_sAdditionalTransform.b + 872LL))(*(_QWORD *)&this->m_sAdditionalTransform.b);\n  }\n  this->m_sAdditionalTransform.a = 0.0;\n}", "assembly": "; \n; cocos2d::CCMenu::ccTouchEnded from 0x180059070 to 0x1800590a5 (53 bytes)\n; \n; 3 xrefs:\n; > <???> @ 0x1800f7120\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801b2a9c\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\npush    rbx                                                            ; +0x0, 0x180059070\nsub     rsp, 20h                                                       ; +0x2, 0x180059072\nmov     rbx, rcx                                                       ; +0x6, 0x180059076\nmov     rcx, [rcx+78h]                                                 ; +0x9, 0x180059079\ntest    rcx, rcx                                                       ; +0xd, 0x18005907d\njz      short loc_180059098                                            ; +0x10, 0x180059080\nmov     rax, [rcx]                                                     ; +0x12, 0x180059082\ncall    qword ptr [rax+378h]                                           ; +0x15, 0x180059085\nmov     rcx, [rbx+78h]                                                 ; +0x1b, 0x18005908b\nmov     rax, [rcx]                                                     ; +0x1f, 0x18005908f\ncall    qword ptr [rax+368h]                                           ; +0x22, 0x180059092\nmov     dword ptr [rbx+74h], 0                                         ; +0x28, 0x180059098\nadd     rsp, 20h                                                       ; +0x2f, 0x18005909f\npop     rbx                                                            ; +0x33, 0x1800590a3\nretn                                                                   ; +0x34, 0x1800590a4", "xrefs": ["<???> @ 0x1800f7120", "<???> @ 0x1801438a8", "<???> @ 0x1801b2a9c"], "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"}