{"type": "func", "start": 5370543760, "end": 5370543947, "name": "EditorUI::finishTouchDelay", "pseudocode": "// \n// EditorUI::finishTouchDelay from 0x1401bfe90 to 0x1401bff4b (187 bytes)\n// \n// 4 xrefs:\n// > EditorUI::ccTouchEnded @ 0x1401c0d4b\n// > <???> @ 0x1408a2678\n// > <???> @ 0x1408a2688\n// > <???> @ 0x14091a678\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:28:02 +0000\n// \n\nvoid __fastcall EditorUI::finishTouchDelay(__int64 a1)\n{\n  bool v1; // zf\n  const struct cocos2d::CCPoint *v3; // rax\n  const struct cocos2d::CCPoint *v4; // rax\n  char v5; // [rsp+30h] [rbp+8h] BYREF\n\n  v1 = *(_DWORD *)(a1 + 752) == -1;\n  *(_BYTE *)(a1 + 798) = 0;\n  if ( !v1 && *(_DWORD *)(*(_QWORD *)(a1 + 1512) + 2204LL) != 1 )\n  {\n    if ( EditorUI::isFreeMoveTouch(a1) )\n      EditorUI::startFreeMoveTouch(a1);\n    if ( !*(_BYTE *)(a1 + 913)\n      && !cocos2d::CCPoint::equals((cocos2d::CCPoint *)(a1 + 768), (const struct cocos2d::CCPoint *)(a1 + 1520)) )\n    {\n      cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v5, (const struct cocos2d::CCPoint *)(a1 + 1520));\n      if ( EditorUI::swipeToPosition(a1, v3) )\n      {\n        cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v5, (const struct cocos2d::CCPoint *)(a1 + 768));\n        EditorUI::swipeToPosition(a1, v4);\n      }\n    }\n  }\n}", "assembly": "; \n; EditorUI::finishTouchDelay from 0x1401bfe90 to 0x1401bff4b (187 bytes)\n; \n; 4 xrefs:\n; > EditorUI::ccTouchEnded @ 0x1401c0d4b\n; > <???> @ 0x1408a2678\n; > <???> @ 0x1408a2688\n; > <???> @ 0x14091a678\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:28:02 +0000\n; \npush    rbx                                                            ; +0x0, 0x1401bfe90\nsub     rsp, 20h                                                       ; +0x2, 0x1401bfe92\ncmp     dword ptr [rcx+2F0h], 0FFFFFFFFh                               ; +0x6, 0x1401bfe96\nmov     rbx, rcx                                                       ; +0xd, 0x1401bfe9d\nmov     byte ptr [rcx+31Eh], 0                                         ; +0x10, 0x1401bfea0\njz      loc_1401BFF45                                                  ; +0x17, 0x1401bfea7\nmov     rax, [rcx+5E8h]                                                ; +0x1d, 0x1401bfead\ncmp     dword ptr [rax+89Ch], 1                                        ; +0x24, 0x1401bfeb4\njz      loc_1401BFF45                                                  ; +0x2b, 0x1401bfebb\ncall    EditorUI__isFreeMoveTouch                                      ; +0x31, 0x1401bfec1\ntest    al, al                                                         ; +0x36, 0x1401bfec6\njz      short loc_1401BFED2                                            ; +0x38, 0x1401bfec8\nmov     rcx, rbx                                                       ; +0x3a, 0x1401bfeca\ncall    EditorUI__startFreeMoveTouch                                   ; +0x3d, 0x1401bfecd\ncmp     byte ptr [rbx+391h], 0                                         ; +0x42, 0x1401bfed2\njnz     short loc_1401BFF45                                            ; +0x49, 0x1401bfed9\nmov     [rsp+28h+arg_8], rsi                                           ; +0x4b, 0x1401bfedb\nlea     rdx, [rbx+5F0h]                                                ; +0x50, 0x1401bfee0\nlea     rcx, [rbx+300h]                                                ; +0x57, 0x1401bfee7\nmov     [rsp+28h+arg_10], rdi                                          ; +0x5e, 0x1401bfeee\ncall    cs:?equals@CCPoint@cocos2d@@QEBA_NAEBV12@@Z; cocos2d::CCPoint::equals(cocos2d::CCPoint const &) ; +0x63, 0x1401bfef3\ntest    al, al                                                         ; +0x69, 0x1401bfef9\njnz     short loc_1401BFF3B                                            ; +0x6b, 0x1401bfefb\nlea     rdx, [rbx+5F0h]                                                ; +0x6d, 0x1401bfefd\nlea     rcx, [rsp+28h+arg_0]                                           ; +0x74, 0x1401bff04\ncall    cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0x79, 0x1401bff09\nmov     rdx, rax                                                       ; +0x7f, 0x1401bff0f\nmov     rcx, rbx                                                       ; +0x82, 0x1401bff12\ncall    EditorUI__swipeToPosition                                      ; +0x85, 0x1401bff15\ntest    al, al                                                         ; +0x8a, 0x1401bff1a\njz      short loc_1401BFF3B                                            ; +0x8c, 0x1401bff1c\nlea     rdx, [rbx+300h]                                                ; +0x8e, 0x1401bff1e\nlea     rcx, [rsp+28h+arg_0]                                           ; +0x95, 0x1401bff25\ncall    cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0x9a, 0x1401bff2a\nmov     rdx, rax                                                       ; +0xa0, 0x1401bff30\nmov     rcx, rbx                                                       ; +0xa3, 0x1401bff33\ncall    EditorUI__swipeToPosition                                      ; +0xa6, 0x1401bff36\nmov     rsi, [rsp+28h+arg_8]                                           ; +0xab, 0x1401bff3b\nmov     rdi, [rsp+28h+arg_10]                                          ; +0xb0, 0x1401bff40\nadd     rsp, 20h                                                       ; +0xb5, 0x1401bff45\npop     rbx                                                            ; +0xb9, 0x1401bff49\nretn                                                                   ; +0xba, 0x1401bff4a", "xrefs": ["EditorUI::ccTouchEnded @ 0x1401c0d4b", "<???> @ 0x1408a2678", "<???> @ 0x1408a2688", "<???> @ 0x14091a678"], "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"}