{"type": "func", "start": 5373560896, "end": 5373561057, "name": "NewsPopup::ccTouchCancelled", "pseudocode": "// \n// NewsPopup::ccTouchCancelled from 0x1404a0840 to 0x1404a08e1 (161 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x1407b9568\n// > <???> @ 0x140929438\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:32:56 +0000\n// \n\n__int64 __fastcall NewsPopup::ccTouchCancelled(__int64 a1, __int64 a2, __int64 a3)\n{\n  __int64 v5; // rcx\n  __int64 v7; // rcx\n\n  v5 = *(_QWORD *)(a1 + 392);\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 + 408) )\n  {\n    v7 = *(_QWORD *)(a1 + 400);\n    if ( v7 )\n    {\n      (*(void (__fastcall **)(__int64, __int64, __int64))(*(_QWORD *)(v7 + 320) + 32LL))(v7 + 320, a2, a3);\n      *(_BYTE *)(a1 + 408) = 0;\n    }\n  }\n  return FLAlertLayer::ccTouchCancelled(a1, a2);\n}", "assembly": "; \n; NewsPopup::ccTouchCancelled from 0x1404a0840 to 0x1404a08e1 (161 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x1407b9568\n; > <???> @ 0x140929438\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:32:56 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x1404a0840\nmov     [rsp+arg_8], rsi                                               ; +0x5, 0x1404a0845\npush    rdi                                                            ; +0xa, 0x1404a084a\nsub     rsp, 20h                                                       ; +0xb, 0x1404a084b\nmov     rbx, rcx                                                       ; +0xf, 0x1404a084f\nmov     rsi, r8                                                        ; +0x12, 0x1404a0852\nmov     rcx, [rcx+188h]                                                ; +0x15, 0x1404a0855\nmov     rdi, rdx                                                       ; +0x1c, 0x1404a085c\ntest    rcx, rcx                                                       ; +0x1f, 0x1404a085f\njz      short loc_1404A0895                                            ; +0x22, 0x1404a0862\nmov     eax, [rcx+1B8h]                                                ; +0x24, 0x1404a0864\ncmp     [rdx+38h], eax                                                 ; +0x2a, 0x1404a086a\njnz     short loc_1404A0895                                            ; +0x2d, 0x1404a086d\nxor     eax, eax                                                       ; +0x2f, 0x1404a086f\nmov     dword ptr [rcx+1B8h], 0FFFFFFFFh                               ; +0x31, 0x1404a0871\nmov     [rcx+1D8h], rax                                                ; +0x3b, 0x1404a087b\nmov     [rcx+1E0h], ax                                                 ; +0x42, 0x1404a0882\nmov     [rcx+1FCh], al                                                 ; +0x49, 0x1404a0889\ncall    cs:?unscheduleUpdate@CCNode@cocos2d@@QEAAXXZ; cocos2d::CCNode::unscheduleUpdate(void) ; +0x4f, 0x1404a088f\ncmp     byte ptr [rbx+198h], 0                                         ; +0x55, 0x1404a0895\njz      short loc_1404A08C4                                            ; +0x5c, 0x1404a089c\nmov     rcx, [rbx+190h]                                                ; +0x5e, 0x1404a089e\ntest    rcx, rcx                                                       ; +0x65, 0x1404a08a5\njz      short loc_1404A08C4                                            ; +0x68, 0x1404a08a8\nadd     rcx, 140h                                                      ; +0x6a, 0x1404a08aa\nmov     r8, rsi                                                        ; +0x71, 0x1404a08b1\nmov     rdx, rdi                                                       ; +0x74, 0x1404a08b4\nmov     rax, [rcx]                                                     ; +0x77, 0x1404a08b7\ncall    qword ptr [rax+20h]                                            ; +0x7a, 0x1404a08ba\nmov     byte ptr [rbx+198h], 0                                         ; +0x7d, 0x1404a08bd\nmov     r8, rsi                                                        ; +0x84, 0x1404a08c4\nmov     rdx, rdi                                                       ; +0x87, 0x1404a08c7\nmov     rcx, rbx                                                       ; +0x8a, 0x1404a08ca\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x8d, 0x1404a08cd\nmov     rsi, [rsp+28h+arg_8]                                           ; +0x92, 0x1404a08d2\nadd     rsp, 20h                                                       ; +0x97, 0x1404a08d7\npop     rdi                                                            ; +0x9b, 0x1404a08db\njmp     FLAlertLayer__ccTouchCancelled                                 ; +0x9c, 0x1404a08dc", "xrefs": ["<???> @ 0x1407b9568", "<???> @ 0x140929438"], "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"}