{"type": "func", "start": 4296413192, "end": 4296413356, "name": "EditorUI::finishTouchDelay", "pseudocode": "// \n// EditorUI::finishTouchDelay from 0x100161008 to 0x1001610ac (164 bytes)\n// \n// 2 xrefs:\n// > EditorUI::ccTouchEnded @ 0x100161b68\n// > EditorUI::ccTouchBegan @ 0x1001614b0\n// \n// This function is hookable on this platform (idp: arm, 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 10:59:46 +0000\n// \n\nvoid __fastcall EditorUI::finishTouchDelay(__int64 a1)\n{\n  double v1; // x29\n  double v2; // x30\n  __n128 v4; // q0\n  double v5[5]; // [xsp+8h] [xbp-28h] BYREF\n\n  *(_BYTE *)(a1 + 750) = 0;\n  if ( *(_DWORD *)(a1 + 704) != -1 )\n  {\n    v5[3] = v1;\n    v5[4] = v2;\n    if ( *(_DWORD *)(*(_QWORD *)(a1 + 1440) + 1972LL) != 1 )\n    {\n      if ( EditorUI::isFreeMoveTouch(a1) )\n        EditorUI::startFreeMoveTouch(a1, v4);\n      if ( (*(_BYTE *)(a1 + 865) & 1) == 0 && !sub_100026398((float *)(a1 + 720), (float *)(a1 + 1448)) )\n      {\n        sub_1000262F4(v5, (double *)(a1 + 1448));\n        if ( (unsigned int)EditorUI::swipeToPosition(a1, v5) )\n        {\n          sub_1000262F4(v5, (double *)(a1 + 720));\n          EditorUI::swipeToPosition(a1, v5);\n        }\n      }\n    }\n  }\n}", "assembly": "; \n; EditorUI::finishTouchDelay from 0x100161008 to 0x1001610ac (164 bytes)\n; \n; 2 xrefs:\n; > EditorUI::ccTouchEnded @ 0x100161b68\n; > EditorUI::ccTouchBegan @ 0x1001614b0\n; \n; This function is hookable on this platform (idp: arm, 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 10:59:46 +0000\n; \nSTRB            WZR, [X0,#0x2EE]                                       ; +0x0, 0x100161008\nLDR             W8, [X0,#0x2C0]                                        ; +0x4, 0x10016100c\nCMN             W8, #1                                                 ; +0x8, 0x100161010\nB.EQ            locret_1001610A8                                       ; +0xc, 0x100161014\nSUB             SP, SP, #0x30 ; '0'                                    ; +0x10, 0x100161018\nSTP             X20, X19, [SP,#0x30+var_20]                            ; +0x14, 0x10016101c\nSTP             X29, X30, [SP,#0x30+var_10]                            ; +0x18, 0x100161020\nADD             X29, SP, #0x30+var_10                                  ; +0x1c, 0x100161024\nMOV             X19, X0                                                ; +0x20, 0x100161028\nLDR             X8, [X0,#0x5A0]                                        ; +0x24, 0x10016102c\nLDR             W8, [X8,#0x7B4]                                        ; +0x28, 0x100161030\nCMP             W8, #1                                                 ; +0x2c, 0x100161034\nB.EQ            loc_10016109C                                          ; +0x30, 0x100161038\nMOV             X0, X19                                                ; +0x34, 0x10016103c\nBL              EditorUI__isFreeMoveTouch                              ; +0x38, 0x100161040\nCBZ             W0, loc_100161050                                      ; +0x3c, 0x100161044\nMOV             X0, X19                                                ; +0x40, 0x100161048\nBL              EditorUI__startFreeMoveTouch                           ; +0x44, 0x10016104c\nLDRB            W8, [X19,#0x361]                                       ; +0x48, 0x100161050\nTBNZ            W8, #0, loc_10016109C                                  ; +0x4c, 0x100161054\nADD             X0, X19, #0x2D0                                        ; +0x50, 0x100161058\nADD             X1, X19, #0x5A8                                        ; +0x54, 0x10016105c\nBL              sub_100026398                                          ; +0x58, 0x100161060\nTBNZ            W0, #0, loc_10016109C                                  ; +0x5c, 0x100161064\nADD             X0, SP, #0x30+var_28                                   ; +0x60, 0x100161068\nADD             X1, X19, #0x5A8                                        ; +0x64, 0x10016106c\nBL              sub_1000262F4                                          ; +0x68, 0x100161070\nADD             X1, SP, #0x30+var_28                                   ; +0x6c, 0x100161074\nMOV             X0, X19                                                ; +0x70, 0x100161078\nBL              EditorUI__swipeToPosition                              ; +0x74, 0x10016107c\nCBZ             W0, loc_10016109C                                      ; +0x78, 0x100161080\nADD             X0, SP, #0x30+var_28                                   ; +0x7c, 0x100161084\nADD             X1, X19, #0x2D0                                        ; +0x80, 0x100161088\nBL              sub_1000262F4                                          ; +0x84, 0x10016108c\nADD             X1, SP, #0x30+var_28                                   ; +0x88, 0x100161090\nMOV             X0, X19                                                ; +0x8c, 0x100161094\nBL              EditorUI__swipeToPosition                              ; +0x90, 0x100161098\nLDP             X29, X30, [SP,#0x30+var_10]                            ; +0x94, 0x10016109c\nLDP             X20, X19, [SP,#0x30+var_20]                            ; +0x98, 0x1001610a0\nADD             SP, SP, #0x30 ; '0'                                    ; +0x9c, 0x1001610a4\nRET                                                                    ; +0xa0, 0x1001610a8", "xrefs": ["EditorUI::ccTouchEnded @ 0x100161b68", "EditorUI::ccTouchBegan @ 0x1001614b0"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "arm", "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"}