{"type": "func", "start": 4304411584, "end": 4304411908, "name": "EditorWindowPopup::ccTouchCancelled", "pseudocode": "// \n// EditorWindowPopup::ccTouchCancelled from 0x100901bc0 to 0x100901d04 (324 bytes)\n// \n// 7 xrefs:\n// > sub_100901D10 @ 0x100901d1c\n// > <???> @ 0x100bb3640\n// > <???> @ 0x100bb89a0\n// > <???> @ 0x100bb91e8\n// > <???> @ 0x100bbdcc8\n// > <???> @ 0x100bbf4a0\n// > <???> @ 0x100bd5680\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 12:38:03 +0000\n// \n\n__int64 __fastcall EditorWindowPopup::ccTouchCancelled(__int64 a1, __int64 a2)\n{\n  __int64 result; // rax\n  __int64 v4; // rdi\n  __int64 v5; // rdi\n  __int64 v6; // rdi\n  __int64 v7; // [rsp+8h] [rbp-38h] BYREF\n  _QWORD v8[6]; // [rsp+10h] [rbp-30h] BYREF\n\n  result = *(unsigned int *)(a2 + 56);\n  if ( (_DWORD)result == *(_DWORD *)(a1 + 1076) )\n  {\n    *(_DWORD *)(a1 + 1076) = -1;\n    if ( *(_BYTE *)(a1 + 1093) == 1 )\n    {\n      *(_BYTE *)(a1 + 1093) = 0;\n      return (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 552) + 920LL))(*(_QWORD *)(a1 + 552));\n    }\n    else\n    {\n      *(_BYTE *)(a1 + 1080) = 0;\n      if ( *(_DWORD *)(a1 + 1096) )\n      {\n        *(_DWORD *)(a1 + 1096) = 0;\n        sub_1002782D0(v8, (_QWORD *)(a1 + 1068));\n        sub_100900480(&v7, a1, (__int64)v8);\n        sub_100278300((_QWORD *)(a1 + 1068), &v7);\n        result = EditorWindowPopup::layoutWindow(a1);\n      }\n      if ( *(_BYTE *)(a1 + 1094) == 1 )\n      {\n        *(_BYTE *)(a1 + 1094) = 0;\n        v4 = *(_QWORD *)(a1 + 1032);\n        if ( v4 )\n          result = (*(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)v4 + 912LL))(v4, 255);\n      }\n      v5 = *(_QWORD *)(a1 + 1040);\n      if ( v5 )\n        result = sub_10096C7A0(v5, a2);\n      if ( *(_BYTE *)(a1 + 1092) == 1 )\n      {\n        v6 = *(_QWORD *)(a1 + 1048);\n        if ( v6 )\n        {\n          result = (*(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)v6 + 920LL))(v6, a2);\n          *(_BYTE *)(a1 + 1092) = 0;\n        }\n      }\n    }\n  }\n  return result;\n}", "assembly": "; \n; EditorWindowPopup::ccTouchCancelled from 0x100901bc0 to 0x100901d04 (324 bytes)\n; \n; 7 xrefs:\n; > sub_100901D10 @ 0x100901d1c\n; > <???> @ 0x100bb3640\n; > <???> @ 0x100bb89a0\n; > <???> @ 0x100bb91e8\n; > <???> @ 0x100bbdcc8\n; > <???> @ 0x100bbf4a0\n; > <???> @ 0x100bd5680\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 12:38:03 +0000\n; \npush    rbp                                                            ; +0x0, 0x100901bc0\nmov     rbp, rsp                                                       ; +0x1, 0x100901bc1\npush    r15                                                            ; +0x4, 0x100901bc4\npush    r14                                                            ; +0x6, 0x100901bc6\npush    r13                                                            ; +0x8, 0x100901bc8\npush    r12                                                            ; +0xa, 0x100901bca\npush    rbx                                                            ; +0xc, 0x100901bcc\nsub     rsp, 18h                                                       ; +0xd, 0x100901bcd\nmov     eax, [rsi+38h]                                                 ; +0x11, 0x100901bd1\ncmp     eax, [rdi+434h]                                                ; +0x14, 0x100901bd4\njnz     loc_100901CF5                                                  ; +0x1a, 0x100901bda\nmov     rbx, rdi                                                       ; +0x20, 0x100901be0\nmov     dword ptr [rdi+434h], 0FFFFFFFFh                               ; +0x23, 0x100901be3\ncmp     byte ptr [rdi+445h], 1                                         ; +0x2d, 0x100901bed\njnz     short loc_100901C1E                                            ; +0x34, 0x100901bf4\nmov     byte ptr [rbx+445h], 0                                         ; +0x36, 0x100901bf6\nmov     rdi, [rbx+228h]                                                ; +0x3d, 0x100901bfd\nmov     rax, [rdi]                                                     ; +0x44, 0x100901c04\nmov     rax, [rax+398h]                                                ; +0x47, 0x100901c07\nadd     rsp, 18h                                                       ; +0x4e, 0x100901c0e\npop     rbx                                                            ; +0x52, 0x100901c12\npop     r12                                                            ; +0x53, 0x100901c13\npop     r13                                                            ; +0x55, 0x100901c15\npop     r14                                                            ; +0x57, 0x100901c17\npop     r15                                                            ; +0x59, 0x100901c19\npop     rbp                                                            ; +0x5b, 0x100901c1b\njmp     rax                                                            ; +0x5c, 0x100901c1c\nmov     byte ptr [rbx+438h], 0                                         ; +0x5e, 0x100901c1e\ncmp     dword ptr [rbx+448h], 0                                        ; +0x65, 0x100901c25\njz      short loc_100901C7D                                            ; +0x6c, 0x100901c2c\nmov     dword ptr [rbx+448h], 0                                        ; +0x6e, 0x100901c2e\nlea     r14, [rbx+42Ch]                                                ; +0x78, 0x100901c38\nlea     rdi, [rbp+var_30]                                              ; +0x7f, 0x100901c3f\nmov     r13, rsi                                                       ; +0x83, 0x100901c43\nmov     rsi, r14                                                       ; +0x86, 0x100901c46\nmov     r15, rdx                                                       ; +0x89, 0x100901c49\ncall    sub_1002782D0                                                  ; +0x8c, 0x100901c4c\nlea     r12, [rbp+var_38]                                              ; +0x91, 0x100901c51\nmov     rdi, r12                                                       ; +0x95, 0x100901c55\nmov     rsi, rbx                                                       ; +0x98, 0x100901c58\nlea     rdx, [rbp+var_30]                                              ; +0x9b, 0x100901c5b\ncall    sub_100900480                                                  ; +0x9f, 0x100901c5f\nmov     rdi, r14                                                       ; +0xa4, 0x100901c64\nmov     rsi, r12                                                       ; +0xa7, 0x100901c67\ncall    sub_100278300                                                  ; +0xaa, 0x100901c6a\nmov     rdi, rbx                                                       ; +0xaf, 0x100901c6f\ncall    EditorWindowPopup__layoutWindow                                ; +0xb2, 0x100901c72\nmov     rsi, r13                                                       ; +0xb7, 0x100901c77\nmov     rdx, r15                                                       ; +0xba, 0x100901c7a\ncmp     byte ptr [rbx+446h], 1                                         ; +0xbd, 0x100901c7d\njnz     short loc_100901CB3                                            ; +0xc4, 0x100901c84\nmov     byte ptr [rbx+446h], 0                                         ; +0xc6, 0x100901c86\nmov     rdi, [rbx+408h]                                                ; +0xcd, 0x100901c8d\ntest    rdi, rdi                                                       ; +0xd4, 0x100901c94\njz      short loc_100901CB3                                            ; +0xd7, 0x100901c97\nmov     rax, [rdi]                                                     ; +0xd9, 0x100901c99\nmov     r14, rsi                                                       ; +0xdc, 0x100901c9c\nmov     esi, 0FFh                                                      ; +0xdf, 0x100901c9f\nmov     r15, rdx                                                       ; +0xe4, 0x100901ca4\ncall    qword ptr [rax+390h]                                           ; +0xe7, 0x100901ca7\nmov     rsi, r14                                                       ; +0xed, 0x100901cad\nmov     rdx, r15                                                       ; +0xf0, 0x100901cb0\nmov     rdi, [rbx+410h]                                                ; +0xf3, 0x100901cb3\ntest    rdi, rdi                                                       ; +0xfa, 0x100901cba\njz      short loc_100901CD0                                            ; +0xfd, 0x100901cbd\nmov     r14, rsi                                                       ; +0xff, 0x100901cbf\nmov     r15, rdx                                                       ; +0x102, 0x100901cc2\ncall    sub_10096C7A0                                                  ; +0x105, 0x100901cc5\nmov     rsi, r14                                                       ; +0x10a, 0x100901cca\nmov     rdx, r15                                                       ; +0x10d, 0x100901ccd\ncmp     byte ptr [rbx+444h], 1                                         ; +0x110, 0x100901cd0\njnz     short loc_100901CF5                                            ; +0x117, 0x100901cd7\nmov     rdi, [rbx+418h]                                                ; +0x119, 0x100901cd9\ntest    rdi, rdi                                                       ; +0x120, 0x100901ce0\njz      short loc_100901CF5                                            ; +0x123, 0x100901ce3\nmov     rax, [rdi]                                                     ; +0x125, 0x100901ce5\ncall    qword ptr [rax+398h]                                           ; +0x128, 0x100901ce8\nmov     byte ptr [rbx+444h], 0                                         ; +0x12e, 0x100901cee\nadd     rsp, 18h                                                       ; +0x135, 0x100901cf5\npop     rbx                                                            ; +0x139, 0x100901cf9\npop     r12                                                            ; +0x13a, 0x100901cfa\npop     r13                                                            ; +0x13c, 0x100901cfc\npop     r14                                                            ; +0x13e, 0x100901cfe\npop     r15                                                            ; +0x140, 0x100901d00\npop     rbp                                                            ; +0x142, 0x100901d02\nretn                                                                   ; +0x143, 0x100901d03", "xrefs": ["sub_100901D10 @ 0x100901d1c", "<???> @ 0x100bb3640", "<???> @ 0x100bb89a0", "<???> @ 0x100bb91e8", "<???> @ 0x100bbdcc8", "<???> @ 0x100bbf4a0", "<???> @ 0x100bd5680"], "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"}