{"type": "func", "start": 7098432, "end": 7099944, "name": "EditorUI::ccTouchBegan", "pseudocode": "// \n// EditorUI::ccTouchBegan from 0x6c5040 to 0x6c5628 (1512 bytes)\n// \n// 3 xrefs:\n// > `non-virtual thunk to'EditorUI::ccTouchBegan @ 0x6c563c\n// > <???> @ 0xb5f20\n// > <???> @ 0x1156a20\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nbool EditorUI::ccTouchBegan(EditorUI *a1, cocos2d::CCTouch *a2, cocos2d::CCEvent *a3)\n{\n  bool v6; // w0\n  LevelEditorLayer *m_editorLayer; // x1\n  bool result; // w0\n  UndoObject *m_undoObject; // x0\n  bool m_swipeEnabled; // w1\n  int m_nId; // w2\n  double v12; // d0\n  cocos2d::CCDirector *v13; // x0\n  float v14; // s0\n  float v15; // s1\n  GameManager *v16; // x0\n  cocos2d::CCSequence *v17; // x21\n  cocos2d::CCFiniteTimeAction *v18; // x0\n  cocos2d::CCAction *v19; // x21\n  LevelEditorLayer *v20; // x0\n  cocos2d::CCDirector *v21; // x0\n  cocos2d::CCArray *m_selectedObjects; // x0\n  LevelEditorLayer *v23; // x25\n  unsigned int v24; // w23\n  cocos2d::CCArray *v25; // x25\n  GameObject *m_snapObject; // x0\n  float v27; // s0\n  float v28; // s1\n  GameObject_vtbl *v29; // x1\n  float v30; // s0\n  float v31; // s1\n  UndoObject *UndoObject; // x0\n  UndoObject *v33; // x23\n  UndoObject *v34; // x1\n  cocos2d::CCDirector *v35; // x0\n  cocos2d::CCDirector *v36; // x0\n  cocos2d::CCDirector *v37; // x0\n  cocos2d::CCDirector *v38; // x0\n  cocos2d::CCPoint v39; // [xsp+50h] [xbp+50h] BYREF\n  cocos2d::CCPoint v40[2]; // [xsp+58h] [xbp+58h] BYREF\n  cocos2d::CCPoint TouchPoint; // 0:kr00_8.8\n  cocos2d::CCPoint v42; // 0:s0.4,4:s1.4\n  cocos2d::CCPoint v43; // 0:s0.4,4:s1.4\n\n  if ( a1->m_rotationTouchID == -1 && a1->m_rotationControl->isVisible(a1->m_rotationControl) )\n  {\n    result = a1->m_rotationControl->ccTouchBegan(a1->m_rotationControl, a2, a3);\n    if ( result )\n    {\n      a1->m_rotationTouchID = a2->m_nId;\n      return result;\n    }\n  }\n  if ( a1->m_scaleTouchID == -1 && a1->m_scaleControl->isVisible(a1->m_scaleControl) )\n  {\n    result = a1->m_scaleControl->ccTouchBegan(a1->m_scaleControl, a2, a3);\n    if ( result )\n    {\n      a1->m_scaleTouchID = a2->m_nId;\n      return result;\n    }\n  }\n  if ( a1->m_transformTouchID == -1 && a1->m_transformControl->isVisible(a1->m_transformControl) )\n  {\n    result = a1->m_transformControl->ccTouchBegan(a1->m_transformControl, a2, a3);\n    if ( result )\n    {\n      a1->m_transformTouchID = a2->m_nId;\n      return result;\n    }\n  }\n  TouchPoint = EditorUI::getTouchPoint(a1, a2, a3);\n  cocos2d::CCPoint::operator=(&a1->m_swipeStart, TouchPoint.x, TouchPoint.y);\n  v6 = a1->m_playbackBtn->isVisible(a1->m_playbackBtn);\n  m_editorLayer = a1->m_editorLayer;\n  if ( a1->m_swipeStart.y < a1->m_toolbarHeight )\n  {\n    if ( v6 || m_editorLayer->m_playbackMode != Playing )\n      return 0;\nLABEL_10:\n    m_editorLayer->m_uiLayer->ccTouchBegan(m_editorLayer->m_uiLayer, a2, a3);\n    return 1;\n  }\n  if ( m_editorLayer->m_playbackMode == Playing )\n    goto LABEL_10;\n  result = 0;\n  if ( a1->m_touchID != -1 )\n    return result;\n  m_undoObject = a1->m_undoObject;\n  if ( m_undoObject )\n  {\n    cocos2d::CCObject::release(m_undoObject);\n    a1->m_undoObject = nullptr;\n  }\n  if ( !a1->m_spaceSwiping )\n  {\n    v13 = cocos2d::CCDirector::sharedDirector();\n    if ( v13->getKeyboardDispatcher(v13)->m_bShiftPressed\n      || !a1->m_freeMoveEnabled\n      && (v37 = cocos2d::CCDirector::sharedDirector(), !v37->getKeyboardDispatcher(v37)->m_bControlPressed)\n      && (v38 = cocos2d::CCDirector::sharedDirector(), !v38->getKeyboardDispatcher(v38)->m_bCommandPressed)\n      || a1->m_selectedMode != 3 )\n    {\nLABEL_31:\n      if ( !a1->m_spaceSwiping )\n      {\n        if ( a1->m_swipeEnabled\n          || (v36 = cocos2d::CCDirector::sharedDirector(), v36->getKeyboardDispatcher(v36)->m_bShiftPressed) )\n        {\n          if ( a1->m_selectedMode == 3 )\n          {\n            a1->m_swipeActive = 1;\n            cocos2d::CCPoint::operator=(&a1->m_swipeEnd, v14, v15);\n          }\n        }\n      }\n      goto LABEL_24;\n    }\n    v20 = a1->m_editorLayer;\n    a1->m_snapObject = nullptr;\n    a1->m_snapSelected = 0;\n    cocos2d::CCNode::convertToNodeSpace(v20->m_objectLayer, &a1->m_swipeStart);\n    v21 = cocos2d::CCDirector::sharedDirector();\n    if ( v21->getKeyboardDispatcher(v21)->m_bAltPressed\n      && (a1->m_selectedObject || (unsigned int)cocos2d::CCArray::count(a1->m_selectedObjects)) )\n    {\n      EditorUI::onDuplicate(a1, nullptr);\n      a1->m_noSnapUndo = 1;\n    }\n    m_selectedObjects = a1->m_selectedObjects;\n    a1->m_findSnap = 0;\n    if ( (unsigned int)cocos2d::CCArray::count(m_selectedObjects) )\n    {\n      cocos2d::CCPoint::CCPoint(v40, &v39);\n      EditorUI::findSnapObject(a1, (cocos2d::CCArray *)v40, 0.0);\n    }\n    else\n    {\n      if ( a1->m_selectedObject )\n      {\n        v23 = a1->m_editorLayer;\n        v24 = 0;\n        cocos2d::CCPoint::CCPoint(v40, &v39);\n        v25 = LevelEditorLayer::objectsAtPosition(v23, v42);\n        while ( v24 < (unsigned int)cocos2d::CCArray::count(v25) )\n        {\n          m_snapObject = (GameObject *)cocos2d::CCArray::objectAtIndex(v25, v24);\n          if ( m_snapObject->m_uniqueID == a1->m_selectedObject->m_uniqueID )\n          {\n            a1->m_snapObject = m_snapObject;\n            if ( !m_snapObject )\n              goto LABEL_48;\n            goto LABEL_47;\n          }\n          ++v24;\n        }\n        m_snapObject = a1->m_snapObject;\n        if ( m_snapObject )\n          goto LABEL_47;\n        if ( !a1->m_selectedObject || !a1->m_swipeEnabled )\n          goto LABEL_67;\n        if ( a1->m_findSnap )\n          goto LABEL_62;\n        goto LABEL_48;\n      }\nLABEL_67:\n      a1->m_editingObject = 1;\n      cocos2d::CCPoint::CCPoint(v40, &a1->m_swipeStart);\n      EditorUI::clickOnPosition(a1, v43);\n      if ( a1->m_snapSelected )\n        a1->m_snapObject = a1->m_selectedObject;\n    }\n    if ( a1->m_findSnap )\n    {\n      m_snapObject = a1->m_snapObject;\n      if ( m_snapObject )\n      {\nLABEL_47:\n        v29 = m_snapObject->CCSpritePlus::cocos2d::CCSprite::cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;\n        a1->m_snapObjectExists = 1;\n        v30 = ((float (__fastcall *)(GameObject *))v29->getPosition)(m_snapObject);\n        cocos2d::CCPoint::operator=(&a1->m_snapPosition, v30, v31);\nLABEL_48:\n        cocos2d::CCPoint::operator=(&a1->m_cameraTest, v27, v28);\n        if ( !a1->m_noSnapUndo )\n        {\n          UndoObject = EditorUI::createUndoObject(a1, Transform, 1);\n          v33 = UndoObject;\n          v34 = a1->m_undoObject;\n          if ( UndoObject != v34 )\n          {\n            if ( UndoObject )\n            {\n              cocos2d::CCObject::retain(UndoObject);\n              v34 = a1->m_undoObject;\n            }\n            if ( v34 )\n              cocos2d::CCObject::release(v34);\n            a1->m_undoObject = v33;\n          }\n        }\n        goto LABEL_31;\n      }\nLABEL_62:\n      if ( (unsigned int)cocos2d::CCArray::count(a1->m_selectedObjects) )\n      {\n        cocos2d::CCPoint::CCPoint(v40, &v39);\n        EditorUI::findSnapObject(a1, (cocos2d::CCArray *)v40, 0.0);\n        m_snapObject = a1->m_snapObject;\n        if ( !m_snapObject )\n          goto LABEL_48;\n        goto LABEL_47;\n      }\n    }\n    m_snapObject = a1->m_snapObject;\n    if ( !m_snapObject )\n      goto LABEL_48;\n    goto LABEL_47;\n  }\nLABEL_24:\n  m_swipeEnabled = a1->m_swipeEnabled;\n  if ( !m_swipeEnabled )\n  {\n    v35 = cocos2d::CCDirector::sharedDirector();\n    m_swipeEnabled = v35->getKeyboardDispatcher(v35)->m_bShiftPressed;\n  }\n  m_nId = a2->m_nId;\n  a1->m_swipeSelected = m_swipeEnabled;\n  a1->m_continuousSnap = 0;\n  a1->m_touchID = m_nId;\n  cocos2d::CCNode::stopActionByTag(a1, 123);\n  if ( !a1->m_swipeSelected )\n  {\n    v16 = GameManager::sharedState();\n    if ( GameManager::getGameVariable(v16, \"0057\") )\n    {\n      v17 = (cocos2d::CCSequence *)cocos2d::CCDelayTime::create(0.3);\n      v18 = (cocos2d::CCFiniteTimeAction *)cocos2d::CCCallFunc::create(a1, EditorUI::triggerSwipeMode, 0);\n      v19 = (cocos2d::CCAction *)cocos2d::CCSequence::create(v17, v18, 0);\n      v19->setTag(v19, 123);\n      cocos2d::CCNode::runAction(a1, v19);\n    }\n  }\n  clock_gettime(0, (struct timespec *)v40);\n  a1->m_swipeModeTriggered = 0;\n  v12 = (double)(__int64)v40[0] + (double)(__int64)v40[1] / 1000000000.0;\n  a1->m_keyTime2 = v12;\n  a1->m_keyTime = v12;\n  return 1;\n}", "assembly": "; \n; EditorUI::ccTouchBegan from 0x6c5040 to 0x6c5628 (1512 bytes)\n; \n; 3 xrefs:\n; > `non-virtual thunk to'EditorUI::ccTouchBegan @ 0x6c563c\n; > <???> @ 0xb5f20\n; > <???> @ 0x1156a20\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nSTP             X29, X30, [SP,#var_70]!                                ; +0x0, 0x6c5040\nMOV             X29, SP                                                ; +0x4, 0x6c5044\nSTP             X19, X20, [SP,#0x70+var_60]                            ; +0x8, 0x6c5048\nADRP            X20, #__stack_chk_guard_ptr@PAGE                       ; +0xc, 0x6c504c\nMOV             X19, X0                                                ; +0x10, 0x6c5050\nSTP             X21, X22, [SP,#0x70+var_50]                            ; +0x14, 0x6c5054\nMOV             X21, X1                                                ; +0x18, 0x6c5058\nLDR             X0, [X20,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0x1c, 0x6c505c\nLDR             W1, [X19,#0x298]                                       ; +0x20, 0x6c5060\nSTP             X23, X24, [SP,#0x70+var_40]                            ; +0x24, 0x6c5064\nLDR             X0, [X0]                                               ; +0x28, 0x6c5068\nCMN             W1, #1                                                 ; +0x2c, 0x6c506c\nSTP             X25, X26, [SP,#0x70+var_30]                            ; +0x30, 0x6c5070\nSTR             X0, [X29,#0x70+var_8]                                  ; +0x34, 0x6c5074\nMOV             X23, X2                                                ; +0x38, 0x6c5078\nB.EQ            loc_6C5168                                             ; +0x3c, 0x6c507c\nLDR             W0, [X19,#0x29C]                                       ; +0x40, 0x6c5080\nCMN             W0, #1                                                 ; +0x44, 0x6c5084\nB.EQ            loc_6C51B4                                             ; +0x48, 0x6c5088\nLDR             W0, [X19,#0x2A4]                                       ; +0x4c, 0x6c508c\nCMN             W0, #1                                                 ; +0x50, 0x6c5090\nB.EQ            loc_6C5200                                             ; +0x54, 0x6c5094\nADD             X22, X29, #0x70+var_18                                 ; +0x58, 0x6c5098\nMOV             X2, X23                                                ; +0x5c, 0x6c509c\nMOV             X8, X22                                                ; +0x60, 0x6c50a0\nMOV             X0, X19; int                                           ; +0x64, 0x6c50a4\nMOV             X1, X21; this                                          ; +0x68, 0x6c50a8\nADD             X24, X19, #0x500                                       ; +0x6c, 0x6c50ac\nBL              _ZN8EditorUI13getTouchPointEPN7cocos2d7CCTouchEPNS0_7CCEventE; EditorUI::getTouchPoint(cocos2d::CCTouch *,cocos2d::CCEvent *) ; +0x70, 0x6c50b0\nMOV             X1, X22                                                ; +0x74, 0x6c50b4\nMOV             X0, X24                                                ; +0x78, 0x6c50b8\nBL              _ZN7cocos2d7CCPointaSERKS0_; cocos2d::CCPoint::operator=(cocos2d::CCPoint const&) ; +0x7c, 0x6c50bc\nLDR             X1, [X19,#0x390]                                       ; +0x80, 0x6c50c0\nMOV             X0, X1                                                 ; +0x84, 0x6c50c4\nLDR             X1, [X1]                                               ; +0x88, 0x6c50c8\nLDR             X1, [X1,#0x150]                                        ; +0x8c, 0x6c50cc\nBLR             X1                                                     ; +0x90, 0x6c50d0\nUXTB            W0, W0                                                 ; +0x94, 0x6c50d4\nLDR             S1, [X19,#0x504]                                       ; +0x98, 0x6c50d8\nLDR             X1, [X19,#0x4F8]                                       ; +0x9c, 0x6c50dc\nLDR             S0, [X19,#0x310]                                       ; +0xa0, 0x6c50e0\nFCMPE           S1, S0                                                 ; +0xa4, 0x6c50e4\nB.MI            loc_6C5134                                             ; +0xa8, 0x6c50e8\nLDR             W0, [X1,#0x8A8]                                        ; +0xac, 0x6c50ec\nCMP             W0, #1                                                 ; +0xb0, 0x6c50f0\nB.EQ            loc_6C5144                                             ; +0xb4, 0x6c50f4\nLDR             W1, [X19,#0x2A0]                                       ; +0xb8, 0x6c50f8\nMOV             W0, #0                                                 ; +0xbc, 0x6c50fc\nCMN             W1, #1                                                 ; +0xc0, 0x6c5100\nB.EQ            loc_6C5254                                             ; +0xc4, 0x6c5104\nLDR             X20, [X20,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0xc8, 0x6c5108\nLDR             X19, [X29,#0x70+var_8]                                 ; +0xcc, 0x6c510c\nLDR             X1, [X20]                                              ; +0xd0, 0x6c5110\nCMP             X19, X1                                                ; +0xd4, 0x6c5114\nB.NE            loc_6C55F8                                             ; +0xd8, 0x6c5118\nLDP             X19, X20, [SP,#0x70+var_60]                            ; +0xdc, 0x6c511c\nLDP             X21, X22, [SP,#0x70+var_50]                            ; +0xe0, 0x6c5120\nLDP             X23, X24, [SP,#0x70+var_40]                            ; +0xe4, 0x6c5124\nLDP             X25, X26, [SP,#0x70+var_30]                            ; +0xe8, 0x6c5128\nLDP             X29, X30, [SP+0x70+var_70],#0x70                       ; +0xec, 0x6c512c\nRET                                                                    ; +0xf0, 0x6c5130\nCBNZ            W0, loc_6C524C                                         ; +0xf4, 0x6c5134\nLDR             W0, [X1,#0x8A8]                                        ; +0xf8, 0x6c5138\nCMP             W0, #1                                                 ; +0xfc, 0x6c513c\nB.NE            loc_6C524C                                             ; +0x100, 0x6c5140\nLDR             X3, [X1,#0x3540]                                       ; +0x104, 0x6c5144\nMOV             X2, X23                                                ; +0x108, 0x6c5148\nMOV             X1, X21                                                ; +0x10c, 0x6c514c\nMOV             X0, X3                                                 ; +0x110, 0x6c5150\nLDR             X3, [X3]                                               ; +0x114, 0x6c5154\nLDR             X3, [X3,#0x370]                                        ; +0x118, 0x6c5158\nBLR             X3                                                     ; +0x11c, 0x6c515c\nMOV             W0, #1                                                 ; +0x120, 0x6c5160\nB               loc_6C5108                                             ; +0x124, 0x6c5164\nLDR             X1, [X19,#0x2B0]                                       ; +0x128, 0x6c5168\nMOV             X0, X1                                                 ; +0x12c, 0x6c516c\nLDR             X1, [X1]                                               ; +0x130, 0x6c5170\nLDR             X1, [X1,#0x150]                                        ; +0x134, 0x6c5174\nBLR             X1                                                     ; +0x138, 0x6c5178\nUXTB            W0, W0                                                 ; +0x13c, 0x6c517c\nCBZ             W0, loc_6C5080                                         ; +0x140, 0x6c5180\nLDR             X3, [X19,#0x2B0]                                       ; +0x144, 0x6c5184\nMOV             X1, X21                                                ; +0x148, 0x6c5188\nMOV             X2, X23                                                ; +0x14c, 0x6c518c\nMOV             X0, X3                                                 ; +0x150, 0x6c5190\nLDR             X3, [X3]                                               ; +0x154, 0x6c5194\nLDR             X3, [X3,#0x370]                                        ; +0x158, 0x6c5198\nBLR             X3                                                     ; +0x15c, 0x6c519c\nUXTB            W0, W0                                                 ; +0x160, 0x6c51a0\nCBZ             W0, loc_6C5080                                         ; +0x164, 0x6c51a4\nLDR             W1, [X21,#0x38]                                        ; +0x168, 0x6c51a8\nSTR             W1, [X19,#0x298]                                       ; +0x16c, 0x6c51ac\nB               loc_6C5108                                             ; +0x170, 0x6c51b0\nLDR             X1, [X19,#0x2C8]                                       ; +0x174, 0x6c51b4\nMOV             X0, X1                                                 ; +0x178, 0x6c51b8\nLDR             X1, [X1]                                               ; +0x17c, 0x6c51bc\nLDR             X1, [X1,#0x150]                                        ; +0x180, 0x6c51c0\nBLR             X1                                                     ; +0x184, 0x6c51c4\nUXTB            W0, W0                                                 ; +0x188, 0x6c51c8\nCBZ             W0, loc_6C508C                                         ; +0x18c, 0x6c51cc\nLDR             X3, [X19,#0x2C8]                                       ; +0x190, 0x6c51d0\nMOV             X1, X21                                                ; +0x194, 0x6c51d4\nMOV             X2, X23                                                ; +0x198, 0x6c51d8\nMOV             X0, X3                                                 ; +0x19c, 0x6c51dc\nLDR             X3, [X3]                                               ; +0x1a0, 0x6c51e0\nLDR             X3, [X3,#0x370]                                        ; +0x1a4, 0x6c51e4\nBLR             X3                                                     ; +0x1a8, 0x6c51e8\nUXTB            W0, W0                                                 ; +0x1ac, 0x6c51ec\nCBZ             W0, loc_6C508C                                         ; +0x1b0, 0x6c51f0\nLDR             W1, [X21,#0x38]                                        ; +0x1b4, 0x6c51f4\nSTR             W1, [X19,#0x29C]                                       ; +0x1b8, 0x6c51f8\nB               loc_6C5108                                             ; +0x1bc, 0x6c51fc\nLDR             X1, [X19,#0x2D0]                                       ; +0x1c0, 0x6c5200\nMOV             X0, X1                                                 ; +0x1c4, 0x6c5204\nLDR             X1, [X1]                                               ; +0x1c8, 0x6c5208\nLDR             X1, [X1,#0x150]                                        ; +0x1cc, 0x6c520c\nBLR             X1                                                     ; +0x1d0, 0x6c5210\nUXTB            W0, W0                                                 ; +0x1d4, 0x6c5214\nCBZ             W0, loc_6C5098                                         ; +0x1d8, 0x6c5218\nLDR             X3, [X19,#0x2D0]                                       ; +0x1dc, 0x6c521c\nMOV             X1, X21                                                ; +0x1e0, 0x6c5220\nMOV             X2, X23                                                ; +0x1e4, 0x6c5224\nMOV             X0, X3                                                 ; +0x1e8, 0x6c5228\nLDR             X3, [X3]                                               ; +0x1ec, 0x6c522c\nLDR             X3, [X3,#0x370]                                        ; +0x1f0, 0x6c5230\nBLR             X3                                                     ; +0x1f4, 0x6c5234\nUXTB            W0, W0                                                 ; +0x1f8, 0x6c5238\nCBZ             W0, loc_6C5098                                         ; +0x1fc, 0x6c523c\nLDR             W1, [X21,#0x38]                                        ; +0x200, 0x6c5240\nSTR             W1, [X19,#0x2A4]                                       ; +0x204, 0x6c5244\nB               loc_6C5108                                             ; +0x208, 0x6c5248\nMOV             W0, #0                                                 ; +0x20c, 0x6c524c\nB               loc_6C5108                                             ; +0x210, 0x6c5250\nLDR             X0, [X19,#0x288]; this                                 ; +0x214, 0x6c5254\nCBZ             X0, loc_6C5264                                         ; +0x218, 0x6c5258\nBL              _ZN7cocos2d8CCObject7releaseEv; cocos2d::CCObject::release(void) ; +0x21c, 0x6c525c\nSTR             XZR, [X19,#0x288]                                      ; +0x220, 0x6c5260\nLDRB            W0, [X19,#0x290]; this                                 ; +0x224, 0x6c5264\nCBZ             W0, loc_6C52D4                                         ; +0x228, 0x6c5268\nLDRB            W1, [X19,#0x314]                                       ; +0x22c, 0x6c526c\nCBZ             W1, loc_6C54E4                                         ; +0x230, 0x6c5270\nLDR             W2, [X21,#0x38]                                        ; +0x234, 0x6c5274\nMOV             X0, X19; this                                          ; +0x238, 0x6c5278\nSTRB            W1, [X19,#0x316]                                       ; +0x23c, 0x6c527c\nMOV             W1, #0x7B ; '{'; int                                   ; +0x240, 0x6c5280\nSTRB            WZR, [X19,#0x317]                                      ; +0x244, 0x6c5284\nSTR             W2, [X19,#0x2A0]                                       ; +0x248, 0x6c5288\nBL              _ZN7cocos2d6CCNode15stopActionByTagEi; cocos2d::CCNode::stopActionByTag(int) ; +0x24c, 0x6c528c\nLDRB            W0, [X19,#0x316]; this                                 ; +0x250, 0x6c5290\nCBZ             W0, loc_6C5334                                         ; +0x254, 0x6c5294\nMOV             X1, X22; tp                                            ; +0x258, 0x6c5298\nMOV             W0, #0; clock_id                                       ; +0x25c, 0x6c529c\nBL              .clock_gettime                                         ; +0x260, 0x6c52a0\nSTRB            WZR, [X19,#0x578]                                      ; +0x264, 0x6c52a4\nLDR             X2, [X29,#0x70+var_10]                                 ; +0x268, 0x6c52a8\nMOV             W0, #1                                                 ; +0x26c, 0x6c52ac\nLDR             D2, =0x41CDCD6500000000                                ; +0x270, 0x6c52b0\nLDR             X1, [X29,#0x70+var_18]                                 ; +0x274, 0x6c52b4\nSCVTF           D0, X2                                                 ; +0x278, 0x6c52b8\nSCVTF           D1, X1                                                 ; +0x27c, 0x6c52bc\nFDIV            D0, D0, D2                                             ; +0x280, 0x6c52c0\nFADD            D0, D1, D0                                             ; +0x284, 0x6c52c4\nSTR             D0, [X19,#0x570]                                       ; +0x288, 0x6c52c8\nSTR             D0, [X19,#0x568]                                       ; +0x28c, 0x6c52cc\nB               loc_6C5108                                             ; +0x290, 0x6c52d0\nBL              _ZN7cocos2d10CCDirector14sharedDirectorEv; cocos2d::CCDirector::sharedDirector(void) ; +0x294, 0x6c52d4\nLDR             X1, [X0]                                               ; +0x298, 0x6c52d8\nLDR             X1, [X1,#0xC0]                                         ; +0x29c, 0x6c52dc\nBLR             X1                                                     ; +0x2a0, 0x6c52e0\nLDRB            W0, [X0,#0x58]                                         ; +0x2a4, 0x6c52e4\nCBNZ            W0, loc_6C5300                                         ; +0x2a8, 0x6c52e8\nLDRB            W0, [X19,#0x318]; this                                 ; +0x2ac, 0x6c52ec\nCBZ             W0, loc_6C55C4                                         ; +0x2b0, 0x6c52f0\nLDR             W0, [X19,#0x4F0]                                       ; +0x2b4, 0x6c52f4\nCMP             W0, #3                                                 ; +0x2b8, 0x6c52f8\nB.EQ            loc_6C53A0                                             ; +0x2bc, 0x6c52fc\nLDRB            W0, [X19,#0x290]                                       ; +0x2c0, 0x6c5300\nCBNZ            W0, loc_6C526C                                         ; +0x2c4, 0x6c5304\nLDRB            W0, [X19,#0x314]; this                                 ; +0x2c8, 0x6c5308\nCBZ             W0, loc_6C54FC                                         ; +0x2cc, 0x6c530c\nLDR             W0, [X19,#0x4F0]                                       ; +0x2d0, 0x6c5310\nCMP             W0, #3                                                 ; +0x2d4, 0x6c5314\nB.NE            loc_6C526C                                             ; +0x2d8, 0x6c5318\nMOV             W1, #1                                                 ; +0x2dc, 0x6c531c\nADD             X0, X19, #0x508                                        ; +0x2e0, 0x6c5320\nSTRB            W1, [X19,#0x315]                                       ; +0x2e4, 0x6c5324\nMOV             X1, X24                                                ; +0x2e8, 0x6c5328\nBL              _ZN7cocos2d7CCPointaSERKS0_; cocos2d::CCPoint::operator=(cocos2d::CCPoint const&) ; +0x2ec, 0x6c532c\nB               loc_6C526C                                             ; +0x2f0, 0x6c5330\nBL              _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0x2f4, 0x6c5334\nADRL            X1, a0057; \"0057\"                                      ; +0x2f8, 0x6c5338\nBL              _ZN11GameManager15getGameVariableEPKc; GameManager::getGameVariable(char const*) ; +0x300, 0x6c5340\nUXTB            W0, W0; this                                           ; +0x304, 0x6c5344\nCBZ             W0, loc_6C5298                                         ; +0x308, 0x6c5348\nLDR             S0, flt_6C5630; float                                  ; +0x30c, 0x6c534c\nBL              _ZN7cocos2d11CCDelayTime6createEf; cocos2d::CCDelayTime::create(float) ; +0x310, 0x6c5350\nMOV             X21, X0                                                ; +0x314, 0x6c5354\nADRP            X1, #_ZN8EditorUI16triggerSwipeModeEv_ptr@PAGE         ; +0x318, 0x6c5358\nMOV             X0, X19                                                ; +0x31c, 0x6c535c\nMOV             X2, #0                                                 ; +0x320, 0x6c5360\nLDR             X1, [X1,#_ZN8EditorUI16triggerSwipeModeEv_ptr@PAGEOFF]; EditorUI::triggerSwipeMode(void) ... ; +0x324, 0x6c5364\nBL              _ZN7cocos2d10CCCallFunc6createEPNS_8CCObjectEMS1_FvvE; cocos2d::CCCallFunc::create(cocos2d::CCObject *,void (cocos2d::CCObject::*)(void)) ; +0x328, 0x6c5368\nMOV             X1, X0; cocos2d::CCFiniteTimeAction *                  ; +0x32c, 0x6c536c\nMOV             X2, #0                                                 ; +0x330, 0x6c5370\nMOV             X0, X21; this                                          ; +0x334, 0x6c5374\nBL              _ZN7cocos2d10CCSequence6createEPNS_18CCFiniteTimeActionEz; cocos2d::CCSequence::create(cocos2d::CCFiniteTimeAction *,...) ; +0x338, 0x6c5378\nLDR             X2, [X0]                                               ; +0x33c, 0x6c537c\nMOV             W1, #0x7B ; '{'                                        ; +0x340, 0x6c5380\nMOV             X21, X0                                                ; +0x344, 0x6c5384\nLDR             X2, [X2,#0x48]                                         ; +0x348, 0x6c5388\nBLR             X2                                                     ; +0x34c, 0x6c538c\nMOV             X0, X19; this                                          ; +0x350, 0x6c5390\nMOV             X1, X21; cocos2d::CCAction *                           ; +0x354, 0x6c5394\nBL              _ZN7cocos2d6CCNode9runActionEPNS_8CCActionE; cocos2d::CCNode::runAction(cocos2d::CCAction *) ; +0x358, 0x6c5398\nB               loc_6C5298                                             ; +0x35c, 0x6c539c\nLDR             X0, [X19,#0x4F8]                                       ; +0x360, 0x6c53a0\nADD             X26, X29, #0x70+var_20                                 ; +0x364, 0x6c53a4\nSTR             XZR, [X19,#0x538]                                      ; +0x368, 0x6c53a8\nMOV             X8, X26                                                ; +0x36c, 0x6c53ac\nMOV             X1, X24; cocos2d::CCPoint *                            ; +0x370, 0x6c53b0\nSTRB            WZR, [X19,#0x31A]                                      ; +0x374, 0x6c53b4\nLDR             X0, [X0,#0x1030]; this                                 ; +0x378, 0x6c53b8\nBL              _ZN7cocos2d6CCNode18convertToNodeSpaceERKNS_7CCPointE; cocos2d::CCNode::convertToNodeSpace(cocos2d::CCPoint const&) ; +0x37c, 0x6c53bc\nBL              _ZN7cocos2d10CCDirector14sharedDirectorEv; cocos2d::CCDirector::sharedDirector(void) ; +0x380, 0x6c53c0\nLDR             X1, [X0]                                               ; +0x384, 0x6c53c4\nLDR             X1, [X1,#0xC0]                                         ; +0x388, 0x6c53c8\nBLR             X1                                                     ; +0x38c, 0x6c53cc\nLDRB            W0, [X0,#0x5A]                                         ; +0x390, 0x6c53d0\nCBZ             W0, loc_6C53F4                                         ; +0x394, 0x6c53d4\nLDR             X0, [X19,#0x530]                                       ; +0x398, 0x6c53d8\nCBZ             X0, loc_6C5618                                         ; +0x39c, 0x6c53dc\nMOV             X0, X19; this                                          ; +0x3a0, 0x6c53e0\nMOV             X1, #0; cocos2d::CCObject *                            ; +0x3a4, 0x6c53e4\nBL              _ZN8EditorUI11onDuplicateEPN7cocos2d8CCObjectE; EditorUI::onDuplicate(cocos2d::CCObject *) ; +0x3a8, 0x6c53e8\nMOV             W0, #1                                                 ; +0x3ac, 0x6c53ec\nSTRB            W0, [X19,#0x291]                                       ; +0x3b0, 0x6c53f0\nLDR             X0, [X19,#0x338]; this                                 ; +0x3b4, 0x6c53f4\nSTRB            WZR, [X19,#0x542]                                      ; +0x3b8, 0x6c53f8\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x3bc, 0x6c53fc\nCBNZ            W0, loc_6C5524                                         ; +0x3c0, 0x6c5400\nLDR             X0, [X19,#0x530]                                       ; +0x3c4, 0x6c5404\nCBZ             X0, loc_6C5590                                         ; +0x3c8, 0x6c5408\nMOV             X0, X22; this                                          ; +0x3cc, 0x6c540c\nMOV             X1, X26; cocos2d::CCPoint *                            ; +0x3d0, 0x6c5410\nLDR             X25, [X19,#0x4F8]                                      ; +0x3d4, 0x6c5414\nMOV             W23, #0                                                ; +0x3d8, 0x6c5418\nBL              _ZN7cocos2d7CCPointC1ERKS0_; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const&) ; +0x3dc, 0x6c541c\nMOV             X0, X25                                                ; +0x3e0, 0x6c5420\nMOV             X1, X22                                                ; +0x3e4, 0x6c5424\nBL              _ZN16LevelEditorLayer17objectsAtPositionEN7cocos2d7CCPointE; LevelEditorLayer::objectsAtPosition(cocos2d::CCPoint) ; +0x3e8, 0x6c5428\nMOV             X25, X0                                                ; +0x3ec, 0x6c542c\nB               loc_6C5458                                             ; +0x3f0, 0x6c5430\nMOV             W1, W23; unsigned int                                  ; +0x3f4, 0x6c5434\nMOV             X0, X25; this                                          ; +0x3f8, 0x6c5438\nBL              _ZN7cocos2d7CCArray13objectAtIndexEj; cocos2d::CCArray::objectAtIndex(uint) ; +0x3fc, 0x6c543c\nLDR             W2, [X0,#0x384]                                        ; +0x400, 0x6c5440\nLDR             X1, [X19,#0x530]                                       ; +0x404, 0x6c5444\nLDR             W1, [X1,#0x384]                                        ; +0x408, 0x6c5448\nCMP             W2, W1                                                 ; +0x40c, 0x6c544c\nB.EQ            loc_6C5518                                             ; +0x410, 0x6c5450\nADD             W23, W23, #1                                           ; +0x414, 0x6c5454\nMOV             X0, X25; this                                          ; +0x418, 0x6c5458\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x41c, 0x6c545c\nCMP             W23, W0                                                ; +0x420, 0x6c5460\nB.CC            loc_6C5434                                             ; +0x424, 0x6c5464\nLDR             X0, [X19,#0x538]                                       ; +0x428, 0x6c5468\nCBZ             X0, loc_6C55FC                                         ; +0x42c, 0x6c546c\nLDR             X1, [X0]                                               ; +0x430, 0x6c5470\nMOV             W2, #1                                                 ; +0x434, 0x6c5474\nSTRB            W2, [X19,#0x319]                                       ; +0x438, 0x6c5478\nLDR             X1, [X1,#0xC0]                                         ; +0x43c, 0x6c547c\nBLR             X1                                                     ; +0x440, 0x6c5480\nMOV             X1, X0                                                 ; +0x444, 0x6c5484\nADD             X0, X19, #0x330                                        ; +0x448, 0x6c5488\nBL              _ZN7cocos2d7CCPointaSERKS0_; cocos2d::CCPoint::operator=(cocos2d::CCPoint const&) ; +0x44c, 0x6c548c\nADD             X0, X19, #0x520                                        ; +0x450, 0x6c5490\nMOV             X1, X26                                                ; +0x454, 0x6c5494\nBL              _ZN7cocos2d7CCPointaSERKS0_; cocos2d::CCPoint::operator=(cocos2d::CCPoint const&) ; +0x458, 0x6c5498\nLDRB            W0, [X19,#0x291]                                       ; +0x45c, 0x6c549c\nCBNZ            W0, loc_6C5300                                         ; +0x460, 0x6c54a0\nMOV             W1, #5                                                 ; +0x464, 0x6c54a4\nMOV             X0, X19                                                ; +0x468, 0x6c54a8\nMOV             W2, #1                                                 ; +0x46c, 0x6c54ac\nBL              _ZN8EditorUI16createUndoObjectE11UndoCommandb; EditorUI::createUndoObject(UndoCommand,bool) ; +0x470, 0x6c54b0\nMOV             X23, X0                                                ; +0x474, 0x6c54b4\nLDR             X1, [X19,#0x288]                                       ; +0x478, 0x6c54b8\nCMP             X0, X1                                                 ; +0x47c, 0x6c54bc\nB.EQ            loc_6C5300                                             ; +0x480, 0x6c54c0\nCBZ             X0, loc_6C54D0                                         ; +0x484, 0x6c54c4\nBL              _ZN7cocos2d8CCObject6retainEv; cocos2d::CCObject::retain(void) ; +0x488, 0x6c54c8\nLDR             X1, [X19,#0x288]                                       ; +0x48c, 0x6c54cc\nCBZ             X1, loc_6C54DC                                         ; +0x490, 0x6c54d0\nMOV             X0, X1; this                                           ; +0x494, 0x6c54d4\nBL              _ZN7cocos2d8CCObject7releaseEv; cocos2d::CCObject::release(void) ; +0x498, 0x6c54d8\nSTR             X23, [X19,#0x288]                                      ; +0x49c, 0x6c54dc\nB               loc_6C5300                                             ; +0x4a0, 0x6c54e0\nBL              _ZN7cocos2d10CCDirector14sharedDirectorEv; cocos2d::CCDirector::sharedDirector(void) ; +0x4a4, 0x6c54e4\nLDR             X1, [X0]                                               ; +0x4a8, 0x6c54e8\nLDR             X1, [X1,#0xC0]                                         ; +0x4ac, 0x6c54ec\nBLR             X1                                                     ; +0x4b0, 0x6c54f0\nLDRB            W1, [X0,#0x58]                                         ; +0x4b4, 0x6c54f4\nB               loc_6C5274                                             ; +0x4b8, 0x6c54f8\nBL              _ZN7cocos2d10CCDirector14sharedDirectorEv; cocos2d::CCDirector::sharedDirector(void) ; +0x4bc, 0x6c54fc\nLDR             X1, [X0]                                               ; +0x4c0, 0x6c5500\nLDR             X1, [X1,#0xC0]                                         ; +0x4c4, 0x6c5504\nBLR             X1                                                     ; +0x4c8, 0x6c5508\nLDRB            W0, [X0,#0x58]                                         ; +0x4cc, 0x6c550c\nCBNZ            W0, loc_6C5310                                         ; +0x4d0, 0x6c5510\nB               loc_6C526C                                             ; +0x4d4, 0x6c5514\nSTR             X0, [X19,#0x538]                                       ; +0x4d8, 0x6c5518\nCBZ             X0, loc_6C5490                                         ; +0x4dc, 0x6c551c\nB               loc_6C5470                                             ; +0x4e0, 0x6c5520\nMOV             X0, X22; this                                          ; +0x4e4, 0x6c5524\nMOV             X1, X26; cocos2d::CCPoint *                            ; +0x4e8, 0x6c5528\nBL              _ZN7cocos2d7CCPointC1ERKS0_; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const&) ; +0x4ec, 0x6c552c\nFMOV            S0, WZR                                                ; +0x4f0, 0x6c5530\nMOV             X0, X19                                                ; +0x4f4, 0x6c5534\nMOV             X1, X22                                                ; +0x4f8, 0x6c5538\nBL              _ZN8EditorUI14findSnapObjectEN7cocos2d7CCPointEf; EditorUI::findSnapObject(cocos2d::CCPoint,float) ; +0x4fc, 0x6c553c\nLDRB            W0, [X19,#0x542]                                       ; +0x500, 0x6c5540\nCBZ             W0, loc_6C5584                                         ; +0x504, 0x6c5544\nLDR             X0, [X19,#0x538]                                       ; +0x508, 0x6c5548\nCBNZ            X0, loc_6C5470                                         ; +0x50c, 0x6c554c\nLDR             X0, [X19,#0x338]; this                                 ; +0x510, 0x6c5550\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x514, 0x6c5554\nCBZ             W0, loc_6C5584                                         ; +0x518, 0x6c5558\nMOV             X0, X22; this                                          ; +0x51c, 0x6c555c\nMOV             X1, X26; cocos2d::CCPoint *                            ; +0x520, 0x6c5560\nBL              _ZN7cocos2d7CCPointC1ERKS0_; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const&) ; +0x524, 0x6c5564\nFMOV            S0, WZR                                                ; +0x528, 0x6c5568\nMOV             X0, X19                                                ; +0x52c, 0x6c556c\nMOV             X1, X22                                                ; +0x530, 0x6c5570\nBL              _ZN8EditorUI14findSnapObjectEN7cocos2d7CCPointEf; EditorUI::findSnapObject(cocos2d::CCPoint,float) ; +0x534, 0x6c5574\nLDR             X0, [X19,#0x538]                                       ; +0x538, 0x6c5578\nCBZ             X0, loc_6C5490                                         ; +0x53c, 0x6c557c\nB               loc_6C5470                                             ; +0x540, 0x6c5580\nLDR             X0, [X19,#0x538]                                       ; +0x544, 0x6c5584\nCBZ             X0, loc_6C5490                                         ; +0x548, 0x6c5588\nB               loc_6C5470                                             ; +0x54c, 0x6c558c\nMOV             W1, #1                                                 ; +0x550, 0x6c5590\nMOV             X0, X22; this                                          ; +0x554, 0x6c5594\nSTRB            W1, [X19,#0x292]                                       ; +0x558, 0x6c5598\nMOV             X1, X24; cocos2d::CCPoint *                            ; +0x55c, 0x6c559c\nBL              _ZN7cocos2d7CCPointC1ERKS0_; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const&) ; +0x560, 0x6c55a0\nMOV             X0, X19                                                ; +0x564, 0x6c55a4\nMOV             X1, X22                                                ; +0x568, 0x6c55a8\nBL              _ZN8EditorUI15clickOnPositionEN7cocos2d7CCPointE; EditorUI::clickOnPosition(cocos2d::CCPoint) ; +0x56c, 0x6c55ac\nLDRB            W0, [X19,#0x31A]                                       ; +0x570, 0x6c55b0\nCBZ             W0, loc_6C5540                                         ; +0x574, 0x6c55b4\nLDR             X0, [X19,#0x530]                                       ; +0x578, 0x6c55b8\nSTR             X0, [X19,#0x538]                                       ; +0x57c, 0x6c55bc\nB               loc_6C5540                                             ; +0x580, 0x6c55c0\nBL              _ZN7cocos2d10CCDirector14sharedDirectorEv; cocos2d::CCDirector::sharedDirector(void) ; +0x584, 0x6c55c4\nLDR             X1, [X0]                                               ; +0x588, 0x6c55c8\nLDR             X1, [X1,#0xC0]                                         ; +0x58c, 0x6c55cc\nBLR             X1                                                     ; +0x590, 0x6c55d0\nLDRB            W0, [X0,#0x59]; this                                   ; +0x594, 0x6c55d4\nCBNZ            W0, loc_6C52F4                                         ; +0x598, 0x6c55d8\nBL              _ZN7cocos2d10CCDirector14sharedDirectorEv; cocos2d::CCDirector::sharedDirector(void) ; +0x59c, 0x6c55dc\nLDR             X1, [X0]                                               ; +0x5a0, 0x6c55e0\nLDR             X1, [X1,#0xC0]                                         ; +0x5a4, 0x6c55e4\nBLR             X1                                                     ; +0x5a8, 0x6c55e8\nLDRB            W0, [X0,#0x5B]                                         ; +0x5ac, 0x6c55ec\nCBNZ            W0, loc_6C52F4                                         ; +0x5b0, 0x6c55f0\nB               loc_6C5300                                             ; +0x5b4, 0x6c55f4\nBL              .__stack_chk_fail                                      ; +0x5b8, 0x6c55f8\nLDR             X0, [X19,#0x530]                                       ; +0x5bc, 0x6c55fc\nCBZ             X0, loc_6C5590                                         ; +0x5c0, 0x6c5600\nLDRB            W0, [X19,#0x314]                                       ; +0x5c4, 0x6c5604\nCBZ             W0, loc_6C5590                                         ; +0x5c8, 0x6c5608\nLDRB            W0, [X19,#0x542]                                       ; +0x5cc, 0x6c560c\nCBNZ            W0, loc_6C5550                                         ; +0x5d0, 0x6c5610\nB               loc_6C5490                                             ; +0x5d4, 0x6c5614\nLDR             X0, [X19,#0x338]; this                                 ; +0x5d8, 0x6c5618\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x5dc, 0x6c561c\nCBNZ            W0, loc_6C53E0                                         ; +0x5e0, 0x6c5620\nB               loc_6C53F4                                             ; +0x5e4, 0x6c5624", "xrefs": ["`non-virtual thunk to'EditorUI::ccTouchBegan @ 0x6c563c", "<???> @ 0xb5f20", "<???> @ 0x1156a20"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}