{"type": "func", "start": 5369818112, "end": 5369818297, "name": "DeathTrackerPopup::ccTouchCancelled", "pseudocode": "// \n// DeathTrackerPopup::ccTouchCancelled from 0x14010ec00 to 0x14010ecb9 (185 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x14072f488\n// > <???> @ 0x140915bb4\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:26:48 +0000\n// \n\n__int64 __fastcall DeathTrackerPopup::ccTouchCancelled(__int64 a1, __int64 a2)\n{\n  int v2; // eax\n  __int64 v5; // rax\n  __int64 v6; // rcx\n  __int64 v8; // rcx\n\n  v2 = *(_DWORD *)(a1 + 408);\n  if ( !v2 )\n    goto LABEL_4;\n  if ( v2 == 2 )\n  {\n    if ( *(_BYTE *)(a1 + 666) )\n    {\nLABEL_4:\n      v5 = *(_QWORD *)(a1 + 392);\nLABEL_5:\n      if ( v5 )\n      {\n        v6 = *(_QWORD *)(v5 + 328);\n        if ( v6 )\n          ScrollableContentLayer::handleTouchEnded(v6, a2);\n      }\n      return FLAlertLayer::ccTouchCancelled(a1, a2);\n    }\n  }\n  else if ( (unsigned int)(v2 - 1) > 1 )\n  {\n    v5 = *(_QWORD *)(a1 + 400);\n    goto LABEL_5;\n  }\n  v8 = *(_QWORD *)(a1 + 368);\n  if ( v8 && *(_DWORD *)(a2 + 56) == *(_DWORD *)(v8 + 440) )\n  {\n    *(_DWORD *)(v8 + 440) = -1;\n    *(_QWORD *)(v8 + 472) = 0;\n    *(_WORD *)(v8 + 480) = 0;\n    *(_BYTE *)(v8 + 508) = 0;\n    cocos2d::CCNode::unscheduleUpdate((cocos2d::CCNode *)v8);\n  }\n  return FLAlertLayer::ccTouchCancelled(a1, a2);\n}", "assembly": "; \n; DeathTrackerPopup::ccTouchCancelled from 0x14010ec00 to 0x14010ecb9 (185 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x14072f488\n; > <???> @ 0x140915bb4\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:26:48 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x14010ec00\nmov     [rsp+arg_8], rsi                                               ; +0x5, 0x14010ec05\npush    rdi                                                            ; +0xa, 0x14010ec0a\nsub     rsp, 20h                                                       ; +0xb, 0x14010ec0b\nmov     eax, [rcx+198h]                                                ; +0xf, 0x14010ec0f\nmov     rsi, r8                                                        ; +0x15, 0x14010ec15\nmov     rdi, rdx                                                       ; +0x18, 0x14010ec18\nmov     rbx, rcx                                                       ; +0x1b, 0x14010ec1b\ntest    eax, eax                                                       ; +0x1e, 0x14010ec1e\njz      short loc_14010EC30                                            ; +0x20, 0x14010ec20\ncmp     eax, 2                                                         ; +0x22, 0x14010ec22\njnz     short loc_14010EC6A                                            ; +0x25, 0x14010ec25\ncmp     byte ptr [rcx+29Ah], 0                                         ; +0x27, 0x14010ec27\njz      short loc_14010EC7A                                            ; +0x2e, 0x14010ec2e\nmov     rax, [rcx+188h]                                                ; +0x30, 0x14010ec30\ntest    rax, rax                                                       ; +0x37, 0x14010ec37\njz      short loc_14010EC4D                                            ; +0x3a, 0x14010ec3a\nmov     rcx, [rax+148h]                                                ; +0x3c, 0x14010ec3c\ntest    rcx, rcx                                                       ; +0x43, 0x14010ec43\njz      short loc_14010EC4D                                            ; +0x46, 0x14010ec46\ncall    ScrollableContentLayer__handleTouchEnded                       ; +0x48, 0x14010ec48\nmov     r8, rsi                                                        ; +0x4d, 0x14010ec4d\nmov     rdx, rdi                                                       ; +0x50, 0x14010ec50\nmov     rcx, rbx                                                       ; +0x53, 0x14010ec53\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x56, 0x14010ec56\nmov     rsi, [rsp+28h+arg_8]                                           ; +0x5b, 0x14010ec5b\nadd     rsp, 20h                                                       ; +0x60, 0x14010ec60\npop     rdi                                                            ; +0x64, 0x14010ec64\njmp     FLAlertLayer__ccTouchCancelled                                 ; +0x65, 0x14010ec65\ndec     eax                                                            ; +0x6a, 0x14010ec6a\ncmp     eax, 1                                                         ; +0x6c, 0x14010ec6c\njbe     short loc_14010EC7A                                            ; +0x6f, 0x14010ec6f\nmov     rax, [rcx+190h]                                                ; +0x71, 0x14010ec71\njmp     short loc_14010EC37                                            ; +0x78, 0x14010ec78\nmov     rcx, [rcx+170h]                                                ; +0x7a, 0x14010ec7a\ntest    rcx, rcx                                                       ; +0x81, 0x14010ec81\njz      short loc_14010EC4D                                            ; +0x84, 0x14010ec84\nmov     eax, [rcx+1B8h]                                                ; +0x86, 0x14010ec86\ncmp     [rdx+38h], eax                                                 ; +0x8c, 0x14010ec8c\njnz     short loc_14010EC4D                                            ; +0x8f, 0x14010ec8f\nxor     eax, eax                                                       ; +0x91, 0x14010ec91\nmov     dword ptr [rcx+1B8h], 0FFFFFFFFh                               ; +0x93, 0x14010ec93\nmov     [rcx+1D8h], rax                                                ; +0x9d, 0x14010ec9d\nmov     [rcx+1E0h], ax                                                 ; +0xa4, 0x14010eca4\nmov     [rcx+1FCh], al                                                 ; +0xab, 0x14010ecab\ncall    cs:?unscheduleUpdate@CCNode@cocos2d@@QEAAXXZ; cocos2d::CCNode::unscheduleUpdate(void) ; +0xb1, 0x14010ecb1\njmp     short loc_14010EC4D                                            ; +0xb7, 0x14010ecb7", "xrefs": ["<???> @ 0x14072f488", "<???> @ 0x140915bb4"], "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"}