{"type": "func", "start": 5369906656, "end": 5369910034, "name": "EditorUI::ccTouchEnded", "pseudocode": "// \n// EditorUI::ccTouchEnded from 0x1401245e0 to 0x140125312 (3378 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x140552678\n// > <???> @ 0x1406c99d8\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\n// Hidden C++ exception states: #wind=2\nvoid EditorUI::ccTouchEnded(EditorUI *a1, cocos2d::CCTouch *a2, cocos2d::CCEvent *a3)\n{\n  EditorUI *v6; // r14\n  int m_nId; // eax\n  _QWORD *p_FLAlert_Clicked; // rcx\n  CCMenuItemSpriteExtra *m_unlinkBtn; // rcx\n  GameManager *v10; // rcx\n  bool GameVariable; // r15\n  __int64 v12; // rcx\n  cocos2d::CCDirector *v13; // rax\n  struct cocos2d::CCPoint v14; // rax\n  struct cocos2d::CCPoint v15; // rax\n  const struct cocos2d::CCPoint *v16; // r8\n  const struct cocos2d::CCPoint *v17; // r8\n  float v18; // xmm0_4\n  char v19; // bl\n  float v20; // xmm0_4\n  char v21; // r12\n  __int64 v22; // rcx\n  cocos2d::CCDirector *v23; // rax\n  struct cocos2d::CCPoint v24; // rax\n  struct cocos2d::CCPoint v25; // rax\n  GameManager *v26; // rcx\n  cocos2d::CCObject *m_unk3F0; // rcx\n  float v28; // xmm0_4\n  float *v29; // rax\n  float *v30; // rbx\n  float m_gridSize; // xmm8_4\n  float v32; // xmm7_4\n  float v33; // xmm0_4\n  cocos2d::CCObject *v34; // rbx\n  unsigned int i; // ebx\n  GameObject *v36; // rsi\n  cocos2d::CCPoint v37; // rax\n  __int64 v38; // rax\n  __int64 v39; // rax\n  __int64 v40; // rax\n  const struct cocos2d::CCPoint *v41; // rax\n  __int64 v42; // rax\n  struct cocos2d::CCObject *v43; // r14\n  CCMenuItemSpriteExtra *v44; // rsi\n  unsigned int v45; // ebx\n  cocos2d::CCObject *v46; // rcx\n  cocos2d::CCNode *v47; // rbx\n  __int64 v48; // rcx\n  cocos2d::CCDirector *v49; // rax\n  struct cocos2d::CCPoint v50; // rax\n  struct cocos2d::CCPoint v51; // rax\n  CCMenuItemSpriteExtra **v52; // r15\n  const struct cocos2d::CCPoint *v53; // r8\n  cocos2d::CCPoint v54; // rax\n  cocos2d::CCArray *v55; // r12\n  struct cocos2d::CCObject *v56; // rbx\n  unsigned int v57; // r14d\n  struct cocos2d::CCObject *v58; // rax\n  EditorUI *v59; // rcx\n  struct cocos2d::CCObject *v60; // rsi\n  const struct cocos2d::CCRect *v61; // rax\n  cocos2d::CCRect *v62; // rax\n  cocos2d::CCArray *v63; // rsi\n  unsigned int v64; // ebx\n  struct cocos2d::CCObject *v65; // rax\n  CCMenuItemSpriteExtra *v66; // rdx\n  __int64 v67; // rcx\n  cocos2d::CCDirector *v68; // rax\n  struct cocos2d::CCPoint v69; // rax\n  struct cocos2d::CCPoint v70; // rax\n  const struct cocos2d::CCPoint *v71; // r8\n  float v72; // xmm0_4\n  cocos2d::CCPoint v73; // rax\n  cocos2d::CCArray *v74; // r15\n  unsigned int v75; // r14d\n  struct cocos2d::CCObject *v76; // rax\n  EditorUI *m_uAutoReleaseCount; // rcx\n  struct cocos2d::CCObject *v78; // rsi\n  bool v79; // r8\n  CCMenuItemSpriteExtra **p_m_deleteButton; // rsi\n  GameObject *m_editSpecialBtn; // rcx\n  GameObject *Object; // rax\n  cocos2d::CCArray *v83; // rax\n  cocos2d::CCPoint v84; // rax\n  GameObject *v85; // rcx\n  char m_nTouchPriority; // bl\n  cocos2d::CCPoint v87; // [rsp+38h] [rbp-69h] BYREF\n  struct cocos2d::CCPoint v88; // [rsp+40h] [rbp-61h] BYREF\n  cocos2d::CCPoint v89; // [rsp+48h] [rbp-59h] BYREF\n  struct cocos2d::CCPoint v90; // [rsp+50h] [rbp-51h] BYREF\n  char v91[8]; // [rsp+58h] [rbp-49h] BYREF\n  cocos2d::CCRect v92; // [rsp+60h] [rbp-41h] BYREF\n  cocos2d::CCRect v93; // [rsp+70h] [rbp-31h] BYREF\n  cocos2d::CCRect v94[4]; // [rsp+80h] [rbp-21h] BYREF\n  cocos2d::CCPoint v95; // [rsp+108h] [rbp+67h] BYREF\n  struct cocos2d::CCPoint v96; // [rsp+110h] [rbp+6Fh] BYREF\n  cocos2d::CCPoint v97; // [rsp+120h] [rbp+7Fh] BYREF\n\n  LOBYTE(a1->m_nTouchPriority) = 0;\n  v6 = (EditorUI *)((char *)a1 - 320);\n  cocos2d::CCNode::stopActionByTag((EditorUI *)((char *)a1 - 320), 123);\n  m_nId = a2->m_nId;\n  if ( LODWORD(a1->cocos2d::CCLayer::cocos2d::CCMouseDelegate::__vftable) == m_nId )\n  {\n    LODWORD(a1->cocos2d::CCLayer::cocos2d::CCMouseDelegate::__vftable) = -1;\n    p_FLAlert_Clicked = &a1->m_pScriptKeypadHandlerEntry->cocos2d::CCLayer::__vftable;\nLABEL_3:\n    (*(void (__fastcall **)(_QWORD *, cocos2d::CCTouch *, cocos2d::CCEvent *))(p_FLAlert_Clicked[40] + 24LL))(\n      p_FLAlert_Clicked + 40,\n      a2,\n      a3);\n    return;\n  }\n  if ( HIDWORD(a1->cocos2d::CCLayer::cocos2d::CCMouseDelegate::__vftable) == m_nId )\n  {\n    HIDWORD(a1->cocos2d::CCLayer::cocos2d::CCMouseDelegate::__vftable) = -1;\n    p_FLAlert_Clicked = *(_QWORD **)&a1->m_uPreviousPriority;\n    goto LABEL_3;\n  }\n  if ( *(_DWORD *)&a1->m_bMouseEnabled == m_nId )\n  {\n    *(_DWORD *)&a1->m_bMouseEnabled = -1;\n    p_FLAlert_Clicked = &a1->FLAlert_Clicked;\n    goto LABEL_3;\n  }\n  m_unlinkBtn = a1->m_unlinkBtn;\n  if ( LODWORD(m_unlinkBtn[4].m_fScaleX) == 1 )\n  {\n    p_FLAlert_Clicked = *((_QWORD **)&m_unlinkBtn[25].m_activateSound.m_data.m_bigStorage + 1);\n    goto LABEL_3;\n  }\n  if ( *(_DWORD *)&a1->m_bTouchEnabled == m_nId )\n  {\n    v10 = (GameManager *)qword_1406C2ED8;\n    if ( !qword_1406C2ED8 )\n    {\n      v95 = (cocos2d::CCPoint)operator new(0x668u);\n      qword_1406C2ED8 = ((__int64 (__fastcall *)(_QWORD))sub_14017AB00)(v95);\n      (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2ED8 + 72LL))(qword_1406C2ED8);\n      v10 = (GameManager *)qword_1406C2ED8;\n    }\n    GameVariable = GameManager::getGameVariable(v10, \"0059\");\n    cocos2d::CCTouch::getLocationInView(a2);\n    v13 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(v12);\n    v14 = cocos2d::CCDirector::convertToGL(v13, &v95);\n    ((void (__fastcall *)(_QWORD, _QWORD))cocos2d::CCPoint::operator=)(&v96, v14);\n    v15 = cocos2d::CCNode::convertToWorldSpace(v6, &v95);\n    ((void (__fastcall *)(_QWORD, _QWORD))cocos2d::CCPoint::operator=)(&v96, v15);\n    v18 = cocos2d::ccpDistance((cocos2d *)&a1->m_enableLinkBtn, &v96, v16);\n    if ( GameVariable && v18 < 2.0 )\n    {\n      v19 = 1;\n      v20 = cocos2d::ccpDistance((cocos2d *)&a1->m_editObjectBtn, &v96, v17);\n    }\n    else\n    {\n      v20 = cocos2d::ccpDistance((cocos2d *)&a1->m_editObjectBtn, &v96, v17);\n      v19 = 0;\n      if ( !GameVariable )\n        goto LABEL_19;\n    }\n    if ( v20 < 2.0 )\n    {\n      v21 = 1;\nLABEL_20:\n      *(_DWORD *)&a1->m_bTouchEnabled = -1;\n      if ( BYTE1(a1->m_objectEditorStates._List._Mypair._Myval2._Mysize)\n        && HIBYTE(a1->m_objectEditorStates._List._Mypair._Myval2._Myhead)\n        && a1->m_unk3F0 )\n      {\n        cocos2d::CCPoint::CCPoint(&v97);\n        cocos2d::CCTouch::getLocationInView(a2);\n        v23 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(v22);\n        v24 = cocos2d::CCDirector::convertToGL(v23, &v89);\n        ((void (__fastcall *)(_QWORD, _QWORD))cocos2d::CCPoint::operator=)(&v95, v24);\n        v25 = cocos2d::CCNode::convertToWorldSpace(v6, &v89);\n        ((void (__fastcall *)(_QWORD, _QWORD))cocos2d::CCPoint::operator=)(&v95, v25);\n        cocos2d::CCNode::convertToNodeSpace(*(cocos2d::CCNode **)&a1->m_unlinkBtn[7].m_nScriptTapHandler, &v90);\n        v26 = (GameManager *)qword_1406C2ED8;\n        if ( !qword_1406C2ED8 )\n        {\n          v89 = (cocos2d::CCPoint)operator new(0x668u);\n          qword_1406C2ED8 = ((__int64 (__fastcall *)(_QWORD))sub_14017AB00)(v89);\n          (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2ED8 + 72LL))(qword_1406C2ED8);\n          v26 = (GameManager *)qword_1406C2ED8;\n        }\n        if ( GameManager::getGameVariable(v26, \"0008\") )\n        {\n          m_unk3F0 = a1->m_unk3F0;\n          if ( m_unk3F0 )\n          {\n            v28 = ((float (__fastcall *)(cocos2d::CCObject *))m_unk3F0->__vftable[4].getTag)(m_unk3F0);\n            if ( (int)v28 == 90 * ((int)v28 / 90) && !cocos2d::CCPoint::equals(&v95) )\n            {\n              cocos2d::CCPoint::CCPoint(&v87);\n              v30 = v29;\n              m_gridSize = v6->m_editorLayer->m_drawGridLayer->m_gridSize;\n              v32 = (float)(floorf(*v29 / m_gridSize) + 0.5) * m_gridSize;\n              v33 = (float)(floorf(v30[1] / m_gridSize) + 0.5) * m_gridSize;\n              cocos2d::CCPoint::CCPoint(&v92.origin, v32, v33);\n              EditorUI::getLimitedPosition(v6, (cocos2d::CCPoint)&v88);\n              v34 = a1->m_unk3F0;\n              EditorUI::offsetForKey(v6, (int)&v92);\n              GameToolbox::getRelativeOffset((GameObject *)&v87, (cocos2d::CCPoint)v34);\n              cocos2d::CCPoint::CCPoint(&v93.origin);\n              EditorUI::applySpecialOffset(\n                v6,\n                (cocos2d::CCPoint)v91,\n                (GameObject *)&v87,\n                (cocos2d::CCPoint)a1->m_unk3F0);\n              cocos2d::CCPoint::operator+(&v88, &v87);\n              cocos2d::CCPoint::operator=(&v88, &v87);\n              a1->m_unk3F0->__vftable[2].getTag(a1->m_unk3F0);\n              cocos2d::CCPoint::CCPoint(&v89);\n              a1->m_unk3F0->__vftable[2].encodeWithCoder(a1->m_unk3F0, (DS_Dictionary *)&v88);\n              cocos2d::CCPoint::operator-(&v88, &v87, &v89);\n              cocos2d::CCPoint::operator=(&v97, &v87);\n              if ( cocos2d::CCArray::count((cocos2d::CCArray *)a1->m_objectEditorStates._Mask) )\n              {\n                for ( i = 0; i < cocos2d::CCArray::count((cocos2d::CCArray *)a1->m_objectEditorStates._Mask); ++i )\n                {\n                  v36 = (GameObject *)cocos2d::CCArray::objectAtIndex(\n                                        (cocos2d::CCArray *)a1->m_objectEditorStates._Mask,\n                                        i);\n                  if ( v36->m_uniqueID != a1->m_unk3F0[16].m_eObjType )\n                  {\n                    cocos2d::CCPoint::CCPoint(&v93.origin);\n                    EditorUI::moveObject(v6, v36, v37);\n                  }\n                }\n              }\n              cocos2d::CCPoint::operator+(&a1->m_pScriptAccelerateHandlerEntry, &v87);\n              cocos2d::CCPoint::operator=(&a1->m_pScriptAccelerateHandlerEntry, &v87);\n              if ( ((unsigned __int8 (__fastcall *)(cocos2d::CCScriptHandlerEntry *))a1->m_pScriptKeypadHandlerEntry->cocos2d::CCLayer::__vftable[4].encodeWithCoder)(a1->m_pScriptKeypadHandlerEntry) )\n              {\n                v38 = ((__int64 (__fastcall *)(cocos2d::CCScriptHandlerEntry *))a1->m_pScriptKeypadHandlerEntry->cocos2d::CCLayer::__vftable[2].getTag)(a1->m_pScriptKeypadHandlerEntry);\n                cocos2d::CCPoint::operator+(v38, &v87);\n                a1->m_pScriptKeypadHandlerEntry->cocos2d::CCLayer::__vftable[2].encodeWithCoder(\n                  a1->m_pScriptKeypadHandlerEntry,\n                  (DS_Dictionary *)&v87);\n              }\n              else if ( (*(unsigned __int8 (__fastcall **)(_QWORD))(**(_QWORD **)&a1->m_uPreviousPriority + 328LL))(*(_QWORD *)&a1->m_uPreviousPriority) )\n              {\n                v39 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)&a1->m_uPreviousPriority + 200LL))(*(_QWORD *)&a1->m_uPreviousPriority);\n                cocos2d::CCPoint::operator+(v39, &v87);\n                (*(void (__fastcall **)(_QWORD, cocos2d::CCPoint *))(**(_QWORD **)&a1->m_uPreviousPriority + 184LL))(\n                  *(_QWORD *)&a1->m_uPreviousPriority,\n                  &v87);\n              }\n              else if ( (*((unsigned __int8 (__fastcall **)(FLAlertLayerProtocol_vtbl *))a1->FLAlert_Clicked + 41))(a1->FLAlertLayerProtocol::__vftable) )\n              {\n                v40 = (*((__int64 (__fastcall **)(FLAlertLayerProtocol_vtbl *))a1->FLAlert_Clicked + 25))(a1->FLAlertLayerProtocol::__vftable);\n                cocos2d::CCPoint::operator+(v40, &v87);\n                (*((void (__fastcall **)(FLAlertLayerProtocol_vtbl *, cocos2d::CCPoint *))a1->FLAlert_Clicked + 23))(\n                  a1->FLAlertLayerProtocol::__vftable,\n                  &v87);\n                GJTransformControl::refreshControl((GJTransformControl *)a1->FLAlertLayerProtocol::__vftable);\n              }\n            }\n          }\n        }\n        v41 = (const struct cocos2d::CCPoint *)((__int64 (__fastcall *)(cocos2d::CCObject *))a1->m_unk3F0->__vftable[2].getTag)(a1->m_unk3F0);\n        if ( cocos2d::CCPoint::equals(v41) )\n          BYTE1(a1->cocos2d::CCLayer::cocos2d::CCKeyboardDelegate::__vftable) = 1;\n        v42 = ((__int64 (__fastcall *)(cocos2d::CCObject *))a1->m_unk3F0->__vftable[2].getTag)(a1->m_unk3F0);\n        cocos2d::CCPoint::operator-(v42, v94, &a1->m_objectEditorStates._Vec._Mypair._Myval2._Myend);\n        if ( !BYTE1(a1->cocos2d::CCLayer::cocos2d::CCKeyboardDelegate::__vftable) )\n        {\n          v43 = (struct cocos2d::CCObject *)a1->cocos2d::CCLayer::cocos2d::CCKeypadDelegate::__vftable;\n          if ( v43 )\n          {\n            v44 = a1->m_unlinkBtn;\n            cocos2d::CCArray::removeAllObjects((cocos2d::CCArray *)v44[27].m_pScheduler);\n            v45 = 1000;\n            if ( !*((_BYTE *)&v44[26].m_iconType + 6) )\n              v45 = 200;\n            if ( cocos2d::CCArray::count(*(cocos2d::CCArray **)&v44[27].m_eGLServerState) >= v45 )\n              cocos2d::CCArray::removeObjectAtIndex(*(cocos2d::CCArray **)&v44[27].m_eGLServerState, 0, 1);\n            cocos2d::CCArray::addObject(*(cocos2d::CCArray **)&v44[27].m_eGLServerState, v43);\n            v46 = (cocos2d::CCObject *)a1->cocos2d::CCLayer::cocos2d::CCKeypadDelegate::__vftable;\n            if ( v46 )\n            {\n              cocos2d::CCObject::release(v46);\n              a1->cocos2d::CCLayer::cocos2d::CCKeypadDelegate::__vftable = nullptr;\n            }\n          }\n        }\n        goto LABEL_98;\n      }\n      if ( !BYTE5(a1->m_objectEditorStates._List._Mypair._Myval2._Myhead) || v19 )\n      {\n        if ( LOBYTE(a1->m_copyPasteBtn) )\n        {\n          LOBYTE(a1->m_copyPasteBtn) = 0;\n        }\n        else\n        {\n          cocos2d::CCTouch::getLocationInView(a2);\n          v68 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(v67);\n          v69 = cocos2d::CCDirector::convertToGL(v68, &v97);\n          ((void (__fastcall *)(_QWORD, _QWORD))cocos2d::CCPoint::operator=)(&v95, v69);\n          v70 = cocos2d::CCNode::convertToWorldSpace((EditorUI *)((char *)a1 - 320), &v94[0].origin);\n          ((void (__fastcall *)(_QWORD, _QWORD))cocos2d::CCPoint::operator=)(&v95, v70);\n          v72 = cocos2d::ccpDistance((cocos2d *)&a1->m_enableLinkBtn, &v95, v71);\n          if ( !BYTE6(a1->m_objectEditorStates._List._Mypair._Myval2._Myhead) || v72 < 20.0 )\n          {\n            if ( LODWORD(a1->m_linkBtn) != 3 )\n            {\n              if ( !LOBYTE(a1->m_createButtonBars) )\n              {\n                cocos2d::CCPoint::CCPoint(&v95);\n                EditorUI::clickOnPosition((EditorUI *)((char *)a1 - 320), v84);\n              }\n              goto LABEL_98;\n            }\n            cocos2d::CCNode::convertToNodeSpace(*(cocos2d::CCNode **)&a1->m_unlinkBtn[7].m_nScriptTapHandler, &v95);\n            if ( !a1->m_unk3F0 || !BYTE2(a1->cocos2d::CCLayer::cocos2d::CCKeyboardDelegate::__vftable) )\n            {\n              cocos2d::CCPoint::CCPoint(&v97);\n              v74 = LevelEditorLayer::objectsAtPosition((LevelEditorLayer *)a1->m_unlinkBtn, v73);\n              v56 = nullptr;\n              v75 = 0;\n              if ( cocos2d::CCArray::count(v74) )\n              {\n                do\n                {\n                  v76 = cocos2d::CCArray::objectAtIndex(v74, v75);\n                  v78 = v76;\n                  if ( !BYTE1(v76[20].m_uReference) )\n                  {\n                    if ( !v56\n                      || (m_uAutoReleaseCount = (EditorUI *)v56[20].m_uAutoReleaseCount,\n                          (signed int)v76[20].m_uAutoReleaseCount < (int)m_uAutoReleaseCount) )\n                    {\n                      if ( EditorUI::canSelectObject(m_uAutoReleaseCount, (GameObject *)v76) )\n                        v56 = v78;\n                    }\n                  }\n                  ++v75;\n                }\n                while ( v75 < cocos2d::CCArray::count(v74) );\n                if ( v56 )\n                {\n                  v56[20].m_uAutoReleaseCount = HIDWORD(a1->m_pasteBtn);\n                  EditorUI::createUndoSelectObject((EditorUI *)((char *)a1 - 320), 0);\n                  if ( BYTE5(a1->m_objectEditorStates._List._Mypair._Myval2._Myhead) )\n                  {\n                    if ( v21 )\n                    {\n                      if ( a1->m_editSpecialBtn )\n                      {\n                        p_m_deleteButton = &a1[-1].m_deleteButton;\n                        cocos2d::CCNode::stopActionByTag((EditorUI *)((char *)a1 - 320), 124);\n                        m_editSpecialBtn = (GameObject *)a1->m_editSpecialBtn;\n                        if ( m_editSpecialBtn )\n                        {\n                          m_editSpecialBtn->m_isSelected = 0;\n                          GameObject::updateObjectEditorColor(m_editSpecialBtn);\n                        }\n                        p_m_deleteButton[167] = nullptr;\n                        EditorUI::toggleEditObjectButton((EditorUI *)((char *)a1 - 320));\n                        *((_BYTE *)p_m_deleteButton + 712) = 1;\n                        cocos2d::CCPoint::operator=(p_m_deleteButton + 164, &dword_1406C1AA8);\n                      }\n                      else\n                      {\n                        Object = (GameObject *)cocos2d::CCArray::lastObject((cocos2d::CCArray *)a1->m_objectEditorStates._Mask);\n                        if ( Object )\n                        {\n                          Object->m_isSelected = 0;\n                          GameObject::updateObjectEditorColor(Object);\n                          cocos2d::CCArray::removeLastObject((cocos2d::CCArray *)a1->m_objectEditorStates._Mask, 1);\n                        }\n                      }\n                    }\n                    goto LABEL_95;\n                  }\n                  EditorUI::selectObject((EditorUI *)((char *)a1 - 320), (GameObject *)v56, v79);\n                }\n              }\n            }\n          }\n        }\n      }\n      else\n      {\n        v47 = *(cocos2d::CCNode **)&a1->m_unlinkBtn[7].m_nScriptTapHandler;\n        cocos2d::CCNode::convertToNodeSpace(v47, &v88);\n        cocos2d::CCNode::convertToNodeSpace(v47, &v97);\n        cocos2d::CCRect::CCRect(\n          &v92,\n          fminf(v88.x, v97.x),\n          fminf(v88.y, v97.y),\n          fabs(v88.x - v97.x),\n          fabs(v88.y - v97.y));\n        cocos2d::CCTouch::getLocationInView(a2);\n        v49 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(v48);\n        v50 = cocos2d::CCDirector::convertToGL(v49, &v94[0].origin);\n        ((void (__fastcall *)(_QWORD, _QWORD))cocos2d::CCPoint::operator=)(&v95, v50);\n        v51 = cocos2d::CCNode::convertToWorldSpace((EditorUI *)((char *)a1 - 320), &v93.origin);\n        ((void (__fastcall *)(_QWORD, _QWORD))cocos2d::CCPoint::operator=)(&v95, v51);\n        v52 = &a1[-1].m_deleteButton;\n        if ( cocos2d::ccpDistance((cocos2d *)&a1->m_enableLinkBtn, &v95, v53) >= 2.0 )\n        {\n          v61 = (const struct cocos2d::CCRect *)cocos2d::CCRect::CCRect(v94, &v92);\n          v62 = (cocos2d::CCRect *)cocos2d::CCRect::CCRect(&v93, v61);\n          v63 = LevelEditorLayer::objectsInRect((LevelEditorLayer *)v52[160], v62, 0);\n          if ( cocos2d::CCArray::count(v63) )\n          {\n            v64 = 0;\n            if ( cocos2d::CCArray::count(v63) )\n            {\n              while ( 1 )\n              {\n                v65 = cocos2d::CCArray::objectAtIndex(v63, v64);\n                v66 = v52[167];\n                if ( v66 )\n                {\n                  if ( HIDWORD(v66[1].m_pSelectedImage) != v65[16].m_eObjType )\n                    break;\n                }\n                if ( !cocos2d::CCArray::containsObject((cocos2d::CCArray *)v52[104], v65) )\n                  break;\n                if ( ++v64 >= cocos2d::CCArray::count(v63) )\n                  goto LABEL_70;\n              }\n              EditorUI::createUndoSelectObject((EditorUI *)((char *)a1 - 320), 0);\n            }\nLABEL_70:\n            EditorUI::selectObjects((EditorUI *)((char *)a1 - 320), v63, 0);\n            EditorUI::updateObjectInfoLabel((EditorUI *)((char *)a1 - 320));\n            (*(void (__fastcall **)(char *))&v52[54]->m_unknown2)((char *)v52 + 432);\n          }\n          goto LABEL_98;\n        }\n        cocos2d::CCPoint::CCPoint(&v95);\n        v55 = LevelEditorLayer::objectsAtPosition((LevelEditorLayer *)a1->m_unlinkBtn, v54);\n        v56 = nullptr;\n        v57 = 0;\n        if ( cocos2d::CCArray::count(v55) )\n        {\n          do\n          {\n            v58 = cocos2d::CCArray::objectAtIndex(v55, v57);\n            v60 = v58;\n            if ( !BYTE1(v58[20].m_uReference) )\n            {\n              if ( !v56\n                || (v59 = (EditorUI *)v56[20].m_uAutoReleaseCount, (signed int)v58[20].m_uAutoReleaseCount < (int)v59) )\n              {\n                if ( EditorUI::canSelectObject(v59, (GameObject *)v58) )\n                  v56 = v60;\n              }\n            }\n            ++v57;\n          }\n          while ( v57 < cocos2d::CCArray::count(v55) );\n          if ( v56 )\n          {\n            v56[20].m_uAutoReleaseCount = *((_DWORD *)v52 + 343);\n            EditorUI::createUndoSelectObject((EditorUI *)((char *)a1 - 320), 0);\nLABEL_95:\n            v83 = cocos2d::CCArray::createWithObject(v56);\n            EditorUI::selectObjects((EditorUI *)((char *)a1 - 320), v83, 0);\n          }\n        }\n      }\nLABEL_98:\n      v85 = (GameObject *)a1->m_unk3F0;\n      if ( v85 )\n      {\n        if ( BYTE1(a1->m_objectEditorStates._List._Mypair._Myval2._Mysize)\n          && HIBYTE(a1->m_objectEditorStates._List._Mypair._Myval2._Myhead) )\n        {\n          if ( v85->m_isSelected )\n          {\n            LOWORD(v95.x) = -256;\n            BYTE2(v95.x) = 0;\n            v85->selectObject(v85, (cocos2d::ccColor3B *)&v95);\n          }\n          else\n          {\n            v85->m_isSelected = 0;\n            GameObject::updateObjectEditorColor(v85);\n          }\n        }\n        a1->m_unk3F0 = nullptr;\n      }\n      *(_WORD *)((char *)&a1->m_objectEditorStates._List._Mypair._Myval2._Myhead + 5) = 0;\n      BYTE1(a1->m_objectEditorStates._List._Mypair._Myval2._Mysize) = 0;\n      BYTE1(a1->cocos2d::CCLayer::cocos2d::CCKeyboardDelegate::__vftable) = 0;\n      cocos2d::CCPoint::operator=(&a1->m_objectEditorStates._Vec, &dword_1406C1AA8);\n      HIBYTE(a1->m_objectEditorStates._List._Mypair._Myval2._Myhead) = 0;\n      BYTE2(a1->cocos2d::CCLayer::cocos2d::CCKeyboardDelegate::__vftable) = 0;\n      cocos2d::CCPoint::operator=(&a1->m_redoBtn, &a1->m_enableLinkBtn);\n      BYTE1(a1->m_copyPasteBtn) = 0;\n      m_nTouchPriority = a1->m_nTouchPriority;\n      EditorUI::updateButtons((EditorUI *)((char *)a1 - 320));\n      ++HIDWORD(a1->m_pasteBtn);\n      cocos2d::CCArray::removeAllObjects((cocos2d::CCArray *)a1->m_objectEditorStates._Vec._Mypair._Myval2._Mylast);\n      if ( m_nTouchPriority )\n      {\n        EditorUI::updateObjectInfoLabel((EditorUI *)((char *)a1 - 320));\n        (*(void (__fastcall **)(float *))(*(_QWORD *)&a1->m_obContentSize.height + 40LL))(&a1->m_obContentSize.height);\n        (*(void (__fastcall **)(float *))(*(_QWORD *)&a1->m_sAdditionalTransform.b + 96LL))(&a1->m_sAdditionalTransform.b);\n        LOBYTE(a1->m_nTouchPriority) = 0;\n      }\n      cocos2d::CCPoint::operator=(&a1->m_editObjectBtn, &v96);\n      return;\n    }\nLABEL_19:\n    v21 = 0;\n    goto LABEL_20;\n  }\n}", "assembly": "; \n; EditorUI::ccTouchEnded from 0x1401245e0 to 0x140125312 (3378 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x140552678\n; > <???> @ 0x1406c99d8\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\nmov     rax, rsp                                                       ; +0x0, 0x1401245e0\nmov     [rax+18h], rbx                                                 ; +0x3, 0x1401245e3\npush    rbp                                                            ; +0x7, 0x1401245e7\npush    rsi                                                            ; +0x8, 0x1401245e8\npush    rdi                                                            ; +0x9, 0x1401245e9\npush    r12                                                            ; +0xa, 0x1401245ea\npush    r13                                                            ; +0xc, 0x1401245ec\npush    r14                                                            ; +0xe, 0x1401245ee\npush    r15                                                            ; +0x10, 0x1401245f0\nlea     rbp, [rax-5Fh]                                                 ; +0x12, 0x1401245f2\nsub     rsp, 0C0h                                                      ; +0x16, 0x1401245f6\nmovaps  xmmword ptr [rax-48h], xmm6                                    ; +0x1d, 0x1401245fd\nmovaps  xmmword ptr [rax-58h], xmm7                                    ; +0x21, 0x140124601\nmovaps  xmmword ptr [rax-68h], xmm8                                    ; +0x25, 0x140124605\nmov     rbx, r8                                                        ; +0x2a, 0x14012460a\nmov     rsi, rdx                                                       ; +0x2d, 0x14012460d\nmov     rdi, rcx                                                       ; +0x30, 0x140124610\nmov     byte ptr [rcx+188h], 0                                         ; +0x33, 0x140124613\nlea     r14, [rcx-140h]                                                ; +0x3a, 0x14012461a\nmov     edx, 7Bh ; '{'                                                 ; +0x41, 0x140124621\nmov     rcx, r14                                                       ; +0x46, 0x140124626\ncall    cs:?stopActionByTag@CCNode@cocos2d@@QEAAXH@Z; cocos2d::CCNode::stopActionByTag(int) ; +0x49, 0x140124629\nmov     eax, [rsi+38h]                                                 ; +0x4f, 0x14012462f\ncmp     [rdi+160h], eax                                                ; +0x52, 0x140124632\njnz     short loc_140124663                                            ; +0x58, 0x140124638\nmov     dword ptr [rdi+160h], 0FFFFFFFFh                               ; +0x5a, 0x14012463a\nmov     rcx, [rdi+178h]                                                ; +0x64, 0x140124644\nadd     rcx, 140h                                                      ; +0x6b, 0x14012464b\nmov     rax, [rcx]                                                     ; +0x72, 0x140124652\nmov     r8, rbx                                                        ; +0x75, 0x140124655\nmov     rdx, rsi                                                       ; +0x78, 0x140124658\ncall    qword ptr [rax+18h]                                            ; +0x7b, 0x14012465b\njmp     loc_1401252E8                                                  ; +0x7e, 0x14012465e\ncmp     [rdi+164h], eax                                                ; +0x83, 0x140124663\njnz     short loc_14012467E                                            ; +0x89, 0x140124669\nmov     dword ptr [rdi+164h], 0FFFFFFFFh                               ; +0x8b, 0x14012466b\nmov     rcx, [rdi+190h]                                                ; +0x95, 0x140124675\njmp     short loc_14012464B                                            ; +0x9c, 0x14012467c\ncmp     [rdi+16Ch], eax                                                ; +0x9e, 0x14012467e\njnz     short loc_140124699                                            ; +0xa4, 0x140124684\nmov     dword ptr [rdi+16Ch], 0FFFFFFFFh                               ; +0xa6, 0x140124686\nmov     rcx, [rdi+198h]                                                ; +0xb0, 0x140124690\njmp     short loc_14012464B                                            ; +0xb7, 0x140124697\nmov     rcx, [rdi+3C0h]                                                ; +0xb9, 0x140124699\ncmp     dword ptr [rcx+880h], 1                                        ; +0xc0, 0x1401246a0\njnz     short loc_1401246B2                                            ; +0xc7, 0x1401246a7\nmov     rcx, [rcx+3540h]                                               ; +0xc9, 0x1401246a9\njmp     short loc_14012464B                                            ; +0xd0, 0x1401246b0\ncmp     [rdi+168h], eax                                                ; +0xd2, 0x1401246b2\njnz     loc_1401252E8                                                  ; +0xd8, 0x1401246b8\nmov     rcx, cs:qword_1406C2ED8                                        ; +0xde, 0x1401246be\ntest    rcx, rcx                                                       ; +0xe5, 0x1401246c5\njnz     short loc_1401246F8                                            ; +0xe8, 0x1401246c8\nmov     ecx, 668h; Size                                                ; +0xea, 0x1401246ca\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0xef, 0x1401246cf\nmov     [rbp+57h+arg_0], rax                                           ; +0xf4, 0x1401246d4\nmov     rcx, rax                                                       ; +0xf8, 0x1401246d8\ncall    sub_14017AB00                                                  ; +0xfb, 0x1401246db\nnop                                                                    ; +0x100, 0x1401246e0\nmov     cs:qword_1406C2ED8, rax                                        ; +0x101, 0x1401246e1\nmov     rdx, [rax]                                                     ; +0x108, 0x1401246e8\nmov     rcx, rax                                                       ; +0x10b, 0x1401246eb\ncall    qword ptr [rdx+48h]                                            ; +0x10e, 0x1401246ee\nmov     rcx, cs:qword_1406C2ED8                                        ; +0x111, 0x1401246f1\nlea     rdx, a0059; \"0059\"                                             ; +0x118, 0x1401246f8\ncall    GameManager__getGameVariable                                   ; +0x11f, 0x1401246ff\nmovzx   r15d, al                                                       ; +0x124, 0x140124704\nlea     rdx, [rbp+57h+arg_8]                                           ; +0x128, 0x140124708\nmov     rcx, rsi                                                       ; +0x12c, 0x14012470c\ncall    cs:?getLocationInView@CCTouch@cocos2d@@QEBA?AVCCPoint@2@XZ; cocos2d::CCTouch::getLocationInView(void) ; +0x12f, 0x14012470f\ncall    cs:?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x135, 0x140124715\nmov     rcx, rax                                                       ; +0x13b, 0x14012471b\nlea     r8, [rbp+57h+arg_8]                                            ; +0x13e, 0x14012471e\nlea     rdx, [rbp+57h+arg_0]                                           ; +0x142, 0x140124722\ncall    cs:?convertToGL@CCDirector@cocos2d@@QEAA?AVCCPoint@2@AEBV32@@Z; cocos2d::CCDirector::convertToGL(cocos2d::CCPoint const &) ; +0x146, 0x140124726\nmov     rdx, rax                                                       ; +0x14c, 0x14012472c\nlea     rcx, [rbp+57h+arg_8]                                           ; +0x14f, 0x14012472f\ncall    cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0x153, 0x140124733\nlea     r8, [rbp+57h+arg_8]                                            ; +0x159, 0x140124739\nlea     rdx, [rbp+57h+arg_0]                                           ; +0x15d, 0x14012473d\nmov     rcx, r14                                                       ; +0x161, 0x140124741\ncall    cs:?convertToWorldSpace@CCNode@cocos2d@@QEAA?AVCCPoint@2@AEBV32@@Z; cocos2d::CCNode::convertToWorldSpace(cocos2d::CCPoint const &) ; +0x164, 0x140124744\nmov     rdx, rax                                                       ; +0x16a, 0x14012474a\nlea     rcx, [rbp+57h+arg_8]                                           ; +0x16d, 0x14012474d\ncall    cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0x171, 0x140124751\nlea     rdx, [rbp+57h+arg_8]                                           ; +0x177, 0x140124757\nlea     rcx, [rdi+3C8h]                                                ; +0x17b, 0x14012475b\ncall    cs:?ccpDistance@cocos2d@@YAMAEBVCCPoint@1@0@Z; cocos2d::ccpDistance(cocos2d::CCPoint const &,cocos2d::CCPoint const &) ; +0x182, 0x140124762\nmovss   xmm7, cs:width                                                 ; +0x188, 0x140124768\ntest    r15b, r15b                                                     ; +0x190, 0x140124770\njz      short loc_14012478F                                            ; +0x193, 0x140124773\ncomiss  xmm7, xmm0                                                     ; +0x195, 0x140124775\njbe     short loc_14012478F                                            ; +0x198, 0x140124778\nmov     bl, 1                                                          ; +0x19a, 0x14012477a\nlea     rcx, [rdi+3E0h]                                                ; +0x19c, 0x14012477c\nlea     rdx, [rbp+57h+arg_8]                                           ; +0x1a3, 0x140124783\ncall    cs:?ccpDistance@cocos2d@@YAMAEBVCCPoint@1@0@Z; cocos2d::ccpDistance(cocos2d::CCPoint const &,cocos2d::CCPoint const &) ; +0x1a7, 0x140124787\njmp     short loc_1401247A7                                            ; +0x1ad, 0x14012478d\nlea     rcx, [rdi+3E0h]                                                ; +0x1af, 0x14012478f\nlea     rdx, [rbp+57h+arg_8]                                           ; +0x1b6, 0x140124796\ncall    cs:?ccpDistance@cocos2d@@YAMAEBVCCPoint@1@0@Z; cocos2d::ccpDistance(cocos2d::CCPoint const &,cocos2d::CCPoint const &) ; +0x1ba, 0x14012479a\nxor     bl, bl                                                         ; +0x1c0, 0x1401247a0\ntest    r15b, r15b                                                     ; +0x1c2, 0x1401247a2\njz      short loc_1401247B1                                            ; +0x1c5, 0x1401247a5\ncomiss  xmm7, xmm0                                                     ; +0x1c7, 0x1401247a7\njbe     short loc_1401247B1                                            ; +0x1ca, 0x1401247aa\nmov     r12b, 1                                                        ; +0x1cc, 0x1401247ac\njmp     short loc_1401247B4                                            ; +0x1cf, 0x1401247af\nxor     r12b, r12b                                                     ; +0x1d1, 0x1401247b1\nmov     dword ptr [rdi+168h], 0FFFFFFFFh                               ; +0x1d4, 0x1401247b4\ncmp     byte ptr [rdi+1E1h], 0                                         ; +0x1de, 0x1401247be\njz      loc_140124CC7                                                  ; +0x1e5, 0x1401247c5\ncmp     byte ptr [rdi+1DFh], 0                                         ; +0x1eb, 0x1401247cb\njz      loc_140124CC7                                                  ; +0x1f2, 0x1401247d2\ncmp     qword ptr [rdi+400h], 0                                        ; +0x1f8, 0x1401247d8\njz      loc_140124CC7                                                  ; +0x200, 0x1401247e0\nlea     rdx, dword_1406C1AA8                                           ; +0x206, 0x1401247e6\nlea     rcx, [rbp+57h+arg_18]                                          ; +0x20d, 0x1401247ed\ncall    cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0x211, 0x1401247f1\nlea     rdx, [rbp+57h+arg_0]                                           ; +0x217, 0x1401247f7\nmov     rcx, rsi                                                       ; +0x21b, 0x1401247fb\ncall    cs:?getLocationInView@CCTouch@cocos2d@@QEBA?AVCCPoint@2@XZ; cocos2d::CCTouch::getLocationInView(void) ; +0x21e, 0x1401247fe\ncall    cs:?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x224, 0x140124804\nmov     rcx, rax                                                       ; +0x22a, 0x14012480a\nlea     r8, [rbp+57h+arg_0]                                            ; +0x22d, 0x14012480d\nlea     rdx, [rbp+57h+var_B0]                                          ; +0x231, 0x140124811\ncall    cs:?convertToGL@CCDirector@cocos2d@@QEAA?AVCCPoint@2@AEBV32@@Z; cocos2d::CCDirector::convertToGL(cocos2d::CCPoint const &) ; +0x235, 0x140124815\nmov     rdx, rax                                                       ; +0x23b, 0x14012481b\nlea     rcx, [rbp+57h+arg_0]                                           ; +0x23e, 0x14012481e\ncall    cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0x242, 0x140124822\nlea     r8, [rbp+57h+arg_0]                                            ; +0x248, 0x140124828\nlea     rdx, [rbp+57h+var_B0]                                          ; +0x24c, 0x14012482c\nmov     rcx, r14                                                       ; +0x250, 0x140124830\ncall    cs:?convertToWorldSpace@CCNode@cocos2d@@QEAA?AVCCPoint@2@AEBV32@@Z; cocos2d::CCNode::convertToWorldSpace(cocos2d::CCPoint const &) ; +0x253, 0x140124833\nmov     rdx, rax                                                       ; +0x259, 0x140124839\nlea     rcx, [rbp+57h+arg_0]                                           ; +0x25c, 0x14012483c\ncall    cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0x260, 0x140124840\nmov     rax, [rdi+3C0h]                                                ; +0x266, 0x140124846\nlea     r8, [rbp+57h+arg_0]                                            ; +0x26d, 0x14012484d\nlea     rdx, [rbp+57h+var_A8]                                          ; +0x271, 0x140124851\nmov     rcx, [rax+0FE8h]                                               ; +0x275, 0x140124855\ncall    cs:?convertToNodeSpace@CCNode@cocos2d@@QEAA?AVCCPoint@2@AEBV32@@Z; cocos2d::CCNode::convertToNodeSpace(cocos2d::CCPoint const &) ; +0x27c, 0x14012485c\nmov     rcx, cs:qword_1406C2ED8                                        ; +0x282, 0x140124862\ntest    rcx, rcx                                                       ; +0x289, 0x140124869\njnz     short loc_14012489C                                            ; +0x28c, 0x14012486c\nmov     ecx, 668h; Size                                                ; +0x28e, 0x14012486e\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x293, 0x140124873\nmov     [rbp+57h+var_B0], rax                                          ; +0x298, 0x140124878\nmov     rcx, rax                                                       ; +0x29c, 0x14012487c\ncall    sub_14017AB00                                                  ; +0x29f, 0x14012487f\nnop                                                                    ; +0x2a4, 0x140124884\nmov     cs:qword_1406C2ED8, rax                                        ; +0x2a5, 0x140124885\nmov     rdx, [rax]                                                     ; +0x2ac, 0x14012488c\nmov     rcx, rax                                                       ; +0x2af, 0x14012488f\ncall    qword ptr [rdx+48h]                                            ; +0x2b2, 0x140124892\nmov     rcx, cs:qword_1406C2ED8                                        ; +0x2b5, 0x140124895\nlea     rdx, a0008; \"0008\"                                             ; +0x2bc, 0x14012489c\ncall    GameManager__getGameVariable                                   ; +0x2c3, 0x1401248a3\ntest    al, al                                                         ; +0x2c8, 0x1401248a8\njz      loc_140124BDA                                                  ; +0x2ca, 0x1401248aa\nmov     rcx, [rdi+400h]                                                ; +0x2d0, 0x1401248b0\ntest    rcx, rcx                                                       ; +0x2d7, 0x1401248b7\njz      loc_140124BDA                                                  ; +0x2da, 0x1401248ba\nmov     rax, [rcx]                                                     ; +0x2e0, 0x1401248c0\ncall    qword ptr [rax+158h]                                           ; +0x2e3, 0x1401248c3\ncvttss2si ecx, xmm0                                                    ; +0x2e9, 0x1401248c9\nmov     eax, 0B60B60B7h                                                ; +0x2ed, 0x1401248cd\nimul    ecx                                                            ; +0x2f2, 0x1401248d2\nadd     edx, ecx                                                       ; +0x2f4, 0x1401248d4\nsar     edx, 6                                                         ; +0x2f6, 0x1401248d6\nmov     eax, edx                                                       ; +0x2f9, 0x1401248d9\nshr     eax, 1Fh                                                       ; +0x2fb, 0x1401248db\nadd     edx, eax                                                       ; +0x2fe, 0x1401248de\nimul    eax, edx, 5Ah ; 'Z'                                            ; +0x300, 0x1401248e0\ncmp     ecx, eax                                                       ; +0x303, 0x1401248e3\njnz     loc_140124BDA                                                  ; +0x305, 0x1401248e5\nlea     rdx, [rdi+3C8h]                                                ; +0x30b, 0x1401248eb\nlea     rcx, [rbp+57h+arg_0]                                           ; +0x312, 0x1401248f2\ncall    cs:?equals@CCPoint@cocos2d@@QEBA_NAEBV12@@Z; cocos2d::CCPoint::equals(cocos2d::CCPoint const &) ; +0x316, 0x1401248f6\ntest    al, al                                                         ; +0x31c, 0x1401248fc\njnz     loc_140124BDA                                                  ; +0x31e, 0x1401248fe\nlea     rdx, [rbp+57h+var_A8]                                          ; +0x324, 0x140124904\nlea     rcx, [rbp+57h+var_C0]                                          ; +0x328, 0x140124908\ncall    cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0x32c, 0x14012490c\nmov     rbx, rax                                                       ; +0x332, 0x140124912\nmov     rcx, [r14+500h]                                                ; +0x335, 0x140124915\nmov     rdx, [rcx+38C8h]                                               ; +0x33c, 0x14012491c\nmovss   xmm8, dword ptr [rdx+27Ch]                                     ; +0x343, 0x140124923\nmovss   xmm0, dword ptr [rax]                                          ; +0x34c, 0x14012492c\ndivss   xmm0, xmm8; X                                                  ; +0x350, 0x140124930\ncall    floorf                                                         ; +0x355, 0x140124935\nmovaps  xmm7, xmm0                                                     ; +0x35a, 0x14012493a\naddss   xmm7, cs:dword_140622B08                                       ; +0x35d, 0x14012493d\nmulss   xmm7, xmm8                                                     ; +0x365, 0x140124945\nmovss   xmm0, dword ptr [rbx+4]                                        ; +0x36a, 0x14012494a\ndivss   xmm0, xmm8; X                                                  ; +0x36f, 0x14012494f\ncall    floorf                                                         ; +0x374, 0x140124954\naddss   xmm0, cs:dword_140622B08                                       ; +0x379, 0x140124959\nmulss   xmm0, xmm8                                                     ; +0x381, 0x140124961\nmovaps  xmm2, xmm0                                                     ; +0x386, 0x140124966\nmovaps  xmm1, xmm7                                                     ; +0x389, 0x140124969\nlea     rcx, [rbp+57h+var_98]                                          ; +0x38c, 0x14012496c\ncall    cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x390, 0x140124970\nmov     r8, rax                                                        ; +0x396, 0x140124976\nlea     rdx, [rbp+57h+var_B8]                                          ; +0x399, 0x140124979\nmov     rcx, r14                                                       ; +0x39d, 0x14012497d\ncall    EditorUI__getLimitedPosition                                   ; +0x3a0, 0x140124980\nmov     rbx, [rdi+400h]                                                ; +0x3a5, 0x140124985\nmov     r8d, [rbx+40Ch]                                                ; +0x3ac, 0x14012498c\nlea     rdx, [rbp+57h+var_98]                                          ; +0x3b3, 0x140124993\nmov     rcx, r14                                                       ; +0x3b7, 0x140124997\ncall    EditorUI__offsetForKey                                         ; +0x3ba, 0x14012499a\nmov     r8, rax                                                        ; +0x3bf, 0x14012499f\nmov     rdx, rbx                                                       ; +0x3c2, 0x1401249a2\nlea     rcx, [rbp+57h+var_C0]                                          ; +0x3c5, 0x1401249a5\ncall    GameToolbox__getRelativeOffset                                 ; +0x3c9, 0x1401249a9\nlea     rdx, [rbp+57h+var_B8]                                          ; +0x3ce, 0x1401249ae\nlea     rcx, [rbp+57h+var_88]                                          ; +0x3d2, 0x1401249b2\ncall    cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0x3d6, 0x1401249b6\nmov     [rsp+0F0h+var_D0], rax                                         ; +0x3dc, 0x1401249bc\nmov     r9, [rdi+400h]                                                 ; +0x3e1, 0x1401249c1\nlea     r8, [rbp+57h+var_C0]                                           ; +0x3e8, 0x1401249c8\nlea     rdx, [rbp+57h+var_A0]                                          ; +0x3ec, 0x1401249cc\nmov     rcx, r14                                                       ; +0x3f0, 0x1401249d0\ncall    EditorUI__applySpecialOffset                                   ; +0x3f3, 0x1401249d3\nlea     r8, [rbp+57h+var_A0]                                           ; +0x3f8, 0x1401249d8\nlea     rdx, [rbp+57h+var_C0]                                          ; +0x3fc, 0x1401249dc\nlea     rcx, [rbp+57h+var_B8]                                          ; +0x400, 0x1401249e0\ncall    cs:??HCCPoint@cocos2d@@QEBA?AV01@AEBV01@@Z; cocos2d::CCPoint::operator+(cocos2d::CCPoint const &) ; +0x404, 0x1401249e4\nlea     rdx, [rbp+57h+var_C0]                                          ; +0x40a, 0x1401249ea\nlea     rcx, [rbp+57h+var_B8]                                          ; +0x40e, 0x1401249ee\ncall    cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0x412, 0x1401249f2\nmov     rcx, [rdi+400h]                                                ; +0x418, 0x1401249f8\nmov     rax, [rcx]                                                     ; +0x41f, 0x1401249ff\ncall    qword ptr [rax+0C8h]                                           ; +0x422, 0x140124a02\nmov     rdx, rax                                                       ; +0x428, 0x140124a08\nlea     rcx, [rbp+57h+var_B0]                                          ; +0x42b, 0x140124a0b\ncall    cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0x42f, 0x140124a0f\nmov     rcx, [rdi+400h]                                                ; +0x435, 0x140124a15\nmov     rax, [rcx]                                                     ; +0x43c, 0x140124a1c\nlea     rdx, [rbp+57h+var_B8]                                          ; +0x43f, 0x140124a1f\ncall    qword ptr [rax+0B8h]                                           ; +0x443, 0x140124a23\nlea     r8, [rbp+57h+var_B0]                                           ; +0x449, 0x140124a29\nlea     rdx, [rbp+57h+var_C0]                                          ; +0x44d, 0x140124a2d\nlea     rcx, [rbp+57h+var_B8]                                          ; +0x451, 0x140124a31\ncall    cs:??GCCPoint@cocos2d@@QEBA?AV01@AEBV01@@Z; cocos2d::CCPoint::operator-(cocos2d::CCPoint const &) ; +0x455, 0x140124a35\nlea     rdx, [rbp+57h+var_C0]                                          ; +0x45b, 0x140124a3b\nlea     rcx, [rbp+57h+arg_18]                                          ; +0x45f, 0x140124a3f\ncall    cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0x463, 0x140124a43\nmov     rcx, [rdi+200h]                                                ; +0x469, 0x140124a49\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x470, 0x140124a50\ntest    eax, eax                                                       ; +0x476, 0x140124a56\njz      short loc_140124AC6                                            ; +0x478, 0x140124a58\nxor     ebx, ebx                                                       ; +0x47a, 0x140124a5a\nmov     rcx, [rdi+200h]                                                ; +0x47c, 0x140124a5c\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x483, 0x140124a63\ntest    eax, eax                                                       ; +0x489, 0x140124a69\njz      short loc_140124AC6                                            ; +0x48b, 0x140124a6b\nnop     dword ptr [rax]                                                ; +0x48d, 0x140124a6d\nmov     edx, ebx                                                       ; +0x490, 0x140124a70\nmov     rcx, [rdi+200h]                                                ; +0x492, 0x140124a72\ncall    cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x499, 0x140124a79\nmov     rsi, rax                                                       ; +0x49f, 0x140124a7f\nmov     rcx, [rdi+400h]                                                ; +0x4a2, 0x140124a82\nmov     edx, [rcx+39Ch]                                                ; +0x4a9, 0x140124a89\ncmp     [rax+39Ch], edx                                                ; +0x4af, 0x140124a8f\njz      short loc_140124AB3                                            ; +0x4b5, 0x140124a95\nlea     rdx, [rbp+57h+arg_18]                                          ; +0x4b7, 0x140124a97\nlea     rcx, [rbp+57h+var_88]                                          ; +0x4bb, 0x140124a9b\ncall    cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0x4bf, 0x140124a9f\nmov     r8, rax                                                        ; +0x4c5, 0x140124aa5\nmov     rdx, rsi                                                       ; +0x4c8, 0x140124aa8\nmov     rcx, r14                                                       ; +0x4cb, 0x140124aab\ncall    EditorUI__moveObject                                           ; +0x4ce, 0x140124aae\ninc     ebx                                                            ; +0x4d3, 0x140124ab3\nmov     rcx, [rdi+200h]                                                ; +0x4d5, 0x140124ab5\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x4dc, 0x140124abc\ncmp     ebx, eax                                                       ; +0x4e2, 0x140124ac2\njb      short loc_140124A70                                            ; +0x4e4, 0x140124ac4\nlea     r8, [rbp+57h+arg_18]                                           ; +0x4e6, 0x140124ac6\nlea     rdx, [rbp+57h+var_C0]                                          ; +0x4ea, 0x140124aca\nlea     rcx, [rdi+180h]                                                ; +0x4ee, 0x140124ace\ncall    cs:??HCCPoint@cocos2d@@QEBA?AV01@AEBV01@@Z; cocos2d::CCPoint::operator+(cocos2d::CCPoint const &) ; +0x4f5, 0x140124ad5\nlea     rdx, [rbp+57h+var_C0]                                          ; +0x4fb, 0x140124adb\nlea     rcx, [rdi+180h]                                                ; +0x4ff, 0x140124adf\ncall    cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0x506, 0x140124ae6\nmov     rcx, [rdi+178h]                                                ; +0x50c, 0x140124aec\nmov     rax, [rcx]                                                     ; +0x513, 0x140124af3\ncall    qword ptr [rax+148h]                                           ; +0x516, 0x140124af6\ntest    al, al                                                         ; +0x51c, 0x140124afc\njz      short loc_140124B3A                                            ; +0x51e, 0x140124afe\nmov     rcx, [rdi+178h]                                                ; +0x520, 0x140124b00\nmov     rax, [rcx]                                                     ; +0x527, 0x140124b07\ncall    qword ptr [rax+0C8h]                                           ; +0x52a, 0x140124b0a\nlea     r8, [rbp+57h+arg_18]                                           ; +0x530, 0x140124b10\nlea     rdx, [rbp+57h+var_C0]                                          ; +0x534, 0x140124b14\nmov     rcx, rax                                                       ; +0x538, 0x140124b18\ncall    cs:??HCCPoint@cocos2d@@QEBA?AV01@AEBV01@@Z; cocos2d::CCPoint::operator+(cocos2d::CCPoint const &) ; +0x53b, 0x140124b1b\nmov     rcx, [rdi+178h]                                                ; +0x541, 0x140124b21\nmov     rax, [rcx]                                                     ; +0x548, 0x140124b28\nlea     rdx, [rbp+57h+var_C0]                                          ; +0x54b, 0x140124b2b\ncall    qword ptr [rax+0B8h]                                           ; +0x54f, 0x140124b2f\njmp     loc_140124BDA                                                  ; +0x555, 0x140124b35\nmov     rcx, [rdi+190h]                                                ; +0x55a, 0x140124b3a\nmov     rax, [rcx]                                                     ; +0x561, 0x140124b41\ncall    qword ptr [rax+148h]                                           ; +0x564, 0x140124b44\ntest    al, al                                                         ; +0x56a, 0x140124b4a\njz      short loc_140124B85                                            ; +0x56c, 0x140124b4c\nmov     rcx, [rdi+190h]                                                ; +0x56e, 0x140124b4e\nmov     rax, [rcx]                                                     ; +0x575, 0x140124b55\ncall    qword ptr [rax+0C8h]                                           ; +0x578, 0x140124b58\nlea     r8, [rbp+57h+arg_18]                                           ; +0x57e, 0x140124b5e\nlea     rdx, [rbp+57h+var_C0]                                          ; +0x582, 0x140124b62\nmov     rcx, rax                                                       ; +0x586, 0x140124b66\ncall    cs:??HCCPoint@cocos2d@@QEBA?AV01@AEBV01@@Z; cocos2d::CCPoint::operator+(cocos2d::CCPoint const &) ; +0x589, 0x140124b69\nmov     rcx, [rdi+190h]                                                ; +0x58f, 0x140124b6f\nmov     rax, [rcx]                                                     ; +0x596, 0x140124b76\nlea     rdx, [rbp+57h+var_C0]                                          ; +0x599, 0x140124b79\ncall    qword ptr [rax+0B8h]                                           ; +0x59d, 0x140124b7d\njmp     short loc_140124BDA                                            ; +0x5a3, 0x140124b83\nmov     rcx, [rdi+198h]                                                ; +0x5a5, 0x140124b85\nmov     rax, [rcx]                                                     ; +0x5ac, 0x140124b8c\ncall    qword ptr [rax+148h]                                           ; +0x5af, 0x140124b8f\ntest    al, al                                                         ; +0x5b5, 0x140124b95\njz      short loc_140124BDA                                            ; +0x5b7, 0x140124b97\nmov     rcx, [rdi+198h]                                                ; +0x5b9, 0x140124b99\nmov     rax, [rcx]                                                     ; +0x5c0, 0x140124ba0\ncall    qword ptr [rax+0C8h]                                           ; +0x5c3, 0x140124ba3\nlea     r8, [rbp+57h+arg_18]                                           ; +0x5c9, 0x140124ba9\nlea     rdx, [rbp+57h+var_C0]                                          ; +0x5cd, 0x140124bad\nmov     rcx, rax                                                       ; +0x5d1, 0x140124bb1\ncall    cs:??HCCPoint@cocos2d@@QEBA?AV01@AEBV01@@Z; cocos2d::CCPoint::operator+(cocos2d::CCPoint const &) ; +0x5d4, 0x140124bb4\nmov     rcx, [rdi+198h]                                                ; +0x5da, 0x140124bba\nmov     rax, [rcx]                                                     ; +0x5e1, 0x140124bc1\nlea     rdx, [rbp+57h+var_C0]                                          ; +0x5e4, 0x140124bc4\ncall    qword ptr [rax+0B8h]                                           ; +0x5e8, 0x140124bc8\nmov     rcx, [rdi+198h]                                                ; +0x5ee, 0x140124bce\ncall    GJTransformControl__refreshControl                             ; +0x5f5, 0x140124bd5\nmov     rcx, [rdi+400h]                                                ; +0x5fa, 0x140124bda\nmov     rax, [rcx]                                                     ; +0x601, 0x140124be1\ncall    qword ptr [rax+0C8h]                                           ; +0x604, 0x140124be4\nmov     rcx, rax                                                       ; +0x60a, 0x140124bea\nlea     rdx, [rdi+1F8h]                                                ; +0x60d, 0x140124bed\ncall    cs:?equals@CCPoint@cocos2d@@QEBA_NAEBV12@@Z; cocos2d::CCPoint::equals(cocos2d::CCPoint const &) ; +0x614, 0x140124bf4\ntest    al, al                                                         ; +0x61a, 0x140124bfa\njz      short loc_140124C05                                            ; +0x61c, 0x140124bfc\nmov     byte ptr [rdi+159h], 1                                         ; +0x61e, 0x140124bfe\nmov     rcx, [rdi+400h]                                                ; +0x625, 0x140124c05\nmov     rax, [rcx]                                                     ; +0x62c, 0x140124c0c\ncall    qword ptr [rax+0C8h]                                           ; +0x62f, 0x140124c0f\nlea     r8, [rdi+1F8h]                                                 ; +0x635, 0x140124c15\nlea     rdx, [rbp+57h+var_78]                                          ; +0x63c, 0x140124c1c\nmov     rcx, rax                                                       ; +0x640, 0x140124c20\ncall    cs:??GCCPoint@cocos2d@@QEBA?AV01@AEBV01@@Z; cocos2d::CCPoint::operator-(cocos2d::CCPoint const &) ; +0x643, 0x140124c23\ncmp     byte ptr [rdi+159h], 0                                         ; +0x649, 0x140124c29\njnz     loc_1401251D0                                                  ; +0x650, 0x140124c30\nmov     r14, [rdi+150h]                                                ; +0x656, 0x140124c36\ntest    r14, r14                                                       ; +0x65d, 0x140124c3d\njz      loc_1401251D0                                                  ; +0x660, 0x140124c40\nmov     rsi, [rdi+3C0h]                                                ; +0x666, 0x140124c46\nmov     rcx, [rsi+38B0h]                                               ; +0x66d, 0x140124c4d\ncall    cs:?removeAllObjects@CCArray@cocos2d@@QEAAXXZ; cocos2d::CCArray::removeAllObjects(void) ; +0x674, 0x140124c54\nmov     ebx, 3E8h                                                      ; +0x67a, 0x140124c5a\nmov     eax, 0C8h                                                      ; +0x67f, 0x140124c5f\ncmp     byte ptr [rsi+37AEh], 0                                        ; +0x684, 0x140124c64\ncmovz   ebx, eax                                                       ; +0x68b, 0x140124c6b\nmov     rcx, [rsi+38A8h]                                               ; +0x68e, 0x140124c6e\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x695, 0x140124c75\ncmp     eax, ebx                                                       ; +0x69b, 0x140124c7b\njb      short loc_140124C91                                            ; +0x69d, 0x140124c7d\nmov     r8b, 1                                                         ; +0x69f, 0x140124c7f\nxor     edx, edx                                                       ; +0x6a2, 0x140124c82\nmov     rcx, [rsi+38A8h]                                               ; +0x6a4, 0x140124c84\ncall    cs:?removeObjectAtIndex@CCArray@cocos2d@@QEAAXI_N@Z; cocos2d::CCArray::removeObjectAtIndex(uint,bool) ; +0x6ab, 0x140124c8b\nmov     rdx, r14                                                       ; +0x6b1, 0x140124c91\nmov     rcx, [rsi+38A8h]                                               ; +0x6b4, 0x140124c94\ncall    cs:?addObject@CCArray@cocos2d@@QEAAXPEAVCCObject@2@@Z; cocos2d::CCArray::addObject(cocos2d::CCObject *) ; +0x6bb, 0x140124c9b\nmov     rcx, [rdi+150h]                                                ; +0x6c1, 0x140124ca1\ntest    rcx, rcx                                                       ; +0x6c8, 0x140124ca8\njz      loc_1401251D0                                                  ; +0x6cb, 0x140124cab\ncall    cs:?release@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::release(void) ; +0x6d1, 0x140124cb1\nmov     qword ptr [rdi+150h], 0                                        ; +0x6d7, 0x140124cb7\njmp     loc_1401251D0                                                  ; +0x6e2, 0x140124cc2\ncmp     byte ptr [rdi+1DDh], 0                                         ; +0x6e7, 0x140124cc7\njz      loc_140124F4C                                                  ; +0x6ee, 0x140124cce\ntest    bl, bl                                                         ; +0x6f4, 0x140124cd4\njnz     loc_140124F4C                                                  ; +0x6f6, 0x140124cd6\nmov     rax, [rdi+3C0h]                                                ; +0x6fc, 0x140124cdc\nmov     rbx, [rax+0FE8h]                                               ; +0x703, 0x140124ce3\nlea     r8, [rdi+3C8h]                                                 ; +0x70a, 0x140124cea\nlea     rdx, [rbp+57h+var_B8]                                          ; +0x711, 0x140124cf1\nmov     rcx, rbx                                                       ; +0x715, 0x140124cf5\ncall    cs:?convertToNodeSpace@CCNode@cocos2d@@QEAA?AVCCPoint@2@AEBV32@@Z; cocos2d::CCNode::convertToNodeSpace(cocos2d::CCPoint const &) ; +0x718, 0x140124cf8\nlea     r8, [rdi+3D0h]                                                 ; +0x71e, 0x140124cfe\nlea     rdx, [rbp+57h+arg_18]                                          ; +0x725, 0x140124d05\nmov     rcx, rbx                                                       ; +0x729, 0x140124d09\ncall    cs:?convertToNodeSpace@CCNode@cocos2d@@QEAA?AVCCPoint@2@AEBV32@@Z; cocos2d::CCNode::convertToNodeSpace(cocos2d::CCPoint const &) ; +0x72c, 0x140124d0c\nmovss   xmm2, [rbp+57h+var_B4]                                         ; +0x732, 0x140124d12\nmovaps  xmm6, xmm2                                                     ; +0x737, 0x140124d17\nsubss   xmm6, [rbp+57h+arg_1C]                                         ; +0x73a, 0x140124d1a\nandps   xmm6, cs:xmmword_1406243C0                                     ; +0x742, 0x140124d22\nmovss   xmm1, [rbp+57h+var_B8]                                         ; +0x749, 0x140124d29\nmovaps  xmm3, xmm1                                                     ; +0x74e, 0x140124d2e\nsubss   xmm3, [rbp+57h+arg_18]                                         ; +0x751, 0x140124d31\nandps   xmm3, cs:xmmword_1406243C0                                     ; +0x756, 0x140124d36\nminss   xmm2, [rbp+57h+arg_1C]                                         ; +0x75d, 0x140124d3d\nminss   xmm1, [rbp+57h+arg_18]                                         ; +0x765, 0x140124d45\nmovss   dword ptr [rsp+0F0h+var_D0], xmm6                              ; +0x76a, 0x140124d4a\nlea     rcx, [rbp+57h+var_98]                                          ; +0x770, 0x140124d50\ncall    cs:??0CCRect@cocos2d@@QEAA@MMMM@Z; cocos2d::CCRect::CCRect(float,float,float,float) ; +0x774, 0x140124d54\nlea     rdx, [rbp+57h+arg_0]                                           ; +0x77a, 0x140124d5a\nmov     rcx, rsi                                                       ; +0x77e, 0x140124d5e\ncall    cs:?getLocationInView@CCTouch@cocos2d@@QEBA?AVCCPoint@2@XZ; cocos2d::CCTouch::getLocationInView(void) ; +0x781, 0x140124d61\ncall    cs:?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x787, 0x140124d67\nmov     rcx, rax                                                       ; +0x78d, 0x140124d6d\nlea     r8, [rbp+57h+arg_0]                                            ; +0x790, 0x140124d70\nlea     rdx, [rbp+57h+var_78]                                          ; +0x794, 0x140124d74\ncall    cs:?convertToGL@CCDirector@cocos2d@@QEAA?AVCCPoint@2@AEBV32@@Z; cocos2d::CCDirector::convertToGL(cocos2d::CCPoint const &) ; +0x798, 0x140124d78\nmov     rdx, rax                                                       ; +0x79e, 0x140124d7e\nlea     rcx, [rbp+57h+arg_0]                                           ; +0x7a1, 0x140124d81\ncall    cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0x7a5, 0x140124d85\nlea     rcx, [rdi-140h]                                                ; +0x7ab, 0x140124d8b\nlea     r8, [rbp+57h+arg_0]                                            ; +0x7b2, 0x140124d92\nlea     rdx, [rbp+57h+var_88]                                          ; +0x7b6, 0x140124d96\ncall    cs:?convertToWorldSpace@CCNode@cocos2d@@QEAA?AVCCPoint@2@AEBV32@@Z; cocos2d::CCNode::convertToWorldSpace(cocos2d::CCPoint const &) ; +0x7ba, 0x140124d9a\nmov     rdx, rax                                                       ; +0x7c0, 0x140124da0\nlea     rcx, [rbp+57h+arg_0]                                           ; +0x7c3, 0x140124da3\ncall    cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0x7c7, 0x140124da7\nlea     r15, [rdi-140h]                                                ; +0x7cd, 0x140124dad\nlea     rcx, [rdi+3C8h]                                                ; +0x7d4, 0x140124db4\nlea     rdx, [rbp+57h+arg_0]                                           ; +0x7db, 0x140124dbb\ncall    cs:?ccpDistance@cocos2d@@YAMAEBVCCPoint@1@0@Z; cocos2d::ccpDistance(cocos2d::CCPoint const &,cocos2d::CCPoint const &) ; +0x7df, 0x140124dbf\ncomiss  xmm7, xmm0                                                     ; +0x7e5, 0x140124dc5\njbe     loc_140124E77                                                  ; +0x7e8, 0x140124dc8\nlea     rdx, [rbp+57h+arg_18]                                          ; +0x7ee, 0x140124dce\nlea     rcx, [rbp+57h+arg_0]                                           ; +0x7f2, 0x140124dd2\ncall    cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0x7f6, 0x140124dd6\nmov     rdx, rax                                                       ; +0x7fc, 0x140124ddc\nmov     rcx, [rdi+3C0h]                                                ; +0x7ff, 0x140124ddf\ncall    LevelEditorLayer__objectsAtPosition                            ; +0x806, 0x140124de6\nmov     r12, rax                                                       ; +0x80b, 0x140124deb\nxor     ebx, ebx                                                       ; +0x80e, 0x140124dee\nxor     r14d, r14d                                                     ; +0x810, 0x140124df0\nmov     rcx, rax                                                       ; +0x813, 0x140124df3\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x816, 0x140124df6\ntest    eax, eax                                                       ; +0x81c, 0x140124dfc\njz      loc_1401251D0                                                  ; +0x81e, 0x140124dfe\nmov     edx, r14d                                                      ; +0x824, 0x140124e04\nmov     rcx, r12                                                       ; +0x827, 0x140124e07\ncall    cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x82a, 0x140124e0a\nmov     rsi, rax                                                       ; +0x830, 0x140124e10\ncmp     byte ptr [rax+475h], 0                                         ; +0x833, 0x140124e13\njnz     short loc_140124E3D                                            ; +0x83a, 0x140124e1a\ntest    rbx, rbx                                                       ; +0x83c, 0x140124e1c\njz      short loc_140124E2F                                            ; +0x83f, 0x140124e1f\nmov     ecx, [rbx+478h]                                                ; +0x841, 0x140124e21\ncmp     [rax+478h], ecx                                                ; +0x847, 0x140124e27\njge     short loc_140124E3D                                            ; +0x84d, 0x140124e2d\nmov     rdx, rsi                                                       ; +0x84f, 0x140124e2f\ncall    EditorUI__canSelectObject                                      ; +0x852, 0x140124e32\ntest    al, al                                                         ; +0x857, 0x140124e37\ncmovnz  rbx, rsi                                                       ; +0x859, 0x140124e39\ninc     r14d                                                           ; +0x85d, 0x140124e3d\nmov     rcx, r12                                                       ; +0x860, 0x140124e40\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x863, 0x140124e43\ncmp     r14d, eax                                                      ; +0x869, 0x140124e49\njb      short loc_140124E04                                            ; +0x86c, 0x140124e4c\ntest    rbx, rbx                                                       ; +0x86e, 0x140124e4e\njz      loc_1401251D0                                                  ; +0x871, 0x140124e51\nmov     eax, [r15+55Ch]                                                ; +0x877, 0x140124e57\nmov     [rbx+478h], eax                                                ; +0x87e, 0x140124e5e\nlea     rcx, [rdi-140h]                                                ; +0x884, 0x140124e64\nxor     edx, edx                                                       ; +0x88b, 0x140124e6b\ncall    EditorUI__createUndoSelectObject                               ; +0x88d, 0x140124e6d\njmp     loc_14012518A                                                  ; +0x892, 0x140124e72\nlea     rdx, [rbp+57h+var_98]                                          ; +0x897, 0x140124e77\nlea     rcx, [rbp+57h+var_78]                                          ; +0x89b, 0x140124e7b\ncall    cs:??0CCRect@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCRect::CCRect(cocos2d::CCRect const &) ; +0x89f, 0x140124e7f\nmov     rdx, rax                                                       ; +0x8a5, 0x140124e85\nlea     rcx, [rbp+57h+var_88]                                          ; +0x8a8, 0x140124e88\ncall    cs:??0CCRect@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCRect::CCRect(cocos2d::CCRect const &) ; +0x8ac, 0x140124e8c\nmov     rdx, rax                                                       ; +0x8b2, 0x140124e92\nxor     r8d, r8d                                                       ; +0x8b5, 0x140124e95\nmov     rcx, [r15+500h]                                                ; +0x8b8, 0x140124e98\ncall    LevelEditorLayer__objectsInRect                                ; +0x8bf, 0x140124e9f\nmov     rsi, rax                                                       ; +0x8c4, 0x140124ea4\nmov     rcx, rax                                                       ; +0x8c7, 0x140124ea7\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x8ca, 0x140124eaa\ntest    eax, eax                                                       ; +0x8d0, 0x140124eb0\njz      loc_1401251D0                                                  ; +0x8d2, 0x140124eb2\nxor     ebx, ebx                                                       ; +0x8d8, 0x140124eb8\nmov     rcx, rsi                                                       ; +0x8da, 0x140124eba\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x8dd, 0x140124ebd\ntest    eax, eax                                                       ; +0x8e3, 0x140124ec3\njz      short loc_140124F24                                            ; +0x8e5, 0x140124ec5\nnop     word ptr [rax+rax+00000000h]                                   ; +0x8e7, 0x140124ec7\nmov     edx, ebx                                                       ; +0x8f0, 0x140124ed0\nmov     rcx, rsi                                                       ; +0x8f2, 0x140124ed2\ncall    cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x8f5, 0x140124ed5\nmov     rdx, [r15+538h]                                                ; +0x8fb, 0x140124edb\ntest    rdx, rdx                                                       ; +0x902, 0x140124ee2\njz      short loc_140124EF5                                            ; +0x905, 0x140124ee5\nmov     ecx, [rax+39Ch]                                                ; +0x907, 0x140124ee7\ncmp     [rdx+39Ch], ecx                                                ; +0x90d, 0x140124eed\njnz     short loc_140124F1A                                            ; +0x913, 0x140124ef3\nmov     rdx, rax                                                       ; +0x915, 0x140124ef5\nmov     rcx, [r15+340h]                                                ; +0x918, 0x140124ef8\ncall    cs:?containsObject@CCArray@cocos2d@@QEBA_NPEAVCCObject@2@@Z; cocos2d::CCArray::containsObject(cocos2d::CCObject *) ; +0x91f, 0x140124eff\ntest    al, al                                                         ; +0x925, 0x140124f05\njz      short loc_140124F1A                                            ; +0x927, 0x140124f07\ninc     ebx                                                            ; +0x929, 0x140124f09\nmov     rcx, rsi                                                       ; +0x92b, 0x140124f0b\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x92e, 0x140124f0e\ncmp     ebx, eax                                                       ; +0x934, 0x140124f14\njb      short loc_140124ED0                                            ; +0x936, 0x140124f16\njmp     short loc_140124F24                                            ; +0x938, 0x140124f18\nxor     edx, edx                                                       ; +0x93a, 0x140124f1a\nmov     rcx, r15                                                       ; +0x93c, 0x140124f1c\ncall    EditorUI__createUndoSelectObject                               ; +0x93f, 0x140124f1f\nxor     r8d, r8d                                                       ; +0x944, 0x140124f24\nmov     rdx, rsi                                                       ; +0x947, 0x140124f27\nmov     rcx, r15                                                       ; +0x94a, 0x140124f2a\ncall    EditorUI__selectObjects                                        ; +0x94d, 0x140124f2d\nmov     rcx, r15                                                       ; +0x952, 0x140124f32\ncall    EditorUI__updateObjectInfoLabel                                ; +0x955, 0x140124f35\nlea     rcx, [r15+1B0h]                                                ; +0x95a, 0x140124f3a\nmov     rax, [rcx]                                                     ; +0x961, 0x140124f41\ncall    qword ptr [rax+28h]                                            ; +0x964, 0x140124f44\njmp     loc_1401251D0                                                  ; +0x967, 0x140124f47\ncmp     byte ptr [rdi+408h], 0                                         ; +0x96c, 0x140124f4c\njz      short loc_140124F61                                            ; +0x973, 0x140124f53\nmov     byte ptr [rdi+408h], 0                                         ; +0x975, 0x140124f55\njmp     loc_1401251D0                                                  ; +0x97c, 0x140124f5c\nlea     rdx, [rbp+57h+arg_0]                                           ; +0x981, 0x140124f61\nmov     rcx, rsi                                                       ; +0x985, 0x140124f65\ncall    cs:?getLocationInView@CCTouch@cocos2d@@QEBA?AVCCPoint@2@XZ; cocos2d::CCTouch::getLocationInView(void) ; +0x988, 0x140124f68\ncall    cs:?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x98e, 0x140124f6e\nmov     rcx, rax                                                       ; +0x994, 0x140124f74\nlea     r8, [rbp+57h+arg_0]                                            ; +0x997, 0x140124f77\nlea     rdx, [rbp+57h+arg_18]                                          ; +0x99b, 0x140124f7b\ncall    cs:?convertToGL@CCDirector@cocos2d@@QEAA?AVCCPoint@2@AEBV32@@Z; cocos2d::CCDirector::convertToGL(cocos2d::CCPoint const &) ; +0x99f, 0x140124f7f\nmov     rdx, rax                                                       ; +0x9a5, 0x140124f85\nlea     rcx, [rbp+57h+arg_0]                                           ; +0x9a8, 0x140124f88\ncall    cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0x9ac, 0x140124f8c\nlea     rcx, [rdi-140h]                                                ; +0x9b2, 0x140124f92\nlea     r8, [rbp+57h+arg_0]                                            ; +0x9b9, 0x140124f99\nlea     rdx, [rbp+57h+var_78]                                          ; +0x9bd, 0x140124f9d\ncall    cs:?convertToWorldSpace@CCNode@cocos2d@@QEAA?AVCCPoint@2@AEBV32@@Z; cocos2d::CCNode::convertToWorldSpace(cocos2d::CCPoint const &) ; +0x9c1, 0x140124fa1\nmov     rdx, rax                                                       ; +0x9c7, 0x140124fa7\nlea     rcx, [rbp+57h+arg_0]                                           ; +0x9ca, 0x140124faa\ncall    cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0x9ce, 0x140124fae\nlea     rcx, [rdi+3C8h]                                                ; +0x9d4, 0x140124fb4\nlea     rdx, [rbp+57h+arg_0]                                           ; +0x9db, 0x140124fbb\ncall    cs:?ccpDistance@cocos2d@@YAMAEBVCCPoint@1@0@Z; cocos2d::ccpDistance(cocos2d::CCPoint const &,cocos2d::CCPoint const &) ; +0x9df, 0x140124fbf\ncmp     byte ptr [rdi+1DEh], 0                                         ; +0x9e5, 0x140124fc5\njz      short loc_140124FDF                                            ; +0x9ec, 0x140124fcc\nmovss   xmm1, cs:dword_140623120                                       ; +0x9ee, 0x140124fce\ncomiss  xmm1, xmm0                                                     ; +0x9f6, 0x140124fd6\njbe     loc_1401251D0                                                  ; +0x9f9, 0x140124fd9\ncmp     dword ptr [rdi+3B8h], 3                                        ; +0x9ff, 0x140124fdf\njnz     loc_1401251A7                                                  ; +0xa06, 0x140124fe6\nlea     r8, [rdi+3C8h]                                                 ; +0xa0c, 0x140124fec\nmov     rcx, [rdi+3C0h]                                                ; +0xa13, 0x140124ff3\nlea     rdx, [rbp+57h+arg_0]                                           ; +0xa1a, 0x140124ffa\nmov     rcx, [rcx+0FE8h]                                               ; +0xa1e, 0x140124ffe\ncall    cs:?convertToNodeSpace@CCNode@cocos2d@@QEAA?AVCCPoint@2@AEBV32@@Z; cocos2d::CCNode::convertToNodeSpace(cocos2d::CCPoint const &) ; +0xa25, 0x140125005\ncmp     qword ptr [rdi+400h], 0                                        ; +0xa2b, 0x14012500b\njz      short loc_140125022                                            ; +0xa33, 0x140125013\ncmp     byte ptr [rdi+15Ah], 0                                         ; +0xa35, 0x140125015\njnz     loc_1401251D0                                                  ; +0xa3c, 0x14012501c\nlea     rdx, [rbp+57h+arg_0]                                           ; +0xa42, 0x140125022\nlea     rcx, [rbp+57h+arg_18]                                          ; +0xa46, 0x140125026\ncall    cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0xa4a, 0x14012502a\nmov     rdx, rax                                                       ; +0xa50, 0x140125030\nmov     rcx, [rdi+3C0h]                                                ; +0xa53, 0x140125033\ncall    LevelEditorLayer__objectsAtPosition                            ; +0xa5a, 0x14012503a\nmov     r15, rax                                                       ; +0xa5f, 0x14012503f\nxor     ebx, ebx                                                       ; +0xa62, 0x140125042\nxor     r14d, r14d                                                     ; +0xa64, 0x140125044\nmov     rcx, rax                                                       ; +0xa67, 0x140125047\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0xa6a, 0x14012504a\ntest    eax, eax                                                       ; +0xa70, 0x140125050\njz      loc_1401251D0                                                  ; +0xa72, 0x140125052\nnop     dword ptr [rax+rax+00000000h]                                  ; +0xa78, 0x140125058\nmov     edx, r14d                                                      ; +0xa80, 0x140125060\nmov     rcx, r15                                                       ; +0xa83, 0x140125063\ncall    cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0xa86, 0x140125066\nmov     rsi, rax                                                       ; +0xa8c, 0x14012506c\ncmp     byte ptr [rax+475h], 0                                         ; +0xa8f, 0x14012506f\njnz     short loc_140125099                                            ; +0xa96, 0x140125076\ntest    rbx, rbx                                                       ; +0xa98, 0x140125078\njz      short loc_14012508B                                            ; +0xa9b, 0x14012507b\nmov     ecx, [rbx+478h]                                                ; +0xa9d, 0x14012507d\ncmp     [rax+478h], ecx                                                ; +0xaa3, 0x140125083\njge     short loc_140125099                                            ; +0xaa9, 0x140125089\nmov     rdx, rsi                                                       ; +0xaab, 0x14012508b\ncall    EditorUI__canSelectObject                                      ; +0xaae, 0x14012508e\ntest    al, al                                                         ; +0xab3, 0x140125093\ncmovnz  rbx, rsi                                                       ; +0xab5, 0x140125095\ninc     r14d                                                           ; +0xab9, 0x140125099\nmov     rcx, r15                                                       ; +0xabc, 0x14012509c\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0xabf, 0x14012509f\ncmp     r14d, eax                                                      ; +0xac5, 0x1401250a5\njb      short loc_140125060                                            ; +0xac8, 0x1401250a8\ntest    rbx, rbx                                                       ; +0xaca, 0x1401250aa\njz      loc_1401251D0                                                  ; +0xacd, 0x1401250ad\nmov     eax, [rdi+41Ch]                                                ; +0xad3, 0x1401250b3\nmov     [rbx+478h], eax                                                ; +0xad9, 0x1401250b9\nlea     rcx, [rdi-140h]                                                ; +0xadf, 0x1401250bf\nxor     edx, edx                                                       ; +0xae6, 0x1401250c6\ncall    EditorUI__createUndoSelectObject                               ; +0xae8, 0x1401250c8\ncmp     byte ptr [rdi+1DDh], 0                                         ; +0xaed, 0x1401250cd\njnz     short loc_1401250EA                                            ; +0xaf4, 0x1401250d4\nlea     rcx, [rdi-140h]                                                ; +0xaf6, 0x1401250d6\nmov     rdx, rbx                                                       ; +0xafd, 0x1401250dd\ncall    EditorUI__selectObject                                         ; +0xb00, 0x1401250e0\njmp     loc_1401251D0                                                  ; +0xb05, 0x1401250e5\ntest    r12b, r12b                                                     ; +0xb0a, 0x1401250ea\njz      loc_14012518A                                                  ; +0xb0d, 0x1401250ed\ncmp     qword ptr [rdi+3F8h], 0                                        ; +0xb13, 0x1401250f3\njz      short loc_14012515A                                            ; +0xb1b, 0x1401250fb\nlea     rsi, [rdi-140h]                                                ; +0xb1d, 0x1401250fd\nmov     edx, 7Ch ; '|'                                                 ; +0xb24, 0x140125104\nmov     rcx, rsi                                                       ; +0xb29, 0x140125109\ncall    cs:?stopActionByTag@CCNode@cocos2d@@QEAAXH@Z; cocos2d::CCNode::stopActionByTag(int) ; +0xb2c, 0x14012510c\nmov     rcx, [rsi+538h]                                                ; +0xb32, 0x140125112\ntest    rcx, rcx                                                       ; +0xb39, 0x140125119\njz      short loc_14012512A                                            ; +0xb3c, 0x14012511c\nmov     byte ptr [rcx+475h], 0                                         ; +0xb3e, 0x14012511e\ncall    GameObject__updateObjectEditorColor                            ; +0xb45, 0x140125125\nmov     qword ptr [rsi+538h], 0                                        ; +0xb4a, 0x14012512a\nmov     rcx, rsi                                                       ; +0xb55, 0x140125135\ncall    EditorUI__toggleEditObjectButton                               ; +0xb58, 0x140125138\nmov     byte ptr [rsi+2C8h], 1                                         ; +0xb5d, 0x14012513d\nlea     rcx, [rsi+520h]                                                ; +0xb64, 0x140125144\nlea     rdx, dword_1406C1AA8                                           ; +0xb6b, 0x14012514b\ncall    cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0xb72, 0x140125152\njmp     short loc_14012518A                                            ; +0xb78, 0x140125158\nmov     rcx, [rdi+200h]                                                ; +0xb7a, 0x14012515a\ncall    cs:?lastObject@CCArray@cocos2d@@QEAAPEAVCCObject@2@XZ; cocos2d::CCArray::lastObject(void) ; +0xb81, 0x140125161\ntest    rax, rax                                                       ; +0xb87, 0x140125167\njz      short loc_14012518A                                            ; +0xb8a, 0x14012516a\nmov     byte ptr [rax+475h], 0                                         ; +0xb8c, 0x14012516c\nmov     rcx, rax                                                       ; +0xb93, 0x140125173\ncall    GameObject__updateObjectEditorColor                            ; +0xb96, 0x140125176\nmov     dl, 1                                                          ; +0xb9b, 0x14012517b\nmov     rcx, [rdi+200h]                                                ; +0xb9d, 0x14012517d\ncall    cs:?removeLastObject@CCArray@cocos2d@@QEAAX_N@Z; cocos2d::CCArray::removeLastObject(bool) ; +0xba4, 0x140125184\nmov     rcx, rbx                                                       ; +0xbaa, 0x14012518a\ncall    cs:?createWithObject@CCArray@cocos2d@@SAPEAV12@PEAVCCObject@2@@Z; cocos2d::CCArray::createWithObject(cocos2d::CCObject *) ; +0xbad, 0x14012518d\nmov     rdx, rax                                                       ; +0xbb3, 0x140125193\nlea     rcx, [rdi-140h]                                                ; +0xbb6, 0x140125196\nxor     r8d, r8d                                                       ; +0xbbd, 0x14012519d\ncall    EditorUI__selectObjects                                        ; +0xbc0, 0x1401251a0\njmp     short loc_1401251D0                                            ; +0xbc5, 0x1401251a5\ncmp     byte ptr [rdi+440h], 0                                         ; +0xbc7, 0x1401251a7\njnz     short loc_1401251D0                                            ; +0xbce, 0x1401251ae\nlea     rdx, [rdi+3C8h]                                                ; +0xbd0, 0x1401251b0\nlea     rcx, [rbp+57h+arg_0]                                           ; +0xbd7, 0x1401251b7\ncall    cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0xbdb, 0x1401251bb\nmov     rdx, rax                                                       ; +0xbe1, 0x1401251c1\nlea     rcx, [rdi-140h]                                                ; +0xbe4, 0x1401251c4\ncall    EditorUI__clickOnPosition                                      ; +0xbeb, 0x1401251cb\nmov     rcx, [rdi+400h]                                                ; +0xbf0, 0x1401251d0\ntest    rcx, rcx                                                       ; +0xbf7, 0x1401251d7\njz      short loc_140125232                                            ; +0xbfa, 0x1401251da\ncmp     byte ptr [rdi+1E1h], 0                                         ; +0xbfc, 0x1401251dc\njz      short loc_140125227                                            ; +0xc03, 0x1401251e3\ncmp     byte ptr [rdi+1DFh], 0                                         ; +0xc05, 0x1401251e5\njz      short loc_140125227                                            ; +0xc0c, 0x1401251ec\ncmp     byte ptr [rcx+475h], 0                                         ; +0xc0e, 0x1401251ee\njz      short loc_14012521B                                            ; +0xc15, 0x1401251f5\nmovzx   eax, cs:word_140529A4C                                         ; +0xc17, 0x1401251f7\nmov     word ptr [rbp+57h+arg_0], ax                                   ; +0xc1e, 0x1401251fe\nmovzx   eax, cs:byte_140529A4E                                         ; +0xc22, 0x140125202\nmov     byte ptr [rbp+57h+arg_0+2], al                                 ; +0xc29, 0x140125209\nmov     rax, [rcx]                                                     ; +0xc2c, 0x14012520c\nlea     rdx, [rbp+57h+arg_0]                                           ; +0xc2f, 0x14012520f\ncall    qword ptr [rax+550h]                                           ; +0xc33, 0x140125213\njmp     short loc_140125227                                            ; +0xc39, 0x140125219\nmov     byte ptr [rcx+475h], 0                                         ; +0xc3b, 0x14012521b\ncall    GameObject__updateObjectEditorColor                            ; +0xc42, 0x140125222\nmov     qword ptr [rdi+400h], 0                                        ; +0xc47, 0x140125227\nmov     word ptr [rdi+1DDh], 0                                         ; +0xc52, 0x140125232\nmov     byte ptr [rdi+1E1h], 0                                         ; +0xc5b, 0x14012523b\nmov     byte ptr [rdi+159h], 0                                         ; +0xc62, 0x140125242\nlea     rcx, [rdi+1E8h]                                                ; +0xc69, 0x140125249\nlea     rdx, dword_1406C1AA8                                           ; +0xc70, 0x140125250\ncall    cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0xc77, 0x140125257\nmov     byte ptr [rdi+1DFh], 0                                         ; +0xc7d, 0x14012525d\nmov     byte ptr [rdi+15Ah], 0                                         ; +0xc84, 0x140125264\nlea     rdx, [rdi+3C8h]                                                ; +0xc8b, 0x14012526b\nlea     rcx, [rdi+3D8h]                                                ; +0xc92, 0x140125272\ncall    cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0xc99, 0x140125279\nmov     byte ptr [rdi+409h], 0                                         ; +0xc9f, 0x14012527f\nmovzx   ebx, byte ptr [rdi+188h]                                       ; +0xca6, 0x140125286\nlea     rcx, [rdi-140h]                                                ; +0xcad, 0x14012528d\ncall    EditorUI__updateButtons                                        ; +0xcb4, 0x140125294\ninc     dword ptr [rdi+41Ch]                                           ; +0xcb9, 0x140125299\nmov     rcx, [rdi+1F0h]                                                ; +0xcbf, 0x14012529f\ncall    cs:?removeAllObjects@CCArray@cocos2d@@QEAAXXZ; cocos2d::CCArray::removeAllObjects(void) ; +0xcc6, 0x1401252a6\ntest    bl, bl                                                         ; +0xccc, 0x1401252ac\njz      short loc_1401252D7                                            ; +0xcce, 0x1401252ae\nlea     rcx, [rdi-140h]                                                ; +0xcd0, 0x1401252b0\ncall    EditorUI__updateObjectInfoLabel                                ; +0xcd7, 0x1401252b7\nlea     rcx, [rdi+70h]                                                 ; +0xcdc, 0x1401252bc\nmov     rax, [rcx]                                                     ; +0xce0, 0x1401252c0\ncall    qword ptr [rax+28h]                                            ; +0xce3, 0x1401252c3\nlea     rcx, [rdi+78h]                                                 ; +0xce6, 0x1401252c6\nmov     rax, [rcx]                                                     ; +0xcea, 0x1401252ca\ncall    qword ptr [rax+60h]                                            ; +0xced, 0x1401252cd\nmov     byte ptr [rdi+188h], 0                                         ; +0xcf0, 0x1401252d0\nlea     rcx, [rdi+3E0h]                                                ; +0xcf7, 0x1401252d7\nlea     rdx, [rbp+57h+arg_8]                                           ; +0xcfe, 0x1401252de\ncall    cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0xd02, 0x1401252e2\nlea     r11, [rsp+0F0h+var_30]                                         ; +0xd08, 0x1401252e8\nmov     rbx, [r11+50h]                                                 ; +0xd10, 0x1401252f0\nmovaps  xmm6, xmmword ptr [r11-10h]                                    ; +0xd14, 0x1401252f4\nmovaps  xmm7, xmmword ptr [r11-20h]                                    ; +0xd19, 0x1401252f9\nmovaps  xmm8, xmmword ptr [r11-30h]                                    ; +0xd1e, 0x1401252fe\nmov     rsp, r11                                                       ; +0xd23, 0x140125303\npop     r15                                                            ; +0xd26, 0x140125306\npop     r14                                                            ; +0xd28, 0x140125308\npop     r13                                                            ; +0xd2a, 0x14012530a\npop     r12                                                            ; +0xd2c, 0x14012530c\npop     rdi                                                            ; +0xd2e, 0x14012530e\npop     rsi                                                            ; +0xd2f, 0x14012530f\npop     rbp                                                            ; +0xd30, 0x140125310\nretn                                                                   ; +0xd31, 0x140125311", "xrefs": ["<???> @ 0x140552678", "<???> @ 0x1406c99d8"], "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"}