{"type": "func", "start": 7274652, "end": 7274792, "name": "EditorUI::finishTouchDelay", "pseudocode": "// \n// EditorUI::finishTouchDelay from 0x6f009c to 0x6f0128 (140 bytes)\n// \n// 1 xrefs:\n// > EditorUI::ccTouchEnded @ 0x6f0ee6\n// \n// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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:57:34 +0000\n// \n\ncocos2d::CCObject *__fastcall EditorUI::finishTouchDelay(cocos2d::CCObject *this, int a2, int a3, int a4)\n{\n  _BYTE *v4; // r4\n  _DWORD v5[3]; // [sp+4h] [bp-Ch] BYREF\n\n  v5[0] = a2;\n  v5[1] = a3;\n  v5[2] = a4;\n  v4 = this;\n  *((_BYTE *)this + 570) = 0;\n  if ( *((_DWORD *)this + 131) != -1 && *(_DWORD *)(*((_DWORD *)this + 236) + 1428) != 1 )\n  {\n    this = (cocos2d::CCObject *)EditorUI::isFreeMoveTouch(this);\n    if ( this )\n      this = EditorUI::startFreeMoveTouch((EditorUI *)v4);\n    if ( !v4[641] )\n    {\n      this = (cocos2d::CCObject *)cocos2d::CCPoint::equals(\n                                    (cocos2d::CCPoint *)(v4 + 540),\n                                    (const cocos2d::CCPoint *)(v4 + 948));\n      if ( !this )\n      {\n        cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v5, (const cocos2d::CCPoint *)(v4 + 948));\n        this = (cocos2d::CCObject *)EditorUI::swipeToPosition((int)v4, (const cocos2d::CCPoint *)v5);\n        if ( this )\n        {\n          cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v5, (const cocos2d::CCPoint *)(v4 + 540));\n          return (cocos2d::CCObject *)EditorUI::swipeToPosition((int)v4, (const cocos2d::CCPoint *)v5);\n        }\n      }\n    }\n  }\n  return this;\n}", "assembly": "; \n; EditorUI::finishTouchDelay from 0x6f009c to 0x6f0128 (140 bytes)\n; \n; 1 xrefs:\n; > EditorUI::ccTouchEnded @ 0x6f0ee6\n; \n; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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:57:34 +0000\n; \nPUSH.W          {R0-R8,LR}                                             ; +0x0, 0x6f009c\nMOV             R4, R0                                                 ; +0x4, 0x6f00a0\nLDR             R3, =(__stack_chk_guard_ptr - 0x6F00A8)                ; +0x6, 0x6f00a2\nADD             R3, PC; __stack_chk_guard_ptr                          ; +0x8, 0x6f00a4\nLDR             R3, [R3]; __stack_chk_guard                            ; +0xa, 0x6f00a6\nLDR             R2, [R3]                                               ; +0xc, 0x6f00a8\nMOV             R6, R3                                                 ; +0xe, 0x6f00aa\nSTR             R2, [SP,#0x10+var_4]                                   ; +0x10, 0x6f00ac\nMOVS            R2, #0                                                 ; +0x12, 0x6f00ae\nSTRB.W          R2, [R0,#0x23A]                                        ; +0x14, 0x6f00b0\nLDR.W           R2, [R0,#0x20C]                                        ; +0x18, 0x6f00b4\nADDS            R2, #1                                                 ; +0x1c, 0x6f00b8\nBEQ             loc_6F0116                                             ; +0x1e, 0x6f00ba\nLDR.W           R3, [R0,#0x3B0]                                        ; +0x20, 0x6f00bc\nLDR.W           R3, [R3,#0x594]                                        ; +0x24, 0x6f00c0\nCMP             R3, #1                                                 ; +0x28, 0x6f00c4\nBEQ             loc_6F0116                                             ; +0x2a, 0x6f00c6\nBL              _ZN8EditorUI15isFreeMoveTouchEv; EditorUI::isFreeMoveTouch(void) ; +0x2c, 0x6f00c8\nCBZ             R0, loc_6F00D4                                         ; +0x30, 0x6f00cc\nMOV             R0, R4; this                                           ; +0x32, 0x6f00ce\nBL              _ZN8EditorUI18startFreeMoveTouchEv; EditorUI::startFreeMoveTouch(void) ; +0x34, 0x6f00d0\nLDRB.W          R3, [R4,#0x281]                                        ; +0x38, 0x6f00d4\nCBNZ            R3, loc_6F0116                                         ; +0x3c, 0x6f00d8\nADD.W           R7, R4, #0x21C                                         ; +0x3e, 0x6f00da\nADD.W           R8, R4, #0x3B4                                         ; +0x42, 0x6f00de\nMOV             R0, R7; this                                           ; +0x46, 0x6f00e2\nMOV             R1, R8; cocos2d::CCPoint *                             ; +0x48, 0x6f00e4\nBL              _ZNK7cocos2d7CCPoint6equalsERKS0_; cocos2d::CCPoint::equals(cocos2d::CCPoint const&) ; +0x4a, 0x6f00e6\nCBNZ            R0, loc_6F0116                                         ; +0x4e, 0x6f00ea\nADD             R5, SP, #0x10+var_C                                    ; +0x50, 0x6f00ec\nMOV             R1, R8; cocos2d::CCPoint *                             ; +0x52, 0x6f00ee\nMOV             R0, R5; this                                           ; +0x54, 0x6f00f0\nBL              _ZN7cocos2d7CCPointC1ERKS0_; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const&) ; +0x56, 0x6f00f2\nMOV             R0, R4                                                 ; +0x5a, 0x6f00f6\nMOV             R1, R5                                                 ; +0x5c, 0x6f00f8\nBL              _ZN8EditorUI15swipeToPositionEN7cocos2d7CCPointE; EditorUI::swipeToPosition(cocos2d::CCPoint) ; +0x5e, 0x6f00fa\nCBZ             R0, loc_6F0116                                         ; +0x62, 0x6f00fe\nMOV             R1, R7; cocos2d::CCPoint *                             ; +0x64, 0x6f0100\nMOV             R0, R5; this                                           ; +0x66, 0x6f0102\nBL              _ZN7cocos2d7CCPointC1ERKS0_; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const&) ; +0x68, 0x6f0104\nMOV             R0, R4                                                 ; +0x6c, 0x6f0108\nMOV             R1, R5                                                 ; +0x6e, 0x6f010a\nBL              _ZN8EditorUI15swipeToPositionEN7cocos2d7CCPointE; EditorUI::swipeToPosition(cocos2d::CCPoint) ; +0x70, 0x6f010c\nB               loc_6F0116                                             ; +0x74, 0x6f0110\nBL              __cxa_end_cleanup                                      ; +0x76, 0x6f0112\nLDR             R2, [SP,#0x10+var_4]                                   ; +0x7a, 0x6f0116\nLDR             R3, [R6]                                               ; +0x7c, 0x6f0118\nCMP             R2, R3                                                 ; +0x7e, 0x6f011a\nBEQ             loc_6F0122                                             ; +0x80, 0x6f011c\nBLX             __stack_chk_fail                                       ; +0x82, 0x6f011e\nADD             SP, SP, #0x10                                          ; +0x86, 0x6f0122\nPOP.W           {R4-R8,PC}                                             ; +0x88, 0x6f0124", "xrefs": ["EditorUI::ccTouchEnded @ 0x6f0ee6"], "is_objc": false, "is_32_bit": true, "is_64_bit": false, "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"}