{"type": "func", "start": 7076940, "end": 7079084, "name": "EditorUI::onCreateObject", "pseudocode": "// \n// EditorUI::onCreateObject from 0x6bfc4c to 0x6c04ac (2144 bytes)\n// \n// 2 xrefs:\n// > EditorUI::onCreate @ 0x6c058c\n// > <???> @ 0x7a9d0\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nvoid EditorUI::onCreateObject(EditorUI *a1, int a2)\n{\n  float v4; // s1\n  float x; // s0\n  float y; // s2\n  LevelEditorLayer *m_editorLayer; // x0\n  float v8; // s0\n  float v9; // s1\n  GameObject *m_selectedObject; // x0\n  float v11; // s8\n  bool v12; // w27\n  float v13; // s0\n  float v14; // s1\n  float v15; // s0\n  float v16; // s1\n  LevelEditorLayer *v17; // x25\n  float v18; // s2\n  float v19; // s0\n  float v20; // s1\n  cocos2d::CCArray *v21; // x0\n  GameObject *Object; // x22\n  GameObject *v23; // x0\n  float v24; // s0\n  float v25; // s1\n  LevelEditorLayer *v26; // x0\n  cocos2d::CCArray *v27; // x0\n  cocos2d::CCArray *v28; // x24\n  GameObject *v29; // x1\n  GameManager *v30; // x0\n  cocos2d::CCArray *v31; // x21\n  void *v32; // x0\n  unsigned int i; // w22\n  _BYTE *v34; // x27\n  __int64 v35; // x0\n  float v36; // s0\n  float v37; // s1\n  int v38; // w22\n  bool v39; // zf\n  unsigned int v40; // w22\n  __int64 v41; // x25\n  unsigned int j; // w22\n  __int64 v43; // x24\n  char *v44; // x23\n  cocos2d::CCArray *NewKeyframeAnim; // x0\n  LevelEditorLayer *v46; // x0\n  float v47; // s8\n  float v48; // s8\n  int v49; // w22\n  unsigned int k; // w24\n  GameObject *v51; // x0\n  void *v52; // x0\n  unsigned int *v53; // x2\n  int v54; // w1\n  unsigned int *v55; // x22\n  int v56; // w0\n  unsigned int *v57; // x1\n  int v58; // w2\n  cocos2d::CCPoint v59; // [xsp+70h] [xbp+70h] BYREF\n  cocos2d::CCPoint v60; // [xsp+78h] [xbp+78h] BYREF\n  _BYTE v61[8]; // [xsp+80h] [xbp+80h] BYREF\n  cocos2d::CCPoint v62; // [xsp+88h] [xbp+88h] BYREF\n  char *v63; // [xsp+90h] [xbp+90h] BYREF\n  cocos2d::CCPoint v64; // [xsp+98h] [xbp+98h] BYREF\n  _BYTE v65[8]; // [xsp+A0h] [xbp+A0h] BYREF\n  cocos2d::CCPoint v66; // [xsp+A8h] [xbp+A8h] BYREF\n  cocos2d::CCPoint v67; // [xsp+B0h] [xbp+B0h] BYREF\n  cocos2d::CCPoint GroupCenter; // 0:kr18_8.8\n  cocos2d::CCPoint v69; // 0:s0.4,4:s1.4\n  cocos2d::CCPoint v70; // 0:s0.4,4:s1.4\n  cocos2d::CCPoint v71; // 0:s0.4,4:s1.4\n  cocos2d::CCPoint v72; // 0:s0.4,4:s1.4\n  cocos2d::CCPoint v73; // 0:s0.4,4:s1.4\n  cocos2d::CCPoint v74; // 0:s0.4,4:s1.4\n  cocos2d::CCPoint v75; // 0:s1.4,4:s2.4\n\n  cocos2d::CCPoint::CCPoint(&v67, &a1->m_clickAtPosition);\n  EditorUI::getGridSnappedPos(a1, v69);\n  cocos2d::CCPoint::CCPoint(&v60, &v59);\n  v4 = a1->m_gridSize * 0.5;\n  x = v4 - 3000.0;\n  if ( v59.x >= (float)(v4 - 3000.0) )\n    x = v59.x;\n  y = v59.y;\n  if ( v59.y < -3000.0 )\n    y = -3000.0;\n  if ( x >= (float)(240000.0 - v4) )\n    x = 240000.0 - v4;\n  m_editorLayer = a1->m_editorLayer;\n  v59.x = x;\n  if ( m_editorLayer->m_levelSettings->m_dynamicLevelHeight )\n    v8 = 30090.0;\n  else\n    v8 = 2490.0;\n  v9 = v8 - v4;\n  if ( y >= v9 )\n    y = v9;\n  v59.y = y;\n  EditorUI::offsetForKey(a1, a2);\n  cocos2d::CCPoint::CCPoint(&v62);\n  m_selectedObject = a1->m_selectedObject;\n  if ( m_selectedObject && m_selectedObject->m_objectID == a2 )\n  {\n    v12 = m_selectedObject->isFlipX(m_selectedObject);\n    a1->m_selectedObject->isFlipY(a1->m_selectedObject);\n    v11 = a1->m_selectedObject->getRotation(a1->m_selectedObject);\n    EditorUI::getRelativeOffset(a1, a1->m_selectedObject);\n    cocos2d::CCPoint::operator+(&v67, &v59, &v66);\n    cocos2d::CCPoint::operator=(&v62, v24, v25);\n  }\n  else\n  {\n    v11 = 0.0;\n    v12 = 0;\n    cocos2d::CCPoint::operator+(&v67, &v59, v61);\n    cocos2d::CCPoint::operator=(&v62, v13, v14);\n  }\n  cocos2d::CCPoint::operator+(&v67, &v59, v61);\n  cocos2d::CCPoint::operator=(&v59, v15, v16);\n  v17 = a1->m_editorLayer;\n  cocos2d::CCPoint::CCPoint(&v66, &v62);\n  v70.x = v11;\n  if ( LevelEditorLayer::typeExistsAtPosition(v17, a2, v70, (bool)&v66, v12, v18)\n    || a2 < 0 && (cocos2d::CCPoint::CCPoint(&v67, &v60), EditorUI::positionIsInSnapped(a1, v74)) )\n  {\n    cocos2d::CCPoint::operator=(&a1->m_createPosition, v19, v20);\n    return;\n  }\n  cocos2d::CCPoint::CCPoint(&v67, &v60);\n  EditorUI::addSnapPosition(a1, v71);\n  if ( a2 > 0 )\n  {\n    cocos2d::CCPoint::CCPoint(&v67, &v59);\n    Object = EditorUI::createObject(a1, a2, v72);\n    v23 = a1->m_selectedObject;\n    if ( v23 && Object->m_objectID == v23->m_objectID )\n    {\n      EditorUI::removeOffset(a1, Object);\n      GameObject::duplicateValues(Object);\n      EditorUI::applyOffset(a1, Object);\n    }\n    if ( a2 == 914 )\n    {\n      sub_D153B8((int)&v67, \"A\");\n      TextGameObject::updateTextObject((__int64 *)Object, (const void **)&v67, 0);\n      v52 = (void *)(*(_QWORD *)&v67 - 24LL);\n      if ( (__int64 *)(*(_QWORD *)&v67 - 24LL) != &qword_124B6B0 )\n      {\n        if ( &pthread_create )\n        {\n          v53 = (unsigned int *)(*(_QWORD *)&v67 - 8LL);\n          do\n            v54 = __ldaxr(v53);\n          while ( __stlxr(v54 - 1, v53) );\n        }\n        else\n        {\n          v54 = *(_DWORD *)(*(_QWORD *)&v67 - 8LL);\n          *(_DWORD *)(*(_QWORD *)&v67 - 8LL) = v54 - 1;\n        }\n        if ( v54 <= 0 )\n          operator delete(v52);\n      }\n    }\n    else if ( a2 == 3032 )\n    {\n      LevelEditorLayer::removeSpecial(a1->m_editorLayer, Object);\n      NewKeyframeAnim = GJBaseGameLayer::createNewKeyframeAnim(a1->m_editorLayer);\n      LODWORD(Object[1].m_sQuad.bl.texCoords.v) = NewKeyframeAnim->getTag(NewKeyframeAnim);\n      v46 = a1->m_editorLayer;\n      Object[1].m_sQuad.tr.vertices.x = 0.0;\n      LevelEditorLayer::addSpecial(v46, Object);\n      EditorUI::selectObject(a1, Object, 0);\nLABEL_24:\n      if ( Object->m_classType == Effect\n        && (GameObject::isSpeedObject(Object) || Object->canReverse(Object) && LOBYTE(Object[1].m_obRect.origin.y)) )\n      {\n        v26 = a1->m_editorLayer;\n        LOBYTE(Object[1].m_pobTexture) = 1;\n        DrawGridLayer::addToSpeedObjects(v26->m_drawGridLayer, (EffectGameObject *)Object);\n        EditorUI::updateSlider(a1);\n        return;\n      }\nLABEL_25:\n      EditorUI::updateSlider(a1);\n      return;\n    }\n    EditorUI::selectObject(a1, Object, 0);\n    if ( !Object )\n      goto LABEL_25;\n    goto LABEL_24;\n  }\n  v27 = (cocos2d::CCArray *)cocos2d::CCArray::create(v21);\n  v28 = v27;\n  v29 = a1->m_selectedObject;\n  if ( v29 )\n    cocos2d::CCArray::addObject(v27, v29);\n  else\n    cocos2d::CCArray::addObjectsFromArray(v27, a1->m_selectedObjects);\n  v30 = GameManager::sharedState();\n  GameManager::stringForCustomObject(v30, (const char *)(unsigned int)a2, (__int64)&v63);\n  sub_D153B8((int)&v67, v63);\n  v31 = EditorUI::pasteObjects(a1, (const void **)&v67, 0, 0);\n  v32 = (void *)(*(_QWORD *)&v67 - 24LL);\n  if ( (__int64 *)(*(_QWORD *)&v67 - 24LL) != &qword_124B6B0 )\n  {\n    if ( &pthread_create )\n    {\n      v57 = (unsigned int *)(*(_QWORD *)&v67 - 8LL);\n      do\n        v58 = __ldaxr(v57);\n      while ( __stlxr(v58 - 1, v57) );\n    }\n    else\n    {\n      v58 = *(_DWORD *)(*(_QWORD *)&v67 - 8LL);\n      *(_DWORD *)(*(_QWORD *)&v67 - 8LL) = v58 - 1;\n    }\n    if ( v58 <= 0 )\n    {\n      operator delete(v32);\n      if ( !v31 )\n        goto LABEL_52;\nLABEL_34:\n      if ( (unsigned int)cocos2d::CCArray::count(v31) )\n      {\n        for ( i = 0; i < (unsigned int)cocos2d::CCArray::count(v31); ++i )\n        {\n          v34 = (_BYTE *)cocos2d::CCArray::objectAtIndex(v31, i);\n          if ( v34[1134] )\n            goto LABEL_40;\n        }\n        v34 = nullptr;\nLABEL_40:\n        cocos2d::CCPoint::CCPoint(&v64, &v60);\n        if ( v34 )\n        {\n          GroupCenter = EditorUI::getGroupCenter(a1, v31, 0);\n          v35 = (*(__int64 (__fastcall **)(_BYTE *, float, float))(*(_QWORD *)v34 + 192LL))(\n                  v34,\n                  GroupCenter.x,\n                  GroupCenter.y);\n          cocos2d::CCPoint::operator-(&v66, v65, v35);\n          cocos2d::CCPoint::operator+(&v67, &v64, &v66);\n          cocos2d::CCPoint::operator=(&v64, v36, v37);\n        }\n        cocos2d::CCPoint::CCPoint(&v67, &v64);\n        EditorUI::repositionObjectsToCenter(a1, v31, v73, (bool)&v67);\n        v38 = cocos2d::CCArray::count(v31);\n        v39 = v38 == (unsigned int)cocos2d::CCArray::count(v28);\n        v40 = 0;\n        if ( v39 )\n        {\n          while ( v40 < (unsigned int)cocos2d::CCArray::count(v28) )\n          {\n            v41 = cocos2d::CCArray::objectAtIndex(v28, v40);\n            if ( *(_BYTE *)(v41 + 1134) )\n              goto LABEL_48;\n            ++v40;\n          }\n          v41 = 0;\nLABEL_48:\n          for ( j = 0; j < (unsigned int)cocos2d::CCArray::count(v31); ++j )\n          {\n            v43 = cocos2d::CCArray::objectAtIndex(v31, j);\n            if ( *(_BYTE *)(v43 + 1134) )\n            {\n              if ( v41 )\n              {\n                if ( *(_DWORD *)(v41 + 1012) == *(_DWORD *)(v43 + 1012) )\n                {\n                  v47 = (*(float (__fastcall **)(__int64))(*(_QWORD *)v41 + 352LL))(v41);\n                  if ( v47 != (*(float (__fastcall **)(__int64))(*(_QWORD *)v43 + 352LL))(v43) )\n                  {\n                    v48 = (*(float (__fastcall **)(__int64))(*(_QWORD *)v41 + 352LL))(v41);\n                    v49 = (int)(float)(v48 - (*(float (__fastcall **)(__int64))(*(_QWORD *)v43 + 352LL))(v43));\n                    if ( v49 % 90 )\n                    {\n                      for ( k = 0; k < (unsigned int)cocos2d::CCArray::count(v31); ++k )\n                      {\n                        v51 = (GameObject *)cocos2d::CCArray::objectAtIndex(v31, k);\n                        if ( !GameObject::canRotateFree(v51) )\n                          goto LABEL_52;\n                      }\n                    }\n                    cocos2d::CCPoint::CCPoint(&v67, (const cocos2d::CCPoint *)&dword_1242110);\n                    EditorUI::rotateObjects(a1, v31, (float)v49, v75);\n                  }\n                }\n              }\n              goto LABEL_52;\n            }\n          }\n        }\n      }\n      goto LABEL_52;\n    }\n  }\n  if ( v31 )\n    goto LABEL_34;\nLABEL_52:\n  v44 = v63 - 24;\n  if ( v63 - 24 != (char *)&qword_124B6B0 )\n  {\n    if ( &pthread_create )\n    {\n      v55 = (unsigned int *)(v63 - 8);\n      do\n        v56 = __ldaxr(v55);\n      while ( __stlxr(v56 - 1, v55) );\n    }\n    else\n    {\n      v56 = *((_DWORD *)v63 - 2);\n      *((_DWORD *)v63 - 2) = v56 - 1;\n    }\n    if ( v56 <= 0 )\n      operator delete(v44);\n  }\n}", "assembly": "; \n; EditorUI::onCreateObject from 0x6bfc4c to 0x6c04ac (2144 bytes)\n; \n; 2 xrefs:\n; > EditorUI::onCreate @ 0x6c058c\n; > <???> @ 0x7a9d0\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\nADRP            X2, #__stack_chk_guard_ptr@PAGE                        ; +0x0, 0x6bfc4c\nSTP             X29, X30, [SP,#var_C0]!                                ; +0x4, 0x6bfc50\nMOV             X29, SP                                                ; +0x8, 0x6bfc54\nLDR             X2, [X2,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0xc, 0x6bfc58\nSTP             X19, X20, [SP,#0xC0+var_B0]                            ; +0x10, 0x6bfc5c\nMOV             X19, X0                                                ; +0x14, 0x6bfc60\nADD             X20, X29, #0xC0+var_10                                 ; +0x18, 0x6bfc64\nLDR             X2, [X2]                                               ; +0x1c, 0x6bfc68\nMOV             X0, X20; this                                          ; +0x20, 0x6bfc6c\nSTP             X21, X22, [SP,#0xC0+var_A0]                            ; +0x24, 0x6bfc70\nMOV             W21, W1                                                ; +0x28, 0x6bfc74\nADD             X1, X19, #0x528; cocos2d::CCPoint *                    ; +0x2c, 0x6bfc78\nSTR             D8, [SP,#0xC0+var_60]                                  ; +0x30, 0x6bfc7c\nSTR             X2, [X29,#0xC0+var_8]                                  ; +0x34, 0x6bfc80\nSTP             X25, X26, [SP,#0xC0+var_80]                            ; +0x38, 0x6bfc84\nADD             X22, X29, #0xC0+var_50                                 ; +0x3c, 0x6bfc88\nADD             X26, X29, #0xC0+var_48                                 ; +0x40, 0x6bfc8c\nSTP             X23, X24, [SP,#0xC0+var_90]                            ; +0x44, 0x6bfc90\nSTP             X27, X28, [SP,#0xC0+var_70]                            ; +0x48, 0x6bfc94\nBL              _ZN7cocos2d7CCPointC1ERKS0_; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const&) ; +0x4c, 0x6bfc98\nMOV             X8, X22                                                ; +0x50, 0x6bfc9c\nMOV             X0, X19                                                ; +0x54, 0x6bfca0\nMOV             X1, X20                                                ; +0x58, 0x6bfca4\nBL              _ZN8EditorUI17getGridSnappedPosEN7cocos2d7CCPointE; EditorUI::getGridSnappedPos(cocos2d::CCPoint) ; +0x5c, 0x6bfca8\nMOV             X0, X26; this                                          ; +0x60, 0x6bfcac\nMOV             X1, X22; cocos2d::CCPoint *                            ; +0x64, 0x6bfcb0\nBL              _ZN7cocos2d7CCPointC1ERKS0_; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const&) ; +0x68, 0x6bfcb4\nLDR             S0, [X19,#0x270]                                       ; +0x6c, 0x6bfcb8\nFMOV            S1, #0.5                                               ; +0x70, 0x6bfcbc\nLDR             S2, [X29,#0xC0+var_50]                                 ; +0x74, 0x6bfcc0\nFMUL            S1, S0, S1                                             ; +0x78, 0x6bfcc4\nLDR             S0, =0x453B8000                                        ; +0x7c, 0x6bfcc8\nFSUB            S0, S1, S0                                             ; +0x80, 0x6bfccc\nFCMPE           S2, S0                                                 ; +0x84, 0x6bfcd0\nB.MI            loc_6BFCDC                                             ; +0x88, 0x6bfcd4\nFMOV            S0, S2                                                 ; +0x8c, 0x6bfcd8\nLDR             S2, [X29,#0xC0+var_4C]                                 ; +0x90, 0x6bfcdc\nLDR             S3, =0xC53B8000                                        ; +0x94, 0x6bfce0\nFCMPE           S2, S3                                                 ; +0x98, 0x6bfce4\nB.PL            loc_6BFCF0                                             ; +0x9c, 0x6bfce8\nFMOV            S2, S3                                                 ; +0xa0, 0x6bfcec\nLDR             S3, =0x486A6000                                        ; +0xa4, 0x6bfcf0\nFSUB            S3, S3, S1                                             ; +0xa8, 0x6bfcf4\nFCMPE           S0, S3                                                 ; +0xac, 0x6bfcf8\nB.MI            loc_6BFD04                                             ; +0xb0, 0x6bfcfc\nFMOV            S0, S3                                                 ; +0xb4, 0x6bfd00\nLDR             X0, [X19,#0x4F8]                                       ; +0xb8, 0x6bfd04\nSTR             S0, [X29,#0xC0+var_50]                                 ; +0xbc, 0x6bfd08\nLDR             X0, [X0,#0xE08]                                        ; +0xc0, 0x6bfd0c\nLDRB            W0, [X0,#0x1B5]                                        ; +0xc4, 0x6bfd10\nCBNZ            W0, loc_6BFEC8                                         ; +0xc8, 0x6bfd14\nLDR             S0, =0x451BA000                                        ; +0xcc, 0x6bfd18\nFSUB            S1, S0, S1                                             ; +0xd0, 0x6bfd1c\nFCMPE           S2, S1                                                 ; +0xd4, 0x6bfd20\nB.MI            loc_6BFD2C                                             ; +0xd8, 0x6bfd24\nFMOV            S2, S1                                                 ; +0xdc, 0x6bfd28\nADD             X25, X29, #0xC0+var_40                                 ; +0xe0, 0x6bfd2c\nMOV             X0, X19; this                                          ; +0xe4, 0x6bfd30\nMOV             X8, X25                                                ; +0xe8, 0x6bfd34\nMOV             W1, W21; int                                           ; +0xec, 0x6bfd38\nSTR             S2, [X29,#0xC0+var_4C]                                 ; +0xf0, 0x6bfd3c\nADD             X24, X29, #0xC0+var_38                                 ; +0xf4, 0x6bfd40\nBL              _ZN8EditorUI12offsetForKeyEi; EditorUI::offsetForKey(int) ; +0xf8, 0x6bfd44\nMOV             X0, X24; this                                          ; +0xfc, 0x6bfd48\nBL              _ZN7cocos2d7CCPointC1Ev; cocos2d::CCPoint::CCPoint(void) ; +0x100, 0x6bfd4c\nLDR             X0, [X19,#0x530]                                       ; +0x104, 0x6bfd50\nCBZ             X0, loc_6BFD64                                         ; +0x108, 0x6bfd54\nLDR             W1, [X0,#0x3F4]                                        ; +0x10c, 0x6bfd58\nCMP             W1, W21                                                ; +0x110, 0x6bfd5c\nB.EQ            loc_6BFED0                                             ; +0x114, 0x6bfd60\nFMOV            S8, WZR                                                ; +0x118, 0x6bfd64\nMOV             X0, X22                                                ; +0x11c, 0x6bfd68\nMOV             X1, X25                                                ; +0x120, 0x6bfd6c\nMOV             X8, X20                                                ; +0x124, 0x6bfd70\nMOV             W28, #0                                                ; +0x128, 0x6bfd74\nMOV             W27, #0                                                ; +0x12c, 0x6bfd78\nADD             X23, X29, #0xC0+var_18                                 ; +0x130, 0x6bfd7c\nBL              _ZNK7cocos2d7CCPointplERKS0_; cocos2d::CCPoint::operator+(cocos2d::CCPoint const&) ; +0x134, 0x6bfd80\nMOV             X0, X24                                                ; +0x138, 0x6bfd84\nMOV             X1, X20                                                ; +0x13c, 0x6bfd88\nBL              _ZN7cocos2d7CCPointaSERKS0_; cocos2d::CCPoint::operator=(cocos2d::CCPoint const&) ; +0x140, 0x6bfd8c\nMOV             X1, X25                                                ; +0x144, 0x6bfd90\nMOV             X8, X20                                                ; +0x148, 0x6bfd94\nMOV             X0, X22                                                ; +0x14c, 0x6bfd98\nBL              _ZNK7cocos2d7CCPointplERKS0_; cocos2d::CCPoint::operator+(cocos2d::CCPoint const&) ; +0x150, 0x6bfd9c\nMOV             X1, X20                                                ; +0x154, 0x6bfda0\nMOV             X0, X22                                                ; +0x158, 0x6bfda4\nBL              _ZN7cocos2d7CCPointaSERKS0_; cocos2d::CCPoint::operator=(cocos2d::CCPoint const&) ; +0x15c, 0x6bfda8\nLDR             X25, [X19,#0x4F8]                                      ; +0x160, 0x6bfdac\nMOV             X0, X23; this                                          ; +0x164, 0x6bfdb0\nMOV             X1, X24; cocos2d::CCPoint *                            ; +0x168, 0x6bfdb4\nBL              _ZN7cocos2d7CCPointC1ERKS0_; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const&) ; +0x16c, 0x6bfdb8\nFMOV            S0, S8                                                 ; +0x170, 0x6bfdbc\nMOV             X0, X25                                                ; +0x174, 0x6bfdc0\nMOV             W1, W21                                                ; +0x178, 0x6bfdc4\nMOV             X2, X23                                                ; +0x17c, 0x6bfdc8\nMOV             W3, W27                                                ; +0x180, 0x6bfdcc\nMOV             W4, W28                                                ; +0x184, 0x6bfdd0\nBL              _ZN16LevelEditorLayer20typeExistsAtPositionEiN7cocos2d7CCPointEbbf; LevelEditorLayer::typeExistsAtPosition(int,cocos2d::CCPoint,bool,bool,float) ; +0x188, 0x6bfdd4\nUXTB            W0, W0                                                 ; +0x18c, 0x6bfdd8\nCBZ             W0, loc_6BFE2C                                         ; +0x190, 0x6bfddc\nADRP            X1, #dword_1242110@PAGE                                ; +0x194, 0x6bfde0\nADD             X0, X19, #0x320                                        ; +0x198, 0x6bfde4\nADD             X1, X1, #dword_1242110@PAGEOFF                         ; +0x19c, 0x6bfde8\nBL              _ZN7cocos2d7CCPointaSERKS0_; cocos2d::CCPoint::operator=(cocos2d::CCPoint const&) ; +0x1a0, 0x6bfdec\nMOV             X0, #0                                                 ; +0x1a4, 0x6bfdf0\nADRP            X1, #__stack_chk_guard_ptr@PAGE                        ; +0x1a8, 0x6bfdf4\nLDR             X25, [X29,#0xC0+var_8]                                 ; +0x1ac, 0x6bfdf8\nLDR             X19, [X1,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0x1b0, 0x6bfdfc\nLDR             X1, [X19]                                              ; +0x1b4, 0x6bfe00\nCMP             X25, X1                                                ; +0x1b8, 0x6bfe04\nB.NE            loc_6C041C                                             ; +0x1bc, 0x6bfe08\nLDP             X19, X20, [SP,#0xC0+var_B0]                            ; +0x1c0, 0x6bfe0c\nLDP             X21, X22, [SP,#0xC0+var_A0]                            ; +0x1c4, 0x6bfe10\nLDP             X23, X24, [SP,#0xC0+var_90]                            ; +0x1c8, 0x6bfe14\nLDP             X25, X26, [SP,#0xC0+var_80]                            ; +0x1cc, 0x6bfe18\nLDP             X27, X28, [SP,#0xC0+var_70]                            ; +0x1d0, 0x6bfe1c\nLDR             D8, [SP,#0xC0+var_60]                                  ; +0x1d4, 0x6bfe20\nLDP             X29, X30, [SP+0xC0+var_C0],#0xC0                       ; +0x1d8, 0x6bfe24\nRET                                                                    ; +0x1dc, 0x6bfe28\nTBNZ            W21, #0x1F, loc_6C01E8                                 ; +0x1e0, 0x6bfe2c\nMOV             X0, X20; this                                          ; +0x1e4, 0x6bfe30\nMOV             X1, X26; cocos2d::CCPoint *                            ; +0x1e8, 0x6bfe34\nBL              _ZN7cocos2d7CCPointC1ERKS0_; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const&) ; +0x1ec, 0x6bfe38\nMOV             X0, X19                                                ; +0x1f0, 0x6bfe3c\nMOV             X1, X20                                                ; +0x1f4, 0x6bfe40\nBL              _ZN8EditorUI15addSnapPositionEN7cocos2d7CCPointE; EditorUI::addSnapPosition(cocos2d::CCPoint) ; +0x1f8, 0x6bfe44\nCMP             W21, WZR                                               ; +0x1fc, 0x6bfe48\nB.LE            loc_6BFF7C                                             ; +0x200, 0x6bfe4c\nMOV             X1, X22; cocos2d::CCPoint *                            ; +0x204, 0x6bfe50\nMOV             X0, X20; this                                          ; +0x208, 0x6bfe54\nBL              _ZN7cocos2d7CCPointC1ERKS0_; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const&) ; +0x20c, 0x6bfe58\nMOV             X0, X19                                                ; +0x210, 0x6bfe5c\nMOV             W1, W21                                                ; +0x214, 0x6bfe60\nMOV             X2, X20                                                ; +0x218, 0x6bfe64\nBL              _ZN8EditorUI12createObjectEiN7cocos2d7CCPointE; EditorUI::createObject(int,cocos2d::CCPoint) ; +0x21c, 0x6bfe68\nMOV             X22, X0                                                ; +0x220, 0x6bfe6c\nLDR             X0, [X19,#0x530]                                       ; +0x224, 0x6bfe70\nCBZ             X0, loc_6BFE88                                         ; +0x228, 0x6bfe74\nLDR             W1, [X22,#0x3F4]                                       ; +0x22c, 0x6bfe78\nLDR             W0, [X0,#0x3F4]                                        ; +0x230, 0x6bfe7c\nCMP             W1, W0                                                 ; +0x234, 0x6bfe80\nB.EQ            loc_6C0154                                             ; +0x238, 0x6bfe84\nCMP             W21, #0x392                                            ; +0x23c, 0x6bfe88\nB.EQ            loc_6C02FC                                             ; +0x240, 0x6bfe8c\nCMP             W21, #0xBD8                                            ; +0x244, 0x6bfe90\nB.EQ            loc_6C017C                                             ; +0x248, 0x6bfe94\nMOV             X0, X19; this                                          ; +0x24c, 0x6bfe98\nMOV             X1, X22; GameObject *                                  ; +0x250, 0x6bfe9c\nMOV             W2, #0; bool                                           ; +0x254, 0x6bfea0\nBL              _ZN8EditorUI12selectObjectEP10GameObjectb; EditorUI::selectObject(GameObject *,bool) ; +0x258, 0x6bfea4\nCBZ             X22, loc_6BFEB8                                        ; +0x25c, 0x6bfea8\nLDR             W0, [X22,#0x4D0]                                       ; +0x260, 0x6bfeac\nCMP             W0, #1                                                 ; +0x264, 0x6bfeb0\nB.EQ            loc_6BFF44                                             ; +0x268, 0x6bfeb4\nMOV             X0, X19; this                                          ; +0x26c, 0x6bfeb8\nBL              _ZN8EditorUI12updateSliderEv; EditorUI::updateSlider(void) ; +0x270, 0x6bfebc\nMOV             X0, X22                                                ; +0x274, 0x6bfec0\nB               loc_6BFDF4                                             ; +0x278, 0x6bfec4\nLDR             S0, =0x46EB1400                                        ; +0x27c, 0x6bfec8\nB               loc_6BFD1C                                             ; +0x280, 0x6bfecc\nLDR             X1, [X0]                                               ; +0x284, 0x6bfed0\nADD             X23, X29, #0xC0+var_18                                 ; +0x288, 0x6bfed4\nLDR             X1, [X1,#0x580]                                        ; +0x28c, 0x6bfed8\nBLR             X1                                                     ; +0x290, 0x6bfedc\nUXTB            W27, W0                                                ; +0x294, 0x6bfee0\nLDR             X1, [X19,#0x530]                                       ; +0x298, 0x6bfee4\nMOV             X0, X1                                                 ; +0x29c, 0x6bfee8\nLDR             X1, [X1]                                               ; +0x2a0, 0x6bfeec\nLDR             X1, [X1,#0x588]                                        ; +0x2a4, 0x6bfef0\nBLR             X1                                                     ; +0x2a8, 0x6bfef4\nUXTB            W28, W0                                                ; +0x2ac, 0x6bfef8\nLDR             X1, [X19,#0x530]                                       ; +0x2b0, 0x6bfefc\nMOV             X0, X1                                                 ; +0x2b4, 0x6bff00\nLDR             X1, [X1]                                               ; +0x2b8, 0x6bff04\nLDR             X1, [X1,#0x160]                                        ; +0x2bc, 0x6bff08\nBLR             X1                                                     ; +0x2c0, 0x6bff0c\nFMOV            S8, S0                                                 ; +0x2c4, 0x6bff10\nLDR             X1, [X19,#0x530]; GameObject *                         ; +0x2c8, 0x6bff14\nMOV             X8, X23                                                ; +0x2cc, 0x6bff18\nMOV             X0, X19; this                                          ; +0x2d0, 0x6bff1c\nBL              _ZN8EditorUI17getRelativeOffsetEP10GameObject; EditorUI::getRelativeOffset(GameObject *) ; +0x2d4, 0x6bff20\nMOV             X0, X22                                                ; +0x2d8, 0x6bff24\nMOV             X1, X23                                                ; +0x2dc, 0x6bff28\nMOV             X8, X20                                                ; +0x2e0, 0x6bff2c\nBL              _ZNK7cocos2d7CCPointplERKS0_; cocos2d::CCPoint::operator+(cocos2d::CCPoint const&) ; +0x2e4, 0x6bff30\nMOV             X0, X24                                                ; +0x2e8, 0x6bff34\nMOV             X1, X20                                                ; +0x2ec, 0x6bff38\nBL              _ZN7cocos2d7CCPointaSERKS0_; cocos2d::CCPoint::operator=(cocos2d::CCPoint const&) ; +0x2f0, 0x6bff3c\nB               loc_6BFD90                                             ; +0x2f4, 0x6bff40\nMOV             X0, X22; this                                          ; +0x2f8, 0x6bff44\nBL              _ZN10GameObject13isSpeedObjectEv; GameObject::isSpeedObject(void) ; +0x2fc, 0x6bff48\nUXTB            W0, W0                                                 ; +0x300, 0x6bff4c\nCBZ             W0, loc_6C01C4                                         ; +0x304, 0x6bff50\nLDR             X0, [X19,#0x4F8]                                       ; +0x308, 0x6bff54\nMOV             W2, #1                                                 ; +0x30c, 0x6bff58\nMOV             X1, X22; EffectGameObject *                            ; +0x310, 0x6bff5c\nSTRB            W2, [X22,#0x6D8]                                       ; +0x314, 0x6bff60\nLDR             X0, [X0,#0x38A8]; this                                 ; +0x318, 0x6bff64\nBL              _ZN13DrawGridLayer17addToSpeedObjectsEP16EffectGameObject; DrawGridLayer::addToSpeedObjects(EffectGameObject *) ; +0x31c, 0x6bff68\nMOV             X0, X19; this                                          ; +0x320, 0x6bff6c\nBL              _ZN8EditorUI12updateSliderEv; EditorUI::updateSlider(void) ; +0x324, 0x6bff70\nMOV             X0, X22                                                ; +0x328, 0x6bff74\nB               loc_6BFDF4                                             ; +0x32c, 0x6bff78\nBL              _ZN7cocos2d7CCArray6createEv; cocos2d::CCArray::create(void) ; +0x330, 0x6bff7c\nMOV             X24, X0                                                ; +0x334, 0x6bff80\nLDR             X1, [X19,#0x530]; cocos2d::CCObject *                  ; +0x338, 0x6bff84\nCBZ             X1, loc_6C03E0                                         ; +0x33c, 0x6bff88\nBL              _ZN7cocos2d7CCArray9addObjectEPNS_8CCObjectE; cocos2d::CCArray::addObject(cocos2d::CCObject *) ; +0x340, 0x6bff8c\nBL              _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0x344, 0x6bff90\nADD             X25, X29, #0xC0+var_20                                 ; +0x348, 0x6bff94\nMOV             W1, W21; int                                           ; +0x34c, 0x6bff98\nADD             X8, X29, #0xC0+var_30                                  ; +0x350, 0x6bff9c\nADRP            X28, #off_122EFE8@PAGE                                 ; +0x354, 0x6bffa0\nBL              _ZN11GameManager21stringForCustomObjectEi; GameManager::stringForCustomObject(int) ; +0x358, 0x6bffa4\nLDR             X1, [X29,#0xC0+var_30]; char *                         ; +0x35c, 0x6bffa8\nMOV             X0, X20; int                                           ; +0x360, 0x6bffac\nMOV             X2, X25                                                ; +0x364, 0x6bffb0\nBL              sub_D153B8                                             ; +0x368, 0x6bffb4\nMOV             X0, X19; int                                           ; +0x36c, 0x6bffb8\nMOV             X1, X20; int                                           ; +0x370, 0x6bffbc\nMOV             W2, #0                                                 ; +0x374, 0x6bffc0\nMOV             W3, #0                                                 ; +0x378, 0x6bffc4\nBL              _ZN8EditorUI12pasteObjectsESsbb; EditorUI::pasteObjects(std::string,bool,bool) ; +0x37c, 0x6bffc8\nLDR             X1, [X29,#0xC0+var_10]                                 ; +0x380, 0x6bffcc\nMOV             X21, X0                                                ; +0x384, 0x6bffd0\nLDR             X2, [X28,#off_122EFE8@PAGEOFF]; qword_124B6B0          ; +0x388, 0x6bffd4\nSUB             X0, X1, #0x18; p                                       ; +0x38c, 0x6bffd8\nCMP             X0, X2                                                 ; +0x390, 0x6bffdc\nB.NE            loc_6C03A8                                             ; +0x394, 0x6bffe0\nCBZ             X21, loc_6C0138                                        ; +0x398, 0x6bffe4\nMOV             X0, X21; this                                          ; +0x39c, 0x6bffe8\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x3a0, 0x6bffec\nCBZ             W0, loc_6C0138                                         ; +0x3a4, 0x6bfff0\nMOV             W22, #0                                                ; +0x3a8, 0x6bfff4\nB               loc_6C0018                                             ; +0x3ac, 0x6bfff8\nMOV             X0, X21; this                                          ; +0x3b0, 0x6bfffc\nMOV             W1, W22; unsigned int                                  ; +0x3b4, 0x6c0000\nBL              _ZN7cocos2d7CCArray13objectAtIndexEj; cocos2d::CCArray::objectAtIndex(uint) ; +0x3b8, 0x6c0004\nMOV             X27, X0                                                ; +0x3bc, 0x6c0008\nLDRB            W0, [X0,#0x46E]                                        ; +0x3c0, 0x6c000c\nCBNZ            W0, loc_6C002C                                         ; +0x3c4, 0x6c0010\nADD             W22, W22, #1                                           ; +0x3c8, 0x6c0014\nMOV             X0, X21; this                                          ; +0x3cc, 0x6c0018\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x3d0, 0x6c001c\nCMP             W22, W0                                                ; +0x3d4, 0x6c0020\nB.CC            loc_6BFFFC                                             ; +0x3d8, 0x6c0024\nMOV             X27, #0                                                ; +0x3dc, 0x6c0028\nADD             X22, X29, #0xC0+var_28                                 ; +0x3e0, 0x6c002c\nMOV             X1, X26; cocos2d::CCPoint *                            ; +0x3e4, 0x6c0030\nMOV             X0, X22; this                                          ; +0x3e8, 0x6c0034\nBL              _ZN7cocos2d7CCPointC1ERKS0_; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const&) ; +0x3ec, 0x6c0038\nCBZ             X27, loc_6C0090                                        ; +0x3f0, 0x6c003c\nMOV             X8, X25                                                ; +0x3f4, 0x6c0040\nMOV             X0, X19; this                                          ; +0x3f8, 0x6c0044\nMOV             X1, X21; cocos2d::CCArray *                            ; +0x3fc, 0x6c0048\nMOV             W2, #0; bool                                           ; +0x400, 0x6c004c\nBL              _ZN8EditorUI14getGroupCenterEPN7cocos2d7CCArrayEb; EditorUI::getGroupCenter(cocos2d::CCArray *,bool) ; +0x404, 0x6c0050\nLDR             X1, [X27]                                              ; +0x408, 0x6c0054\nMOV             X0, X27                                                ; +0x40c, 0x6c0058\nLDR             X1, [X1,#0xC0]                                         ; +0x410, 0x6c005c\nBLR             X1                                                     ; +0x414, 0x6c0060\nMOV             X1, X0                                                 ; +0x418, 0x6c0064\nMOV             X8, X23                                                ; +0x41c, 0x6c0068\nMOV             X0, X25                                                ; +0x420, 0x6c006c\nBL              _ZNK7cocos2d7CCPointmiERKS0_; cocos2d::CCPoint::operator-(cocos2d::CCPoint const&) ; +0x424, 0x6c0070\nMOV             X8, X20                                                ; +0x428, 0x6c0074\nMOV             X0, X22                                                ; +0x42c, 0x6c0078\nMOV             X1, X23                                                ; +0x430, 0x6c007c\nBL              _ZNK7cocos2d7CCPointplERKS0_; cocos2d::CCPoint::operator+(cocos2d::CCPoint const&) ; +0x434, 0x6c0080\nMOV             X0, X22                                                ; +0x438, 0x6c0084\nMOV             X1, X20                                                ; +0x43c, 0x6c0088\nBL              _ZN7cocos2d7CCPointaSERKS0_; cocos2d::CCPoint::operator=(cocos2d::CCPoint const&) ; +0x440, 0x6c008c\nMOV             X0, X20; this                                          ; +0x444, 0x6c0090\nMOV             X1, X22; cocos2d::CCPoint *                            ; +0x448, 0x6c0094\nBL              _ZN7cocos2d7CCPointC1ERKS0_; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const&) ; +0x44c, 0x6c0098\nMOV             X0, X19                                                ; +0x450, 0x6c009c\nMOV             X1, X21                                                ; +0x454, 0x6c00a0\nMOV             X2, X20                                                ; +0x458, 0x6c00a4\nMOV             W3, #0                                                 ; +0x45c, 0x6c00a8\nBL              _ZN8EditorUI25repositionObjectsToCenterEPN7cocos2d7CCArrayENS0_7CCPointEb; EditorUI::repositionObjectsToCenter(cocos2d::CCArray *,cocos2d::CCPoint,bool) ; +0x460, 0x6c00ac\nMOV             X0, X21; this                                          ; +0x464, 0x6c00b0\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x468, 0x6c00b4\nMOV             W22, W0                                                ; +0x46c, 0x6c00b8\nMOV             X0, X24; this                                          ; +0x470, 0x6c00bc\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x474, 0x6c00c0\nCMP             W22, W0                                                ; +0x478, 0x6c00c4\nMOV             W22, #0                                                ; +0x47c, 0x6c00c8\nB.EQ            loc_6C00F0                                             ; +0x480, 0x6c00cc\nB               loc_6C0138                                             ; +0x484, 0x6c00d0\nMOV             X0, X24; this                                          ; +0x488, 0x6c00d4\nMOV             W1, W22; unsigned int                                  ; +0x48c, 0x6c00d8\nBL              _ZN7cocos2d7CCArray13objectAtIndexEj; cocos2d::CCArray::objectAtIndex(uint) ; +0x490, 0x6c00dc\nMOV             X25, X0                                                ; +0x494, 0x6c00e0\nLDRB            W0, [X0,#0x46E]                                        ; +0x498, 0x6c00e4\nCBNZ            W0, loc_6C0104                                         ; +0x49c, 0x6c00e8\nADD             W22, W22, #1                                           ; +0x4a0, 0x6c00ec\nMOV             X0, X24; this                                          ; +0x4a4, 0x6c00f0\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x4a8, 0x6c00f4\nCMP             W22, W0                                                ; +0x4ac, 0x6c00f8\nB.CC            loc_6C00D4                                             ; +0x4b0, 0x6c00fc\nMOV             X25, #0                                                ; +0x4b4, 0x6c0100\nMOV             W22, #0                                                ; +0x4b8, 0x6c0104\nB               loc_6C0128                                             ; +0x4bc, 0x6c0108\nMOV             X0, X21; this                                          ; +0x4c0, 0x6c010c\nMOV             W1, W22; unsigned int                                  ; +0x4c4, 0x6c0110\nBL              _ZN7cocos2d7CCArray13objectAtIndexEj; cocos2d::CCArray::objectAtIndex(uint) ; +0x4c8, 0x6c0114\nMOV             X24, X0                                                ; +0x4cc, 0x6c0118\nLDRB            W0, [X0,#0x46E]                                        ; +0x4d0, 0x6c011c\nCBNZ            W0, loc_6C020C                                         ; +0x4d4, 0x6c0120\nADD             W22, W22, #1                                           ; +0x4d8, 0x6c0124\nMOV             X0, X21; this                                          ; +0x4dc, 0x6c0128\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x4e0, 0x6c012c\nCMP             W22, W0                                                ; +0x4e4, 0x6c0130\nB.CC            loc_6C010C                                             ; +0x4e8, 0x6c0134\nLDR             X22, [X29,#0xC0+var_30]                                ; +0x4ec, 0x6c0138\nLDR             X28, [X28,#off_122EFE8@PAGEOFF]; qword_124B6B0         ; +0x4f0, 0x6c013c\nSUB             X23, X22, #0x18                                        ; +0x4f4, 0x6c0140\nCMP             X23, X28                                               ; +0x4f8, 0x6c0144\nB.NE            loc_6C036C                                             ; +0x4fc, 0x6c0148\nMOV             X0, #0                                                 ; +0x500, 0x6c014c\nB               loc_6BFDF4                                             ; +0x504, 0x6c0150\nMOV             X1, X22; GameObject *                                  ; +0x508, 0x6c0154\nMOV             X0, X19; this                                          ; +0x50c, 0x6c0158\nBL              _ZN8EditorUI12removeOffsetEP10GameObject; EditorUI::removeOffset(GameObject *) ; +0x510, 0x6c015c\nLDR             X1, [X19,#0x530]; GameObject *                         ; +0x514, 0x6c0160\nMOV             X0, X22; this                                          ; +0x518, 0x6c0164\nBL              _ZN10GameObject15duplicateValuesEPS_; GameObject::duplicateValues(GameObject*) ; +0x51c, 0x6c0168\nMOV             X0, X19; this                                          ; +0x520, 0x6c016c\nMOV             X1, X22; GameObject *                                  ; +0x524, 0x6c0170\nBL              _ZN8EditorUI11applyOffsetEP10GameObject; EditorUI::applyOffset(GameObject *) ; +0x528, 0x6c0174\nB               loc_6BFE88                                             ; +0x52c, 0x6c0178\nLDR             X0, [X19,#0x4F8]; this                                 ; +0x530, 0x6c017c\nMOV             X1, X22; GameObject *                                  ; +0x534, 0x6c0180\nBL              _ZN16LevelEditorLayer13removeSpecialEP10GameObject; LevelEditorLayer::removeSpecial(GameObject *) ; +0x538, 0x6c0184\nLDR             X0, [X19,#0x4F8]; this                                 ; +0x53c, 0x6c0188\nBL              _ZN15GJBaseGameLayer21createNewKeyframeAnimEv; GJBaseGameLayer::createNewKeyframeAnim(void) ; +0x540, 0x6c018c\nLDR             X1, [X0]                                               ; +0x544, 0x6c0190\nLDR             X1, [X1,#0x40]                                         ; +0x548, 0x6c0194\nBLR             X1                                                     ; +0x54c, 0x6c0198\nSTR             W0, [X22,#0x730]                                       ; +0x550, 0x6c019c\nLDR             X0, [X19,#0x4F8]; this                                 ; +0x554, 0x6c01a0\nMOV             X1, X22; GameObject *                                  ; +0x558, 0x6c01a4\nSTR             WZR, [X22,#0x734]                                      ; +0x55c, 0x6c01a8\nBL              _ZN16LevelEditorLayer10addSpecialEP10GameObject; LevelEditorLayer::addSpecial(GameObject *) ; +0x560, 0x6c01ac\nMOV             X0, X19; this                                          ; +0x564, 0x6c01b0\nMOV             X1, X22; GameObject *                                  ; +0x568, 0x6c01b4\nMOV             W2, #0; bool                                           ; +0x56c, 0x6c01b8\nBL              _ZN8EditorUI12selectObjectEP10GameObjectb; EditorUI::selectObject(GameObject *,bool) ; +0x570, 0x6c01bc\nB               loc_6BFEAC                                             ; +0x574, 0x6c01c0\nLDR             X1, [X22]                                              ; +0x578, 0x6c01c4\nMOV             X0, X22                                                ; +0x57c, 0x6c01c8\nLDR             X1, [X1,#0x680]                                        ; +0x580, 0x6c01cc\nBLR             X1                                                     ; +0x584, 0x6c01d0\nUXTB            W0, W0                                                 ; +0x588, 0x6c01d4\nCBZ             W0, loc_6BFEB8                                         ; +0x58c, 0x6c01d8\nLDRB            W0, [X22,#0x6E4]                                       ; +0x590, 0x6c01dc\nCBZ             W0, loc_6BFEB8                                         ; +0x594, 0x6c01e0\nB               loc_6BFF54                                             ; +0x598, 0x6c01e4\nMOV             X0, X20; this                                          ; +0x59c, 0x6c01e8\nMOV             X1, X26; cocos2d::CCPoint *                            ; +0x5a0, 0x6c01ec\nBL              _ZN7cocos2d7CCPointC1ERKS0_; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const&) ; +0x5a4, 0x6c01f0\nMOV             X0, X19                                                ; +0x5a8, 0x6c01f4\nMOV             X1, X20                                                ; +0x5ac, 0x6c01f8\nBL              _ZN8EditorUI19positionIsInSnappedEN7cocos2d7CCPointE; EditorUI::positionIsInSnapped(cocos2d::CCPoint) ; +0x5b0, 0x6c01fc\nUXTB            W0, W0                                                 ; +0x5b4, 0x6c0200\nCBZ             W0, loc_6BFE30                                         ; +0x5b8, 0x6c0204\nB               loc_6BFDE0                                             ; +0x5bc, 0x6c0208\nCBZ             X25, loc_6C0138                                        ; +0x5c0, 0x6c020c\nLDR             W1, [X25,#0x3F4]                                       ; +0x5c4, 0x6c0210\nLDR             W0, [X24,#0x3F4]                                       ; +0x5c8, 0x6c0214\nCMP             W1, W0                                                 ; +0x5cc, 0x6c0218\nB.NE            loc_6C0138                                             ; +0x5d0, 0x6c021c\nLDR             X1, [X25]                                              ; +0x5d4, 0x6c0220\nMOV             X0, X25                                                ; +0x5d8, 0x6c0224\nLDR             X1, [X1,#0x160]                                        ; +0x5dc, 0x6c0228\nBLR             X1                                                     ; +0x5e0, 0x6c022c\nLDR             X1, [X24]                                              ; +0x5e4, 0x6c0230\nMOV             X0, X24                                                ; +0x5e8, 0x6c0234\nFMOV            S8, S0                                                 ; +0x5ec, 0x6c0238\nLDR             X1, [X1,#0x160]                                        ; +0x5f0, 0x6c023c\nBLR             X1                                                     ; +0x5f4, 0x6c0240\nFCMP            S8, S0                                                 ; +0x5f8, 0x6c0244\nB.EQ            loc_6C0138                                             ; +0x5fc, 0x6c0248\nLDR             X1, [X25]                                              ; +0x600, 0x6c024c\nMOV             X0, X25                                                ; +0x604, 0x6c0250\nLDR             X1, [X1,#0x160]                                        ; +0x608, 0x6c0254\nBLR             X1                                                     ; +0x60c, 0x6c0258\nLDR             X1, [X24]                                              ; +0x610, 0x6c025c\nMOV             X0, X24                                                ; +0x614, 0x6c0260\nFMOV            S8, S0                                                 ; +0x618, 0x6c0264\nLDR             X1, [X1,#0x160]                                        ; +0x61c, 0x6c0268\nBLR             X1                                                     ; +0x620, 0x6c026c\nFSUB            S0, S8, S0                                             ; +0x624, 0x6c0270\nMOV             W24, #0xB60B60B7                                       ; +0x628, 0x6c0274\nMOV             W1, #0x5A ; 'Z'                                        ; +0x630, 0x6c027c\nFCVTZS          W22, S0                                                ; +0x634, 0x6c0280\nSMULL           X0, W22, W24                                           ; +0x638, 0x6c0284\nLSR             X0, X0, #0x20 ; ' '                                    ; +0x63c, 0x6c0288\nADD             W0, W22, W0                                            ; +0x640, 0x6c028c\nASR             W0, W0, #6                                             ; +0x644, 0x6c0290\nSUB             W0, W0, W22,ASR#31                                     ; +0x648, 0x6c0294\nMSUB            W0, W0, W1, W22                                        ; +0x64c, 0x6c0298\nCBZ             W0, loc_6C02D4                                         ; +0x650, 0x6c029c\nMOV             W24, #0                                                ; +0x654, 0x6c02a0\nB               loc_6C02C4                                             ; +0x658, 0x6c02a4\nMOV             X0, X21; this                                          ; +0x65c, 0x6c02a8\nMOV             W1, W24; unsigned int                                  ; +0x660, 0x6c02ac\nBL              _ZN7cocos2d7CCArray13objectAtIndexEj; cocos2d::CCArray::objectAtIndex(uint) ; +0x664, 0x6c02b0\nBL              _ZN10GameObject13canRotateFreeEv; GameObject::canRotateFree(void) ; +0x668, 0x6c02b4\nUXTB            W0, W0                                                 ; +0x66c, 0x6c02b8\nCBZ             W0, loc_6C0138                                         ; +0x670, 0x6c02bc\nADD             W24, W24, #1                                           ; +0x674, 0x6c02c0\nMOV             X0, X21; this                                          ; +0x678, 0x6c02c4\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x67c, 0x6c02c8\nCMP             W24, W0                                                ; +0x680, 0x6c02cc\nB.CC            loc_6C02A8                                             ; +0x684, 0x6c02d0\nADRP            X1, #dword_1242110@PAGE                                ; +0x688, 0x6c02d4\nMOV             X0, X20; this                                          ; +0x68c, 0x6c02d8\nADD             X1, X1, #dword_1242110@PAGEOFF; cocos2d::CCPoint *     ; +0x690, 0x6c02dc\nBL              _ZN7cocos2d7CCPointC1ERKS0_; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const&) ; +0x694, 0x6c02e0\nSCVTF           S0, W22                                                ; +0x698, 0x6c02e4\nMOV             X0, X19                                                ; +0x69c, 0x6c02e8\nMOV             X1, X21                                                ; +0x6a0, 0x6c02ec\nMOV             X2, X20                                                ; +0x6a4, 0x6c02f0\nBL              _ZN8EditorUI13rotateObjectsEPN7cocos2d7CCArrayEfNS0_7CCPointE; EditorUI::rotateObjects(cocos2d::CCArray *,float,cocos2d::CCPoint) ; +0x6a8, 0x6c02f4\nB               loc_6C0138                                             ; +0x6ac, 0x6c02f8\nADRP            X1, #(aShiftA+8)@PAGE; \"A\"                             ; +0x6b0, 0x6c02fc\nADD             X2, X29, #0xC0+var_20                                  ; +0x6b4, 0x6c0300\nMOV             X0, X20; int                                           ; +0x6b8, 0x6c0304\nADD             X1, X1, #(aShiftA+8)@PAGEOFF; char *                   ; +0x6bc, 0x6c0308\nBL              sub_D153B8                                             ; +0x6c0, 0x6c030c\nMOV             X0, X22                                                ; +0x6c4, 0x6c0310\nMOV             X1, X20                                                ; +0x6c8, 0x6c0314\nMOV             W2, #0                                                 ; +0x6cc, 0x6c0318\nBL              _ZN14TextGameObject16updateTextObjectESsb; TextGameObject::updateTextObject(std::string,bool) ; +0x6d0, 0x6c031c\nADRP            X1, #off_122EFE8@PAGE                                  ; +0x6d4, 0x6c0320\nLDR             X2, [X29,#0xC0+var_10]                                 ; +0x6d8, 0x6c0324\nSUB             X0, X2, #0x18; p                                       ; +0x6dc, 0x6c0328\nLDR             X1, [X1,#off_122EFE8@PAGEOFF]; qword_124B6B0           ; +0x6e0, 0x6c032c\nCMP             X0, X1                                                 ; +0x6e4, 0x6c0330\nB.EQ            loc_6BFE98                                             ; +0x6e8, 0x6c0334\nADRP            X1, #pthread_create_ptr_0@PAGE                         ; +0x6ec, 0x6c0338\nLDR             X1, [X1,#pthread_create_ptr_0@PAGEOFF]; pthread_create ; +0x6f0, 0x6c033c\nCBZ             X1, loc_6C040C                                         ; +0x6f4, 0x6c0340\nSUB             X2, X2, #8                                             ; +0x6f8, 0x6c0344\nLDAXR           W1, [X2]                                               ; +0x6fc, 0x6c0348\nSUB             W3, W1, #1                                             ; +0x700, 0x6c034c\nSTLXR           W4, W3, [X2]                                           ; +0x704, 0x6c0350\nCBNZ            W4, loc_6C0348                                         ; +0x708, 0x6c0354\nCMP             W1, WZR                                                ; +0x70c, 0x6c0358\nB.GT            loc_6BFE98                                             ; +0x710, 0x6c035c\nMOV             X1, X23                                                ; +0x714, 0x6c0360\nBL              j__ZdlPv; operator delete(void *)                      ; +0x718, 0x6c0364\nB               loc_6BFE98                                             ; +0x71c, 0x6c0368\nADRP            X0, #pthread_create_ptr_0@PAGE                         ; +0x720, 0x6c036c\nLDR             X0, [X0,#pthread_create_ptr_0@PAGEOFF]; pthread_create ; +0x724, 0x6c0370\nCBZ             X0, loc_6C03EC                                         ; +0x728, 0x6c0374\nSUB             X22, X22, #8                                           ; +0x72c, 0x6c0378\nLDAXR           W0, [X22]                                              ; +0x730, 0x6c037c\nSUB             W1, W0, #1                                             ; +0x734, 0x6c0380\nSTLXR           W2, W1, [X22]                                          ; +0x738, 0x6c0384\nCBNZ            W2, loc_6C037C                                         ; +0x73c, 0x6c0388\nCMP             W0, WZR                                                ; +0x740, 0x6c038c\nB.GT            loc_6C014C                                             ; +0x744, 0x6c0390\nMOV             X0, X23; p                                             ; +0x748, 0x6c0394\nMOV             X1, X20                                                ; +0x74c, 0x6c0398\nBL              j__ZdlPv; operator delete(void *)                      ; +0x750, 0x6c039c\nMOV             X0, #0                                                 ; +0x754, 0x6c03a0\nB               loc_6BFDF4                                             ; +0x758, 0x6c03a4\nADRP            X2, #pthread_create_ptr_0@PAGE                         ; +0x75c, 0x6c03a8\nLDR             X2, [X2,#pthread_create_ptr_0@PAGEOFF]; pthread_create ; +0x760, 0x6c03ac\nCBZ             X2, loc_6C03FC                                         ; +0x764, 0x6c03b0\nSUB             X1, X1, #8                                             ; +0x768, 0x6c03b4\nLDAXR           W2, [X1]                                               ; +0x76c, 0x6c03b8\nSUB             W3, W2, #1                                             ; +0x770, 0x6c03bc\nSTLXR           W4, W3, [X1]                                           ; +0x774, 0x6c03c0\nCBNZ            W4, loc_6C03B8                                         ; +0x778, 0x6c03c4\nCMP             W2, WZR                                                ; +0x77c, 0x6c03c8\nB.GT            loc_6BFFE4                                             ; +0x780, 0x6c03cc\nMOV             X1, X23                                                ; +0x784, 0x6c03d0\nBL              j__ZdlPv; operator delete(void *)                      ; +0x788, 0x6c03d4\nCBNZ            X21, loc_6BFFE8                                        ; +0x78c, 0x6c03d8\nB               loc_6C0138                                             ; +0x790, 0x6c03dc\nLDR             X1, [X19,#0x338]; cocos2d::CCArray *                   ; +0x794, 0x6c03e0\nBL              _ZN7cocos2d7CCArray19addObjectsFromArrayEPS0_; cocos2d::CCArray::addObjectsFromArray(cocos2d::CCArray*) ; +0x798, 0x6c03e4\nB               loc_6BFF90                                             ; +0x79c, 0x6c03e8\nLDUR            W0, [X22,#-8]                                          ; +0x7a0, 0x6c03ec\nSUB             W1, W0, #1                                             ; +0x7a4, 0x6c03f0\nSTUR            W1, [X22,#-8]                                          ; +0x7a8, 0x6c03f4\nB               loc_6C038C                                             ; +0x7ac, 0x6c03f8\nLDUR            W2, [X1,#-8]                                           ; +0x7b0, 0x6c03fc\nSUB             W3, W2, #1                                             ; +0x7b4, 0x6c0400\nSTUR            W3, [X1,#-8]                                           ; +0x7b8, 0x6c0404\nB               loc_6C03C8                                             ; +0x7bc, 0x6c0408\nLDUR            W1, [X2,#-8]                                           ; +0x7c0, 0x6c040c\nSUB             W3, W1, #1                                             ; +0x7c4, 0x6c0410\nSTUR            W3, [X2,#-8]                                           ; +0x7c8, 0x6c0414\nB               loc_6C0358                                             ; +0x7cc, 0x6c0418\nBL              .__stack_chk_fail                                      ; +0x7d0, 0x6c041c\nADRP            X1, #off_122EFE8@PAGE                                  ; +0x7d4, 0x6c0420\nMOV             X19, X0                                                ; +0x7d8, 0x6c0424\nLDR             X0, [X29,#0xC0+var_10]                                 ; +0x7dc, 0x6c0428\nLDR             X1, [X1,#off_122EFE8@PAGEOFF]; qword_124B6B0           ; +0x7e0, 0x6c042c\nSUB             X0, X0, #0x18                                          ; +0x7e4, 0x6c0430\nCMP             X0, X1                                                 ; +0x7e8, 0x6c0434\nB.EQ            loc_6C0444                                             ; +0x7ec, 0x6c0438\nMOV             X1, X23                                                ; +0x7f0, 0x6c043c\nBL              sub_6865FC                                             ; +0x7f4, 0x6c0440\nMOV             X0, X19                                                ; +0x7f8, 0x6c0444\nBL              _Unwind_Resume                                         ; +0x7fc, 0x6c0448\nB               loc_6C0448                                             ; +0x800, 0x6c044c\nB               loc_6C0448                                             ; +0x804, 0x6c0450\nMOV             X22, X0                                                ; +0x808, 0x6c0454\nLDR             X0, [X29,#0xC0+var_30]                                 ; +0x80c, 0x6c0458\nLDR             X28, [X28,#off_122EFE8@PAGEOFF]; qword_124B6B0         ; +0x810, 0x6c045c\nSUB             X0, X0, #0x18                                          ; +0x814, 0x6c0460\nCMP             X0, X28                                                ; +0x818, 0x6c0464\nB.EQ            loc_6C0474                                             ; +0x81c, 0x6c0468\nMOV             X1, X23                                                ; +0x820, 0x6c046c\nBL              sub_6865FC                                             ; +0x824, 0x6c0470\nMOV             X0, X22                                                ; +0x828, 0x6c0474\nBL              _Unwind_Resume                                         ; +0x82c, 0x6c0478\nADRP            X28, #off_122EFE8@PAGE                                 ; +0x830, 0x6c047c\nMOV             X22, X0                                                ; +0x834, 0x6c0480\nLDR             X0, [X29,#0xC0+var_10]                                 ; +0x838, 0x6c0484\nLDR             X1, [X28,#off_122EFE8@PAGEOFF]; qword_124B6B0          ; +0x83c, 0x6c0488\nSUB             X0, X0, #0x18                                          ; +0x840, 0x6c048c\nCMP             X0, X1                                                 ; +0x844, 0x6c0490\nB.EQ            loc_6C0458                                             ; +0x848, 0x6c0494\nMOV             X1, X23                                                ; +0x84c, 0x6c0498\nBL              sub_6865FC                                             ; +0x850, 0x6c049c\nB               loc_6C0458                                             ; +0x854, 0x6c04a0\nB               loc_6C0448                                             ; +0x858, 0x6c04a4\nB               loc_6C0448                                             ; +0x85c, 0x6c04a8", "xrefs": ["EditorUI::onCreate @ 0x6c058c", "<???> @ 0x7a9d0"], "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"}