{"type": "func", "start": 5372741856, "end": 5372742012, "name": "KeybindingsLayer::ccTouchCancelled", "pseudocode": "// \n// KeybindingsLayer::ccTouchCancelled from 0x1403d88e0 to 0x1403d897c (156 bytes)\n// \n// 3 xrefs:\n// > <???> @ 0x140786138\n// > <???> @ 0x140793d70\n// > <???> @ 0x140924b00\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:31:38 +0000\n// \n\n__int64 __fastcall KeybindingsLayer::ccTouchCancelled(__int64 a1, __int64 a2, __int64 a3)\n{\n  __int64 v5; // rcx\n\n  v5 = *(_QWORD *)(a1 + 800);\n  if ( v5 && *(_DWORD *)(a2 + 56) == *(_DWORD *)(v5 + 440) )\n  {\n    *(_DWORD *)(v5 + 440) = -1;\n    *(_QWORD *)(v5 + 472) = 0;\n    *(_WORD *)(v5 + 480) = 0;\n    *(_BYTE *)(v5 + 508) = 0;\n    cocos2d::CCNode::unscheduleUpdate((cocos2d::CCNode *)v5);\n  }\n  if ( *(_BYTE *)(a1 + 816) )\n  {\n    (*(void (__fastcall **)(__int64, __int64, __int64))(*(_QWORD *)(*(_QWORD *)(a1 + 808) + 320LL) + 32LL))(\n      *(_QWORD *)(a1 + 808) + 320LL,\n      a2,\n      a3);\n    *(_BYTE *)(a1 + 816) = 0;\n  }\n  return FLAlertLayer::ccTouchCancelled(a1, a2);\n}", "assembly": "; \n; KeybindingsLayer::ccTouchCancelled from 0x1403d88e0 to 0x1403d897c (156 bytes)\n; \n; 3 xrefs:\n; > <???> @ 0x140786138\n; > <???> @ 0x140793d70\n; > <???> @ 0x140924b00\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:31:38 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x1403d88e0\nmov     [rsp+arg_8], rsi                                               ; +0x5, 0x1403d88e5\npush    rdi                                                            ; +0xa, 0x1403d88ea\nsub     rsp, 20h                                                       ; +0xb, 0x1403d88eb\nmov     rbx, rcx                                                       ; +0xf, 0x1403d88ef\nmov     rsi, r8                                                        ; +0x12, 0x1403d88f2\nmov     rcx, [rcx+320h]                                                ; +0x15, 0x1403d88f5\nmov     rdi, rdx                                                       ; +0x1c, 0x1403d88fc\ntest    rcx, rcx                                                       ; +0x1f, 0x1403d88ff\njz      short loc_1403D8935                                            ; +0x22, 0x1403d8902\nmov     eax, [rcx+1B8h]                                                ; +0x24, 0x1403d8904\ncmp     [rdx+38h], eax                                                 ; +0x2a, 0x1403d890a\njnz     short loc_1403D8935                                            ; +0x2d, 0x1403d890d\nxor     eax, eax                                                       ; +0x2f, 0x1403d890f\nmov     dword ptr [rcx+1B8h], 0FFFFFFFFh                               ; +0x31, 0x1403d8911\nmov     [rcx+1D8h], rax                                                ; +0x3b, 0x1403d891b\nmov     [rcx+1E0h], ax                                                 ; +0x42, 0x1403d8922\nmov     [rcx+1FCh], al                                                 ; +0x49, 0x1403d8929\ncall    cs:?unscheduleUpdate@CCNode@cocos2d@@QEAAXXZ; cocos2d::CCNode::unscheduleUpdate(void) ; +0x4f, 0x1403d892f\ncmp     byte ptr [rbx+330h], 0                                         ; +0x55, 0x1403d8935\njz      short loc_1403D895F                                            ; +0x5c, 0x1403d893c\nmov     rcx, [rbx+328h]                                                ; +0x5e, 0x1403d893e\nmov     r8, rsi                                                        ; +0x65, 0x1403d8945\nadd     rcx, 140h                                                      ; +0x68, 0x1403d8948\nmov     rdx, rdi                                                       ; +0x6f, 0x1403d894f\nmov     rax, [rcx]                                                     ; +0x72, 0x1403d8952\ncall    qword ptr [rax+20h]                                            ; +0x75, 0x1403d8955\nmov     byte ptr [rbx+330h], 0                                         ; +0x78, 0x1403d8958\nmov     r8, rsi                                                        ; +0x7f, 0x1403d895f\nmov     rdx, rdi                                                       ; +0x82, 0x1403d8962\nmov     rcx, rbx                                                       ; +0x85, 0x1403d8965\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x88, 0x1403d8968\nmov     rsi, [rsp+28h+arg_8]                                           ; +0x8d, 0x1403d896d\nadd     rsp, 20h                                                       ; +0x92, 0x1403d8972\npop     rdi                                                            ; +0x96, 0x1403d8976\njmp     FLAlertLayer__ccTouchCancelled                                 ; +0x97, 0x1403d8977", "xrefs": ["<???> @ 0x140786138", "<???> @ 0x140793d70", "<???> @ 0x140924b00"], "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"}