{"type": "func", "start": 5369814624, "end": 5369816938, "name": "EditorUI::spriteFromObjectString", "pseudocode": "// \n// EditorUI::spriteFromObjectString from 0x14010de60 to 0x14010e76a (2314 bytes)\n// \n// 4 xrefs:\n// > EditorUI::menuItemFromObjectString @ 0x14010e7df\n// > GJSmartBlockPreview::addPreview @ 0x1402b6675\n// > KeyframeGameObject::updateShadowObjects @ 0x1404b55c7\n// > <???> @ 0x1406c8e08\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=7\ncocos2d::CCNode *__fastcall EditorUI::spriteFromObjectString(\n        __int64 a1,\n        __int64 a2,\n        bool a3,\n        char a4,\n        int a5,\n        cocos2d::CCArray *a6,\n        cocos2d::CCArray *a7,\n        __int64 a8)\n{\n  bool v9; // r14\n  EditorUI *v11; // r13\n  __int64 v12; // r9\n  __int64 v13; // r8\n  cocos2d::CCArray *ObjectsFromString; // rax\n  cocos2d::CCArray *v15; // r12\n  LevelSettingsObject *m_levelSettings; // r15\n  unsigned int v17; // ebp\n  unsigned int v18; // esi\n  __int64 v19; // rbx\n  struct cocos2d::CCObject *v20; // r14\n  struct cocos2d::CCObject *v21; // rdi\n  unsigned int *v22; // rdx\n  unsigned int v23; // ecx\n  __int64 v24; // rdx\n  GJEffectManager *m_effectManager; // rcx\n  GJEffectManager *v26; // r9\n  int v27; // eax\n  ColorAction *ColorAction; // rbx\n  int *v29; // rdx\n  int v30; // eax\n  int v31; // edx\n  ColorAction *v32; // rbx\n  cocos2d::CCPoint v33; // rax\n  unsigned int v34; // esi\n  struct cocos2d::CCObject *v35; // rax\n  GameObject *v36; // rdi\n  __int64 m_unknown2; // rax\n  cocos2d::CCArray *v38; // rax\n  LevelEditorLayer *m_editorLayer; // rbx\n  _BOOL8 v40; // rdx\n  struct cocos2d::CCObject *Object; // rax\n  __int64 v42; // rdx\n  GameObject *v43; // rbx\n  LevelEditorLayer *v44; // rdi\n  float v45; // xmm13_4\n  float v46; // xmm11_4\n  float v47; // xmm12_4\n  float v48; // xmm10_4\n  unsigned int v49; // r14d\n  cocos2d::CCPoint v50; // rbx\n  cocos2d::CCPoint v51; // rdi\n  struct cocos2d::CCObject *v52; // rax\n  __int64 v53; // rdx\n  struct cocos2d::CCObject *v54; // r15\n  LevelEditorLayer *v55; // rsi\n  __int64 v56; // rax\n  int m_nTag; // ecx\n  int m_nLuaID; // eax\n  bool v59; // r8\n  char shouldBlendColor; // cl\n  GJSpriteColor *v61; // rdx\n  int m_defaultColorID; // r8d\n  int m_colorID; // eax\n  bool v64; // al\n  char v65; // al\n  cocos2d::CCPoint v66; // rdx\n  cocos2d::CCObject_vtbl *v67; // rcx\n  void (__fastcall ***p_getTag)(_QWORD, cocos2d::CCPoint); // rcx\n  cocos2d::CCPoint v69; // rdx\n  char v70; // cl\n  int v71; // eax\n  int m_uOrderOfArrival; // ecx\n  unsigned int v73; // r14d\n  cocos2d::CCObject_vtbl *v74; // rsi\n  cocos2d::CCObject *(__fastcall *copyWithZone)(cocos2d::CCCopying *__hidden, cocos2d::CCZone *); // rbp\n  cocos2d::CCObject_vtbl *v76; // rsi\n  cocos2d::CCObject *(__fastcall *v77)(cocos2d::CCCopying *__hidden, cocos2d::CCZone *); // rbp\n  cocos2d::CCObject_vtbl *v78; // rsi\n  cocos2d::CCObject *(__fastcall *v79)(cocos2d::CCCopying *__hidden, cocos2d::CCZone *); // rbp\n  cocos2d::CCObject_vtbl *v80; // rsi\n  cocos2d::CCObject *(__fastcall *v81)(cocos2d::CCCopying *__hidden, cocos2d::CCZone *); // rbp\n  __int64 v82; // rax\n  cocos2d::CCObject_vtbl *v83; // rsi\n  const struct cocos2d::CCPoint *v84; // rax\n  __int64 v85; // rax\n  cocos2d::CCRect *v86; // rsi\n  float MinX; // xmm6_4\n  float MaxX; // xmm7_4\n  float MinY; // xmm8_4\n  float MaxY; // xmm0_4\n  cocos2d::CCNode *v91; // rsi\n  __int64 v92; // rbx\n  __int64 v93; // rax\n  struct cocos2d::CCObject *v94; // rdi\n  cocos2d::CCObject_vtbl *v95; // rbx\n  struct cocos2d::CCPoint v96; // rax\n  __int64 v97; // rdx\n  unsigned int v100; // [rsp+24h] [rbp-104h] BYREF\n  cocos2d::ccColor3B m_fromColor; // [rsp+28h] [rbp-100h] BYREF\n  __int64 v102; // [rsp+30h] [rbp-F8h] BYREF\n  __int64 v103; // [rsp+38h] [rbp-F0h] BYREF\n  __int64 v104; // [rsp+40h] [rbp-E8h]\n  cocos2d::CCArray *v105; // [rsp+48h] [rbp-E0h] BYREF\n  cocos2d::CCPoint v106; // [rsp+50h] [rbp-D8h] BYREF\n  __int64 v107; // [rsp+58h] [rbp-D0h]\n  __int64 v108; // [rsp+60h] [rbp-C8h]\n\n  v9 = a3;\n  v107 = a2;\n  v11 = (EditorUI *)a1;\n  v103 = a1;\n  v108 = a2;\n  v105 = a6;\n  v102 = (__int64)a7;\n  v104 = cocos2d::CCSprite::create();\n  LOBYTE(v12) = 1;\n  ObjectsFromString = (cocos2d::CCArray *)LevelEditorLayer::createObjectsFromString(v11->m_editorLayer, a2, v13, v12);\n  v15 = ObjectsFromString;\n  m_levelSettings = v11->m_editorLayer->m_levelSettings;\n  v17 = 0;\n  if ( a4 )\n  {\n    if ( a7 )\n    {\n      v18 = 0;\n      if ( cocos2d::CCArray::count(ObjectsFromString) )\n      {\n        v19 = a8;\n        do\n        {\n          if ( v18 >= cocos2d::CCArray::count(a7) )\n            break;\n          v20 = cocos2d::CCArray::objectAtIndex(a7, v18);\n          v21 = cocos2d::CCArray::objectAtIndex(v15, v18);\n          v22 = *(unsigned int **)&v21[19].m_unknown2;\n          if ( v22 )\n          {\n            v23 = v22[1];\n            v24 = *v22;\n            if ( v23 == (_DWORD)v24 || !(_DWORD)v24 )\n              v24 = v23;\n            m_effectManager = m_levelSettings->m_effectManager;\n            v26 = m_effectManager;\n            v27 = v24;\n            if ( (int)v24 < 0 )\n              v27 = 0;\n            if ( v27 > 1101 )\n              v27 = 1101;\n          }\n          else\n          {\n            v24 = 0;\n            m_effectManager = m_levelSettings->m_effectManager;\n            v26 = m_effectManager;\n            v27 = 0;\n          }\n          if ( v26->m_colorActionVector._Mypair._Myval2._Myfirst[v27] )\n          {\n            ColorAction = GJEffectManager::getColorAction(m_effectManager, v24);\n            m_fromColor = ColorAction->m_fromColor;\n            ((void (__fastcall *)(struct cocos2d::CCObject *, cocos2d::ccColor3B *))v21->__vftable[19].canEncode)(\n              v21,\n              &m_fromColor);\n            *(float *)(*(_QWORD *)&v21[19].m_unknown2 + 8LL) = ColorAction->m_fromOpacity;\n            v19 = a8;\n          }\n          if ( v20[16].__vftable )\n          {\n            v29 = *(int **)&v21[19].m_uOrderOfArrival;\n            if ( v29 )\n            {\n              v30 = v29[1];\n              v31 = *v29;\n              if ( v30 == v31 || !v31 )\n                v31 = v30;\n            }\n            else\n            {\n              v31 = 0;\n            }\n            v32 = GJEffectManager::getColorAction(m_levelSettings->m_effectManager, v31);\n            *(cocos2d::ccColor3B *)&v100 = v32->m_fromColor;\n            ((void (__fastcall *)(struct cocos2d::CCObject *, unsigned int *))v21->__vftable[19].getTag)(v21, &v100);\n            *(float *)(*(_QWORD *)&v21[19].m_uOrderOfArrival + 8LL) = v32->m_fromOpacity;\n            v19 = a8;\n          }\n          LOBYTE(v24) = -1;\n          (*(void (__fastcall **)(int *, __int64))(*(_QWORD *)&v21[5].m_unknown2 + 40LL))(&v21[5].m_unknown2, v24);\n          if ( v19 )\n            BYTE2(v21[20].m_uUnknown) = v20 == (struct cocos2d::CCObject *)v19;\n          ++v18;\n        }\n        while ( v18 < cocos2d::CCArray::count(v15) );\n        v11 = (EditorUI *)v103;\n        v9 = a3;\n      }\n    }\n  }\n  cocos2d::CCPoint::CCPoint(&v106, 1000.0, 1000.0);\n  cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v102, &v106);\n  EditorUI::repositionObjectsToCenter(v11, v15, v33, v9);\n  EditorUI::deleteSmartBlocksFromObjects(v11, v15);\n  v34 = 0;\n  while ( v34 < cocos2d::CCArray::count(v15) )\n  {\n    v35 = cocos2d::CCArray::objectAtIndex(v15, v34);\n    v36 = (GameObject *)v35;\n    if ( v35[18].m_eObjType == 2065 )\n    {\n      m_unknown2 = v35[15].m_unknown2;\n      if ( (int)m_unknown2 > 0 )\n      {\n        v38 = (cocos2d::CCArray *)cocos2d::CCDictionary::objectForKey(v11->m_editorLayer->m_linkedGroupDict, m_unknown2);\n        if ( v38 )\n          cocos2d::CCArray::removeObject(v38, v36, 1);\n      }\n      v36->m_wasSelected = v36->m_isSelected;\n      EditorUI::deselectObject(v11, v36);\n      m_editorLayer = v11->m_editorLayer;\n      LOBYTE(v40) = 1;\n      v36->deactivateObject(v36, v40);\n      GJBaseGameLayer::removeObjectFromSection(m_editorLayer, v36);\n      LevelEditorLayer::removeSpecial(m_editorLayer, v36);\n      m_editorLayer->m_unk3b22 = 1;\n      v11->m_rotationTouchID = -1;\n      if ( v11->m_rotationControl->isVisible(v11->m_rotationControl) )\n      {\n        v11->m_rotationControl->setVisible(v11->m_rotationControl, 0);\n        GJRotationControl::finishTouch(v11->m_rotationControl);\n      }\n      EditorUI::deactivateScaleControl(v11);\n      EditorUI::deactivateTransformControl(v11);\n      cocos2d::CCArray::removeObjectAtIndex(v15, v34, 1);\n    }\n    else\n    {\n      ++v34;\n    }\n  }\n  if ( a5 > 0 && cocos2d::CCArray::count(v15) > a5 )\n  {\n    do\n    {\n      Object = cocos2d::CCArray::lastObject(v15);\n      v43 = (GameObject *)Object;\n      v44 = v11->m_editorLayer;\n      if ( Object )\n      {\n        LOBYTE(v42) = 1;\n        Object->__vftable[15].setTag(Object, v42);\n        GJBaseGameLayer::removeObjectFromSection(v44, v43);\n        LevelEditorLayer::removeSpecial(v44, v43);\n        v44->m_unk3b22 = 1;\n      }\n      cocos2d::CCArray::removeLastObject(v15, 1);\n    }\n    while ( cocos2d::CCArray::count(v15) > a5 );\n  }\n  v45 = 0.0;\n  v46 = 0.0;\n  v47 = 0.0;\n  v48 = 0.0;\n  v103 = 0x30300000001LL;\n  v102 = 0x100000302LL;\n  v49 = 0;\n  v100 = 0;\n  if ( cocos2d::CCArray::count(v15) )\n  {\n    v50 = (cocos2d::CCPoint)v103;\n    v51 = (cocos2d::CCPoint)v102;\n    do\n    {\n      v52 = cocos2d::CCArray::objectAtIndex(v15, v49);\n      v54 = v52;\n      v55 = v11->m_editorLayer;\n      if ( v52 )\n      {\n        LOBYTE(v53) = 1;\n        v52->__vftable[15].setTag(v52, v53);\n        GJBaseGameLayer::removeObjectFromSection(v55, (GameObject *)v54);\n        LevelEditorLayer::removeSpecial(v55, (GameObject *)v54);\n        v55->m_unk3b22 = 1;\n      }\n      v56 = ((__int64 (__fastcall *)(struct cocos2d::CCObject *))v54->__vftable[2].getTag)(v54);\n      cocos2d::CCPoint::operator-(v56, &v102, &v106);\n      v54->__vftable[2].encodeWithCoder(v54, (DS_Dictionary *)&v102);\n      m_nTag = v54[20].m_nTag;\n      if ( !m_nTag )\n        m_nTag = v54[18].m_uOrderOfArrival;\n      m_nLuaID = v54[20].m_nLuaID;\n      if ( !m_nLuaID )\n        m_nLuaID = HIDWORD(v54[20].__vftable);\n      (*(void (__fastcall **)(__int64, struct cocos2d::CCObject *, _QWORD))(*(_QWORD *)v104 + 440LL))(\n        v104,\n        v54,\n        (unsigned int)(m_nTag + 10000 * m_nLuaID));\n      if ( v105 )\n        cocos2d::CCArray::addObject(v105, v54);\n      shouldBlendColor = GameObject::shouldBlendColor((GameObject *)v54, *(GJSpriteColor **)&v54[19].m_unknown2, v59);\n      LOBYTE(v54[15].m_unknown5) = shouldBlendColor;\n      if ( !v54[16].__vftable )\n        goto LABEL_62;\n      v61 = *(GJSpriteColor **)&v54[19].m_uOrderOfArrival;\n      m_defaultColorID = v61->m_defaultColorID;\n      m_colorID = v61->m_colorID;\n      if ( m_defaultColorID == v61->m_colorID || !m_colorID )\n        m_colorID = v61->m_defaultColorID;\n      if ( m_colorID == 1012 )\n      {\n        v64 = shouldBlendColor;\n      }\n      else\n      {\n        v64 = GameObject::shouldBlendColor((GameObject *)v54, v61, m_defaultColorID);\n        shouldBlendColor = v54[15].m_unknown5;\n      }\n      if ( v64 )\n        v65 = 1;\n      else\nLABEL_62:\n        v65 = 0;\n      BYTE1(v54[15].m_unknown5) = v65;\n      v66 = v51;\n      if ( !shouldBlendColor )\n        v66 = v50;\n      (**(void (__fastcall ***)(__int64, cocos2d::CCPoint))&v54[6].m_uID)((__int64)&v54[6].m_uID, v66);\n      v67 = v54[16].__vftable;\n      if ( v67 && !LOBYTE(v54[11].m_unknown2) )\n      {\n        p_getTag = (void (__fastcall ***)(_QWORD, cocos2d::CCPoint))&v67[4].getTag;\n        v69 = v51;\n        if ( !BYTE1(v54[15].m_unknown5) )\n          v69 = v50;\n        (**p_getTag)(p_getTag, v69);\n        v70 = BYTE1(v54[15].m_unknown5);\n        if ( LOBYTE(v54[15].m_unknown5) == v70 )\n        {\n          GameObject::addColorSpriteToSelf((GameObject *)v54);\n        }\n        else\n        {\n          v71 = v54[20].m_nLuaID;\n          if ( !v71 )\n            v71 = HIDWORD(v54[20].__vftable);\n          if ( v70 && BYTE1(v54[18].m_unknown5) )\n            ++v71;\n          m_uOrderOfArrival = v54[20].m_nTag;\n          if ( !m_uOrderOfArrival )\n            m_uOrderOfArrival = v54[18].m_uOrderOfArrival;\n          v73 = m_uOrderOfArrival + 10000 * v71;\n          BYTE2(v54[15].m_uIndexInArray) = 0;\n          v74 = v54[16].__vftable;\n          copyWithZone = v74->copyWithZone;\n          v54->__vftable[1].getTag(v54);\n          (*((void (__fastcall **)(cocos2d::CCObject_vtbl *))copyWithZone + 15))(v74);\n          v76 = v54[16].__vftable;\n          v77 = v76->copyWithZone;\n          ((void (__fastcall *)(struct cocos2d::CCObject *))v54->__vftable[2].copyWithZone)(v54);\n          (*((void (__fastcall **)(cocos2d::CCObject_vtbl *))v77 + 17))(v76);\n          v78 = v54[16].__vftable;\n          v79 = v78->copyWithZone;\n          v54->__vftable[4].getTag(v54);\n          (*((void (__fastcall **)(cocos2d::CCObject_vtbl *))v79 + 42))(v78);\n          v80 = v54[16].__vftable;\n          v81 = v80->copyWithZone;\n          v82 = ((__int64 (__fastcall *)(struct cocos2d::CCObject *))v54->__vftable[2].getTag)(v54);\n          (*((void (__fastcall **)(cocos2d::CCObject_vtbl *, __int64))v81 + 23))(v80, v82);\n          (*((void (__fastcall **)(cocos2d::CCObject_vtbl *, _QWORD))v54[16].copyWithZone + 63))(v54[16].__vftable, 0);\n          (*(void (__fastcall **)(__int64, cocos2d::CCObject_vtbl *, _QWORD))(*(_QWORD *)v104 + 440LL))(\n            v104,\n            v54[16].__vftable,\n            v73);\n          v49 = v100;\n        }\n      }\n      v83 = v54->__vftable;\n      v84 = (const struct cocos2d::CCPoint *)((__int64 (__fastcall *)(struct cocos2d::CCObject *))v54->__vftable[2].getTag)(v54);\n      cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v103, v84);\n      ((void (__fastcall *)(struct cocos2d::CCObject *, __int64))v83[16].canEncode)(v54, v85);\n      v86 = (cocos2d::CCRect *)((__int64 (__fastcall *)(struct cocos2d::CCObject *))v54->__vftable[16].update)(v54);\n      MinX = cocos2d::CCRect::getMinX(v86);\n      MaxX = cocos2d::CCRect::getMaxX(v86);\n      MinY = cocos2d::CCRect::getMinY(v86);\n      MaxY = cocos2d::CCRect::getMaxY(v86);\n      if ( v45 == 0.0 || v45 > MinX )\n        v45 = MinX;\n      if ( v46 == 0.0 || MaxX > v46 )\n        v46 = MaxX;\n      if ( v47 == 0.0 || v47 > MinY )\n        v47 = MinY;\n      if ( v48 == 0.0 || MaxY > v48 )\n        v48 = MaxY;\n      v100 = ++v49;\n    }\n    while ( v49 < cocos2d::CCArray::count(v15) );\n    v17 = 0;\n  }\n  v91 = (cocos2d::CCNode *)v104;\n  v92 = *(_QWORD *)v104;\n  cocos2d::CCSize::CCSize((cocos2d::CCSize *)&v105, v46 - v45, v48 - v47);\n  (*(void (__fastcall **)(cocos2d::CCNode *, __int64))(v92 + 296))(v91, v93);\n  if ( cocos2d::CCArray::count(v15) )\n  {\n    do\n    {\n      v94 = cocos2d::CCArray::objectAtIndex(v15, v17);\n      v95 = v94->__vftable;\n      v94->__vftable[2].getTag(v94);\n      v96 = cocos2d::CCNode::convertToNodeSpace(v91, (const struct cocos2d::CCPoint *)&v105);\n      ((void (__fastcall *)(struct cocos2d::CCObject *, struct cocos2d::CCPoint))v95[2].encodeWithCoder)(v94, v96);\n      LOBYTE(v97) = BYTE2(v94[23].m_nLuaID) == 0;\n      ((void (__fastcall *)(struct cocos2d::CCObject *, __int64))v94->__vftable[4].update)(v94, v97);\n      ++v17;\n    }\n    while ( v17 < cocos2d::CCArray::count(v15) );\n  }\n  sub_14003A830(v107);\n  return v91;\n}", "assembly": "; \n; EditorUI::spriteFromObjectString from 0x14010de60 to 0x14010e76a (2314 bytes)\n; \n; 4 xrefs:\n; > EditorUI::menuItemFromObjectString @ 0x14010e7df\n; > GJSmartBlockPreview::addPreview @ 0x1402b6675\n; > KeyframeGameObject::updateShadowObjects @ 0x1404b55c7\n; > <???> @ 0x1406c8e08\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, 0x14010de60\nmov     [rax+18h], rbx                                                 ; +0x3, 0x14010de63\npush    rbp                                                            ; +0x7, 0x14010de67\npush    rsi                                                            ; +0x8, 0x14010de68\npush    rdi                                                            ; +0x9, 0x14010de69\npush    r12                                                            ; +0xa, 0x14010de6a\npush    r13                                                            ; +0xc, 0x14010de6c\npush    r14                                                            ; +0xe, 0x14010de6e\npush    r15                                                            ; +0x10, 0x14010de70\nsub     rsp, 0F0h                                                      ; +0x12, 0x14010de72\nmovaps  xmmword ptr [rax-48h], xmm6                                    ; +0x19, 0x14010de79\nmovaps  xmmword ptr [rax-58h], xmm7                                    ; +0x1d, 0x14010de7d\nmovaps  xmmword ptr [rax-68h], xmm8                                    ; +0x21, 0x14010de81\nmovaps  xmmword ptr [rax-78h], xmm9                                    ; +0x26, 0x14010de86\nmovaps  xmmword ptr [rax-88h], xmm10                                   ; +0x2b, 0x14010de8b\nmovaps  xmmword ptr [rax-98h], xmm11                                   ; +0x33, 0x14010de93\nmovaps  xmmword ptr [rax-0A8h], xmm12                                  ; +0x3b, 0x14010de9b\nmovaps  [rsp+128h+var_B8], xmm13                                       ; +0x43, 0x14010dea3\nmov     rax, cs:__security_cookie                                      ; +0x49, 0x14010dea9\nxor     rax, rsp                                                       ; +0x50, 0x14010deb0\nmov     [rsp+128h+var_C0], rax                                         ; +0x53, 0x14010deb3\nmovzx   ebx, r9b                                                       ; +0x58, 0x14010deb8\nmovzx   r14d, r8b                                                      ; +0x5c, 0x14010debc\nmov     [rsp+128h+var_108], r8b                                        ; +0x60, 0x14010dec0\nmov     rsi, rdx                                                       ; +0x65, 0x14010dec5\nmov     [rsp+128h+var_D0], rdx                                         ; +0x68, 0x14010dec8\nmov     r13, rcx                                                       ; +0x6d, 0x14010decd\nmov     [rsp+128h+var_F0], rcx                                         ; +0x70, 0x14010ded0\nmov     [rsp+128h+var_C8], rdx                                         ; +0x75, 0x14010ded5\nmov     rax, [rsp+128h+arg_28]                                         ; +0x7a, 0x14010deda\nmov     [rsp+128h+var_E0], rax                                         ; +0x82, 0x14010dee2\nmov     rdi, [rsp+128h+arg_30]                                         ; +0x87, 0x14010dee7\nmov     [rsp+128h+var_F8], rdi                                         ; +0x8f, 0x14010deef\ncall    cs:?create@CCSprite@cocos2d@@SAPEAV12@XZ; cocos2d::CCSprite::create(void) ; +0x94, 0x14010def4\nmov     [rsp+128h+var_E8], rax                                         ; +0x9a, 0x14010defa\nmov     r9b, 1                                                         ; +0x9f, 0x14010deff\nmov     rdx, rsi                                                       ; +0xa2, 0x14010df02\nmov     rcx, [r13+500h]                                                ; +0xa5, 0x14010df05\ncall    LevelEditorLayer__createObjectsFromString                      ; +0xac, 0x14010df0c\nmov     r12, rax                                                       ; +0xb1, 0x14010df11\nmov     rcx, [r13+500h]                                                ; +0xb4, 0x14010df14\nmov     r15, [rcx+0DB0h]                                               ; +0xbb, 0x14010df1b\nxor     ebp, ebp                                                       ; +0xc2, 0x14010df22\ntest    bl, bl                                                         ; +0xc4, 0x14010df24\njz      loc_14010E0C5                                                  ; +0xc6, 0x14010df26\ntest    rdi, rdi                                                       ; +0xcc, 0x14010df2c\njz      loc_14010E0C5                                                  ; +0xcf, 0x14010df2f\nmov     esi, ebp                                                       ; +0xd5, 0x14010df35\nmov     rcx, rax                                                       ; +0xd7, 0x14010df37\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0xda, 0x14010df3a\ntest    eax, eax                                                       ; +0xe0, 0x14010df40\njz      loc_14010E0C5                                                  ; +0xe2, 0x14010df42\nmov     rbx, [rsp+128h+arg_38]                                         ; +0xe8, 0x14010df48\nmov     r13, rdi                                                       ; +0xf0, 0x14010df50\nmov     rcx, r13                                                       ; +0xf3, 0x14010df53\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0xf6, 0x14010df56\ncmp     esi, eax                                                       ; +0xfc, 0x14010df5c\njnb     loc_14010E0BA                                                  ; +0xfe, 0x14010df5e\nmov     edx, esi                                                       ; +0x104, 0x14010df64\nmov     rcx, r13                                                       ; +0x106, 0x14010df66\ncall    cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x109, 0x14010df69\nmov     r14, rax                                                       ; +0x10f, 0x14010df6f\nmov     edx, esi                                                       ; +0x112, 0x14010df72\nmov     rcx, r12                                                       ; +0x114, 0x14010df74\ncall    cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x117, 0x14010df77\nmov     rdi, rax                                                       ; +0x11d, 0x14010df7d\nmov     rdx, [rax+450h]                                                ; +0x120, 0x14010df80\ntest    rdx, rdx                                                       ; +0x127, 0x14010df87\njz      short loc_14010DFBA                                            ; +0x12a, 0x14010df8a\nmov     ecx, [rdx+4]                                                   ; +0x12c, 0x14010df8c\nmov     edx, [rdx]                                                     ; +0x12f, 0x14010df8f\ncmp     ecx, edx                                                       ; +0x131, 0x14010df91\njz      short loc_14010DF99                                            ; +0x133, 0x14010df93\ntest    edx, edx                                                       ; +0x135, 0x14010df95\njnz     short loc_14010DF9B                                            ; +0x137, 0x14010df97\nmov     edx, ecx                                                       ; +0x139, 0x14010df99\nmov     rcx, [r15+140h]                                                ; +0x13b, 0x14010df9b\nmov     r9, rcx                                                        ; +0x142, 0x14010dfa2\nmov     eax, edx                                                       ; +0x145, 0x14010dfa5\ntest    edx, edx                                                       ; +0x147, 0x14010dfa7\ncmovs   eax, ebp                                                       ; +0x149, 0x14010dfa9\ncmp     eax, 44Dh                                                      ; +0x14c, 0x14010dfac\njle     short loc_14010DFC8                                            ; +0x151, 0x14010dfb1\nmov     eax, 44Dh                                                      ; +0x153, 0x14010dfb3\njmp     short loc_14010DFC8                                            ; +0x158, 0x14010dfb8\nmov     edx, ebp                                                       ; +0x15a, 0x14010dfba\nmov     rcx, [r15+140h]                                                ; +0x15c, 0x14010dfbc\nmov     r9, rcx                                                        ; +0x163, 0x14010dfc3\nmov     eax, ebp                                                       ; +0x166, 0x14010dfc6\nmovsxd  r8, eax                                                        ; +0x168, 0x14010dfc8\nmov     rax, [r9+2E0h]                                                 ; +0x16b, 0x14010dfcb\ncmp     [rax+r8*8], rbp                                                ; +0x172, 0x14010dfd2\njz      short loc_14010E018                                            ; +0x176, 0x14010dfd6\ncall    GJEffectManager__getColorAction                                ; +0x178, 0x14010dfd8\nmov     rbx, rax                                                       ; +0x17d, 0x14010dfdd\nmovzx   ecx, word ptr [rax+48h]                                        ; +0x180, 0x14010dfe0\nmov     [rsp+128h+var_100], cx                                         ; +0x184, 0x14010dfe4\nmovzx   ecx, byte ptr [rax+4Ah]                                        ; +0x189, 0x14010dfe9\nmov     [rsp+128h+var_FE], cl                                          ; +0x18d, 0x14010dfed\nmov     r8, [rdi]                                                      ; +0x191, 0x14010dff1\nlea     rdx, [rsp+128h+var_100]                                        ; +0x194, 0x14010dff4\nmov     rcx, rdi                                                       ; +0x199, 0x14010dff9\ncall    qword ptr [r8+588h]                                            ; +0x19c, 0x14010dffc\nmov     rcx, [rdi+450h]                                                ; +0x1a3, 0x14010e003\nmov     eax, [rbx+60h]                                                 ; +0x1aa, 0x14010e00a\nmov     [rcx+8], eax                                                   ; +0x1ad, 0x14010e00d\nmov     rbx, [rsp+128h+arg_38]                                         ; +0x1b0, 0x14010e010\ncmp     [r14+380h], rbp                                                ; +0x1b8, 0x14010e018\njz      short loc_14010E087                                            ; +0x1bf, 0x14010e01f\nmov     rdx, [rdi+458h]                                                ; +0x1c1, 0x14010e021\ntest    rdx, rdx                                                       ; +0x1c8, 0x14010e028\njz      short loc_14010E03E                                            ; +0x1cb, 0x14010e02b\nmov     eax, [rdx+4]                                                   ; +0x1cd, 0x14010e02d\nmov     edx, [rdx]                                                     ; +0x1d0, 0x14010e030\ncmp     eax, edx                                                       ; +0x1d2, 0x14010e032\njz      short loc_14010E03A                                            ; +0x1d4, 0x14010e034\ntest    edx, edx                                                       ; +0x1d6, 0x14010e036\njnz     short loc_14010E040                                            ; +0x1d8, 0x14010e038\nmov     edx, eax                                                       ; +0x1da, 0x14010e03a\njmp     short loc_14010E040                                            ; +0x1dc, 0x14010e03c\nmov     edx, ebp                                                       ; +0x1de, 0x14010e03e\nmov     rcx, [r15+140h]                                                ; +0x1e0, 0x14010e040\ncall    GJEffectManager__getColorAction                                ; +0x1e7, 0x14010e047\nmov     rbx, rax                                                       ; +0x1ec, 0x14010e04c\nmovzx   ecx, word ptr [rax+48h]                                        ; +0x1ef, 0x14010e04f\nmov     word ptr [rsp+128h+var_104], cx                                ; +0x1f3, 0x14010e053\nmovzx   ecx, byte ptr [rax+4Ah]                                        ; +0x1f8, 0x14010e058\nmov     byte ptr [rsp+128h+var_104+2], cl                              ; +0x1fc, 0x14010e05c\nmov     r8, [rdi]                                                      ; +0x200, 0x14010e060\nlea     rdx, [rsp+128h+var_104]                                        ; +0x203, 0x14010e063\nmov     rcx, rdi                                                       ; +0x208, 0x14010e068\ncall    qword ptr [r8+590h]                                            ; +0x20b, 0x14010e06b\nmov     rcx, [rdi+458h]                                                ; +0x212, 0x14010e072\nmov     eax, [rbx+60h]                                                 ; +0x219, 0x14010e079\nmov     [rcx+8], eax                                                   ; +0x21c, 0x14010e07c\nmov     rbx, [rsp+128h+arg_38]                                         ; +0x21f, 0x14010e07f\nlea     rcx, [rdi+140h]                                                ; +0x227, 0x14010e087\nmov     rax, [rcx]                                                     ; +0x22e, 0x14010e08e\nmov     dl, 0FFh                                                       ; +0x231, 0x14010e091\ncall    qword ptr [rax+28h]                                            ; +0x233, 0x14010e093\ntest    rbx, rbx                                                       ; +0x236, 0x14010e096\njz      short loc_14010E0A7                                            ; +0x239, 0x14010e099\ncmp     r14, rbx                                                       ; +0x23b, 0x14010e09b\nsetz    al                                                             ; +0x23e, 0x14010e09e\nmov     [rdi+486h], al                                                 ; +0x241, 0x14010e0a1\ninc     esi                                                            ; +0x247, 0x14010e0a7\nmov     rcx, r12                                                       ; +0x249, 0x14010e0a9\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x24c, 0x14010e0ac\ncmp     esi, eax                                                       ; +0x252, 0x14010e0b2\njb      loc_14010DF53                                                  ; +0x254, 0x14010e0b4\nmov     r13, [rsp+128h+var_F0]                                         ; +0x25a, 0x14010e0ba\nmovzx   r14d, [rsp+128h+var_108]                                       ; +0x25f, 0x14010e0bf\nmovss   xmm1, cs:dword_14062350C                                       ; +0x265, 0x14010e0c5\nmovaps  xmm2, xmm1                                                     ; +0x26d, 0x14010e0cd\nlea     rcx, [rsp+128h+var_D8]                                         ; +0x270, 0x14010e0d0\ncall    cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x275, 0x14010e0d5\nlea     rdx, [rsp+128h+var_D8]                                         ; +0x27b, 0x14010e0db\nlea     rcx, [rsp+128h+var_F8]                                         ; +0x280, 0x14010e0e0\ncall    cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0x285, 0x14010e0e5\nmov     r8, rax                                                        ; +0x28b, 0x14010e0eb\nmovzx   r9d, r14b                                                      ; +0x28e, 0x14010e0ee\nmov     rdx, r12                                                       ; +0x292, 0x14010e0f2\nmov     rcx, r13                                                       ; +0x295, 0x14010e0f5\ncall    EditorUI__repositionObjectsToCenter                            ; +0x298, 0x14010e0f8\nmov     rdx, r12                                                       ; +0x29d, 0x14010e0fd\nmov     rcx, r13                                                       ; +0x2a0, 0x14010e100\ncall    EditorUI__deleteSmartBlocksFromObjects                         ; +0x2a3, 0x14010e103\nmov     esi, ebp                                                       ; +0x2a8, 0x14010e108\nmov     rcx, r12                                                       ; +0x2aa, 0x14010e10a\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x2ad, 0x14010e10d\ntest    eax, eax                                                       ; +0x2b3, 0x14010e113\njz      loc_14010E22E                                                  ; +0x2b5, 0x14010e115\nnop     dword ptr [rax+rax+00h]                                        ; +0x2bb, 0x14010e11b\nmov     edx, esi                                                       ; +0x2c0, 0x14010e120\nmov     rcx, r12                                                       ; +0x2c2, 0x14010e122\ncall    cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x2c5, 0x14010e125\nmov     rdi, rax                                                       ; +0x2cb, 0x14010e12b\ncmp     dword ptr [rax+40Ch], 811h                                     ; +0x2ce, 0x14010e12e\njnz     loc_14010E21B                                                  ; +0x2d8, 0x14010e138\nmovsxd  rax, dword ptr [rax+370h]                                      ; +0x2de, 0x14010e13e\ntest    eax, eax                                                       ; +0x2e5, 0x14010e145\njle     short loc_14010E174                                            ; +0x2e7, 0x14010e147\nmov     rcx, [r13+500h]                                                ; +0x2e9, 0x14010e149\nmov     rdx, rax                                                       ; +0x2f0, 0x14010e150\nmov     rcx, [rcx+0FC0h]                                               ; +0x2f3, 0x14010e153\ncall    cs:?objectForKey@CCDictionary@cocos2d@@QEAAPEAVCCObject@2@_J@Z; cocos2d::CCDictionary::objectForKey(__int64) ; +0x2fa, 0x14010e15a\ntest    rax, rax                                                       ; +0x300, 0x14010e160\njz      short loc_14010E174                                            ; +0x303, 0x14010e163\nmov     r8b, 1                                                         ; +0x305, 0x14010e165\nmov     rdx, rdi                                                       ; +0x308, 0x14010e168\nmov     rcx, rax                                                       ; +0x30b, 0x14010e16b\ncall    cs:?removeObject@CCArray@cocos2d@@QEAAXPEAVCCObject@2@_N@Z; cocos2d::CCArray::removeObject(cocos2d::CCObject *,bool) ; +0x30e, 0x14010e16e\nmovzx   eax, byte ptr [rdi+475h]                                       ; +0x314, 0x14010e174\nmov     [rdi+474h], al                                                 ; +0x31b, 0x14010e17b\nmov     rdx, rdi                                                       ; +0x321, 0x14010e181\nmov     rcx, r13                                                       ; +0x324, 0x14010e184\ncall    EditorUI__deselectObject                                       ; +0x327, 0x14010e187\nmov     rbx, [r13+500h]                                                ; +0x32c, 0x14010e18c\nmov     rax, [rdi]                                                     ; +0x333, 0x14010e193\nmov     dl, 1                                                          ; +0x336, 0x14010e196\nmov     rcx, rdi                                                       ; +0x338, 0x14010e198\ncall    qword ptr [rax+478h]                                           ; +0x33b, 0x14010e19b\nmov     rdx, rdi                                                       ; +0x341, 0x14010e1a1\nmov     rcx, rbx                                                       ; +0x344, 0x14010e1a4\ncall    GJBaseGameLayer__removeObjectFromSection                       ; +0x347, 0x14010e1a7\nmov     rdx, rdi                                                       ; +0x34c, 0x14010e1ac\nmov     rcx, rbx                                                       ; +0x34f, 0x14010e1af\ncall    LevelEditorLayer__removeSpecial                                ; +0x352, 0x14010e1b2\nmov     byte ptr [rbx+3B22h], 1                                        ; +0x357, 0x14010e1b7\nmov     dword ptr [r13+2A0h], 0FFFFFFFFh                               ; +0x35e, 0x14010e1be\nmov     rcx, [r13+2B8h]                                                ; +0x369, 0x14010e1c9\nmov     rax, [rcx]                                                     ; +0x370, 0x14010e1d0\ncall    qword ptr [rax+148h]                                           ; +0x373, 0x14010e1d3\ntest    al, al                                                         ; +0x379, 0x14010e1d9\njz      short loc_14010E1FB                                            ; +0x37b, 0x14010e1db\nmov     rcx, [r13+2B8h]                                                ; +0x37d, 0x14010e1dd\nmov     rax, [rcx]                                                     ; +0x384, 0x14010e1e4\nxor     edx, edx                                                       ; +0x387, 0x14010e1e7\ncall    qword ptr [rax+140h]                                           ; +0x389, 0x14010e1e9\nmov     rcx, [r13+2B8h]                                                ; +0x38f, 0x14010e1ef\ncall    GJRotationControl__finishTouch                                 ; +0x396, 0x14010e1f6\nmov     rcx, r13                                                       ; +0x39b, 0x14010e1fb\ncall    EditorUI__deactivateScaleControl                               ; +0x39e, 0x14010e1fe\nmov     rcx, r13                                                       ; +0x3a3, 0x14010e203\ncall    EditorUI__deactivateTransformControl                           ; +0x3a6, 0x14010e206\nmov     r8b, 1                                                         ; +0x3ab, 0x14010e20b\nmov     edx, esi                                                       ; +0x3ae, 0x14010e20e\nmov     rcx, r12                                                       ; +0x3b0, 0x14010e210\ncall    cs:?removeObjectAtIndex@CCArray@cocos2d@@QEAAXI_N@Z; cocos2d::CCArray::removeObjectAtIndex(uint,bool) ; +0x3b3, 0x14010e213\njmp     short loc_14010E21D                                            ; +0x3b9, 0x14010e219\ninc     esi                                                            ; +0x3bb, 0x14010e21b\nmov     rcx, r12                                                       ; +0x3bd, 0x14010e21d\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x3c0, 0x14010e220\ncmp     esi, eax                                                       ; +0x3c6, 0x14010e226\njb      loc_14010E120                                                  ; +0x3c8, 0x14010e228\nmov     esi, [rsp+128h+arg_20]                                         ; +0x3ce, 0x14010e22e\ntest    esi, esi                                                       ; +0x3d5, 0x14010e235\njle     short loc_14010E2A2                                            ; +0x3d7, 0x14010e237\nmov     rcx, r12                                                       ; +0x3d9, 0x14010e239\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x3dc, 0x14010e23c\ncmp     eax, esi                                                       ; +0x3e2, 0x14010e242\njbe     short loc_14010E2A2                                            ; +0x3e4, 0x14010e244\nmov     rcx, r12                                                       ; +0x3e6, 0x14010e246\ncall    cs:?lastObject@CCArray@cocos2d@@QEAAPEAVCCObject@2@XZ; cocos2d::CCArray::lastObject(void) ; +0x3e9, 0x14010e249\nmov     rbx, rax                                                       ; +0x3ef, 0x14010e24f\nmov     rdi, [r13+500h]                                                ; +0x3f2, 0x14010e252\ntest    rax, rax                                                       ; +0x3f9, 0x14010e259\njz      short loc_14010E28A                                            ; +0x3fc, 0x14010e25c\nmov     r8, [rax]                                                      ; +0x3fe, 0x14010e25e\nmov     dl, 1                                                          ; +0x401, 0x14010e261\nmov     rcx, rax                                                       ; +0x403, 0x14010e263\ncall    qword ptr [r8+478h]                                            ; +0x406, 0x14010e266\nmov     rdx, rbx                                                       ; +0x40d, 0x14010e26d\nmov     rcx, rdi                                                       ; +0x410, 0x14010e270\ncall    GJBaseGameLayer__removeObjectFromSection                       ; +0x413, 0x14010e273\nmov     rdx, rbx                                                       ; +0x418, 0x14010e278\nmov     rcx, rdi                                                       ; +0x41b, 0x14010e27b\ncall    LevelEditorLayer__removeSpecial                                ; +0x41e, 0x14010e27e\nmov     byte ptr [rdi+3B22h], 1                                        ; +0x423, 0x14010e283\nmov     dl, 1                                                          ; +0x42a, 0x14010e28a\nmov     rcx, r12                                                       ; +0x42c, 0x14010e28c\ncall    cs:?removeLastObject@CCArray@cocos2d@@QEAAX_N@Z; cocos2d::CCArray::removeLastObject(bool) ; +0x42f, 0x14010e28f\nmov     rcx, r12                                                       ; +0x435, 0x14010e295\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x438, 0x14010e298\ncmp     eax, esi                                                       ; +0x43e, 0x14010e29e\nja      short loc_14010E246                                            ; +0x440, 0x14010e2a0\nxorps   xmm9, xmm9                                                     ; +0x442, 0x14010e2a2\nxorps   xmm13, xmm13                                                   ; +0x446, 0x14010e2a6\nxorps   xmm11, xmm11                                                   ; +0x44a, 0x14010e2aa\nxorps   xmm12, xmm12                                                   ; +0x44e, 0x14010e2ae\nxorps   xmm10, xmm10                                                   ; +0x452, 0x14010e2b2\nmov     dword ptr [rsp+128h+var_F0], 1                                 ; +0x456, 0x14010e2b6\nmov     dword ptr [rsp+128h+var_F0+4], 303h                            ; +0x45e, 0x14010e2be\nmov     dword ptr [rsp+128h+var_F8], 302h                              ; +0x466, 0x14010e2c6\nmov     dword ptr [rsp+128h+var_F8+4], 1                               ; +0x46e, 0x14010e2ce\nmov     r14d, ebp                                                      ; +0x476, 0x14010e2d6\nmov     [rsp+128h+var_104], ebp                                        ; +0x479, 0x14010e2d9\nmov     rcx, r12                                                       ; +0x47d, 0x14010e2dd\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x480, 0x14010e2e0\ntest    eax, eax                                                       ; +0x486, 0x14010e2e6\njz      loc_14010E670                                                  ; +0x488, 0x14010e2e8\nmov     rbx, [rsp+128h+var_F0]                                         ; +0x48e, 0x14010e2ee\nmov     rdi, [rsp+128h+var_F8]                                         ; +0x493, 0x14010e2f3\nnop     dword ptr [rax+rax+00000000h]                                  ; +0x498, 0x14010e2f8\nmov     edx, r14d                                                      ; +0x4a0, 0x14010e300\nmov     rcx, r12                                                       ; +0x4a3, 0x14010e303\ncall    cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x4a6, 0x14010e306\nmov     r15, rax                                                       ; +0x4ac, 0x14010e30c\nmov     rsi, [r13+500h]                                                ; +0x4af, 0x14010e30f\ntest    rax, rax                                                       ; +0x4b6, 0x14010e316\njz      short loc_14010E347                                            ; +0x4b9, 0x14010e319\nmov     r8, [rax]                                                      ; +0x4bb, 0x14010e31b\nmov     dl, 1                                                          ; +0x4be, 0x14010e31e\nmov     rcx, rax                                                       ; +0x4c0, 0x14010e320\ncall    qword ptr [r8+478h]                                            ; +0x4c3, 0x14010e323\nmov     rdx, r15                                                       ; +0x4ca, 0x14010e32a\nmov     rcx, rsi                                                       ; +0x4cd, 0x14010e32d\ncall    GJBaseGameLayer__removeObjectFromSection                       ; +0x4d0, 0x14010e330\nmov     rdx, r15                                                       ; +0x4d5, 0x14010e335\nmov     rcx, rsi                                                       ; +0x4d8, 0x14010e338\ncall    LevelEditorLayer__removeSpecial                                ; +0x4db, 0x14010e33b\nmov     byte ptr [rsi+3B22h], 1                                        ; +0x4e0, 0x14010e340\nmov     rax, [r15]                                                     ; +0x4e7, 0x14010e347\nmov     rcx, r15                                                       ; +0x4ea, 0x14010e34a\ncall    qword ptr [rax+0C8h]                                           ; +0x4ed, 0x14010e34d\nlea     r8, [rsp+128h+var_D8]                                          ; +0x4f3, 0x14010e353\nlea     rdx, [rsp+128h+var_F8]                                         ; +0x4f8, 0x14010e358\nmov     rcx, rax                                                       ; +0x4fd, 0x14010e35d\ncall    cs:??GCCPoint@cocos2d@@QEBA?AV01@AEBV01@@Z; cocos2d::CCPoint::operator-(cocos2d::CCPoint const &) ; +0x500, 0x14010e360\nmov     rax, [r15]                                                     ; +0x506, 0x14010e366\nlea     rdx, [rsp+128h+var_F8]                                         ; +0x509, 0x14010e369\nmov     rcx, r15                                                       ; +0x50e, 0x14010e36e\ncall    qword ptr [rax+0B8h]                                           ; +0x511, 0x14010e371\nmov     ecx, [r15+470h]                                                ; +0x517, 0x14010e377\ntest    ecx, ecx                                                       ; +0x51e, 0x14010e37e\njnz     short loc_14010E389                                            ; +0x520, 0x14010e380\nmov     ecx, [r15+420h]                                                ; +0x522, 0x14010e382\nmov     eax, [r15+46Ch]                                                ; +0x529, 0x14010e389\ntest    eax, eax                                                       ; +0x530, 0x14010e390\njnz     short loc_14010E39B                                            ; +0x532, 0x14010e392\nmov     eax, [r15+464h]                                                ; +0x534, 0x14010e394\nimul    r8d, eax, 2710h                                                ; +0x53b, 0x14010e39b\nadd     r8d, ecx                                                       ; +0x542, 0x14010e3a2\nmov     rbp, [rsp+128h+var_E8]                                         ; +0x545, 0x14010e3a5\nmov     rax, [rbp+0]                                                   ; +0x54a, 0x14010e3aa\nmov     rdx, r15                                                       ; +0x54e, 0x14010e3ae\nmov     rcx, rbp                                                       ; +0x551, 0x14010e3b1\ncall    qword ptr [rax+1B8h]                                           ; +0x554, 0x14010e3b4\nmov     rax, [rsp+128h+var_E0]                                         ; +0x55a, 0x14010e3ba\ntest    rax, rax                                                       ; +0x55f, 0x14010e3bf\njz      short loc_14010E3D0                                            ; +0x562, 0x14010e3c2\nmov     rdx, r15                                                       ; +0x564, 0x14010e3c4\nmov     rcx, rax                                                       ; +0x567, 0x14010e3c7\ncall    cs:?addObject@CCArray@cocos2d@@QEAAXPEAVCCObject@2@@Z; cocos2d::CCArray::addObject(cocos2d::CCObject *) ; +0x56a, 0x14010e3ca\nmov     rdx, [r15+450h]                                                ; +0x570, 0x14010e3d0\nmov     rcx, r15                                                       ; +0x577, 0x14010e3d7\ncall    GameObject__shouldBlendColor                                   ; +0x57a, 0x14010e3da\nmovzx   ecx, al                                                        ; +0x57f, 0x14010e3df\nmov     [r15+37Ch], al                                                 ; +0x582, 0x14010e3e2\ncmp     qword ptr [r15+380h], 0                                        ; +0x589, 0x14010e3e9\njz      short loc_14010E430                                            ; +0x591, 0x14010e3f1\nmov     rdx, [r15+458h]                                                ; +0x593, 0x14010e3f3\nmov     r8d, [rdx+4]                                                   ; +0x59a, 0x14010e3fa\nmov     eax, [rdx]                                                     ; +0x59e, 0x14010e3fe\ncmp     r8d, eax                                                       ; +0x5a0, 0x14010e400\njz      short loc_14010E409                                            ; +0x5a3, 0x14010e403\ntest    eax, eax                                                       ; +0x5a5, 0x14010e405\njnz     short loc_14010E40C                                            ; +0x5a7, 0x14010e407\nmov     eax, r8d                                                       ; +0x5a9, 0x14010e409\ncmp     eax, 3F4h                                                      ; +0x5ac, 0x14010e40c\njnz     short loc_14010E418                                            ; +0x5b1, 0x14010e411\nmovzx   eax, cl                                                        ; +0x5b3, 0x14010e413\njmp     short loc_14010E428                                            ; +0x5b6, 0x14010e416\nmov     rcx, r15                                                       ; +0x5b8, 0x14010e418\ncall    GameObject__shouldBlendColor                                   ; +0x5bb, 0x14010e41b\nmovzx   ecx, byte ptr [r15+37Ch]                                       ; +0x5c0, 0x14010e420\ntest    al, al                                                         ; +0x5c8, 0x14010e428\njz      short loc_14010E430                                            ; +0x5ca, 0x14010e42a\nmov     al, 1                                                          ; +0x5cc, 0x14010e42c\njmp     short loc_14010E432                                            ; +0x5ce, 0x14010e42e\nxor     al, al                                                         ; +0x5d0, 0x14010e430\nmov     [r15+37Dh], al                                                 ; +0x5d2, 0x14010e432\nmov     rax, [r15+158h]                                                ; +0x5d9, 0x14010e439\nmov     r9, [rax]                                                      ; +0x5e0, 0x14010e440\ntest    cl, cl                                                         ; +0x5e3, 0x14010e443\nlea     rcx, [r15+158h]                                                ; +0x5e5, 0x14010e445\nmov     rdx, rdi                                                       ; +0x5ec, 0x14010e44c\njnz     short loc_14010E454                                            ; +0x5ef, 0x14010e44f\nmov     rdx, rbx                                                       ; +0x5f1, 0x14010e451\ncall    r9                                                             ; +0x5f4, 0x14010e454\nmov     rcx, [r15+380h]                                                ; +0x5f7, 0x14010e457\ntest    rcx, rcx                                                       ; +0x5fe, 0x14010e45e\njz      loc_14010E5A9                                                  ; +0x601, 0x14010e461\ncmp     byte ptr [r15+290h], 0                                         ; +0x607, 0x14010e467\njnz     loc_14010E5A9                                                  ; +0x60f, 0x14010e46f\nadd     rcx, 158h                                                      ; +0x615, 0x14010e475\nmov     rax, [rcx]                                                     ; +0x61c, 0x14010e47c\ncmp     byte ptr [r15+37Dh], 0                                         ; +0x61f, 0x14010e47f\nmov     rdx, rdi                                                       ; +0x627, 0x14010e487\njnz     short loc_14010E48F                                            ; +0x62a, 0x14010e48a\nmov     rdx, rbx                                                       ; +0x62c, 0x14010e48c\ncall    qword ptr [rax]                                                ; +0x62f, 0x14010e48f\nmovzx   ecx, byte ptr [r15+37Dh]                                       ; +0x631, 0x14010e491\ncmp     [r15+37Ch], cl                                                 ; +0x639, 0x14010e499\njnz     short loc_14010E4AF                                            ; +0x640, 0x14010e4a0\nmov     rcx, r15                                                       ; +0x642, 0x14010e4a2\ncall    GameObject__addColorSpriteToSelf                               ; +0x645, 0x14010e4a5\njmp     loc_14010E5A9                                                  ; +0x64a, 0x14010e4aa\nmov     eax, [r15+46Ch]                                                ; +0x64f, 0x14010e4af\ntest    eax, eax                                                       ; +0x656, 0x14010e4b6\njnz     short loc_14010E4C1                                            ; +0x658, 0x14010e4b8\nmov     eax, [r15+464h]                                                ; +0x65a, 0x14010e4ba\ntest    cl, cl                                                         ; +0x661, 0x14010e4c1\njz      short loc_14010E4D1                                            ; +0x663, 0x14010e4c3\ncmp     byte ptr [r15+425h], 0                                         ; +0x665, 0x14010e4c5\njz      short loc_14010E4D1                                            ; +0x66d, 0x14010e4cd\ninc     eax                                                            ; +0x66f, 0x14010e4cf\nmov     ecx, [r15+470h]                                                ; +0x671, 0x14010e4d1\ntest    ecx, ecx                                                       ; +0x678, 0x14010e4d8\njnz     short loc_14010E4E3                                            ; +0x67a, 0x14010e4da\nmov     ecx, [r15+420h]                                                ; +0x67c, 0x14010e4dc\nimul    r14d, eax, 2710h                                               ; +0x683, 0x14010e4e3\nadd     r14d, ecx                                                      ; +0x68a, 0x14010e4ea\nmov     byte ptr [r15+36Ah], 0                                         ; +0x68d, 0x14010e4ed\nmov     rsi, [r15+380h]                                                ; +0x695, 0x14010e4f5\nmov     rbp, [rsi]                                                     ; +0x69c, 0x14010e4fc\nmov     rax, [r15]                                                     ; +0x69f, 0x14010e4ff\nmov     rcx, r15                                                       ; +0x6a2, 0x14010e502\ncall    qword ptr [rax+80h]                                            ; +0x6a5, 0x14010e505\nmovaps  xmm1, xmm0                                                     ; +0x6ab, 0x14010e50b\nmov     rcx, rsi                                                       ; +0x6ae, 0x14010e50e\ncall    qword ptr [rbp+78h]                                            ; +0x6b1, 0x14010e511\nmov     rsi, [r15+380h]                                                ; +0x6b4, 0x14010e514\nmov     rbp, [rsi]                                                     ; +0x6bb, 0x14010e51b\nmov     rax, [r15]                                                     ; +0x6be, 0x14010e51e\nmov     rcx, r15                                                       ; +0x6c1, 0x14010e521\ncall    qword ptr [rax+90h]                                            ; +0x6c4, 0x14010e524\nmovaps  xmm1, xmm0                                                     ; +0x6ca, 0x14010e52a\nmov     rcx, rsi                                                       ; +0x6cd, 0x14010e52d\ncall    qword ptr [rbp+88h]                                            ; +0x6d0, 0x14010e530\nmov     rsi, [r15+380h]                                                ; +0x6d6, 0x14010e536\nmov     rbp, [rsi]                                                     ; +0x6dd, 0x14010e53d\nmov     rax, [r15]                                                     ; +0x6e0, 0x14010e540\nmov     rcx, r15                                                       ; +0x6e3, 0x14010e543\ncall    qword ptr [rax+158h]                                           ; +0x6e6, 0x14010e546\nmovaps  xmm1, xmm0                                                     ; +0x6ec, 0x14010e54c\nmov     rcx, rsi                                                       ; +0x6ef, 0x14010e54f\ncall    qword ptr [rbp+150h]                                           ; +0x6f2, 0x14010e552\nmov     rsi, [r15+380h]                                                ; +0x6f8, 0x14010e558\nmov     rbp, [rsi]                                                     ; +0x6ff, 0x14010e55f\nmov     rax, [r15]                                                     ; +0x702, 0x14010e562\nmov     rcx, r15                                                       ; +0x705, 0x14010e565\ncall    qword ptr [rax+0C8h]                                           ; +0x708, 0x14010e568\nmov     rdx, rax                                                       ; +0x70e, 0x14010e56e\nmov     rcx, rsi                                                       ; +0x711, 0x14010e571\ncall    qword ptr [rbp+0B8h]                                           ; +0x714, 0x14010e574\nmov     rcx, [r15+380h]                                                ; +0x71a, 0x14010e57a\nmov     rax, [rcx]                                                     ; +0x721, 0x14010e581\nxor     edx, edx                                                       ; +0x724, 0x14010e584\ncall    qword ptr [rax+1F8h]                                           ; +0x726, 0x14010e586\nmov     rcx, [rsp+128h+var_E8]                                         ; +0x72c, 0x14010e58c\nmov     rax, [rcx]                                                     ; +0x731, 0x14010e591\nmov     r8d, r14d                                                      ; +0x734, 0x14010e594\nmov     rdx, [r15+380h]                                                ; +0x737, 0x14010e597\ncall    qword ptr [rax+1B8h]                                           ; +0x73e, 0x14010e59e\nmov     r14d, [rsp+128h+var_104]                                       ; +0x744, 0x14010e5a4\nmov     rsi, [r15]                                                     ; +0x749, 0x14010e5a9\nmov     rcx, r15                                                       ; +0x74c, 0x14010e5ac\ncall    qword ptr [rsi+0C8h]                                           ; +0x74f, 0x14010e5af\nmov     rdx, rax                                                       ; +0x755, 0x14010e5b5\nlea     rcx, [rsp+128h+var_F0]                                         ; +0x758, 0x14010e5b8\ncall    cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0x75d, 0x14010e5bd\nmov     rdx, rax                                                       ; +0x763, 0x14010e5c3\nmov     rcx, r15                                                       ; +0x766, 0x14010e5c6\ncall    qword ptr [rsi+4B0h]                                           ; +0x769, 0x14010e5c9\nmov     rax, [r15]                                                     ; +0x76f, 0x14010e5cf\nmov     rcx, r15                                                       ; +0x772, 0x14010e5d2\ncall    qword ptr [rax+4A0h]                                           ; +0x775, 0x14010e5d5\nmov     rsi, rax                                                       ; +0x77b, 0x14010e5db\nmov     rcx, rax                                                       ; +0x77e, 0x14010e5de\ncall    cs:?getMinX@CCRect@cocos2d@@QEBAMXZ; cocos2d::CCRect::getMinX(void) ; +0x781, 0x14010e5e1\nmovaps  xmm6, xmm0                                                     ; +0x787, 0x14010e5e7\nmov     rcx, rsi                                                       ; +0x78a, 0x14010e5ea\ncall    cs:?getMaxX@CCRect@cocos2d@@QEBAMXZ; cocos2d::CCRect::getMaxX(void) ; +0x78d, 0x14010e5ed\nmovaps  xmm7, xmm0                                                     ; +0x793, 0x14010e5f3\nmov     rcx, rsi                                                       ; +0x796, 0x14010e5f6\ncall    cs:?getMinY@CCRect@cocos2d@@QEBAMXZ; cocos2d::CCRect::getMinY(void) ; +0x799, 0x14010e5f9\nmovaps  xmm8, xmm0                                                     ; +0x79f, 0x14010e5ff\nmov     rcx, rsi                                                       ; +0x7a3, 0x14010e603\ncall    cs:?getMaxY@CCRect@cocos2d@@QEBAMXZ; cocos2d::CCRect::getMaxY(void) ; +0x7a6, 0x14010e606\nucomiss xmm13, xmm9                                                    ; +0x7ac, 0x14010e60c\njp      short loc_14010E614                                            ; +0x7b0, 0x14010e610\njz      short loc_14010E61A                                            ; +0x7b2, 0x14010e612\ncomiss  xmm13, xmm6                                                    ; +0x7b4, 0x14010e614\njbe     short loc_14010E61E                                            ; +0x7b8, 0x14010e618\nmovaps  xmm13, xmm6                                                    ; +0x7ba, 0x14010e61a\nucomiss xmm11, xmm9                                                    ; +0x7be, 0x14010e61e\njp      short loc_14010E626                                            ; +0x7c2, 0x14010e622\njz      short loc_14010E62C                                            ; +0x7c4, 0x14010e624\ncomiss  xmm7, xmm11                                                    ; +0x7c6, 0x14010e626\njbe     short loc_14010E630                                            ; +0x7ca, 0x14010e62a\nmovaps  xmm11, xmm7                                                    ; +0x7cc, 0x14010e62c\nucomiss xmm12, xmm9                                                    ; +0x7d0, 0x14010e630\njp      short loc_14010E638                                            ; +0x7d4, 0x14010e634\njz      short loc_14010E63E                                            ; +0x7d6, 0x14010e636\ncomiss  xmm12, xmm8                                                    ; +0x7d8, 0x14010e638\njbe     short loc_14010E642                                            ; +0x7dc, 0x14010e63c\nmovaps  xmm12, xmm8                                                    ; +0x7de, 0x14010e63e\nucomiss xmm10, xmm9                                                    ; +0x7e2, 0x14010e642\njp      short loc_14010E64A                                            ; +0x7e6, 0x14010e646\njz      short loc_14010E650                                            ; +0x7e8, 0x14010e648\ncomiss  xmm0, xmm10                                                    ; +0x7ea, 0x14010e64a\njbe     short loc_14010E654                                            ; +0x7ee, 0x14010e64e\nmovaps  xmm10, xmm0                                                    ; +0x7f0, 0x14010e650\ninc     r14d                                                           ; +0x7f4, 0x14010e654\nmov     [rsp+128h+var_104], r14d                                       ; +0x7f7, 0x14010e657\nmov     rcx, r12                                                       ; +0x7fc, 0x14010e65c\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x7ff, 0x14010e65f\ncmp     r14d, eax                                                      ; +0x805, 0x14010e665\njb      loc_14010E300                                                  ; +0x808, 0x14010e668\nxor     ebp, ebp                                                       ; +0x80e, 0x14010e66e\nmov     rsi, [rsp+128h+var_E8]                                         ; +0x810, 0x14010e670\nmov     rbx, [rsi]                                                     ; +0x815, 0x14010e675\nsubss   xmm10, xmm12                                                   ; +0x818, 0x14010e678\nsubss   xmm11, xmm13                                                   ; +0x81d, 0x14010e67d\nmovaps  xmm2, xmm10                                                    ; +0x822, 0x14010e682\nmovaps  xmm1, xmm11                                                    ; +0x826, 0x14010e686\nlea     rcx, [rsp+128h+var_E0]                                         ; +0x82a, 0x14010e68a\ncall    cs:??0CCSize@cocos2d@@QEAA@MM@Z; cocos2d::CCSize::CCSize(float,float) ; +0x82f, 0x14010e68f\nmov     rdx, rax                                                       ; +0x835, 0x14010e695\nmov     rcx, rsi                                                       ; +0x838, 0x14010e698\ncall    qword ptr [rbx+128h]                                           ; +0x83b, 0x14010e69b\nmov     rcx, r12                                                       ; +0x841, 0x14010e6a1\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x844, 0x14010e6a4\ntest    eax, eax                                                       ; +0x84a, 0x14010e6aa\njz      short loc_14010E70D                                            ; +0x84c, 0x14010e6ac\nxchg    ax, ax                                                         ; +0x84e, 0x14010e6ae\nmov     edx, ebp                                                       ; +0x850, 0x14010e6b0\nmov     rcx, r12                                                       ; +0x852, 0x14010e6b2\ncall    cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x855, 0x14010e6b5\nmov     rdi, rax                                                       ; +0x85b, 0x14010e6bb\nmov     rbx, [rax]                                                     ; +0x85e, 0x14010e6be\nmov     rcx, rax                                                       ; +0x861, 0x14010e6c1\ncall    qword ptr [rbx+0C8h]                                           ; +0x864, 0x14010e6c4\nmov     r8, rax                                                        ; +0x86a, 0x14010e6ca\nlea     rdx, [rsp+128h+var_E0]                                         ; +0x86d, 0x14010e6cd\nmov     rcx, rsi                                                       ; +0x872, 0x14010e6d2\ncall    cs:?convertToNodeSpace@CCNode@cocos2d@@QEAA?AVCCPoint@2@AEBV32@@Z; cocos2d::CCNode::convertToNodeSpace(cocos2d::CCPoint const &) ; +0x875, 0x14010e6d5\nmov     rdx, rax                                                       ; +0x87b, 0x14010e6db\nmov     rcx, rdi                                                       ; +0x87e, 0x14010e6de\ncall    qword ptr [rbx+0B8h]                                           ; +0x881, 0x14010e6e1\nmov     r8, [rdi]                                                      ; +0x887, 0x14010e6e7\ncmp     byte ptr [rdi+516h], 0                                         ; +0x88a, 0x14010e6ea\nsetz    dl                                                             ; +0x891, 0x14010e6f1\nmov     rcx, rdi                                                       ; +0x894, 0x14010e6f4\ncall    qword ptr [r8+140h]                                            ; +0x897, 0x14010e6f7\ninc     ebp                                                            ; +0x89e, 0x14010e6fe\nmov     rcx, r12                                                       ; +0x8a0, 0x14010e700\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x8a3, 0x14010e703\ncmp     ebp, eax                                                       ; +0x8a9, 0x14010e709\njb      short loc_14010E6B0                                            ; +0x8ab, 0x14010e70b\nmov     rcx, [rsp+128h+var_D0]                                         ; +0x8ad, 0x14010e70d\ncall    sub_14003A830                                                  ; +0x8b2, 0x14010e712\nmov     rax, rsi                                                       ; +0x8b7, 0x14010e717\nmov     rcx, [rsp+128h+var_C0]                                         ; +0x8ba, 0x14010e71a\nxor     rcx, rsp; StackCookie                                          ; +0x8bf, 0x14010e71f\ncall    __security_check_cookie                                        ; +0x8c2, 0x14010e722\nlea     r11, [rsp+128h+var_38]                                         ; +0x8c7, 0x14010e727\nmov     rbx, [r11+50h]                                                 ; +0x8cf, 0x14010e72f\nmovaps  xmm6, xmmword ptr [r11-10h]                                    ; +0x8d3, 0x14010e733\nmovaps  xmm7, xmmword ptr [r11-20h]                                    ; +0x8d8, 0x14010e738\nmovaps  xmm8, xmmword ptr [r11-30h]                                    ; +0x8dd, 0x14010e73d\nmovaps  xmm9, xmmword ptr [r11-40h]                                    ; +0x8e2, 0x14010e742\nmovaps  xmm10, xmmword ptr [r11-50h]                                   ; +0x8e7, 0x14010e747\nmovaps  xmm11, xmmword ptr [r11-60h]                                   ; +0x8ec, 0x14010e74c\nmovaps  xmm12, xmmword ptr [r11-70h]                                   ; +0x8f1, 0x14010e751\nmovaps  xmm13, xmmword ptr [r11-80h]                                   ; +0x8f6, 0x14010e756\nmov     rsp, r11                                                       ; +0x8fb, 0x14010e75b\npop     r15                                                            ; +0x8fe, 0x14010e75e\npop     r14                                                            ; +0x900, 0x14010e760\npop     r13                                                            ; +0x902, 0x14010e762\npop     r12                                                            ; +0x904, 0x14010e764\npop     rdi                                                            ; +0x906, 0x14010e766\npop     rsi                                                            ; +0x907, 0x14010e767\npop     rbp                                                            ; +0x908, 0x14010e768\nretn                                                                   ; +0x909, 0x14010e769", "xrefs": ["EditorUI::menuItemFromObjectString @ 0x14010e7df", "GJSmartBlockPreview::addPreview @ 0x1402b6675", "KeyframeGameObject::updateShadowObjects @ 0x1404b55c7", "<???> @ 0x1406c8e08"], "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"}