{"type": "func", "start": 5369898272, "end": 5369898432, "name": "DropdownListPopup::ccTouchCancelled", "pseudocode": "// \n// DropdownListPopup::ccTouchCancelled from 0x140122520 to 0x1401225c0 (160 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x140732728\n// > <???> @ 0x1409166ac\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:57 +0000\n// \n\nvoid __fastcall DropdownListPopup::ccTouchCancelled(__int64 a1, __int64 a2, __int64 a3)\n{\n  __int64 v5; // rcx\n  __int64 v7; // rcx\n\n  v5 = *(_QWORD *)(a1 + 400);\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 + 392);\n    if ( v7 || (v7 = *(_QWORD *)(a1 + 232)) != 0 )\n      (*(void (__fastcall **)(__int64, __int64, __int64))(*(_QWORD *)(v7 + 320) + 32LL))(v7 + 320, a2, a3);\n    *(_BYTE *)(a1 + 408) = 0;\n  }\n}", "assembly": "; \n; DropdownListPopup::ccTouchCancelled from 0x140122520 to 0x1401225c0 (160 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x140732728\n; > <???> @ 0x1409166ac\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:57 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x140122520\nmov     [rsp+arg_8], rsi                                               ; +0x5, 0x140122525\npush    rdi                                                            ; +0xa, 0x14012252a\nsub     rsp, 20h                                                       ; +0xb, 0x14012252b\nmov     rbx, rcx                                                       ; +0xf, 0x14012252f\nmov     rsi, r8                                                        ; +0x12, 0x140122532\nmov     rcx, [rcx+190h]                                                ; +0x15, 0x140122535\nmov     rdi, rdx                                                       ; +0x1c, 0x14012253c\ntest    rcx, rcx                                                       ; +0x1f, 0x14012253f\njz      short loc_140122575                                            ; +0x22, 0x140122542\nmov     eax, [rcx+1B8h]                                                ; +0x24, 0x140122544\ncmp     [rdx+38h], eax                                                 ; +0x2a, 0x14012254a\njnz     short loc_140122575                                            ; +0x2d, 0x14012254d\nxor     eax, eax                                                       ; +0x2f, 0x14012254f\nmov     dword ptr [rcx+1B8h], 0FFFFFFFFh                               ; +0x31, 0x140122551\nmov     [rcx+1D8h], rax                                                ; +0x3b, 0x14012255b\nmov     [rcx+1E0h], ax                                                 ; +0x42, 0x140122562\nmov     [rcx+1FCh], al                                                 ; +0x49, 0x140122569\ncall    cs:?unscheduleUpdate@CCNode@cocos2d@@QEAAXXZ; cocos2d::CCNode::unscheduleUpdate(void) ; +0x4f, 0x14012256f\ncmp     byte ptr [rbx+198h], 0                                         ; +0x55, 0x140122575\njz      short loc_1401225B0                                            ; +0x5c, 0x14012257c\nmov     rcx, [rbx+188h]                                                ; +0x5e, 0x14012257e\ntest    rcx, rcx                                                       ; +0x65, 0x140122585\njnz     short loc_140122596                                            ; +0x68, 0x140122588\nmov     rcx, [rbx+0E8h]                                                ; +0x6a, 0x14012258a\ntest    rcx, rcx                                                       ; +0x71, 0x140122591\njz      short loc_1401225A9                                            ; +0x74, 0x140122594\nadd     rcx, 140h                                                      ; +0x76, 0x140122596\nmov     r8, rsi                                                        ; +0x7d, 0x14012259d\nmov     rdx, rdi                                                       ; +0x80, 0x1401225a0\nmov     rax, [rcx]                                                     ; +0x83, 0x1401225a3\ncall    qword ptr [rax+20h]                                            ; +0x86, 0x1401225a6\nmov     byte ptr [rbx+198h], 0                                         ; +0x89, 0x1401225a9\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x90, 0x1401225b0\nmov     rsi, [rsp+28h+arg_8]                                           ; +0x95, 0x1401225b5\nadd     rsp, 20h                                                       ; +0x9a, 0x1401225ba\npop     rdi                                                            ; +0x9e, 0x1401225be\nretn                                                                   ; +0x9f, 0x1401225bf", "xrefs": ["<???> @ 0x140732728", "<???> @ 0x1409166ac"], "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"}