{"type": "func", "start": 7088264, "end": 7090440, "name": "EditorUI::ccTouchEnded", "pseudocode": "// \n// EditorUI::ccTouchEnded from 0x6c2888 to 0x6c3108 (2176 bytes)\n// \n// 3 xrefs:\n// > `non-virtual thunk to'EditorUI::ccTouchEnded @ 0x6c310c\n// > <???> @ 0xc7860\n// > <???> @ 0x1156a30\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\nvoid EditorUI::ccTouchEnded(EditorUI *a1, cocos2d::CCTouch *a2, cocos2d::CCEvent *a3)\n{\n  __int64 v5; // x2\n  int m_nId; // w0\n  LevelEditorLayer *m_editorLayer; // x1\n  GameManager *v9; // x0\n  _BOOL4 GameVariable; // w25\n  float v11; // s0\n  cocos2d::CCPoint *p_m_lastTouchPoint; // x0\n  float v13; // s0\n  unsigned int v14; // w2\n  float v15; // s1\n  int v16; // w25\n  _BOOL4 m_snapObjectExists; // w0\n  GameManager *v18; // x0\n  bool v19; // w0\n  GameObject *m_snapObject; // x1\n  cocos2d::CCPoint *v21; // x0\n  const cocos2d::CCPoint *v22; // x0\n  UndoObject *m_undoObject; // x1\n  UndoObject *v24; // x0\n  GameObject *v25; // x0\n  float v26; // s0\n  float v27; // s1\n  _BOOL4 m_canActivateControls; // w21\n  cocos2d::CCArray *m_snapPositions; // x0\n  float v30; // s0\n  float v31; // s1\n  void *m_rotationControl; // x4\n  cocos2d::CCTouch *v33; // x1\n  cocos2d::CCLayer *m_objectLayer; // x26\n  float x; // s0\n  float y; // s1\n  LevelEditorLayer *v37; // x21\n  cocos2d::CCArray *v38; // x0\n  GameObject *CycledObject; // x21\n  cocos2d::CCObject *v40; // x1\n  cocos2d::CCArray *v41; // x0\n  cocos2d::CCArray *v42; // x0\n  float v43; // s0\n  float v44; // s1\n  const cocos2d::CCPoint *v45; // x0\n  float v46; // s0\n  float v47; // s1\n  unsigned int i; // w21\n  GameObject *v49; // x28\n  LevelEditorLayer *v50; // x27\n  cocos2d::CCArray *v51; // x0\n  GameObject *v52; // x21\n  float v53; // s0\n  float v54; // s1\n  void *m_scaleControl; // x21\n  void (__fastcall *v56)(void *, cocos2d::CCRect *); // x28\n  __int64 v57; // x0\n  GJTransformControl *m_transformControl; // x21\n  void (__fastcall *setPosition)(cocos2d::CCNode *__hidden, const cocos2d::CCPoint *); // x28\n  __int64 v60; // x0\n  GameObject *Object; // x0\n  cocos2d::CCPoint v62; // [xsp+78h] [xbp+78h] BYREF\n  cocos2d::CCPoint v63; // [xsp+80h] [xbp+80h] BYREF\n  cocos2d::CCPoint v64; // [xsp+88h] [xbp+88h] BYREF\n  cocos2d::CCPoint v65; // [xsp+90h] [xbp+90h] BYREF\n  cocos2d::CCPoint v66; // [xsp+98h] [xbp+98h] BYREF\n  cocos2d::CCPoint v67; // [xsp+A0h] [xbp+A0h] BYREF\n  cocos2d::CCRect v68; // [xsp+A8h] [xbp+A8h] BYREF\n  cocos2d::CCRect v69; // [xsp+B8h] [xbp+B8h] BYREF\n  __int64 v70; // [xsp+C8h] [xbp+C8h]\n  cocos2d::CCPoint v71; // 0:kr50_8.8\n  cocos2d::CCPoint v72; // 0:s0.4,4:s1.4\n  cocos2d::CCPoint v73; // 0:s0.4,4:s1.4\n  cocos2d::CCPoint v74; // 0:s0.4,4:s1.4\n  cocos2d::CCPoint v75; // 0:s0.4,4:s1.4\n  cocos2d::CCPoint v76; // 0:s0.4,4:s1.4\n  cocos2d::CCPoint v77; // 0:s0.4,4:s1.4\n  cocos2d::CCPoint v78; // 0:s2.4,4:s3.4\n  cocos2d::CCRect v79; // 0:s0.4,4:s1.4,8:s2.4,12:s3.4\n\n  v5 = _stack_chk_guard;\n  a1->m_canActivateControls = 0;\n  v70 = v5;\n  cocos2d::CCNode::stopActionByTag(a1, 123);\n  m_nId = a2->m_nId;\n  if ( a1->m_rotationTouchID == m_nId )\n  {\n    m_rotationControl = a1->m_rotationControl;\n    v33 = a2;\n    a1->m_rotationTouchID = -1;\nLABEL_41:\n    (*(void (__fastcall **)(void *, cocos2d::CCTouch *, cocos2d::CCEvent *))(*(_QWORD *)m_rotationControl + 896LL))(\n      m_rotationControl,\n      v33,\n      a3);\n    return;\n  }\n  if ( m_nId == a1->m_scaleTouchID )\n  {\n    m_rotationControl = a1->m_scaleControl;\n    v33 = a2;\n    a1->m_scaleTouchID = -1;\n    goto LABEL_41;\n  }\n  if ( m_nId == a1->m_transformTouchID )\n  {\n    m_rotationControl = a1->m_transformControl;\n    v33 = a2;\n    a1->m_transformTouchID = -1;\n    goto LABEL_41;\n  }\n  m_editorLayer = a1->m_editorLayer;\n  if ( m_editorLayer->m_playbackMode == Playing )\n  {\n    m_editorLayer->m_uiLayer->ccTouchEnded(m_editorLayer->m_uiLayer, a2, a3);\n    return;\n  }\n  if ( m_nId != a1->m_touchID )\n    return;\n  v9 = GameManager::sharedState();\n  GameVariable = GameManager::getGameVariable(v9, \"0059\");\n  EditorUI::getTouchPoint(a1, a2, a3);\n  v11 = cocos2d::ccpDistance(&a1->m_swipeStart, &v62);\n  p_m_lastTouchPoint = &a1->m_lastTouchPoint;\n  if ( v11 < 8.0 && GameVariable )\n  {\n    v13 = cocos2d::ccpDistance(p_m_lastTouchPoint, &v62);\n    v14 = 1;\n  }\n  else\n  {\n    v13 = cocos2d::ccpDistance(p_m_lastTouchPoint, &v62);\n    v14 = 0;\n    if ( !GameVariable )\n      goto LABEL_10;\n  }\n  v15 = 8.0;\n  v16 = 1;\n  if ( v13 >= 8.0 )\nLABEL_10:\n    v16 = 0;\n  m_snapObjectExists = a1->m_snapObjectExists;\n  a1->m_touchID = -1;\n  if ( m_snapObjectExists && a1->m_continuousSnap && a1->m_snapObject )\n  {\n    cocos2d::CCPoint::CCPoint(&v63, (const cocos2d::CCPoint *)&dword_1242110);\n    EditorUI::getTouchPoint(a1, a2, a3);\n    cocos2d::CCNode::convertToNodeSpace(a1->m_editorLayer->m_objectLayer, &v64);\n    v18 = GameManager::sharedState();\n    v19 = GameManager::getGameVariable(v18, \"0008\");\n    m_snapObject = a1->m_snapObject;\n    if ( !v19 || !m_snapObject )\n      goto LABEL_19;\n    if ( !EditorUI::shouldSnap(a1, m_snapObject) || (unsigned __int8)cocos2d::CCPoint::equals(&v64, &a1->m_swipeStart) )\n    {\n      m_snapObject = a1->m_snapObject;\nLABEL_19:\n      v21 = (cocos2d::CCPoint *)m_snapObject->getPosition(m_snapObject);\n      if ( (unsigned __int8)cocos2d::CCPoint::equals(v21, &a1->m_snapPosition) )\n        a1->m_noSnapUndo = 1;\n      v22 = a1->m_snapObject->getPosition(a1->m_snapObject);\n      cocos2d::CCPoint::operator-(&v69, v22, &a1->m_snapPosition);\n      if ( !a1->m_noSnapUndo )\n      {\n        m_undoObject = a1->m_undoObject;\n        if ( m_undoObject )\n        {\n          LevelEditorLayer::addToUndoList(a1->m_editorLayer, m_undoObject, 0);\n          v24 = a1->m_undoObject;\n          if ( v24 )\n          {\n            cocos2d::CCObject::release(v24);\n            a1->m_undoObject = nullptr;\n          }\n        }\n      }\n      EditorUI::tryUpdateTimeMarkers(a1);\n      v25 = a1->m_snapObject;\n      goto LABEL_26;\n    }\n    cocos2d::CCPoint::CCPoint(&v69.origin, &v65);\n    EditorUI::getGridSnappedPos(a1, v74);\n    EditorUI::getRelativeOffset(a1, a1->m_snapObject);\n    cocos2d::CCPoint::CCPoint(&v69.origin, &v66);\n    EditorUI::applySpecialOffset(a1, v75, (GameObject *)&v68, v78);\n    cocos2d::CCPoint::operator+(&v69, &v66, &v67);\n    cocos2d::CCPoint::operator=(&v66, v43, v44);\n    v45 = a1->m_snapObject->getPosition(a1->m_snapObject);\n    cocos2d::CCPoint::CCPoint(&v68.origin, v45);\n    a1->m_snapObject->setPosition(a1->m_snapObject, &v66);\n    cocos2d::CCPoint::operator-(&v69, &v66, &v68);\n    cocos2d::CCPoint::operator=(&v63, v46, v47);\n    if ( (unsigned int)cocos2d::CCArray::count(a1->m_selectedObjects) )\n    {\n      for ( i = 0; i < (unsigned int)cocos2d::CCArray::count(a1->m_selectedObjects); ++i )\n      {\n        v49 = (GameObject *)cocos2d::CCArray::objectAtIndex(a1->m_selectedObjects, i);\n        if ( v49->m_uniqueID != a1->m_snapObject->m_uniqueID )\n        {\n          cocos2d::CCPoint::CCPoint(&v69.origin, &v63);\n          EditorUI::moveObject(a1, v49, v76);\n        }\n      }\n    }\n    cocos2d::CCPoint::operator+(&v69, &a1->m_pivotPoint, &v63);\n    cocos2d::CCPoint::operator=(&a1->m_pivotPoint, v53, v54);\n    if ( a1->m_rotationControl->isVisible(a1->m_rotationControl) )\n    {\n      m_scaleControl = a1->m_rotationControl;\n    }\n    else\n    {\n      if ( !a1->m_scaleControl->isVisible(a1->m_scaleControl) )\n      {\n        if ( a1->m_transformControl->isVisible(a1->m_transformControl) )\n        {\n          m_transformControl = a1->m_transformControl;\n          setPosition = m_transformControl->setPosition;\n          v60 = (__int64)m_transformControl->getPosition(m_transformControl);\n          cocos2d::CCPoint::operator+(&v69, v60, &v63);\n          setPosition(m_transformControl, &v69.origin);\n          GJTransformControl::refreshControl(a1->m_transformControl);\n          m_snapObject = a1->m_snapObject;\n          goto LABEL_19;\n        }\n        goto LABEL_79;\n      }\n      m_scaleControl = a1->m_scaleControl;\n    }\n    v56 = *(void (__fastcall **)(void *, cocos2d::CCRect *))(*(_QWORD *)m_scaleControl + 184LL);\n    v57 = (*(__int64 (__fastcall **)(void *))(*(_QWORD *)m_scaleControl + 192LL))(m_scaleControl);\n    cocos2d::CCPoint::operator+(&v69, v57, &v63);\n    v56(m_scaleControl, &v69);\nLABEL_79:\n    m_snapObject = a1->m_snapObject;\n    goto LABEL_19;\n  }\n  if ( a1->m_swipeActive > v14 )\n  {\n    m_objectLayer = a1->m_editorLayer->m_objectLayer;\n    cocos2d::CCNode::convertToNodeSpace(m_objectLayer, &a1->m_swipeStart);\n    cocos2d::CCNode::convertToNodeSpace(m_objectLayer, &a1->m_swipeEnd);\n    x = v67.x;\n    if ( v66.x <= v67.x )\n      x = v66.x;\n    y = v67.y;\n    if ( v66.y <= v67.y )\n      y = v66.y;\n    cocos2d::CCRect::CCRect(&v68, x, y, vabds_f32(v66.x, v67.x), vabds_f32(v66.y, v67.y));\n    EditorUI::getTouchPoint(a1, a2, a3);\n    if ( cocos2d::ccpDistance(&a1->m_swipeStart, &v69.origin) >= 8.0 )\n    {\n      cocos2d::CCRect::CCRect(&v69, &v68);\n      EditorUI::selectObjectsInRect(a1, v79);\n      v25 = a1->m_snapObject;\n      goto LABEL_26;\n    }\n    v37 = a1->m_editorLayer;\n    cocos2d::CCPoint::CCPoint(&v69.origin, &v67);\n    v38 = LevelEditorLayer::objectsAtPosition(v37, v72);\n    CycledObject = EditorUI::getCycledObject(a1, v38, 0);\n    if ( !CycledObject )\n      goto LABEL_57;\n    EditorUI::createUndoSelectObject(a1, 0);\n    v41 = (cocos2d::CCArray *)CycledObject;\n    goto LABEL_52;\n  }\n  if ( !a1->m_isDraggingCamera )\n  {\n    EditorUI::getTouchPoint(a1, a2, a3);\n    v13 = cocos2d::ccpDistance(&a1->m_swipeStart, &v69.origin);\n    if ( a1->m_swipeSelected )\n    {\n      v15 = 20.0;\n      if ( v13 >= 20.0 )\n        goto LABEL_57;\n    }\n    if ( a1->m_selectedMode != 3 )\n    {\n      if ( !a1->m_swipeModeTriggered )\n      {\n        cocos2d::CCPoint::CCPoint(&v69.origin, &a1->m_swipeStart);\n        EditorUI::clickOnPosition(a1, v73);\n        v25 = a1->m_snapObject;\n        goto LABEL_26;\n      }\nLABEL_57:\n      v25 = a1->m_snapObject;\n      goto LABEL_26;\n    }\n    v71 = cocos2d::CCNode::convertToNodeSpace(a1->m_editorLayer->m_objectLayer, &a1->m_swipeStart);\n    v13 = v71.x;\n    v15 = v71.y;\n    v25 = a1->m_snapObject;\n    if ( v25 && a1->m_editingObject )\n      goto LABEL_26;\n    v50 = a1->m_editorLayer;\n    cocos2d::CCPoint::CCPoint(&v69.origin, &v68.origin);\n    v51 = LevelEditorLayer::objectsAtPosition(v50, v77);\n    v52 = EditorUI::getCycledObject(a1, v51, 0);\n    if ( !v52 )\n      goto LABEL_57;\n    EditorUI::createUndoSelectObject(a1, 0);\n    if ( !a1->m_swipeActive )\n    {\n      EditorUI::selectObject(a1, v52, 0);\n      v25 = a1->m_snapObject;\n      goto LABEL_26;\n    }\n    if ( v16 )\n    {\n      if ( a1->m_selectedObject )\n      {\n        EditorUI::deselectObject(a1);\n      }\n      else\n      {\n        Object = (GameObject *)cocos2d::CCArray::lastObject(a1->m_selectedObjects);\n        if ( Object )\n        {\n          GameObject::deselectObject(Object);\n          cocos2d::CCArray::removeLastObject(a1->m_selectedObjects, 1);\n        }\n      }\n    }\n    v41 = (cocos2d::CCArray *)v52;\nLABEL_52:\n    v42 = (cocos2d::CCArray *)cocos2d::CCArray::createWithObject(v41, v40);\n    EditorUI::selectObjects(a1, v42, 0);\n    v25 = a1->m_snapObject;\n    goto LABEL_26;\n  }\n  a1->m_isDraggingCamera = 0;\n  v25 = a1->m_snapObject;\nLABEL_26:\n  if ( v25 )\n  {\n    if ( a1->m_snapObjectExists && a1->m_continuousSnap )\n    {\n      if ( v25->m_isSelected )\n        ((void (__fastcall *)(GameObject *, __int64))v25->selectObject)(v25, 65280);\n      else\n        GameObject::deselectObject(v25);\n    }\n    a1->m_snapObject = nullptr;\n  }\n  a1->m_swipeSelected = 0;\n  a1->m_swipeActive = 0;\n  a1->m_snapObjectExists = 0;\n  a1->m_noSnapUndo = 0;\n  cocos2d::CCPoint::operator=(&a1->m_createPosition, v13, v15);\n  a1->m_continuousSnap = 0;\n  a1->m_editingObject = 0;\n  cocos2d::CCPoint::operator=(&a1->m_swipePosition, v26, v27);\n  a1->m_continueSwipe = 0;\n  m_canActivateControls = a1->m_canActivateControls;\n  EditorUI::updateButtons(a1);\n  m_snapPositions = a1->m_snapPositions;\n  ++a1->m_cycledObjectIndex;\n  cocos2d::CCArray::removeAllObjects(m_snapPositions);\n  if ( m_canActivateControls )\n  {\n    EditorUI::updateSpecialUIElements(a1);\n    a1->updateTransformControl(a1);\n    a1->m_canActivateControls = 0;\n  }\n  cocos2d::CCPoint::operator=(&a1->m_lastTouchPoint, v30, v31);\n}", "assembly": "; \n; EditorUI::ccTouchEnded from 0x6c2888 to 0x6c3108 (2176 bytes)\n; \n; 3 xrefs:\n; > `non-virtual thunk to'EditorUI::ccTouchEnded @ 0x6c310c\n; > <???> @ 0xc7860\n; > <???> @ 0x1156a30\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_D0]!                                ; +0x0, 0x6c2888\nMOV             X29, SP                                                ; +0x4, 0x6c288c\nSTP             X19, X20, [SP,#0xD0+var_C0]                            ; +0x8, 0x6c2890\nADRP            X20, #__stack_chk_guard_ptr@PAGE                       ; +0xc, 0x6c2894\nMOV             X19, X0                                                ; +0x10, 0x6c2898\nSTP             X21, X22, [SP,#0xD0+var_B0]                            ; +0x14, 0x6c289c\nMOV             X21, X2                                                ; +0x18, 0x6c28a0\nLDR             X2, [X20,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0x1c, 0x6c28a4\nSTP             X27, X28, [SP,#0xD0+var_80]                            ; +0x20, 0x6c28a8\nSTP             X23, X24, [SP,#0xD0+var_A0]                            ; +0x24, 0x6c28ac\nSTP             X25, X26, [SP,#0xD0+var_90]                            ; +0x28, 0x6c28b0\nLDR             X2, [X2]                                               ; +0x2c, 0x6c28b4\nMOV             X28, X1                                                ; +0x30, 0x6c28b8\nSTRB            WZR, [X0,#0x2C0]                                       ; +0x34, 0x6c28bc\nMOV             W1, #0x7B ; '{'; int                                   ; +0x38, 0x6c28c0\nSTR             X2, [X29,#0xD0+var_8]                                  ; +0x3c, 0x6c28c4\nBL              _ZN7cocos2d6CCNode15stopActionByTagEi; cocos2d::CCNode::stopActionByTag(int) ; +0x40, 0x6c28c8\nLDR             W0, [X28,#0x38]; this                                  ; +0x44, 0x6c28cc\nLDR             W1, [X19,#0x298]                                       ; +0x48, 0x6c28d0\nCMP             W1, W0                                                 ; +0x4c, 0x6c28d4\nB.EQ            loc_6C2BD8                                             ; +0x50, 0x6c28d8\nLDR             W1, [X19,#0x29C]                                       ; +0x54, 0x6c28dc\nCMP             W0, W1                                                 ; +0x58, 0x6c28e0\nB.EQ            loc_6C2C00                                             ; +0x5c, 0x6c28e4\nLDR             W1, [X19,#0x2A4]                                       ; +0x60, 0x6c28e8\nCMP             W0, W1                                                 ; +0x64, 0x6c28ec\nB.EQ            loc_6C2C14                                             ; +0x68, 0x6c28f0\nLDR             X1, [X19,#0x4F8]                                       ; +0x6c, 0x6c28f4\nLDR             W2, [X1,#0x8A8]                                        ; +0x70, 0x6c28f8\nCMP             W2, #1                                                 ; +0x74, 0x6c28fc\nB.EQ            loc_6C2C28                                             ; +0x78, 0x6c2900\nLDR             W1, [X19,#0x2A0]                                       ; +0x7c, 0x6c2904\nCMP             W0, W1                                                 ; +0x80, 0x6c2908\nB.EQ            loc_6C2940                                             ; +0x84, 0x6c290c\nLDR             X20, [X20,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0x88, 0x6c2910\nLDR             X1, [X29,#0xD0+var_8]                                  ; +0x8c, 0x6c2914\nLDR             X0, [X20]                                              ; +0x90, 0x6c2918\nCMP             X1, X0                                                 ; +0x94, 0x6c291c\nB.NE            loc_6C306C                                             ; +0x98, 0x6c2920\nLDP             X19, X20, [SP,#0xD0+var_C0]                            ; +0x9c, 0x6c2924\nLDP             X21, X22, [SP,#0xD0+var_B0]                            ; +0xa0, 0x6c2928\nLDP             X23, X24, [SP,#0xD0+var_A0]                            ; +0xa4, 0x6c292c\nLDP             X25, X26, [SP,#0xD0+var_90]                            ; +0xa8, 0x6c2930\nLDP             X27, X28, [SP,#0xD0+var_80]                            ; +0xac, 0x6c2934\nLDP             X29, X30, [SP+0xD0+var_D0],#0xD0                       ; +0xb0, 0x6c2938\nRET                                                                    ; +0xb4, 0x6c293c\nBL              _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0xb8, 0x6c2940\nADD             X22, X29, #0xD0+var_58                                 ; +0xbc, 0x6c2944\nADRP            X1, #a0059@PAGE; \"0059\"                                ; +0xc0, 0x6c2948\nADD             X23, X19, #0x500                                       ; +0xc4, 0x6c294c\nADD             X1, X1, #a0059@PAGEOFF; \"0059\"                         ; +0xc8, 0x6c2950\nADD             X24, X19, #0x518                                       ; +0xcc, 0x6c2954\nBL              _ZN11GameManager15getGameVariableEPKc; GameManager::getGameVariable(char const*) ; +0xd0, 0x6c2958\nUXTB            W25, W0                                                ; +0xd4, 0x6c295c\nMOV             X8, X22                                                ; +0xd8, 0x6c2960\nMOV             X0, X19; int                                           ; +0xdc, 0x6c2964\nMOV             X1, X28; this                                          ; +0xe0, 0x6c2968\nMOV             X2, X21                                                ; +0xe4, 0x6c296c\nBL              _ZN8EditorUI13getTouchPointEPN7cocos2d7CCTouchEPNS0_7CCEventE; EditorUI::getTouchPoint(cocos2d::CCTouch *,cocos2d::CCEvent *) ; +0xe8, 0x6c2970\nMOV             X0, X23; this                                          ; +0xec, 0x6c2974\nMOV             X1, X22; cocos2d::CCPoint *                            ; +0xf0, 0x6c2978\nBL              _ZN7cocos2d11ccpDistanceERKNS_7CCPointES2_; cocos2d::ccpDistance(cocos2d::CCPoint const&,cocos2d::CCPoint const&) ; +0xf4, 0x6c297c\nFMOV            S1, #8.0                                               ; +0xf8, 0x6c2980\nMOV             X1, X22; cocos2d::CCPoint *                            ; +0xfc, 0x6c2984\nMOV             X0, X24; this                                          ; +0x100, 0x6c2988\nFCMPE           S0, S1                                                 ; +0x104, 0x6c298c\nB.PL            loc_6C2BA4                                             ; +0x108, 0x6c2990\nCBZ             W25, loc_6C2BA4                                        ; +0x10c, 0x6c2994\nBL              _ZN7cocos2d11ccpDistanceERKNS_7CCPointES2_; cocos2d::ccpDistance(cocos2d::CCPoint const&,cocos2d::CCPoint const&) ; +0x110, 0x6c2998\nMOV             W2, #1                                                 ; +0x114, 0x6c299c\nFMOV            S1, #8.0                                               ; +0x118, 0x6c29a0\nMOV             W25, #1                                                ; +0x11c, 0x6c29a4\nFCMPE           S0, S1                                                 ; +0x120, 0x6c29a8\nB.MI            loc_6C29B4                                             ; +0x124, 0x6c29ac\nMOV             W25, #0                                                ; +0x128, 0x6c29b0\nLDRB            W0, [X19,#0x319]                                       ; +0x12c, 0x6c29b4\nMOV             W1, #0xFFFFFFFF                                        ; +0x130, 0x6c29b8\nSTR             W1, [X19,#0x2A0]                                       ; +0x134, 0x6c29bc\nCBZ             W0, loc_6C2BB4                                         ; +0x138, 0x6c29c0\nLDRB            W0, [X19,#0x317]                                       ; +0x13c, 0x6c29c4\nCBZ             W0, loc_6C2BB4                                         ; +0x140, 0x6c29c8\nLDR             X0, [X19,#0x538]                                       ; +0x144, 0x6c29cc\nCBZ             X0, loc_6C2BB4                                         ; +0x148, 0x6c29d0\nADD             X27, X29, #0xD0+var_50                                 ; +0x14c, 0x6c29d4\nADRP            X25, #dword_1242110@PAGE                               ; +0x150, 0x6c29d8\nADD             X2, X29, #0xD0+var_40                                  ; +0x154, 0x6c29dc\nMOV             X0, X27; this                                          ; +0x158, 0x6c29e0\nADD             X1, X25, #dword_1242110@PAGEOFF; cocos2d::CCPoint *    ; +0x15c, 0x6c29e4\nADD             X26, X29, #0xD0+var_48                                 ; +0x160, 0x6c29e8\nSTR             X2, [X29,#0xD0+var_68]                                 ; +0x164, 0x6c29ec\nBL              _ZN7cocos2d7CCPointC1ERKS0_; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const&) ; +0x168, 0x6c29f0\nMOV             X2, X21                                                ; +0x16c, 0x6c29f4\nMOV             X8, X26                                                ; +0x170, 0x6c29f8\nMOV             X0, X19; int                                           ; +0x174, 0x6c29fc\nMOV             X1, X28; this                                          ; +0x178, 0x6c2a00\nBL              _ZN8EditorUI13getTouchPointEPN7cocos2d7CCTouchEPNS0_7CCEventE; EditorUI::getTouchPoint(cocos2d::CCTouch *,cocos2d::CCEvent *) ; +0x17c, 0x6c2a04\nLDR             X0, [X19,#0x4F8]                                       ; +0x180, 0x6c2a08\nMOV             X1, X26; cocos2d::CCPoint *                            ; +0x184, 0x6c2a0c\nLDR             X8, [X29,#0xD0+var_68]                                 ; +0x188, 0x6c2a10\nLDR             X0, [X0,#0x1030]; this                                 ; +0x18c, 0x6c2a14\nBL              _ZN7cocos2d6CCNode18convertToNodeSpaceERKNS_7CCPointE; cocos2d::CCNode::convertToNodeSpace(cocos2d::CCPoint const&) ; +0x190, 0x6c2a18\nBL              _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0x194, 0x6c2a1c\nADRL            X1, a0008; \"0008\"                                      ; +0x198, 0x6c2a20\nBL              _ZN11GameManager15getGameVariableEPKc; GameManager::getGameVariable(char const*) ; +0x1a0, 0x6c2a28\nUXTB            W0, W0                                                 ; +0x1a4, 0x6c2a2c\nLDR             X1, [X19,#0x538]; GameObject *                         ; +0x1a8, 0x6c2a30\nCBZ             W0, loc_6C2A64                                         ; +0x1ac, 0x6c2a34\nCBZ             X1, loc_6C2A64                                         ; +0x1b0, 0x6c2a38\nMOV             X0, X19; this                                          ; +0x1b4, 0x6c2a3c\nBL              _ZN8EditorUI10shouldSnapEP10GameObject; EditorUI::shouldSnap(GameObject *) ; +0x1b8, 0x6c2a40\nUXTB            W0, W0                                                 ; +0x1bc, 0x6c2a44\nCBZ             W0, loc_6C2A60                                         ; +0x1c0, 0x6c2a48\nMOV             X0, X26; this                                          ; +0x1c4, 0x6c2a4c\nMOV             X1, X23; cocos2d::CCPoint *                            ; +0x1c8, 0x6c2a50\nBL              _ZNK7cocos2d7CCPoint6equalsERKS0_; cocos2d::CCPoint::equals(cocos2d::CCPoint const&) ; +0x1cc, 0x6c2a54\nUXTB            W0, W0                                                 ; +0x1d0, 0x6c2a58\nCBZ             W0, loc_6C2DC8                                         ; +0x1d4, 0x6c2a5c\nLDR             X1, [X19,#0x538]                                       ; +0x1d8, 0x6c2a60\nADD             X26, X29, #0xD0+var_18                                 ; +0x1dc, 0x6c2a64\nLDR             X2, [X1]                                               ; +0x1e0, 0x6c2a68\nMOV             X0, X1                                                 ; +0x1e4, 0x6c2a6c\nADD             X21, X19, #0x330                                       ; +0x1e8, 0x6c2a70\nLDR             X1, [X2,#0xC0]                                         ; +0x1ec, 0x6c2a74\nBLR             X1                                                     ; +0x1f0, 0x6c2a78\nMOV             X1, X21; cocos2d::CCPoint *                            ; +0x1f4, 0x6c2a7c\nBL              _ZNK7cocos2d7CCPoint6equalsERKS0_; cocos2d::CCPoint::equals(cocos2d::CCPoint const&) ; +0x1f8, 0x6c2a80\nUXTB            W0, W0                                                 ; +0x1fc, 0x6c2a84\nCBZ             W0, loc_6C2A94                                         ; +0x200, 0x6c2a88\nMOV             W0, #1                                                 ; +0x204, 0x6c2a8c\nSTRB            W0, [X19,#0x291]                                       ; +0x208, 0x6c2a90\nLDR             X1, [X19,#0x538]                                       ; +0x20c, 0x6c2a94\nMOV             X0, X1                                                 ; +0x210, 0x6c2a98\nLDR             X1, [X1]                                               ; +0x214, 0x6c2a9c\nLDR             X1, [X1,#0xC0]                                         ; +0x218, 0x6c2aa0\nBLR             X1                                                     ; +0x21c, 0x6c2aa4\nMOV             X8, X26                                                ; +0x220, 0x6c2aa8\nMOV             X1, X21                                                ; +0x224, 0x6c2aac\nBL              _ZNK7cocos2d7CCPointmiERKS0_; cocos2d::CCPoint::operator-(cocos2d::CCPoint const&) ; +0x228, 0x6c2ab0\nLDRB            W0, [X19,#0x291]                                       ; +0x22c, 0x6c2ab4\nCBNZ            W0, loc_6C2AE0                                         ; +0x230, 0x6c2ab8\nLDR             X1, [X19,#0x288]; UndoObject *                         ; +0x234, 0x6c2abc\nCBZ             X1, loc_6C2AE0                                         ; +0x238, 0x6c2ac0\nLDR             X0, [X19,#0x4F8]; this                                 ; +0x23c, 0x6c2ac4\nMOV             W2, #0; bool                                           ; +0x240, 0x6c2ac8\nBL              _ZN16LevelEditorLayer13addToUndoListEP10UndoObjectb; LevelEditorLayer::addToUndoList(UndoObject *,bool) ; +0x244, 0x6c2acc\nLDR             X0, [X19,#0x288]; this                                 ; +0x248, 0x6c2ad0\nCBZ             X0, loc_6C2AE0                                         ; +0x24c, 0x6c2ad4\nBL              _ZN7cocos2d8CCObject7releaseEv; cocos2d::CCObject::release(void) ; +0x250, 0x6c2ad8\nSTR             XZR, [X19,#0x288]                                      ; +0x254, 0x6c2adc\nMOV             X0, X19; this                                          ; +0x258, 0x6c2ae0\nBL              _ZN8EditorUI20tryUpdateTimeMarkersEv; EditorUI::tryUpdateTimeMarkers(void) ; +0x25c, 0x6c2ae4\nLDR             X0, [X19,#0x538]; this                                 ; +0x260, 0x6c2ae8\nCBZ             X0, loc_6C2B20                                         ; +0x264, 0x6c2aec\nLDRB            W1, [X19,#0x319]                                       ; +0x268, 0x6c2af0\nCBZ             W1, loc_6C2B1C                                         ; +0x26c, 0x6c2af4\nLDRB            W1, [X19,#0x317]                                       ; +0x270, 0x6c2af8\nCBZ             W1, loc_6C2B1C                                         ; +0x274, 0x6c2afc\nLDRB            W1, [X0,#0x45D]                                        ; +0x278, 0x6c2b00\nCBZ             W1, loc_6C2F18                                         ; +0x27c, 0x6c2b04\nLDR             X1, [X0]                                               ; +0x280, 0x6c2b08\nLDR             X2, [X1,#0x5E8]                                        ; +0x284, 0x6c2b0c\nADRP            X1, #qword_EC62F8@PAGE                                 ; +0x288, 0x6c2b10\nLDR             X1, [X1,#qword_EC62F8@PAGEOFF]                         ; +0x28c, 0x6c2b14\nBLR             X2                                                     ; +0x290, 0x6c2b18\nSTR             XZR, [X19,#0x538]                                      ; +0x294, 0x6c2b1c\nADD             X1, X25, #dword_1242110@PAGEOFF                        ; +0x298, 0x6c2b20\nSTRB            WZR, [X19,#0x316]                                      ; +0x29c, 0x6c2b24\nSTRB            WZR, [X19,#0x315]                                      ; +0x2a0, 0x6c2b28\nADD             X0, X19, #0x320                                        ; +0x2a4, 0x6c2b2c\nSTRB            WZR, [X19,#0x319]                                      ; +0x2a8, 0x6c2b30\nSTRB            WZR, [X19,#0x291]                                      ; +0x2ac, 0x6c2b34\nBL              _ZN7cocos2d7CCPointaSERKS0_; cocos2d::CCPoint::operator=(cocos2d::CCPoint const&) ; +0x2b0, 0x6c2b38\nSTRB            WZR, [X19,#0x317]                                      ; +0x2b4, 0x6c2b3c\nMOV             X1, X23                                                ; +0x2b8, 0x6c2b40\nSTRB            WZR, [X19,#0x292]                                      ; +0x2bc, 0x6c2b44\nADD             X0, X19, #0x510                                        ; +0x2c0, 0x6c2b48\nBL              _ZN7cocos2d7CCPointaSERKS0_; cocos2d::CCPoint::operator=(cocos2d::CCPoint const&) ; +0x2c4, 0x6c2b4c\nSTRB            WZR, [X19,#0x541]                                      ; +0x2c8, 0x6c2b50\nMOV             X0, X19; this                                          ; +0x2cc, 0x6c2b54\nLDRB            W21, [X19,#0x2C0]                                      ; +0x2d0, 0x6c2b58\nBL              _ZN8EditorUI13updateButtonsEv; EditorUI::updateButtons(void) ; +0x2d4, 0x6c2b5c\nLDR             W1, [X19,#0x554]                                       ; +0x2d8, 0x6c2b60\nLDR             X0, [X19,#0x328]; this                                 ; +0x2dc, 0x6c2b64\nADD             W1, W1, #1                                             ; +0x2e0, 0x6c2b68\nSTR             W1, [X19,#0x554]                                       ; +0x2e4, 0x6c2b6c\nBL              _ZN7cocos2d7CCArray16removeAllObjectsEv; cocos2d::CCArray::removeAllObjects(void) ; +0x2e8, 0x6c2b70\nCBZ             W21, loc_6C2B94                                        ; +0x2ec, 0x6c2b74\nMOV             X0, X19; this                                          ; +0x2f0, 0x6c2b78\nBL              _ZN8EditorUI23updateSpecialUIElementsEv; EditorUI::updateSpecialUIElements(void) ; +0x2f4, 0x6c2b7c\nLDR             X1, [X19]                                              ; +0x2f8, 0x6c2b80\nMOV             X0, X19                                                ; +0x2fc, 0x6c2b84\nLDR             X1, [X1,#0x488]                                        ; +0x300, 0x6c2b88\nBLR             X1                                                     ; +0x304, 0x6c2b8c\nSTRB            WZR, [X19,#0x2C0]                                      ; +0x308, 0x6c2b90\nMOV             X0, X24                                                ; +0x30c, 0x6c2b94\nMOV             X1, X22                                                ; +0x310, 0x6c2b98\nBL              _ZN7cocos2d7CCPointaSERKS0_; cocos2d::CCPoint::operator=(cocos2d::CCPoint const&) ; +0x314, 0x6c2b9c\nB               loc_6C2910                                             ; +0x318, 0x6c2ba0\nBL              _ZN7cocos2d11ccpDistanceERKNS_7CCPointES2_; cocos2d::ccpDistance(cocos2d::CCPoint const&,cocos2d::CCPoint const&) ; +0x31c, 0x6c2ba4\nMOV             W2, #0                                                 ; +0x320, 0x6c2ba8\nCBZ             W25, loc_6C29B0                                        ; +0x324, 0x6c2bac\nB               loc_6C29A0                                             ; +0x328, 0x6c2bb0\nLDRB            W0, [X19,#0x315]                                       ; +0x32c, 0x6c2bb4\nCMP             W0, W2                                                 ; +0x330, 0x6c2bb8\nB.HI            loc_6C2C48                                             ; +0x334, 0x6c2bbc\nLDRB            W0, [X19,#0x540]                                       ; +0x338, 0x6c2bc0\nCBZ             W0, loc_6C2D4C                                         ; +0x33c, 0x6c2bc4\nSTRB            WZR, [X19,#0x540]                                      ; +0x340, 0x6c2bc8\nADRP            X25, #dword_1242110@PAGE                               ; +0x344, 0x6c2bcc\nLDR             X0, [X19,#0x538]                                       ; +0x348, 0x6c2bd0\nB               loc_6C2AEC                                             ; +0x34c, 0x6c2bd4\nLDR             X4, [X19,#0x2B0]                                       ; +0x350, 0x6c2bd8\nMOV             W0, #0xFFFFFFFF                                        ; +0x354, 0x6c2bdc\nMOV             X1, X28                                                ; +0x358, 0x6c2be0\nSTR             W0, [X19,#0x298]                                       ; +0x35c, 0x6c2be4\nLDR             X3, [X4]                                               ; +0x360, 0x6c2be8\nMOV             X0, X4                                                 ; +0x364, 0x6c2bec\nMOV             X2, X21                                                ; +0x368, 0x6c2bf0\nLDR             X3, [X3,#0x380]                                        ; +0x36c, 0x6c2bf4\nBLR             X3                                                     ; +0x370, 0x6c2bf8\nB               loc_6C2910                                             ; +0x374, 0x6c2bfc\nMOV             W0, #0xFFFFFFFF                                        ; +0x378, 0x6c2c00\nLDR             X4, [X19,#0x2C8]                                       ; +0x37c, 0x6c2c04\nMOV             X1, X28                                                ; +0x380, 0x6c2c08\nSTR             W0, [X19,#0x29C]                                       ; +0x384, 0x6c2c0c\nB               loc_6C2BE8                                             ; +0x388, 0x6c2c10\nMOV             W0, #0xFFFFFFFF                                        ; +0x38c, 0x6c2c14\nLDR             X4, [X19,#0x2D0]                                       ; +0x390, 0x6c2c18\nMOV             X1, X28                                                ; +0x394, 0x6c2c1c\nSTR             W0, [X19,#0x2A4]                                       ; +0x398, 0x6c2c20\nB               loc_6C2BE8                                             ; +0x39c, 0x6c2c24\nLDR             X4, [X1,#0x3540]                                       ; +0x3a0, 0x6c2c28\nMOV             X2, X21                                                ; +0x3a4, 0x6c2c2c\nMOV             X1, X28                                                ; +0x3a8, 0x6c2c30\nMOV             X0, X4                                                 ; +0x3ac, 0x6c2c34\nLDR             X3, [X4]                                               ; +0x3b0, 0x6c2c38\nLDR             X3, [X3,#0x380]                                        ; +0x3b4, 0x6c2c3c\nBLR             X3                                                     ; +0x3b8, 0x6c2c40\nB               loc_6C2910                                             ; +0x3bc, 0x6c2c44\nLDR             X0, [X19,#0x4F8]                                       ; +0x3c0, 0x6c2c48\nADD             X8, X29, #0xD0+var_38                                  ; +0x3c4, 0x6c2c4c\nMOV             X1, X23; cocos2d::CCPoint *                            ; +0x3c8, 0x6c2c50\nADD             X25, X29, #0xD0+var_30                                 ; +0x3cc, 0x6c2c54\nLDR             X26, [X0,#0x1030]                                      ; +0x3d0, 0x6c2c58\nMOV             X0, X26; this                                          ; +0x3d4, 0x6c2c5c\nBL              _ZN7cocos2d6CCNode18convertToNodeSpaceERKNS_7CCPointE; cocos2d::CCNode::convertToNodeSpace(cocos2d::CCPoint const&) ; +0x3d8, 0x6c2c60\nMOV             X8, X25                                                ; +0x3dc, 0x6c2c64\nMOV             X0, X26; this                                          ; +0x3e0, 0x6c2c68\nADD             X1, X19, #0x508; cocos2d::CCPoint *                    ; +0x3e4, 0x6c2c6c\nBL              _ZN7cocos2d6CCNode18convertToNodeSpaceERKNS_7CCPointE; cocos2d::CCNode::convertToNodeSpace(cocos2d::CCPoint const&) ; +0x3e8, 0x6c2c70\nLDR             S2, [X29,#0xD0+var_30]                                 ; +0x3ec, 0x6c2c74\nLDR             S5, [X29,#0xD0+var_38]                                 ; +0x3f0, 0x6c2c78\nFMOV            S0, S2                                                 ; +0x3f4, 0x6c2c7c\nFCMPE           S5, S2                                                 ; +0x3f8, 0x6c2c80\nB.GT            loc_6C2C8C                                             ; +0x3fc, 0x6c2c84\nFMOV            S0, S5; float                                          ; +0x400, 0x6c2c88\nLDR             S3, [X29,#0xD0+var_2C]                                 ; +0x404, 0x6c2c8c\nLDR             S4, [X29,#0xD0+var_34]                                 ; +0x408, 0x6c2c90\nFMOV            S1, S3                                                 ; +0x40c, 0x6c2c94\nFCMPE           S4, S3                                                 ; +0x410, 0x6c2c98\nB.GT            loc_6C2CA4                                             ; +0x414, 0x6c2c9c\nFMOV            S1, S4; float                                          ; +0x418, 0x6c2ca0\nFABD            S2, S5, S2; float                                      ; +0x41c, 0x6c2ca4\nADD             X27, X29, #0xD0+var_28                                 ; +0x420, 0x6c2ca8\nFABD            S3, S4, S3; float                                      ; +0x424, 0x6c2cac\nMOV             X0, X27; this                                          ; +0x428, 0x6c2cb0\nADD             X26, X29, #0xD0+var_18                                 ; +0x42c, 0x6c2cb4\nBL              _ZN7cocos2d6CCRectC2Effff; cocos2d::CCRect::CCRect(float,float,float,float) ; +0x430, 0x6c2cb8\nMOV             X8, X26                                                ; +0x434, 0x6c2cbc\nMOV             X2, X21                                                ; +0x438, 0x6c2cc0\nMOV             X0, X19; int                                           ; +0x43c, 0x6c2cc4\nMOV             X1, X28; this                                          ; +0x440, 0x6c2cc8\nBL              _ZN8EditorUI13getTouchPointEPN7cocos2d7CCTouchEPNS0_7CCEventE; EditorUI::getTouchPoint(cocos2d::CCTouch *,cocos2d::CCEvent *) ; +0x444, 0x6c2ccc\nMOV             X0, X23; this                                          ; +0x448, 0x6c2cd0\nMOV             X1, X26; cocos2d::CCPoint *                            ; +0x44c, 0x6c2cd4\nBL              _ZN7cocos2d11ccpDistanceERKNS_7CCPointES2_; cocos2d::ccpDistance(cocos2d::CCPoint const&,cocos2d::CCPoint const&) ; +0x450, 0x6c2cd8\nFMOV            S1, #8.0                                               ; +0x454, 0x6c2cdc\nFCMPE           S0, S1                                                 ; +0x458, 0x6c2ce0\nB.PL            loc_6C2F20                                             ; +0x45c, 0x6c2ce4\nMOV             X0, X26; this                                          ; +0x460, 0x6c2ce8\nMOV             X1, X25; cocos2d::CCPoint *                            ; +0x464, 0x6c2cec\nLDR             X21, [X19,#0x4F8]                                      ; +0x468, 0x6c2cf0\nBL              _ZN7cocos2d7CCPointC1ERKS0_; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const&) ; +0x46c, 0x6c2cf4\nMOV             X0, X21                                                ; +0x470, 0x6c2cf8\nMOV             X1, X26                                                ; +0x474, 0x6c2cfc\nBL              _ZN16LevelEditorLayer17objectsAtPositionEN7cocos2d7CCPointE; LevelEditorLayer::objectsAtPosition(cocos2d::CCPoint) ; +0x478, 0x6c2d00\nMOV             X1, X0; cocos2d::CCArray *                             ; +0x47c, 0x6c2d04\nMOV             W2, #0; bool                                           ; +0x480, 0x6c2d08\nMOV             X0, X19; this                                          ; +0x484, 0x6c2d0c\nBL              _ZN8EditorUI15getCycledObjectEPN7cocos2d7CCArrayEb; EditorUI::getCycledObject(cocos2d::CCArray *,bool) ; +0x488, 0x6c2d10\nMOV             X21, X0                                                ; +0x48c, 0x6c2d14\nCBZ             X0, loc_6C2D98                                         ; +0x490, 0x6c2d18\nMOV             X0, X19; this                                          ; +0x494, 0x6c2d1c\nMOV             W1, #0; bool                                           ; +0x498, 0x6c2d20\nADRP            X25, #dword_1242110@PAGE                               ; +0x49c, 0x6c2d24\nBL              _ZN8EditorUI22createUndoSelectObjectEb; EditorUI::createUndoSelectObject(bool) ; +0x4a0, 0x6c2d28\nMOV             X0, X21; this                                          ; +0x4a4, 0x6c2d2c\nBL              _ZN7cocos2d7CCArray16createWithObjectEPNS_8CCObjectE; cocos2d::CCArray::createWithObject(cocos2d::CCObject *) ; +0x4a8, 0x6c2d30\nMOV             X1, X0; cocos2d::CCArray *                             ; +0x4ac, 0x6c2d34\nMOV             W2, #0; bool                                           ; +0x4b0, 0x6c2d38\nMOV             X0, X19; this                                          ; +0x4b4, 0x6c2d3c\nBL              _ZN8EditorUI13selectObjectsEPN7cocos2d7CCArrayEb; EditorUI::selectObjects(cocos2d::CCArray *,bool) ; +0x4b8, 0x6c2d40\nLDR             X0, [X19,#0x538]                                       ; +0x4bc, 0x6c2d44\nB               loc_6C2AEC                                             ; +0x4c0, 0x6c2d48\nADD             X26, X29, #0xD0+var_18                                 ; +0x4c4, 0x6c2d4c\nMOV             X2, X21                                                ; +0x4c8, 0x6c2d50\nMOV             X8, X26                                                ; +0x4cc, 0x6c2d54\nMOV             X0, X19; int                                           ; +0x4d0, 0x6c2d58\nMOV             X1, X28; this                                          ; +0x4d4, 0x6c2d5c\nBL              _ZN8EditorUI13getTouchPointEPN7cocos2d7CCTouchEPNS0_7CCEventE; EditorUI::getTouchPoint(cocos2d::CCTouch *,cocos2d::CCEvent *) ; +0x4d8, 0x6c2d60\nMOV             X0, X23; this                                          ; +0x4dc, 0x6c2d64\nMOV             X1, X26; cocos2d::CCPoint *                            ; +0x4e0, 0x6c2d68\nBL              _ZN7cocos2d11ccpDistanceERKNS_7CCPointES2_; cocos2d::ccpDistance(cocos2d::CCPoint const&,cocos2d::CCPoint const&) ; +0x4e4, 0x6c2d6c\nLDRB            W0, [X19,#0x316]                                       ; +0x4e8, 0x6c2d70\nCBZ             W0, loc_6C2D84                                         ; +0x4ec, 0x6c2d74\nFMOV            S1, #20.0                                              ; +0x4f0, 0x6c2d78\nFCMPE           S0, S1                                                 ; +0x4f4, 0x6c2d7c\nB.PL            loc_6C2D98                                             ; +0x4f8, 0x6c2d80\nLDR             W0, [X19,#0x4F0]                                       ; +0x4fc, 0x6c2d84\nCMP             W0, #3                                                 ; +0x500, 0x6c2d88\nB.EQ            loc_6C2F44                                             ; +0x504, 0x6c2d8c\nLDRB            W0, [X19,#0x578]                                       ; +0x508, 0x6c2d90\nCBZ             W0, loc_6C2DA4                                         ; +0x50c, 0x6c2d94\nLDR             X0, [X19,#0x538]                                       ; +0x510, 0x6c2d98\nADRP            X25, #dword_1242110@PAGE                               ; +0x514, 0x6c2d9c\nB               loc_6C2AEC                                             ; +0x518, 0x6c2da0\nMOV             X0, X26; this                                          ; +0x51c, 0x6c2da4\nMOV             X1, X23; cocos2d::CCPoint *                            ; +0x520, 0x6c2da8\nADRP            X25, #dword_1242110@PAGE                               ; +0x524, 0x6c2dac\nBL              _ZN7cocos2d7CCPointC1ERKS0_; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const&) ; +0x528, 0x6c2db0\nMOV             X0, X19                                                ; +0x52c, 0x6c2db4\nMOV             X1, X26                                                ; +0x530, 0x6c2db8\nBL              _ZN8EditorUI15clickOnPositionEN7cocos2d7CCPointE; EditorUI::clickOnPosition(cocos2d::CCPoint) ; +0x534, 0x6c2dbc\nLDR             X0, [X19,#0x538]                                       ; +0x538, 0x6c2dc0\nB               loc_6C2AEC                                             ; +0x53c, 0x6c2dc4\nADD             X26, X29, #0xD0+var_18                                 ; +0x540, 0x6c2dc8\nLDR             X1, [X29,#0xD0+var_68]; cocos2d::CCPoint *             ; +0x544, 0x6c2dcc\nADD             X4, X29, #0xD0+var_30                                  ; +0x548, 0x6c2dd0\nMOV             X0, X26; this                                          ; +0x54c, 0x6c2dd4\nADD             X21, X29, #0xD0+var_38                                 ; +0x550, 0x6c2dd8\nSTR             X4, [X29,#0xD0+var_70]                                 ; +0x554, 0x6c2ddc\nBL              _ZN7cocos2d7CCPointC1ERKS0_; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const&) ; +0x558, 0x6c2de0\nADD             X28, X29, #0xD0+var_28                                 ; +0x55c, 0x6c2de4\nMOV             X8, X21                                                ; +0x560, 0x6c2de8\nMOV             X0, X19                                                ; +0x564, 0x6c2dec\nMOV             X1, X26                                                ; +0x568, 0x6c2df0\nBL              _ZN8EditorUI17getGridSnappedPosEN7cocos2d7CCPointE; EditorUI::getGridSnappedPos(cocos2d::CCPoint) ; +0x56c, 0x6c2df4\nLDR             X1, [X19,#0x538]; GameObject *                         ; +0x570, 0x6c2df8\nMOV             X8, X28                                                ; +0x574, 0x6c2dfc\nMOV             X0, X19; this                                          ; +0x578, 0x6c2e00\nBL              _ZN8EditorUI17getRelativeOffsetEP10GameObject; EditorUI::getRelativeOffset(GameObject *) ; +0x57c, 0x6c2e04\nLDR             X2, [X19,#0x538]                                       ; +0x580, 0x6c2e08\nMOV             X0, X26; this                                          ; +0x584, 0x6c2e0c\nMOV             X1, X21; cocos2d::CCPoint *                            ; +0x588, 0x6c2e10\nSTR             X2, [X29,#0xD0+var_68]                                 ; +0x58c, 0x6c2e14\nBL              _ZN7cocos2d7CCPointC1ERKS0_; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const&) ; +0x590, 0x6c2e18\nLDR             X4, [X29,#0xD0+var_70]                                 ; +0x594, 0x6c2e1c\nMOV             X3, X26                                                ; +0x598, 0x6c2e20\nLDR             X2, [X29,#0xD0+var_68]                                 ; +0x59c, 0x6c2e24\nMOV             X0, X19                                                ; +0x5a0, 0x6c2e28\nMOV             X8, X4                                                 ; +0x5a4, 0x6c2e2c\nMOV             X1, X28                                                ; +0x5a8, 0x6c2e30\nSTR             X4, [X29,#0xD0+var_68]                                 ; +0x5ac, 0x6c2e34\nBL              _ZN8EditorUI18applySpecialOffsetEN7cocos2d7CCPointEP10GameObjectS1_; EditorUI::applySpecialOffset(cocos2d::CCPoint,GameObject *,cocos2d::CCPoint) ; +0x5b0, 0x6c2e38\nLDR             X4, [X29,#0xD0+var_68]                                 ; +0x5b4, 0x6c2e3c\nMOV             X8, X26                                                ; +0x5b8, 0x6c2e40\nMOV             X0, X21                                                ; +0x5bc, 0x6c2e44\nMOV             X1, X4                                                 ; +0x5c0, 0x6c2e48\nBL              _ZNK7cocos2d7CCPointplERKS0_; cocos2d::CCPoint::operator+(cocos2d::CCPoint const&) ; +0x5c4, 0x6c2e4c\nMOV             X1, X26                                                ; +0x5c8, 0x6c2e50\nMOV             X0, X21                                                ; +0x5cc, 0x6c2e54\nBL              _ZN7cocos2d7CCPointaSERKS0_; cocos2d::CCPoint::operator=(cocos2d::CCPoint const&) ; +0x5d0, 0x6c2e58\nLDR             X1, [X19,#0x538]                                       ; +0x5d4, 0x6c2e5c\nMOV             X0, X1                                                 ; +0x5d8, 0x6c2e60\nLDR             X1, [X1]                                               ; +0x5dc, 0x6c2e64\nLDR             X1, [X1,#0xC0]                                         ; +0x5e0, 0x6c2e68\nBLR             X1                                                     ; +0x5e4, 0x6c2e6c\nMOV             X1, X0; cocos2d::CCPoint *                             ; +0x5e8, 0x6c2e70\nMOV             X0, X28; this                                          ; +0x5ec, 0x6c2e74\nBL              _ZN7cocos2d7CCPointC1ERKS0_; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const&) ; +0x5f0, 0x6c2e78\nLDR             X2, [X19,#0x538]                                       ; +0x5f4, 0x6c2e7c\nMOV             X1, X21                                                ; +0x5f8, 0x6c2e80\nMOV             X0, X2                                                 ; +0x5fc, 0x6c2e84\nLDR             X2, [X2]                                               ; +0x600, 0x6c2e88\nLDR             X2, [X2,#0xB8]                                         ; +0x604, 0x6c2e8c\nBLR             X2                                                     ; +0x608, 0x6c2e90\nMOV             X8, X26                                                ; +0x60c, 0x6c2e94\nMOV             X0, X21                                                ; +0x610, 0x6c2e98\nMOV             X1, X28                                                ; +0x614, 0x6c2e9c\nBL              _ZNK7cocos2d7CCPointmiERKS0_; cocos2d::CCPoint::operator-(cocos2d::CCPoint const&) ; +0x618, 0x6c2ea0\nMOV             X0, X27                                                ; +0x61c, 0x6c2ea4\nMOV             X1, X26                                                ; +0x620, 0x6c2ea8\nBL              _ZN7cocos2d7CCPointaSERKS0_; cocos2d::CCPoint::operator=(cocos2d::CCPoint const&) ; +0x624, 0x6c2eac\nLDR             X0, [X19,#0x338]; this                                 ; +0x628, 0x6c2eb0\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x62c, 0x6c2eb4\nCBZ             W0, loc_6C2FD4                                         ; +0x630, 0x6c2eb8\nMOV             W21, #0                                                ; +0x634, 0x6c2ebc\nLDR             X0, [X19,#0x338]; this                                 ; +0x638, 0x6c2ec0\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x63c, 0x6c2ec4\nCMP             W21, W0                                                ; +0x640, 0x6c2ec8\nB.CS            loc_6C2FD4                                             ; +0x644, 0x6c2ecc\nLDR             X0, [X19,#0x338]; this                                 ; +0x648, 0x6c2ed0\nMOV             W1, W21; unsigned int                                  ; +0x64c, 0x6c2ed4\nBL              _ZN7cocos2d7CCArray13objectAtIndexEj; cocos2d::CCArray::objectAtIndex(uint) ; +0x650, 0x6c2ed8\nMOV             X28, X0                                                ; +0x654, 0x6c2edc\nLDR             X0, [X19,#0x538]                                       ; +0x658, 0x6c2ee0\nLDR             W1, [X28,#0x384]                                       ; +0x65c, 0x6c2ee4\nLDR             W0, [X0,#0x384]                                        ; +0x660, 0x6c2ee8\nCMP             W1, W0                                                 ; +0x664, 0x6c2eec\nB.EQ            loc_6C2F10                                             ; +0x668, 0x6c2ef0\nMOV             X0, X26; this                                          ; +0x66c, 0x6c2ef4\nMOV             X1, X27; cocos2d::CCPoint *                            ; +0x670, 0x6c2ef8\nBL              _ZN7cocos2d7CCPointC1ERKS0_; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const&) ; +0x674, 0x6c2efc\nMOV             X0, X19                                                ; +0x678, 0x6c2f00\nMOV             X1, X28                                                ; +0x67c, 0x6c2f04\nMOV             X2, X26                                                ; +0x680, 0x6c2f08\nBL              _ZN8EditorUI10moveObjectEP10GameObjectN7cocos2d7CCPointE; EditorUI::moveObject(GameObject *,cocos2d::CCPoint) ; +0x684, 0x6c2f0c\nADD             W21, W21, #1                                           ; +0x688, 0x6c2f10\nB               loc_6C2EC0                                             ; +0x68c, 0x6c2f14\nBL              _ZN10GameObject14deselectObjectEv; GameObject::deselectObject(void) ; +0x690, 0x6c2f18\nB               loc_6C2B1C                                             ; +0x694, 0x6c2f1c\nMOV             X0, X26; this                                          ; +0x698, 0x6c2f20\nMOV             X1, X27; cocos2d::CCRect *                             ; +0x69c, 0x6c2f24\nADRP            X25, #dword_1242110@PAGE                               ; +0x6a0, 0x6c2f28\nBL              _ZN7cocos2d6CCRectC1ERKS0_; cocos2d::CCRect::CCRect(cocos2d::CCRect const&) ; +0x6a4, 0x6c2f2c\nMOV             X0, X19                                                ; +0x6a8, 0x6c2f30\nMOV             X1, X26                                                ; +0x6ac, 0x6c2f34\nBL              _ZN8EditorUI19selectObjectsInRectEN7cocos2d6CCRectE; EditorUI::selectObjectsInRect(cocos2d::CCRect) ; +0x6b0, 0x6c2f38\nLDR             X0, [X19,#0x538]                                       ; +0x6b4, 0x6c2f3c\nB               loc_6C2AEC                                             ; +0x6b8, 0x6c2f40\nLDR             X0, [X19,#0x4F8]                                       ; +0x6bc, 0x6c2f44\nADD             X21, X29, #0xD0+var_28                                 ; +0x6c0, 0x6c2f48\nMOV             X8, X21                                                ; +0x6c4, 0x6c2f4c\nMOV             X1, X23; cocos2d::CCPoint *                            ; +0x6c8, 0x6c2f50\nLDR             X0, [X0,#0x1030]; this                                 ; +0x6cc, 0x6c2f54\nBL              _ZN7cocos2d6CCNode18convertToNodeSpaceERKNS_7CCPointE; cocos2d::CCNode::convertToNodeSpace(cocos2d::CCPoint const&) ; +0x6d0, 0x6c2f58\nLDR             X0, [X19,#0x538]                                       ; +0x6d4, 0x6c2f5c\nCBZ             X0, loc_6C2F6C                                         ; +0x6d8, 0x6c2f60\nLDRB            W1, [X19,#0x292]                                       ; +0x6dc, 0x6c2f64\nCBNZ            W1, loc_6C2D9C                                         ; +0x6e0, 0x6c2f68\nMOV             X1, X21; cocos2d::CCPoint *                            ; +0x6e4, 0x6c2f6c\nMOV             X0, X26; this                                          ; +0x6e8, 0x6c2f70\nLDR             X27, [X19,#0x4F8]                                      ; +0x6ec, 0x6c2f74\nBL              _ZN7cocos2d7CCPointC1ERKS0_; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const&) ; +0x6f0, 0x6c2f78\nMOV             X1, X26                                                ; +0x6f4, 0x6c2f7c\nMOV             X0, X27                                                ; +0x6f8, 0x6c2f80\nBL              _ZN16LevelEditorLayer17objectsAtPositionEN7cocos2d7CCPointE; LevelEditorLayer::objectsAtPosition(cocos2d::CCPoint) ; +0x6fc, 0x6c2f84\nMOV             X1, X0; cocos2d::CCArray *                             ; +0x700, 0x6c2f88\nMOV             W2, #0; bool                                           ; +0x704, 0x6c2f8c\nMOV             X0, X19; this                                          ; +0x708, 0x6c2f90\nBL              _ZN8EditorUI15getCycledObjectEPN7cocos2d7CCArrayEb; EditorUI::getCycledObject(cocos2d::CCArray *,bool) ; +0x70c, 0x6c2f94\nMOV             X21, X0                                                ; +0x710, 0x6c2f98\nCBZ             X0, loc_6C2D98                                         ; +0x714, 0x6c2f9c\nMOV             X0, X19; this                                          ; +0x718, 0x6c2fa0\nMOV             W1, #0; bool                                           ; +0x71c, 0x6c2fa4\nBL              _ZN8EditorUI22createUndoSelectObjectEb; EditorUI::createUndoSelectObject(bool) ; +0x720, 0x6c2fa8\nLDRB            W0, [X19,#0x315]                                       ; +0x724, 0x6c2fac\nCBZ             W0, loc_6C30CC                                         ; +0x728, 0x6c2fb0\nCBZ             W25, loc_6C2FC8                                        ; +0x72c, 0x6c2fb4\nLDR             X0, [X19,#0x530]                                       ; +0x730, 0x6c2fb8\nCBZ             X0, loc_6C30E8                                         ; +0x734, 0x6c2fbc\nMOV             X0, X19; this                                          ; +0x738, 0x6c2fc0\nBL              _ZN8EditorUI14deselectObjectEv; EditorUI::deselectObject(void) ; +0x73c, 0x6c2fc4\nMOV             X0, X21                                                ; +0x740, 0x6c2fc8\nADRP            X25, #dword_1242110@PAGE                               ; +0x744, 0x6c2fcc\nB               loc_6C2D30                                             ; +0x748, 0x6c2fd0\nADD             X21, X19, #0x2B8                                       ; +0x74c, 0x6c2fd4\nMOV             X8, X26                                                ; +0x750, 0x6c2fd8\nMOV             X0, X21                                                ; +0x754, 0x6c2fdc\nMOV             X1, X27                                                ; +0x758, 0x6c2fe0\nBL              _ZNK7cocos2d7CCPointplERKS0_; cocos2d::CCPoint::operator+(cocos2d::CCPoint const&) ; +0x75c, 0x6c2fe4\nMOV             X1, X26                                                ; +0x760, 0x6c2fe8\nMOV             X0, X21                                                ; +0x764, 0x6c2fec\nBL              _ZN7cocos2d7CCPointaSERKS0_; cocos2d::CCPoint::operator=(cocos2d::CCPoint const&) ; +0x768, 0x6c2ff0\nLDR             X1, [X19,#0x2B0]                                       ; +0x76c, 0x6c2ff4\nMOV             X0, X1                                                 ; +0x770, 0x6c2ff8\nLDR             X1, [X1]                                               ; +0x774, 0x6c2ffc\nLDR             X1, [X1,#0x150]                                        ; +0x778, 0x6c3000\nBLR             X1                                                     ; +0x77c, 0x6c3004\nUXTB            W0, W0                                                 ; +0x780, 0x6c3008\nCBZ             W0, loc_6C3048                                         ; +0x784, 0x6c300c\nLDR             X21, [X19,#0x2B0]                                      ; +0x788, 0x6c3010\nLDR             X1, [X21]                                              ; +0x78c, 0x6c3014\nMOV             X0, X21                                                ; +0x790, 0x6c3018\nLDR             X2, [X1,#0xC0]                                         ; +0x794, 0x6c301c\nLDR             X28, [X1,#0xB8]                                        ; +0x798, 0x6c3020\nBLR             X2                                                     ; +0x79c, 0x6c3024\nMOV             X1, X27                                                ; +0x7a0, 0x6c3028\nMOV             X8, X26                                                ; +0x7a4, 0x6c302c\nBL              _ZNK7cocos2d7CCPointplERKS0_; cocos2d::CCPoint::operator+(cocos2d::CCPoint const&) ; +0x7a8, 0x6c3030\nMOV             X0, X21                                                ; +0x7ac, 0x6c3034\nMOV             X1, X26                                                ; +0x7b0, 0x6c3038\nBLR             X28                                                    ; +0x7b4, 0x6c303c\nLDR             X1, [X19,#0x538]                                       ; +0x7b8, 0x6c3040\nB               loc_6C2A68                                             ; +0x7bc, 0x6c3044\nLDR             X1, [X19,#0x2C8]                                       ; +0x7c0, 0x6c3048\nMOV             X0, X1                                                 ; +0x7c4, 0x6c304c\nLDR             X1, [X1]                                               ; +0x7c8, 0x6c3050\nLDR             X1, [X1,#0x150]                                        ; +0x7cc, 0x6c3054\nBLR             X1                                                     ; +0x7d0, 0x6c3058\nUXTB            W0, W0                                                 ; +0x7d4, 0x6c305c\nCBZ             W0, loc_6C3070                                         ; +0x7d8, 0x6c3060\nLDR             X21, [X19,#0x2C8]                                      ; +0x7dc, 0x6c3064\nB               loc_6C3014                                             ; +0x7e0, 0x6c3068\nBL              .__stack_chk_fail                                      ; +0x7e4, 0x6c306c\nLDR             X1, [X19,#0x2D0]                                       ; +0x7e8, 0x6c3070\nMOV             X0, X1                                                 ; +0x7ec, 0x6c3074\nLDR             X1, [X1]                                               ; +0x7f0, 0x6c3078\nLDR             X1, [X1,#0x150]                                        ; +0x7f4, 0x6c307c\nBLR             X1                                                     ; +0x7f8, 0x6c3080\nUXTB            W0, W0                                                 ; +0x7fc, 0x6c3084\nCBZ             W0, loc_6C3040                                         ; +0x800, 0x6c3088\nLDR             X21, [X19,#0x2D0]                                      ; +0x804, 0x6c308c\nMOV             X0, X21                                                ; +0x808, 0x6c3090\nLDR             X1, [X21]                                              ; +0x80c, 0x6c3094\nLDR             X2, [X1,#0xC0]                                         ; +0x810, 0x6c3098\nLDR             X28, [X1,#0xB8]                                        ; +0x814, 0x6c309c\nBLR             X2                                                     ; +0x818, 0x6c30a0\nMOV             X8, X26                                                ; +0x81c, 0x6c30a4\nMOV             X1, X27                                                ; +0x820, 0x6c30a8\nBL              _ZNK7cocos2d7CCPointplERKS0_; cocos2d::CCPoint::operator+(cocos2d::CCPoint const&) ; +0x824, 0x6c30ac\nMOV             X1, X26                                                ; +0x828, 0x6c30b0\nMOV             X0, X21                                                ; +0x82c, 0x6c30b4\nBLR             X28                                                    ; +0x830, 0x6c30b8\nLDR             X0, [X19,#0x2D0]; this                                 ; +0x834, 0x6c30bc\nBL              _ZN18GJTransformControl14refreshControlEv; GJTransformControl::refreshControl(void) ; +0x838, 0x6c30c0\nLDR             X1, [X19,#0x538]                                       ; +0x83c, 0x6c30c4\nB               loc_6C2A68                                             ; +0x840, 0x6c30c8\nMOV             X0, X19; this                                          ; +0x844, 0x6c30cc\nMOV             X1, X21; GameObject *                                  ; +0x848, 0x6c30d0\nMOV             W2, #0; bool                                           ; +0x84c, 0x6c30d4\nADRP            X25, #dword_1242110@PAGE                               ; +0x850, 0x6c30d8\nBL              _ZN8EditorUI12selectObjectEP10GameObjectb; EditorUI::selectObject(GameObject *,bool) ; +0x854, 0x6c30dc\nLDR             X0, [X19,#0x538]                                       ; +0x858, 0x6c30e0\nB               loc_6C2AEC                                             ; +0x85c, 0x6c30e4\nLDR             X0, [X19,#0x338]; this                                 ; +0x860, 0x6c30e8\nBL              _ZN7cocos2d7CCArray10lastObjectEv; cocos2d::CCArray::lastObject(void) ; +0x864, 0x6c30ec\nCBZ             X0, loc_6C2FC8                                         ; +0x868, 0x6c30f0\nBL              _ZN10GameObject14deselectObjectEv; GameObject::deselectObject(void) ; +0x86c, 0x6c30f4\nLDR             X0, [X19,#0x338]; this                                 ; +0x870, 0x6c30f8\nMOV             W1, #1; bool                                           ; +0x874, 0x6c30fc\nBL              _ZN7cocos2d7CCArray16removeLastObjectEb; cocos2d::CCArray::removeLastObject(bool) ; +0x878, 0x6c3100\nB               loc_6C2FC8                                             ; +0x87c, 0x6c3104", "xrefs": ["`non-virtual thunk to'EditorUI::ccTouchEnded @ 0x6c310c", "<???> @ 0xc7860", "<???> @ 0x1156a30"], "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"}