{"type": "func", "start": 5370552944, "end": 5370563381, "name": "EditorUI::handleEditorAction", "pseudocode": "// \n// EditorUI::handleEditorAction from 0x1401c2270 to 0x1401c4b35 (10437 bytes)\n// \n// 2 xrefs:\n// > EditorUI::handleAction @ 0x1401c1d62\n// > <???> @ 0x14091a6f0\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 11:28:04 +0000\n// \n\n// Hidden C++ exception states: #wind=12\nchar __fastcall EditorUI::handleEditorAction(__int64 a1, int a2, __int64 a3)\n{\n  char v3; // bl\n  __int64 v6; // kr00_8\n  unsigned __int64 v7; // rdx\n  char result; // al\n  __int64 v9; // rax\n  __int64 v10; // rax\n  __int64 v11; // rax\n  __int64 v12; // rax\n  float v13; // xmm2_4\n  __int64 v14; // rax\n  size_t v15; // r15\n  int v16; // ebx\n  __int64 v17; // r8\n  __int64 v18; // rcx\n  __int64 v19; // rax\n  _QWORD *v20; // r14\n  float v21; // xmm1_4\n  _QWORD *v22; // rdi\n  bool v23; // al\n  __int64 v24; // rcx\n  double v25; // xmm0_8\n  float v26; // xmm8_4\n  __int64 v27; // rcx\n  __int64 v28; // rax\n  float v29; // xmm7_4\n  float v30; // xmm6_4\n  const struct cocos2d::CCPoint *v31; // rax\n  __int64 v32; // rbx\n  __int64 v33; // rax\n  __int64 v34; // xmm0_8\n  unsigned int v35; // ebx\n  int v36; // r14d\n  int v37; // r14d\n  int v38; // r14d\n  __int64 v39; // rcx\n  char GameVariable; // bl\n  _QWORD *v41; // rbx\n  bool hasSoundsForAction; // al\n  __int64 v43; // rcx\n  __int64 v44; // xmm0_8\n  char v45; // r8\n  __int64 v46; // rcx\n  __int64 v47; // rcx\n  __int64 v48; // rcx\n  char v49; // r8\n  char v50; // r9\n  __int64 v51; // rcx\n  __int64 v52; // r8\n  __int64 v53; // rdx\n  __int64 v54; // rcx\n  __int64 v55; // r8\n  __int64 v56; // rdx\n  char v57; // cl\n  __int64 v58; // rdx\n  __int64 v59; // rdx\n  _QWORD *v60; // rbx\n  bool v61; // al\n  __int64 v62; // rax\n  __int64 v63; // rax\n  __int64 v64; // r8\n  __int64 SelectedObjects; // rax\n  __int64 v66; // rax\n  __int64 v67; // r8\n  cocos2d::CCArray *v68; // rbx\n  __int64 v69; // rcx\n  __int64 v70; // r9\n  float *GroupCenter; // rax\n  __int64 v72; // rax\n  __int64 v73; // r11\n  unsigned __int64 v74; // r9\n  __int64 v75; // r10\n  __int64 v76; // rcx\n  int v77; // eax\n  __int64 v78; // rsi\n  cocos2d::CCString *v79; // rax\n  int v80; // r12d\n  void *v81; // r8\n  __int64 v82; // rcx\n  unsigned int v83; // r15d\n  unsigned __int8 v84; // al\n  __int64 v85; // rax\n  unsigned int v86; // esi\n  _DWORD *v87; // rdx\n  int v88; // ecx\n  int v89; // eax\n  int v90; // ecx\n  __int64 v91; // rax\n  __int64 v92; // rdx\n  __int64 v93; // rbx\n  int v94; // eax\n  int v95; // r8d\n  struct cocos2d::CCObject *v96; // rax\n  int v97; // r8d\n  __int64 v98; // r10\n  __int64 v99; // r8\n  __int64 v100; // rax\n  unsigned int v101; // esi\n  _DWORD *v102; // rdx\n  int v103; // ecx\n  int v104; // eax\n  int v105; // ecx\n  __int64 v106; // rax\n  __int64 v107; // rdx\n  struct cocos2d::CCObject *v108; // rax\n  int v109; // r8d\n  __int64 v110; // rax\n  unsigned int v111; // esi\n  _DWORD *v112; // rdx\n  int v113; // ecx\n  int v114; // eax\n  int v115; // ecx\n  __int64 v116; // rax\n  __int64 v117; // rdx\n  char v118; // al\n  cocos2d::CCArray *v119; // rbx\n  __int64 v120; // r14\n  float v121; // xmm6_4\n  struct cocos2d::CCObject *v122; // rax\n  double v123; // xmm0_8\n  double v124; // xmm0_8\n  cocos2d::CCArray *v125; // rbx\n  __int64 v126; // r14\n  float v127; // xmm6_4\n  struct cocos2d::CCObject *v128; // rax\n  double v129; // xmm0_8\n  double v130; // xmm0_8\n  struct cocos2d::CCObject *v131; // rcx\n  __int64 v132; // rbx\n  int v133; // eax\n  int v134; // r8d\n  __int64 v135; // rbx\n  void *v136; // rax\n  int v137; // r14d\n  int v138; // r14d\n  int v139; // r14d\n  __int64 v140; // rcx\n  _DWORD *v141; // rcx\n  int v142; // edx\n  int v143; // eax\n  int v144; // esi\n  _QWORD *v145; // rbx\n  bool v146; // al\n  __int64 v147; // rax\n  __int64 v148; // rcx\n  __int64 v149; // rcx\n  struct cocos2d::CCArray *v150; // rbx\n  __int64 v151; // rcx\n  __int64 v152; // rcx\n  int v153; // eax\n  void *v154; // [rsp+38h] [rbp-59h] BYREF\n  __int64 v155; // [rsp+40h] [rbp-51h] BYREF\n  float v156[2]; // [rsp+48h] [rbp-49h] BYREF\n  void *Block[2]; // [rsp+50h] [rbp-41h] BYREF\n  __int64 v158; // [rsp+60h] [rbp-31h]\n  unsigned __int64 v159; // [rsp+68h] [rbp-29h]\n  char Buffer[32]; // [rsp+70h] [rbp-21h] BYREF\n\n  v3 = a3;\n  v155 = a1;\n  v6 = (unsigned int)(a2 - 20001);\n  v7 = 0x140000000uLL;\n  switch ( v6 )\n  {\n    case 0LL:\n      if ( !(_BYTE)a3 )\n        return 1;\n      v9 = EditorSFXManager::sharedState();\n      EditorSFXManager::playAction(v9, 180);\n      LevelEditorLayer::undoLastAction(*(_QWORD *)(a1 + 1512));\n      goto LABEL_7;\n    case 1LL:\n      if ( !(_BYTE)a3 )\n        return 1;\n      v10 = EditorSFXManager::sharedState();\n      EditorSFXManager::playAction(v10, 181);\n      LevelEditorLayer::redoLastAction(*(_QWORD *)(a1 + 1512));\nLABEL_7:\n      EditorUI::updateButtons(a1);\n      if ( (*(unsigned __int8 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 808) + 344LL))(*(_QWORD *)(a1 + 808)) )\n      {\n        *(_BYTE *)(a1 + 824) = 1;\n        EditorUI::activateRotationControl(a1, 0);\n      }\n      EditorUI::updateSpecialUIElements(a1);\n      return 1;\n    case 2LL:\n      if ( !(_BYTE)a3 || !*(_QWORD *)(a1 + 1568) && !cocos2d::CCArray::count(*(cocos2d::CCArray **)(a1 + 944)) )\n        return 1;\n      v11 = EditorSFXManager::sharedState();\n      EditorSFXManager::playAction(v11, 110);\n      EditorUI::doCopyObjects(a1, 0);\n      return 1;\n    case 3LL:\n      if ( !(_BYTE)a3 )\n        return 1;\n      EditorUI::onPaste(a1, 0);\n      return 1;\n    case 4LL:\n      if ( !(_BYTE)a3 )\n        return 1;\n      EditorUI::onDuplicate(a1, 0);\n      return 1;\n    case 5LL:\n      if ( !(_BYTE)a3 )\n        return 1;\n      if ( *(_QWORD *)(a1 + 1568) || cocos2d::CCArray::count(*(cocos2d::CCArray **)(a1 + 944)) )\n      {\n        v12 = EditorSFXManager::sharedState();\n        EditorSFXManager::playAction(v12, 120);\n        EditorUI::createUndoSelectObject(a1, 0);\n      }\n      EditorUI::deselectAll(a1);\n      return 1;\n    case 6LL:\n    case 7LL:\n    case 8LL:\n    case 9LL:\n    case 10LL:\n    case 11LL:\n    case 12LL:\n    case 13LL:\n    case 14LL:\n    case 15LL:\n      if ( !(_BYTE)a3 )\n        return 1;\n      LOBYTE(a3) = 1;\n      sub_1401C4B40(&v155, (unsigned int)(a2 - 20007), a3);\n      return 1;\n    case 16LL:\n    case 17LL:\n    case 18LL:\n    case 19LL:\n    case 20LL:\n    case 21LL:\n    case 22LL:\n    case 23LL:\n    case 24LL:\n    case 25LL:\n      if ( !(_BYTE)a3 )\n        return 1;\n      sub_1401C4B40(&v155, (unsigned int)(a2 - 20017), 0);\n      return 1;\n    case 26LL:\n      if ( !(_BYTE)a3 )\n        return 1;\n      EditorUI::toggleMode(a1, *(_QWORD *)(a1 + 976));\n      return 1;\n    case 27LL:\n      if ( !(_BYTE)a3 )\n        return 1;\n      EditorUI::toggleMode(a1, *(_QWORD *)(a1 + 984));\n      return 1;\n    case 28LL:\n      if ( !(_BYTE)a3 )\n        return 1;\n      EditorUI::toggleMode(a1, *(_QWORD *)(a1 + 968));\n      return 1;\n    case 29LL:\n      if ( !(_BYTE)a3 )\n        return 1;\n      EditorUI::toggleMode(a1, *(_QWORD *)(a1 + 992));\n      return 1;\n    case 30LL:\n      if ( !(_BYTE)a3 )\n        return 1;\n      EditorUI::zoomIn(a1);\n      return 1;\n    case 31LL:\n      if ( !(_BYTE)a3 )\n        return 1;\n      EditorUI::zoomOut(a1);\n      return 1;\n    case 32LL:\n      if ( !(_BYTE)a3 )\n        return 1;\n      v13 = -10.0;\n      goto LABEL_43;\n    case 33LL:\n      if ( !(_BYTE)a3 )\n        return 1;\n      v13 = 10.0;\nLABEL_43:\n      cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v156, 0.0, v13);\n      EditorUI::moveGamelayer(a1, v14);\n      return 1;\n    case 34LL:\n      if ( !(_BYTE)a3 )\n        return 1;\n      EditorUI::onDeleteSelected(a1);\n      return 1;\n    case 35LL:\n      if ( !(_BYTE)a3 )\n        return 1;\n      EditorUI::activateTransformControl(a1, 0);\n      return 1;\n    case 36LL:\n      if ( !(_BYTE)a3 )\n        return 1;\n      EditorUI::transformObjectCall_1(a1, 37);\n      return 1;\n    case 37LL:\n      if ( !(_BYTE)a3 )\n        return 1;\n      EditorUI::transformObjectCall_1(a1, 38);\n      return 1;\n    case 38LL:\n      if ( !(_BYTE)a3 )\n        return 1;\n      EditorUI::transformObjectCall_1(a1, 40);\n      return 1;\n    case 39LL:\n      if ( !(_BYTE)a3 )\n        return 1;\n      EditorUI::transformObjectCall_1(a1, 39);\n      return 1;\n    case 40LL:\n    case 41LL:\n    case 42LL:\n    case 43LL:\n    case 44LL:\n    case 45LL:\n    case 46LL:\n    case 47LL:\n    case 94LL:\n    case 95LL:\n    case 96LL:\n    case 97LL:\n    case 98LL:\n    case 99LL:\n    case 100LL:\n    case 101LL:\n    case 102LL:\n    case 103LL:\n    case 104LL:\n    case 105LL:\n    case 106LL:\n    case 107LL:\n    case 108LL:\n    case 109LL:\n    case 177LL:\n    case 178LL:\n    case 179LL:\n    case 180LL:\n      if ( !(_BYTE)a3 )\n        return 1;\n      switch ( a2 )\n      {\n        case 20041:\n          EditorUI::moveObjectCall_1(a1, 5);\n          result = 1;\n          break;\n        case 20042:\n          EditorUI::moveObjectCall_1(a1, 6);\n          result = 1;\n          break;\n        case 20043:\n          EditorUI::moveObjectCall_1(a1, 7);\n          result = 1;\n          break;\n        case 20044:\n          EditorUI::moveObjectCall_1(a1, 8);\n          result = 1;\n          break;\n        case 20045:\n          EditorUI::moveObjectCall_1(a1, 1);\n          result = 1;\n          break;\n        case 20046:\n          EditorUI::moveObjectCall_1(a1, 2);\n          result = 1;\n          break;\n        case 20047:\n          EditorUI::moveObjectCall_1(a1, 3);\n          result = 1;\n          break;\n        case 20048:\n          EditorUI::moveObjectCall_1(a1, 4);\n          result = 1;\n          break;\n        case 20095:\n          EditorUI::moveObjectCall_1(a1, 17);\n          result = 1;\n          break;\n        case 20096:\n          EditorUI::moveObjectCall_1(a1, 18);\n          result = 1;\n          break;\n        case 20097:\n          EditorUI::moveObjectCall_1(a1, 19);\n          result = 1;\n          break;\n        case 20098:\n          EditorUI::moveObjectCall_1(a1, 20);\n          result = 1;\n          break;\n        case 20099:\n          EditorUI::moveObjectCall_1(a1, 21);\n          result = 1;\n          break;\n        case 20100:\n          EditorUI::moveObjectCall_1(a1, 22);\n          result = 1;\n          break;\n        case 20101:\n          EditorUI::moveObjectCall_1(a1, 23);\n          result = 1;\n          break;\n        case 20102:\n          EditorUI::moveObjectCall_1(a1, 24);\n          result = 1;\n          break;\n        case 20103:\n          EditorUI::moveObjectCall_1(a1, 25);\n          result = 1;\n          break;\n        case 20104:\n          EditorUI::moveObjectCall_1(a1, 26);\n          result = 1;\n          break;\n        case 20105:\n          EditorUI::moveObjectCall_1(a1, 27);\n          result = 1;\n          break;\n        case 20106:\n          EditorUI::moveObjectCall_1(a1, 28);\n          result = 1;\n          break;\n        case 20107:\n          EditorUI::moveObjectCall_1(a1, 9);\n          result = 1;\n          break;\n        case 20108:\n          EditorUI::moveObjectCall_1(a1, 10);\n          result = 1;\n          break;\n        case 20109:\n          EditorUI::moveObjectCall_1(a1, 11);\n          result = 1;\n          break;\n        case 20110:\n          EditorUI::moveObjectCall_1(a1, 12);\n          result = 1;\n          break;\n        case 20178:\n          EditorUI::moveObjectCall_1(a1, 33);\n          result = 1;\n          break;\n        case 20179:\n          EditorUI::moveObjectCall_1(a1, 34);\n          result = 1;\n          break;\n        case 20180:\n          EditorUI::moveObjectCall_1(a1, 35);\n          result = 1;\n          break;\n        case 20181:\n          EditorUI::moveObjectCall_1(a1, 36);\n          result = 1;\n          break;\n        default:\n          EditorUI::moveObjectCall_1(a1, 0);\n          result = 1;\n          break;\n      }\n      return result;\n    case 48LL:\n      if ( !(_BYTE)a3 )\n        return 1;\n      EditorUI::toggleEnableRotate(a1);\n      return 1;\n    case 49LL:\n      if ( !(_BYTE)a3 )\n        return 1;\n      EditorUI::toggleFreeMove(a1);\n      return 1;\n    case 50LL:\n      if ( !(_BYTE)a3 )\n        return 1;\n      EditorUI::toggleSwipe(a1);\n      return 1;\n    case 51LL:\n      if ( !(_BYTE)a3 )\n        return 1;\n      EditorUI::toggleSnap(a1);\n      return 1;\n    case 52LL:\n      if ( !(_BYTE)a3 || *(_DWORD *)(a1 + 752) != -1 )\n        return 1;\n      EditorUI::onPlayback(a1);\n      return 1;\n    case 53LL:\n      if ( !(_BYTE)a3 )\n        return 1;\n      v25 = (*(double (__fastcall **)(_QWORD))(**(_QWORD **)(*(_QWORD *)(a1 + 1512) + 4296LL) + 168LL))(*(_QWORD *)(*(_QWORD *)(a1 + 1512) + 4296LL));\n      v26 = *(float *)&v25;\n      v28 = cocos2d::CCDirector::sharedDirector(v27);\n      cocos2d::CCDirector::getWinSize(v28, &v155);\n      v29 = *(float *)&v155 * 0.5;\n      v30 = (float)(*(float *)(a1 + 904) * 0.5) + (float)(*((float *)&v155 + 1) * 0.5);\n      v31 = (const struct cocos2d::CCPoint *)(*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(*(_QWORD *)(a1 + 1512)\n                                                                                             + 4296LL)\n                                                                               + 200LL))(*(_QWORD *)(*(_QWORD *)(a1 + 1512) + 4296LL));\n      cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v156, v31);\n      v32 = *(_QWORD *)(a1 + 1512);\n      cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v154, (float)(v29 - v156[0]) / v26, (float)(v30 - v156[1]) / v26);\n      cocos2d::CCPoint::operator=(v32 + 15272, v33);\n      v158 = 15;\n      v34 = 0x2077656976657250LL;\n      Block[1] = (void *)0x2E64656B636F4CLL;\n      goto LABEL_475;\n    case 54LL:\n      if ( !(_BYTE)a3 )\n        return 1;\n      cocos2d::CCPoint::operator=(*(_QWORD *)(a1 + 1512) + 15272LL, &unk_14090A708);\n      *(_OWORD *)Block = 0;\n      Block[0] = sub_14003D460(0x20u);\n      v158 = 17;\n      v159 = 31;\n      strcpy((char *)Block[0], \"Preview Unlocked.\");\n      goto LABEL_476;\n    case 55LL:\n    case 57LL:\n    case 58LL:\n    case 152LL:\n    case 153LL:\n    case 154LL:\n    case 155LL:\n    case 156LL:\n    case 157LL:\n    case 158LL:\n    case 159LL:\n    case 160LL:\n    case 161LL:\n    case 162LL:\n    case 163LL:\n    case 164LL:\n    case 165LL:\n    case 166LL:\n    case 167LL:\n    case 168LL:\n    case 182LL:\n    case 183LL:\n      if ( !(_BYTE)a3 )\n        return 1;\n      switch ( a2 )\n      {\n        case 20056:\n          v35 = 9;\n          break;\n        case 20058:\n          v35 = 11;\n          break;\n        case 20059:\n          v35 = 10;\n          break;\n        case 20153:\n          v35 = 20;\n          break;\n        case 20154:\n          v35 = 8;\n          break;\n        case 20155:\n          v35 = 7;\n          break;\n        case 20156:\n          v35 = 6;\n          break;\n        case 20157:\n          v35 = 5;\n          break;\n        case 20158:\n          v35 = 4;\n          break;\n        case 20159:\n          v35 = 3;\n          break;\n        case 20160:\n          v35 = 2;\n          break;\n        case 20161:\n          v35 = 1;\n          break;\n        case 20162:\n          v35 = 12;\n          break;\n        case 20163:\n          v35 = 13;\n          break;\n        case 20164:\n          v35 = 14;\n          break;\n        case 20165:\n          v35 = 15;\n          break;\n        case 20166:\n          v35 = -16;\n          break;\n        case 20167:\n          v35 = 17;\n          break;\n        case 20168:\n          v35 = 18;\n          break;\n        case 20169:\n          v35 = 19;\n          break;\n        case 20183:\n          v35 = 21;\n          break;\n        case 20184:\n          v35 = 22;\n          break;\n        default:\n          v35 = 0;\n          break;\n      }\n      if ( !(unsigned __int8)EditorUI::toggleViewOption(a1, v35) )\n        return 1;\n      v36 = a2 - 20056;\n      if ( v36 )\n      {\n        v37 = v36 - 2;\n        if ( v37 )\n        {\n          v38 = v37 - 1;\n          if ( v38 )\n          {\n            if ( v38 == 94 )\n              v16 = 269;\n            else\n              v16 = 189;\n          }\n          else\n          {\n            v16 = 197;\n          }\n        }\n        else\n        {\n          v16 = 196;\n        }\n      }\n      else\n      {\n        v16 = 195;\n      }\n      goto LABEL_126;\n    case 56LL:\n      if ( !(_BYTE)a3 )\n        return 1;\n      if ( !qword_14090BFD0 )\n      {\n        v154 = operator new(0x6E8u);\n        qword_14090BFD0 = GameManager::GameManager(v154);\n        (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFD0 + 72LL))(qword_14090BFD0);\n      }\n      GameManager::toggleGameVariable(a1, \"0137\");\n      LevelEditorLayer::updatePreviewParticles(*(_QWORD *)(a1 + 1512));\n      v39 = qword_14090BFD0;\n      if ( !qword_14090BFD0 )\n      {\n        v154 = operator new(0x6E8u);\n        qword_14090BFD0 = GameManager::GameManager(v154);\n        (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFD0 + 72LL))(qword_14090BFD0);\n        v39 = qword_14090BFD0;\n      }\n      GameVariable = GameManager::getGameVariable(v39, \"0137\");\n      *(_OWORD *)Block = 0;\n      Block[0] = sub_14003D460(0x20u);\n      v158 = 16;\n      v159 = 31;\n      strcpy((char *)Block[0], \"Particle Icons: \");\n      EditorUI::showTextAlert(a1, Block, GameVariable ^ 1, 0, 0);\n      v41 = (_QWORD *)EditorSFXManager::sharedState();\n      hasSoundsForAction = EditorSFXManager::hasSoundsForAction(v41, 198);\n      v24 = (__int64)v41;\n      if ( !hasSoundsForAction )\n        goto LABEL_436;\n      EditorSFXManager::playAction((__int64)v41, 198);\n      return 1;\n    case 59LL:\n      if ( !(_BYTE)a3 )\n        return 1;\n      v46 = qword_14090BFD0;\n      if ( !qword_14090BFD0 )\n      {\n        v154 = operator new(0x6E8u);\n        qword_14090BFD0 = GameManager::GameManager(v154);\n        (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFD0 + 72LL))(qword_14090BFD0);\n        v46 = qword_14090BFD0;\n      }\n      if ( !(unsigned __int8)GameManager::getGameVariable(v46, \"0097\") )\n        return 1;\n      if ( !qword_14090BFD0 )\n      {\n        v154 = operator new(0x6E8u);\n        qword_14090BFD0 = GameManager::GameManager(v154);\n        (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFD0 + 72LL))(qword_14090BFD0);\n      }\n      GameManager::toggleGameVariable(v47, \"0180\");\n      v48 = qword_14090BFD0;\n      if ( !qword_14090BFD0 )\n      {\n        v154 = operator new(0x6E8u);\n        qword_14090BFD0 = GameManager::GameManager(v154);\n        (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFD0 + 72LL))(qword_14090BFD0);\n        v48 = qword_14090BFD0;\n      }\n      *(_BYTE *)(a1 + 916) = GameManager::getGameVariable(v48, \"0180\");\n      EditorUI::updateButtons(a1);\n      v158 = 11;\n      v159 = 15;\n      Block[0] = (void *)0x646F4D206B6E694CLL;\n      Block[1] = (void *)2112101;\n      v49 = *(_BYTE *)(a1 + 916) == 0;\n      v50 = 0;\n      goto LABEL_477;\n    case 60LL:\n      if ( !(_BYTE)a3 || cocos2d::CCArray::count(*(cocos2d::CCArray **)(a1 + 944)) )\n        return 1;\n      v51 = *(_QWORD *)(a1 + 1568);\n      v52 = *(_QWORD *)(a1 + 1512);\n      if ( !v51 || (v53 = *(_QWORD *)(v52 + 15528)) != 0 && *(_DWORD *)(v53 + 924) == *(_DWORD *)(v51 + 924) )\n        v51 = 0;\n      *(_QWORD *)(v52 + 15528) = v51;\n      Block[1] = (void *)8250;\n      v158 = 10;\n      v159 = 15;\n      Block[0] = (void *)0x6E49206563617254LL;\n      v49 = *(_QWORD *)(*(_QWORD *)(a1 + 1512) + 15528LL) != 0;\n      v50 = 0;\n      goto LABEL_477;\n    case 61LL:\n      if ( !(_BYTE)a3 || cocos2d::CCArray::count(*(cocos2d::CCArray **)(a1 + 944)) )\n        return 1;\n      v54 = *(_QWORD *)(a1 + 1568);\n      if ( v54 && *(_DWORD *)(v54 + 1256) == 1 )\n      {\n        v55 = *(_QWORD *)(a1 + 1512);\n        v56 = *(_QWORD *)(v55 + 15536);\n        if ( v56 && *(_DWORD *)(v56 + 924) == *(_DWORD *)(v54 + 924) )\n          v54 = 0;\n        *(_QWORD *)(v55 + 15536) = v54;\n      }\n      else\n      {\n        *(_QWORD *)(*(_QWORD *)(a1 + 1512) + 15536LL) = 0;\n      }\n      v158 = 11;\n      v159 = 15;\n      Block[0] = (void *)0x754F206563617254LL;\n      Block[1] = (void *)2112116;\n      v49 = *(_QWORD *)(*(_QWORD *)(a1 + 1512) + 15536LL) != 0;\n      v50 = 0;\n      goto LABEL_477;\n    case 62LL:\n      if ( !(_BYTE)a3 )\n        return 1;\n      ++*(_WORD *)(*(_QWORD *)(a1 + 1512) + 14866LL);\n      EditorUI::updateGroupIDLabel(a1, 0x140000000LL, a3);\n      return 1;\n    case 63LL:\n      if ( !(_BYTE)a3 )\n        return 1;\n      v76 = *(_QWORD *)(a1 + 1512);\n      v77 = *(__int16 *)(v76 + 14866) - 1;\n      if ( v77 < -1 )\n        LOWORD(v77) = -1;\n      *(_WORD *)(v76 + 14866) = v77;\n      EditorUI::updateGroupIDLabel(a1, 0x140000000LL, a3);\n      return 1;\n    case 64LL:\n      if ( !(_BYTE)a3 )\n        return 1;\n      EditorUI::onTargetIDChange(a1, 1);\n      return 1;\n    case 65LL:\n      if ( !(_BYTE)a3 )\n        return 1;\n      EditorUI::onTargetIDChange(a1, -1);\n      return 1;\n    case 68LL:\n      *(_BYTE *)(a1 + 736) = a3;\n      return 1;\n    case 69LL:\n      if ( !(_BYTE)a3 || !*(_QWORD *)(a1 + 1568) && !cocos2d::CCArray::count(*(cocos2d::CCArray **)(a1 + 944)) )\n        return 1;\n      v100 = cocos2d::CCDirector::sharedDirector(a1);\n      v101 = 0;\n      if ( !*(_BYTE *)((*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v100 + 176LL))(v100) + 157) )\n      {\n        v102 = *(_DWORD **)(a1 + 1512);\n        ++v102[3855];\n        v103 = v102[3876];\n        if ( v103 >= 0 )\n        {\n          v104 = v102[3860] - v103;\n          v105 = 0;\n          if ( v104 > 1 )\n          {\n            do\n            {\n              if ( v105 >= 7 )\n                break;\n              v104 = (unsigned int)v104 >> 1;\n              ++v105;\n            }\n            while ( (unsigned int)v104 > 1 );\n          }\n          ++v102[v105 + 3868];\n        }\n        v102[3876] = v102[3860];\n      }\n      v106 = EditorSFXManager::sharedState();\n      EditorSFXManager::playAction(v106, 130);\n      EditorUI::createUndoObject(a1, v107, 0);\n      if ( (*(unsigned __int8 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 840) + 344LL))(*(_QWORD *)(a1 + 840)) )\n      {\n        GJTransformControl::applyRotation(*(_QWORD *)(a1 + 840), *(float *)(*(_QWORD *)(a1 + 840) + 608LL) - 45.0);\n        return 1;\n      }\n      cocos2d::CCArray::count(*(cocos2d::CCArray **)(a1 + 944));\n      if ( cocos2d::CCArray::count(*(cocos2d::CCArray **)(a1 + 944)) )\n        goto LABEL_345;\n      if ( !cocos2d::CCArray::count(*(cocos2d::CCArray **)(a1 + 944)) )\n      {\n        if ( isSpecialSnapObject(*(_DWORD *)(*(_QWORD *)(a1 + 1568) + 1036LL)) || v109 == 2900 )\n          *(_BYTE *)(a1 + 740) = 1;\n        v99 = 42;\n        goto LABEL_375;\n      }\n      if ( !cocos2d::CCArray::count(*(cocos2d::CCArray **)(a1 + 944)) )\n        return 1;\n      do\n      {\n        v108 = cocos2d::CCArray::objectAtIndex(*(cocos2d::CCArray **)(a1 + 944), v101);\n        EditorUI::transformObject(a1, v108, 42, 0);\n        ++v101;\n      }\n      while ( v101 < cocos2d::CCArray::count(*(cocos2d::CCArray **)(a1 + 944)) );\n      return 1;\n    case 70LL:\n      if ( !(_BYTE)a3 || !*(_QWORD *)(a1 + 1568) && !cocos2d::CCArray::count(*(cocos2d::CCArray **)(a1 + 944)) )\n        return 1;\n      v85 = cocos2d::CCDirector::sharedDirector(a1);\n      v86 = 0;\n      if ( !*(_BYTE *)((*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v85 + 176LL))(v85) + 157) )\n      {\n        v87 = *(_DWORD **)(a1 + 1512);\n        ++v87[3855];\n        v88 = v87[3876];\n        if ( v88 >= 0 )\n        {\n          v89 = v87[3860] - v88;\n          v90 = 0;\n          if ( v89 > 1 )\n          {\n            do\n            {\n              if ( v90 >= 7 )\n                break;\n              v89 = (unsigned int)v89 >> 1;\n              ++v90;\n            }\n            while ( (unsigned int)v89 > 1 );\n          }\n          ++v87[v90 + 3868];\n        }\n        v87[3876] = v87[3860];\n      }\n      v91 = EditorSFXManager::sharedState();\n      EditorSFXManager::playAction(v91, 130);\n      EditorUI::createUndoObject(a1, v92, 0);\n      if ( (*(unsigned __int8 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 840) + 344LL))(*(_QWORD *)(a1 + 840)) )\n      {\n        GJTransformControl::applyRotation(*(_QWORD *)(a1 + 840), *(float *)(*(_QWORD *)(a1 + 840) + 608LL) + 45.0);\n        return 1;\n      }\n      cocos2d::CCArray::count(*(cocos2d::CCArray **)(a1 + 944));\n      if ( cocos2d::CCArray::count(*(cocos2d::CCArray **)(a1 + 944)) )\n      {\nLABEL_345:\n        v93 = *(_QWORD *)(a1 + 944);\n        cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v154, (const struct cocos2d::CCPoint *)&unk_14090A7A8);\n        EditorUI::rotateObjects(a1, v93, v95, v94, 0);\n        return 1;\n      }\n      if ( cocos2d::CCArray::count(*(cocos2d::CCArray **)(a1 + 944)) )\n      {\n        if ( !cocos2d::CCArray::count(*(cocos2d::CCArray **)(a1 + 944)) )\n          return 1;\n        do\n        {\n          v96 = cocos2d::CCArray::objectAtIndex(*(cocos2d::CCArray **)(a1 + 944), v86);\n          EditorUI::transformObject(a1, v96, 41, 0);\n          ++v86;\n        }\n        while ( v86 < cocos2d::CCArray::count(*(cocos2d::CCArray **)(a1 + 944)) );\n        return 1;\n      }\n      else\n      {\n        if ( isSpecialSnapObject(*(_DWORD *)(*(_QWORD *)(a1 + 1568) + 1036LL)) || v97 == 2900 )\n          *(_BYTE *)(a1 + 740) = 1;\n        v99 = 41;\nLABEL_375:\n        EditorUI::transformObject(a1, v98, v99, 0);\n        *(_BYTE *)(a1 + 740) = 0;\n        return 1;\n      }\n    case 71LL:\n      if ( !(_BYTE)a3 || !*(_QWORD *)(a1 + 1568) && !cocos2d::CCArray::count(*(cocos2d::CCArray **)(a1 + 944)) )\n        return 1;\n      v110 = cocos2d::CCDirector::sharedDirector(a1);\n      v111 = 0;\n      if ( !*(_BYTE *)((*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v110 + 176LL))(v110) + 157) )\n      {\n        v112 = *(_DWORD **)(a1 + 1512);\n        ++v112[3855];\n        v113 = v112[3876];\n        if ( v113 >= 0 )\n        {\n          v114 = v112[3860] - v113;\n          v115 = 0;\n          if ( v114 > 1 )\n          {\n            do\n            {\n              if ( v115 >= 7 )\n                break;\n              v114 = (unsigned int)v114 >> 1;\n              ++v115;\n            }\n            while ( (unsigned int)v114 > 1 );\n          }\n          ++v112[v115 + 3868];\n        }\n        v112[3876] = v112[3860];\n      }\n      v116 = EditorSFXManager::sharedState();\n      EditorSFXManager::playAction(v116, 131);\n      EditorUI::createUndoObject(a1, v117, 0);\n      v118 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 840) + 344LL))(*(_QWORD *)(a1 + 840));\n      v119 = *(cocos2d::CCArray **)(a1 + 944);\n      if ( v118 )\n      {\n        v120 = *(_QWORD *)(a1 + 1568);\n        v121 = -1.0;\n        if ( v119 && cocos2d::CCArray::count(*(cocos2d::CCArray **)(a1 + 944)) )\n        {\n          if ( cocos2d::CCArray::count(v119) )\n          {\n            do\n            {\n              v122 = cocos2d::CCArray::objectAtIndex(v119, v111);\n              v123 = LevelEditorLayer::rotationForSlopeNearObject(*(_QWORD *)(a1 + 1512), v122);\n              v121 = *(float *)&v123;\n              if ( *(float *)&v123 != -1.0 )\n                break;\n              ++v111;\n            }\n            while ( v111 < cocos2d::CCArray::count(v119) );\n          }\n        }\n        else if ( v120 )\n        {\n          v124 = LevelEditorLayer::rotationForSlopeNearObject(*(_QWORD *)(a1 + 1512), v120);\n          v121 = *(float *)&v124;\n        }\n        if ( v121 != -1.0 )\n        {\n          GJTransformControl::applyRotation(*(_QWORD *)(a1 + 840), v121);\n          return 1;\n        }\n      }\n      else\n      {\n        cocos2d::CCArray::count(*(cocos2d::CCArray **)(a1 + 944));\n        cocos2d::CCArray::count(*(cocos2d::CCArray **)(a1 + 944));\n        v125 = *(cocos2d::CCArray **)(a1 + 944);\n        v126 = *(_QWORD *)(a1 + 1568);\n        v127 = -1.0;\n        if ( v125 && cocos2d::CCArray::count(*(cocos2d::CCArray **)(a1 + 944)) )\n        {\n          if ( cocos2d::CCArray::count(v125) )\n          {\n            do\n            {\n              v128 = cocos2d::CCArray::objectAtIndex(v125, v111);\n              v129 = LevelEditorLayer::rotationForSlopeNearObject(*(_QWORD *)(a1 + 1512), v128);\n              v127 = *(float *)&v129;\n              if ( *(float *)&v129 != -1.0 )\n                break;\n              ++v111;\n            }\n            while ( v111 < cocos2d::CCArray::count(v125) );\n          }\n        }\n        else if ( v126 )\n        {\n          v130 = LevelEditorLayer::rotationForSlopeNearObject(*(_QWORD *)(a1 + 1512), v126);\n          v127 = *(float *)&v130;\n        }\n        if ( v127 != -1.0 )\n        {\n          v131 = *(struct cocos2d::CCObject **)(a1 + 1568);\n          if ( v131 )\n            LODWORD(v132) = (unsigned int)cocos2d::CCArray::createWithObject(v131);\n          else\n            v132 = *(_QWORD *)(a1 + 944);\n          cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v154, (const struct cocos2d::CCPoint *)&unk_14090A7A8);\n          EditorUI::rotateObjects(a1, v132, v134, v133, 0);\n          return 1;\n        }\n      }\n      return 1;\n    case 72LL:\n    case 73LL:\n      if ( !(_BYTE)a3 )\n        return 1;\n      v135 = cocos2d::CCNode::create();\n      (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v135 + 64LL))(v135, (unsigned int)(a2 != 20073) + 45);\n      EditorUI::activateScaleControl(a1, v135);\n      return 1;\n    case 77LL:\n      if ( !(_BYTE)a3 )\n        return 1;\n      EditorUI::editObject(a1);\n      return 1;\n    case 78LL:\n      if ( !(_BYTE)a3 )\n        return 1;\n      EditorUI::editGroup(a1);\n      return 1;\n    case 79LL:\n      if ( !(_BYTE)a3 )\n        return 1;\n      EditorUI::editObjectSpecial(a1);\n      return 1;\n    case 80LL:\n      if ( !(_BYTE)a3 )\n        return 1;\n      EditorUI::onCopyState(a1, 0);\n      return 1;\n    case 81LL:\n      if ( !(_BYTE)a3 )\n        return 1;\n      EditorUI::onPasteState(a1, 0);\n      return 1;\n    case 82LL:\n      if ( !(_BYTE)a3 )\n        return 1;\n      EditorUI::onPasteColor(a1, 0);\n      return 1;\n    case 83LL:\n    case 84LL:\n    case 117LL:\n    case 144LL:\n    case 145LL:\n      if ( !(_BYTE)a3 )\n        return 1;\n      v15 = -1;\n      switch ( a2 )\n      {\n        case 20118:\n          EditorUI::setCustomGridEnabled(a1, *(_BYTE *)(a1 + 704) == 0);\n          v16 = 203 - (*(_BYTE *)(a1 + 704) != 0);\n          break;\n        case 20084:\n          EditorUI::cycleCustomGridPreset(a1, 1, a3);\n          v16 = 200;\n          break;\n        case 20085:\n          EditorUI::cycleCustomGridPreset(a1, 0, a3);\n          v16 = 201;\n          break;\n        case 20145:\n          EditorUI::adjustCustomGridSize(a1, 1, a3);\n          v16 = 204;\n          break;\n        default:\n          EditorUI::adjustCustomGridSize(a1, -1, a3);\n          v16 = 205;\n          break;\n      }\n      v17 = *(_QWORD *)(a1 + 624);\n      v18 = *(_QWORD *)(v17 + 16 * (*(_QWORD *)(a1 + 648) & 0xCD3AC65E44F721B1uLL) + 8);\n      v19 = *(_QWORD *)(a1 + 608);\n      if ( v18 == v19 )\n        goto LABEL_111;\n      v17 = *(_QWORD *)(v17 + 16 * (*(_QWORD *)(a1 + 648) & 0xCD3AC65E44F721B1uLL));\n      if ( *(_DWORD *)(v18 + 16) == 4 )\n        goto LABEL_112;\n      break;\n    case 85LL:\n      if ( !(_BYTE)a3 )\n        return 1;\n      v148 = *(_QWORD *)(a1 + 1512);\n      if ( *(_DWORD *)(*(_QWORD *)(v148 + 2168) + 1220LL) != 2 )\n        return 1;\n      if ( *(_DWORD *)(v148 + 2204) )\n        goto LABEL_465;\n      if ( !(unsigned __int8)LevelEditorLayer::saveLevel() )\n        return 1;\n      *(_OWORD *)Block = 0;\n      v158 = 12;\n      v34 = 0x6153206C6576654CLL;\n      strcpy((char *)&Block[1], \"ved.\");\n      goto LABEL_475;\n    case 87LL:\n      if ( !(_BYTE)a3 )\n        return 1;\n      EditorUI::dynamicGroupUpdate(a1, 0);\n      return 1;\n    case 88LL:\n      if ( !(_BYTE)a3 )\n        return 1;\n      EditorUI::createLoop(a1);\n      return 1;\n    case 89LL:\n      if ( !(_BYTE)a3 )\n        return 1;\n      SelectedObjects = EditorUI::getSelectedObjects(a1, 0x140000000uLL);\n      EditorUI::alignObjects(a1, SelectedObjects, 0);\n      return 1;\n    case 90LL:\n      if ( !(_BYTE)a3 )\n        return 1;\n      v66 = EditorUI::getSelectedObjects(a1, 0x140000000uLL);\n      LOBYTE(v67) = 1;\n      EditorUI::alignObjects(a1, v66, v67);\n      return 1;\n    case 91LL:\n      if ( !(_BYTE)a3 )\n        return 1;\n      EditorUI::selectAll(a1, 0x140000000uLL);\n      return 1;\n    case 92LL:\n      if ( !(_BYTE)a3 )\n        return 1;\n      LOBYTE(v7) = 1;\n      EditorUI::selectAllWithDirection(a1, v7);\n      return 1;\n    case 93LL:\n      if ( !(_BYTE)a3 )\n        return 1;\n      EditorUI::selectAllWithDirection(a1, 0);\n      return 1;\n    case 111LL:\n      if ( !(_BYTE)a3 )\n        return 1;\n      EditorUI::selectBuildTab(a1, *(_DWORD *)(a1 + 1608) - 1);\n      return 1;\n    case 112LL:\n      if ( !(_BYTE)a3 )\n        return 1;\n      EditorUI::selectBuildTab(a1, *(_DWORD *)(a1 + 1608) + 1);\n      return 1;\n    case 113LL:\n      if ( (_BYTE)a3 )\n        goto LABEL_459;\n      return 1;\n    case 114LL:\n      if ( !(_BYTE)a3 )\n        return 1;\nLABEL_459:\n      (*(void (**)(void))(*(_QWORD *)(a1 + 352) + 16LL))();\n      return 1;\n    case 115LL:\n      if ( !(_BYTE)a3 )\n        return 1;\n      v57 = *(_BYTE *)(a1 + 1661);\n      *(_BYTE *)(a1 + 1661) = v57 == 0;\n      *(_BYTE *)(a1 + 1662) = 0;\n      if ( v57 )\n      {\n        LOBYTE(v7) = *(_DWORD *)(a1 + 1508) == 1;\n        (*(void (__fastcall **)(_QWORD, unsigned __int64))(**(_QWORD **)(a1 + 952) + 336LL))(*(_QWORD *)(a1 + 952), v7);\n        EditorUI::updateDeleteButtons(a1);\n        EditorUI::updateCreateMenu(a1, 0);\n        EditorUI::updateEditMenu(a1, v58);\n        if ( *(_BYTE *)(a1 + 1661) || *(_DWORD *)(a1 + 1508) != 4 )\n          v59 = 0;\n        else\n          LOBYTE(v59) = 1;\n        (*(void (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 1432) + 336LL))(*(_QWORD *)(a1 + 1432), v59);\n      }\n      EditorUI::showUI(a1, *(_BYTE *)(a1 + 1661) == 0);\n      v60 = (_QWORD *)EditorSFXManager::sharedState();\n      v61 = EditorSFXManager::hasSoundsForAction(v60, 194);\n      v24 = (__int64)v60;\n      if ( !v61 )\n        goto LABEL_436;\n      EditorSFXManager::playAction((__int64)v60, 194);\n      return 1;\n    case 116LL:\n      if ( !(_BYTE)a3 || !*(_QWORD *)(a1 + 1664) )\n        return 1;\n      EditorUI::setDpadStep(a1, (unsigned int)((*(_DWORD *)(a1 + 1672) + 1) % 9));\n      return 1;\n    case 118LL:\n      if ( !(_BYTE)a3 || *(_BYTE *)(a1 + 1660) )\n        return 1;\n      EditorUI::toggleWindow((_QWORD *)a1, 1);\n      return 1;\n    case 119LL:\n      if ( !(_BYTE)a3 )\n        return 1;\n      v62 = EditorUI::getSelectedObjects(a1, 0x140000000uLL);\n      EditorUI::alignObjectsOnAxis(a1, v62, 0);\n      return 1;\n    case 120LL:\n      if ( !(_BYTE)a3 )\n        return 1;\n      v63 = EditorUI::getSelectedObjects(a1, 0x140000000uLL);\n      LOBYTE(v64) = 1;\n      EditorUI::alignObjectsOnAxis(a1, v63, v64);\n      return 1;\n    case 121LL:\n      if ( !(_BYTE)a3 )\n        return 1;\n      EditorUI::createGradientFromSelection(a1);\n      return 1;\n    case 122LL:\n      if ( !(_BYTE)a3 )\n        return 1;\n      EditorUI::dynamicGroupUpdate(a1, 1);\n      return 1;\n    case 123LL:\n      if ( !(_BYTE)a3 )\n        return 1;\n      EditorUI::assignNewGroups(a1, 0);\n      return 1;\n    case 124LL:\n      if ( !(_BYTE)a3 )\n        return 1;\n      EditorUI::assignNewGroups(a1, 1);\n      return 1;\n    case 125LL:\n      if ( !(_BYTE)a3 )\n        return 1;\n      LOBYTE(v7) = 1;\n      EditorUI::doCopyObjects(a1, v7);\n      return 1;\n    case 126LL:\n      if ( !(_BYTE)a3 )\n        return 1;\n      LOBYTE(v7) = 1;\n      EditorUI::doPasteObjects(a1, v7);\n      return 1;\n    case 127LL:\n      if ( !(_BYTE)a3 )\n        return 1;\n      v72 = EditorUI::getSelectedObjects(a1, 0x140000000uLL);\n      EditorUI::createRockBases(a1, v72);\n      return 1;\n    case 128LL:\n      if ( !(_BYTE)a3 )\n        return 1;\n      v73 = *(_QWORD *)(a1 + 1512);\n      v74 = 0;\n      v75 = 10000;\n      do\n      {\n        *(_DWORD *)(*(_QWORD *)(v73 + 15208) + 4 * (v74 >> 5)) &= ~(1 << (v74 & 0x1F));\n        ++v74;\n        --v75;\n      }\n      while ( v75 );\n      *(_DWORD *)(v73 + 15240) = 0;\n      return 1;\n    case 129LL:\n      if ( !(_BYTE)a3 )\n        return 1;\n      LevelEditorLayer::resetUnusedColorChannels(*(_QWORD *)(a1 + 1512), 0x140000000uLL);\n      return 1;\n    case 130LL:\n      if ( !(_BYTE)a3 )\n        return 1;\n      EditorUI::uncheckPortals(a1);\n      return 1;\n    case 131LL:\n      if ( !(_BYTE)a3 || !*(_QWORD *)(a1 + 1568) && !cocos2d::CCArray::count(*(cocos2d::CCArray **)(a1 + 944)) )\n        return 1;\n      if ( (*(unsigned int (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 1152) + 56LL))(*(_QWORD *)(a1 + 1152)) == 1 )\n        EditorUI::editHSV((_QWORD *)a1);\n      else\n        EditorUI::editColor(a1);\n      EditorUI::updateEditColorButton(a1);\n      return 1;\n    case 132LL:\n      if ( !(_BYTE)a3 )\n        return 1;\n      EditorUI::onGoToLayer(a1);\n      return 1;\n    case 133LL:\n      if ( !(_BYTE)a3 )\n        return 1;\n      *(_WORD *)(*(_QWORD *)(a1 + 1512) + 14866LL) = -1;\n      EditorUI::updateGroupIDLabel(a1, 0x140000000LL, a3);\n      return 1;\n    case 134LL:\n      if ( !(_BYTE)a3 )\n        return 1;\n      EditorUI::onGoToFreeLayer(a1);\n      return 1;\n    case 135LL:\n      if ( !(_BYTE)a3 )\n        return 1;\n      EditorUI::onLockLayer(a1);\n      return 1;\n    case 136LL:\n      if ( !(_BYTE)a3 || *(_BYTE *)(a1 + 916) || !cocos2d::CCArray::count(*(cocos2d::CCArray **)(a1 + 944)) )\n        return 1;\n      GJBaseGameLayer::groupStickyObjects(*(_QWORD *)(a1 + 1512), *(_QWORD *)(a1 + 944));\n      EditorUI::updateButtons(a1);\n      return 1;\n    case 137LL:\n      if ( !(_BYTE)a3 || *(_BYTE *)(a1 + 916) || !cocos2d::CCArray::count(*(cocos2d::CCArray **)(a1 + 944)) )\n        return 1;\n      GJBaseGameLayer::ungroupStickyObjects(*(_QWORD *)(a1 + 1512), *(_QWORD *)(a1 + 944));\n      EditorUI::updateButtons(a1);\n      return 1;\n    case 139LL:\n      if ( !(_BYTE)a3 || *(_BYTE *)(a1 + 1660) )\n        return 1;\n      EditorUI::toggleWindow((_QWORD *)a1, 3);\n      return 1;\n    case 140LL:\n      if ( !(_BYTE)a3 )\n        return 1;\n      EditorUI::onResetSpecialFilter(a1);\n      return 1;\n    case 141LL:\n      if ( !(_BYTE)a3 )\n        return 1;\n      EditorUI::onDeleteSelectedType(a1);\n      return 1;\n    case 142LL:\n      if ( !(_BYTE)a3 )\n        return 1;\n      EditorUI::onNewCustomItem(a1, 0);\n      return 1;\n    case 143LL:\n      if ( !(_BYTE)a3 )\n        return 1;\n      v149 = *(_QWORD *)(a1 + 1512);\n      if ( *(_DWORD *)(*(_QWORD *)(v149 + 2168) + 1220LL) != 2 )\n        return 1;\n      if ( *(_DWORD *)(v149 + 2204) )\n      {\nLABEL_465:\n        *(_OWORD *)Block = 0;\n        Block[0] = sub_14003D460(0x20u);\n        v158 = 20;\n        v159 = 31;\n        strcpy((char *)Block[0], \"Stop Playtest First.\");\n        EditorUI::showTextAlert(a1, Block, 0, 1, 0);\n        return 1;\n      }\n      LevelEditorLayer::saveLevel();\n      v150 = cocos2d::CCArray::createWithObject(*(struct cocos2d::CCObject **)(*(_QWORD *)(a1 + 1512) + 2168LL));\n      LocalLevelManager::sharedState(v151);\n      v153 = LocalLevelManager::exportLevelsToFile(v152, v150);\n      if ( v153 <= 0 )\n      {\n        if ( v153 )\n          return 1;\n        v158 = 14;\n        v34 = 0x462074726F707845LL;\n        Block[1] = (void *)0x2E64656C6961LL;\n      }\n      else\n      {\n        v158 = 15;\n        v34 = 0x7845206C6576654CLL;\n        Block[1] = (void *)0x2E646574726F70LL;\n      }\nLABEL_475:\n      v159 = 15;\n      Block[0] = (void *)v34;\nLABEL_476:\n      v50 = 1;\n      v49 = 0;\nLABEL_477:\n      EditorUI::showTextAlert(a1, Block, v49, v50, 0);\n      return 1;\n    case 146LL:\n    case 147LL:\n    case 148LL:\n    case 149LL:\n      if ( !(*(unsigned __int8 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 840) + 344LL))(*(_QWORD *)(a1 + 840)) )\n        return 0;\n      if ( !v3 )\n        return 1;\n      v137 = a2 - 20147;\n      if ( v137 )\n      {\n        v138 = v137 - 1;\n        if ( v138 )\n        {\n          v139 = v138 - 1;\n          if ( v139 )\n          {\n            if ( v139 == 1 )\n              GJTransformControl::onToggleFreeRotation(*(_QWORD *)(a1 + 840));\n          }\n          else\n          {\n            GJTransformControl::onToggleGridSnap(*(_QWORD *)(a1 + 840));\n          }\n        }\n        else\n        {\n          GJTransformControl::onToggleOppositeAnchor(*(_QWORD *)(a1 + 840));\n        }\n      }\n      else\n      {\n        GJTransformControl::onToggleLockScale(*(_QWORD *)(a1 + 840));\n      }\n      goto LABEL_435;\n    case 150LL:\n      if ( !(_BYTE)a3 )\n        return 1;\n      v136 = (void *)KeybindingsLayer::create(0);\n      goto LABEL_416;\n    case 151LL:\n      if ( !(_BYTE)a3 )\n        return 1;\n      v136 = EditorSoundsLayer::create(a1);\nLABEL_416:\n      if ( !v136 )\n        return 1;\n      (*(void (__fastcall **)(void *))(*(_QWORD *)v136 + 1064LL))(v136);\n      return 1;\n    case 169LL:\n      if ( !(_BYTE)a3 )\n        return 1;\n      EditorUI::onGroupIDFilter(a1);\n      return 1;\n    case 170LL:\n      if ( !(_BYTE)a3 )\n        return 1;\n      EditorUI::onColorFilter(a1);\n      return 1;\n    case 171LL:\n    case 172LL:\n      if ( !(_BYTE)a3 )\n        return 1;\n      v78 = qword_14090BFD0;\n      if ( !qword_14090BFD0 )\n      {\n        v154 = operator new(0x6E8u);\n        qword_14090BFD0 = GameManager::GameManager(v154);\n        (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFD0 + 72LL))(qword_14090BFD0);\n        v78 = qword_14090BFD0;\n      }\n      *(_OWORD *)Block = 0;\n      v158 = 3;\n      v159 = 15;\n      LODWORD(Block[0]) = 6256231;\n      sub_140044D80(Block, \"0230\", 4u);\n      v79 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(*(_QWORD *)(v78 + 432), Block);\n      v80 = cocos2d::CCString::intValue(v79);\n      if ( v159 > 0xF )\n      {\n        v81 = Block[0];\n        if ( v159 + 1 >= 0x1000 )\n        {\n          v81 = *((void **)Block[0] - 1);\n          if ( (unsigned __int64)((char *)Block[0] - (char *)v81 - 8) > 0x1F )\n            invoke_watson(nullptr, nullptr, nullptr, 0, 0);\n        }\n        j_j_free(v81);\n      }\n      v158 = 0;\n      v159 = 15;\n      LOBYTE(Block[0]) = 0;\n      if ( v80 > 0 )\n      {\n        v82 = qword_14090BFD0;\n        if ( !qword_14090BFD0 )\n        {\n          v154 = operator new(0x6E8u);\n          qword_14090BFD0 = GameManager::GameManager(v154);\n          (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFD0 + 72LL))(qword_14090BFD0);\n          v82 = qword_14090BFD0;\n        }\n        v83 = -1;\n        if ( a2 == 20172 )\n          v83 = 1;\n        v84 = GameManager::getGameVariable(v82, \"0232\");\n        EditorUI::findObject(a1, (unsigned int)v80, v84, v83);\n        return 1;\n      }\n      else if ( *(_BYTE *)(a1 + 1660) )\n      {\n        return 1;\n      }\n      else\n      {\n        EditorUI::toggleWindow((_QWORD *)a1, 3);\n        return 1;\n      }\n    case 173LL:\n    case 174LL:\n    case 175LL:\n    case 176LL:\n      if ( !(_BYTE)a3 )\n        return 1;\n      EditorUI::moveObjectCall_1(a1, (unsigned int)(a2 + *((_DWORD *)&unk_1407032B0 + 8 * *(int *)(a1 + 1672)) - 20174));\n      return 1;\n    case 181LL:\n      if ( !(_BYTE)a3 )\n        return 1;\n      if ( !qword_14090BFD0 )\n      {\n        v154 = operator new(0x6E8u);\n        qword_14090BFD0 = GameManager::GameManager(v154);\n        (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFD0 + 72LL))(qword_14090BFD0);\n      }\n      GameManager::toggleGameVariable(a1, \"0242\");\n      v140 = qword_14090BFD0;\n      if ( !qword_14090BFD0 )\n      {\n        v154 = operator new(0x6E8u);\n        qword_14090BFD0 = GameManager::GameManager(v154);\n        (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFD0 + 72LL))(qword_14090BFD0);\n        v140 = qword_14090BFD0;\n      }\n      v158 = 13;\n      v44 = 0x5320726F68636E41LL;\n      Block[1] = (void *)0x203A70616ELL;\n      v45 = GameManager::getGameVariable(v140, \"0242\") ^ 1;\n      goto LABEL_434;\n    case 184LL:\n      if ( !(_BYTE)a3 )\n        return 1;\n      v68 = (cocos2d::CCArray *)EditorUI::getSelectedObjects(a1, 0x140000000uLL);\n      if ( !cocos2d::CCArray::count(v68) )\n        return 1;\n      LOBYTE(v70) = 1;\n      GroupCenter = (float *)EditorUI::getGroupCenter(v69, &v154, v68, v70);\n      EditorUI::centerCameraOnPoint(a1, GroupCenter);\n      return 1;\n    case 185LL:\n      if ( !(_BYTE)a3 )\n        return 1;\n      if ( !qword_14090BFD0 )\n      {\n        v154 = operator new(0x6E8u);\n        qword_14090BFD0 = GameManager::GameManager(v154);\n        (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFD0 + 72LL))(qword_14090BFD0);\n      }\n      GameManager::toggleGameVariable(a1, \"0248\");\n      LevelEditorLayer::updateOptions(*(_QWORD *)(a1 + 1512));\n      v43 = qword_14090BFD0;\n      if ( !qword_14090BFD0 )\n      {\n        v154 = operator new(0x6E8u);\n        qword_14090BFD0 = GameManager::GameManager(v154);\n        (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFD0 + 72LL))(qword_14090BFD0);\n        v43 = qword_14090BFD0;\n      }\n      v158 = 14;\n      v44 = 0x43207265746E6543LL;\n      Block[1] = (void *)0x203A73736F72LL;\n      v45 = GameManager::getGameVariable(v43, \"0248\") ^ 1;\nLABEL_434:\n      Block[0] = (void *)v44;\n      v159 = 15;\n      EditorUI::showTextAlert(a1, Block, v45, 0, 0);\nLABEL_435:\n      v24 = EditorSFXManager::sharedState();\n      goto LABEL_436;\n    case 186LL:\n      if ( !(_BYTE)a3 || !*(_QWORD *)(a1 + 1568) && !cocos2d::CCArray::count(*(cocos2d::CCArray **)(a1 + 944)) )\n        return 1;\n      v141 = *(_DWORD **)(a1 + 1512);\n      ++v141[3856];\n      v142 = v141[3876];\n      if ( v142 >= 0 )\n      {\n        v143 = v141[3860] - v142;\n        v144 = 0;\n        if ( v143 > 1 )\n        {\n          do\n          {\n            if ( v144 >= 7 )\n              break;\n            v143 = (unsigned int)v143 >> 1;\n            ++v144;\n          }\n          while ( (unsigned int)v143 > 1 );\n        }\n        ++v141[v144 + 3868];\n      }\n      v141[3876] = v141[3860];\n      v145 = (_QWORD *)EditorSFXManager::sharedState();\n      v146 = EditorSFXManager::hasSoundsForAction(v145, 108);\n      EditorSFXManager::playAction((__int64)v145, v146 + 107);\n      v147 = SetupObjectOptionsPopup::create(*(_QWORD *)(a1 + 1568), *(_QWORD *)(a1 + 944));\n      (*(void (__fastcall **)(__int64))(*(_QWORD *)v147 + 1064LL))(v147);\n      return 1;\n    default:\n      return 0;\n  }\n  while ( v18 != v17 )\n  {\n    v18 = *(_QWORD *)(v18 + 8);\n    if ( *(_DWORD *)(v18 + 16) == 4 )\n      goto LABEL_112;\n  }\nLABEL_111:\n  v18 = 0;\nLABEL_112:\n  if ( v18 )\n    v19 = v18;\n  if ( v19 != *(_QWORD *)(a1 + 608) )\n  {\n    v20 = *(_QWORD **)(v19 + 24);\n    if ( v20[125] )\n    {\n      SetupTriggerPopup::updateValueControls(v20, 4294967294LL);\n      (*(void (__fastcall **)(_QWORD *, __int64, _QWORD))(*v20 + 1152LL))(\n        v20,\n        0xFFFFFFFFLL,\n        *(unsigned __int8 *)(v20[125] + 704LL));\n    }\n  }\n  if ( *(_BYTE *)(a1 + 704) && (v21 = *(float *)(a1 + 700), v21 > 0.0) )\n  {\n    if ( v21 == (float)(int)v21 )\n      sub_1401A8CE0(Buffer, \"Gridsize: %d\", (int)v21);\n    else\n      sub_1401A8CE0(Buffer, \"Gridsize: %.1f\", v21);\n  }\n  else\n  {\n    sub_1401A8CE0(Buffer, \"Gridsize: Off\", v17);\n  }\n  *(_OWORD *)Block = 0;\n  v158 = 0;\n  v159 = 0;\n  do\n    ++v15;\n  while ( Buffer[v15] );\n  sub_14003D230(Block, Buffer, v15);\n  EditorUI::showTextAlert(a1, Block, 0, 1, 0);\nLABEL_126:\n  v22 = (_QWORD *)EditorSFXManager::sharedState();\n  v23 = EditorSFXManager::hasSoundsForAction(v22, v16);\n  v24 = (__int64)v22;\n  if ( v23 )\n  {\n    EditorSFXManager::playAction((__int64)v22, v16);\n    return 1;\n  }\n  else\n  {\nLABEL_436:\n    EditorSFXManager::playAction(v24, 189);\n    return 1;\n  }\n}", "assembly": "; \n; EditorUI::handleEditorAction from 0x1401c2270 to 0x1401c4b35 (10437 bytes)\n; \n; 2 xrefs:\n; > EditorUI::handleAction @ 0x1401c1d62\n; > <???> @ 0x14091a6f0\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 11:28:04 +0000\n; \nmov     rax, rsp                                                       ; +0x0, 0x1401c2270\nmov     [rax+18h], rbx                                                 ; +0x3, 0x1401c2273\nmov     [rax+20h], rsi                                                 ; +0x7, 0x1401c2277\npush    rbp                                                            ; +0xb, 0x1401c227b\npush    rdi                                                            ; +0xc, 0x1401c227c\npush    r12                                                            ; +0xd, 0x1401c227d\npush    r14                                                            ; +0xf, 0x1401c227f\npush    r15                                                            ; +0x11, 0x1401c2281\nlea     rbp, [rax-5Fh]                                                 ; +0x13, 0x1401c2283\nsub     rsp, 0C0h                                                      ; +0x17, 0x1401c2287\nmovaps  xmmword ptr [rax-38h], xmm6                                    ; +0x1e, 0x1401c228e\nmovaps  xmmword ptr [rax-48h], xmm7                                    ; +0x22, 0x1401c2292\nmovaps  xmmword ptr [rax-58h], xmm8                                    ; +0x26, 0x1401c2296\nmov     rax, cs:__security_cookie                                      ; +0x2b, 0x1401c229b\nxor     rax, rsp                                                       ; +0x32, 0x1401c22a2\nmov     [rbp+57h+var_58], rax                                          ; +0x35, 0x1401c22a5\nmovzx   ebx, r8b                                                       ; +0x39, 0x1401c22a9\nmov     r14d, edx                                                      ; +0x3d, 0x1401c22ad\nmov     rdi, rcx                                                       ; +0x40, 0x1401c22b0\nmov     [rbp+57h+var_A8], rcx                                          ; +0x43, 0x1401c22b3\nlea     eax, [rdx-4E21h]; switch 187 cases                             ; +0x47, 0x1401c22b7\ncmp     eax, 0BAh                                                      ; +0x4d, 0x1401c22bd\nja      def_1401C22E3; jumptable 00000001401C22E3 default case, cases 20067,20068,20075-20077,20087,20111,20139 ; +0x52, 0x1401c22c2\ncdqe                                                                   ; +0x58, 0x1401c22c8\nlea     rdx, cs:140000000h                                             ; +0x5a, 0x1401c22ca\nmovzx   eax, ds:(byte_1401C4898 - 140000000h)[rdx+rax]                 ; +0x61, 0x1401c22d1\nmov     ecx, ds:(jpt_1401C22E3 - 140000000h)[rdx+rax*4]                ; +0x69, 0x1401c22d9\nadd     rcx, rdx                                                       ; +0x70, 0x1401c22e0\njmp     rcx; switch jump                                               ; +0x73, 0x1401c22e3\nmov     [rdi+2E0h], bl; jumptable 00000001401C22E3 case 20069          ; +0x75, 0x1401c22e5\nmov     al, 1                                                          ; +0x7b, 0x1401c22eb\njmp     loc_1401C46C8                                                  ; +0x7d, 0x1401c22ed\ntest    bl, bl; jumptable 00000001401C22E3 case 20001                  ; +0x82, 0x1401c22f2\njz      loc_1401C46C2                                                  ; +0x84, 0x1401c22f4\ncall    EditorSFXManager__sharedState                                  ; +0x8a, 0x1401c22fa\nmov     rcx, rax                                                       ; +0x8f, 0x1401c22ff\nmov     edx, 0B4h                                                      ; +0x92, 0x1401c2302\ncall    EditorSFXManager__playAction                                   ; +0x97, 0x1401c2307\nmov     rcx, [rdi+5E8h]                                                ; +0x9c, 0x1401c230c\ncall    LevelEditorLayer__undoLastAction                               ; +0xa3, 0x1401c2313\njmp     short loc_1401C2340                                            ; +0xa8, 0x1401c2318\ntest    bl, bl; jumptable 00000001401C22E3 case 20002                  ; +0xaa, 0x1401c231a\njz      loc_1401C46C2                                                  ; +0xac, 0x1401c231c\ncall    EditorSFXManager__sharedState                                  ; +0xb2, 0x1401c2322\nmov     rcx, rax                                                       ; +0xb7, 0x1401c2327\nmov     edx, 0B5h                                                      ; +0xba, 0x1401c232a\ncall    EditorSFXManager__playAction                                   ; +0xbf, 0x1401c232f\nmov     rcx, [rdi+5E8h]                                                ; +0xc4, 0x1401c2334\ncall    LevelEditorLayer__redoLastAction                               ; +0xcb, 0x1401c233b\nmov     rcx, rdi                                                       ; +0xd0, 0x1401c2340\ncall    EditorUI__updateButtons                                        ; +0xd3, 0x1401c2343\nmov     rcx, [rdi+328h]                                                ; +0xd8, 0x1401c2348\nmov     rax, [rcx]                                                     ; +0xdf, 0x1401c234f\ncall    qword ptr [rax+158h]                                           ; +0xe2, 0x1401c2352\ntest    al, al                                                         ; +0xe8, 0x1401c2358\njz      short loc_1401C236D                                            ; +0xea, 0x1401c235a\nmov     byte ptr [rdi+338h], 1                                         ; +0xec, 0x1401c235c\nxor     edx, edx                                                       ; +0xf3, 0x1401c2363\nmov     rcx, rdi                                                       ; +0xf5, 0x1401c2365\ncall    EditorUI__activateRotationControl                              ; +0xf8, 0x1401c2368\nmov     rcx, rdi                                                       ; +0xfd, 0x1401c236d\ncall    EditorUI__updateSpecialUIElements                              ; +0x100, 0x1401c2370\nmov     al, 1                                                          ; +0x105, 0x1401c2375\njmp     loc_1401C46C8                                                  ; +0x107, 0x1401c2377\ntest    bl, bl; jumptable 00000001401C22E3 case 20003                  ; +0x10c, 0x1401c237c\njz      loc_1401C46C2                                                  ; +0x10e, 0x1401c237e\ncmp     qword ptr [rdi+620h], 0                                        ; +0x114, 0x1401c2384\njnz     short loc_1401C23A3                                            ; +0x11c, 0x1401c238c\nmov     rcx, [rdi+3B0h]                                                ; +0x11e, 0x1401c238e\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x125, 0x1401c2395\ntest    eax, eax                                                       ; +0x12b, 0x1401c239b\njz      loc_1401C46C2                                                  ; +0x12d, 0x1401c239d\ncall    EditorSFXManager__sharedState                                  ; +0x133, 0x1401c23a3\nmov     rcx, rax                                                       ; +0x138, 0x1401c23a8\nmov     edx, 6Eh ; 'n'                                                 ; +0x13b, 0x1401c23ab\ncall    EditorSFXManager__playAction                                   ; +0x140, 0x1401c23b0\nxor     edx, edx                                                       ; +0x145, 0x1401c23b5\nmov     rcx, rdi                                                       ; +0x147, 0x1401c23b7\ncall    EditorUI__doCopyObjects                                        ; +0x14a, 0x1401c23ba\nmov     al, 1                                                          ; +0x14f, 0x1401c23bf\njmp     loc_1401C46C8                                                  ; +0x151, 0x1401c23c1\ntest    bl, bl; jumptable 00000001401C22E3 case 20004                  ; +0x156, 0x1401c23c6\njz      loc_1401C46C2                                                  ; +0x158, 0x1401c23c8\nxor     edx, edx                                                       ; +0x15e, 0x1401c23ce\nmov     rcx, rdi                                                       ; +0x160, 0x1401c23d0\ncall    EditorUI__onPaste                                              ; +0x163, 0x1401c23d3\nmov     al, 1                                                          ; +0x168, 0x1401c23d8\njmp     loc_1401C46C8                                                  ; +0x16a, 0x1401c23da\ntest    bl, bl; jumptable 00000001401C22E3 case 20005                  ; +0x16f, 0x1401c23df\njz      loc_1401C46C2                                                  ; +0x171, 0x1401c23e1\nxor     edx, edx                                                       ; +0x177, 0x1401c23e7\nmov     rcx, rdi                                                       ; +0x179, 0x1401c23e9\ncall    EditorUI__onDuplicate                                          ; +0x17c, 0x1401c23ec\nmov     al, 1                                                          ; +0x181, 0x1401c23f1\njmp     loc_1401C46C8                                                  ; +0x183, 0x1401c23f3\ntest    bl, bl; jumptable 00000001401C22E3 case 20006                  ; +0x188, 0x1401c23f8\njz      loc_1401C46C2                                                  ; +0x18a, 0x1401c23fa\ncmp     qword ptr [rdi+620h], 0                                        ; +0x190, 0x1401c2400\njnz     short loc_1401C241B                                            ; +0x198, 0x1401c2408\nmov     rcx, [rdi+3B0h]                                                ; +0x19a, 0x1401c240a\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x1a1, 0x1401c2411\ntest    eax, eax                                                       ; +0x1a7, 0x1401c2417\njz      short loc_1401C2437                                            ; +0x1a9, 0x1401c2419\ncall    EditorSFXManager__sharedState                                  ; +0x1ab, 0x1401c241b\nmov     rcx, rax                                                       ; +0x1b0, 0x1401c2420\nmov     edx, 78h ; 'x'                                                 ; +0x1b3, 0x1401c2423\ncall    EditorSFXManager__playAction                                   ; +0x1b8, 0x1401c2428\nxor     edx, edx                                                       ; +0x1bd, 0x1401c242d\nmov     rcx, rdi                                                       ; +0x1bf, 0x1401c242f\ncall    EditorUI__createUndoSelectObject                               ; +0x1c2, 0x1401c2432\nmov     rcx, rdi                                                       ; +0x1c7, 0x1401c2437\ncall    EditorUI__deselectAll                                          ; +0x1ca, 0x1401c243a\nmov     al, 1                                                          ; +0x1cf, 0x1401c243f\njmp     loc_1401C46C8                                                  ; +0x1d1, 0x1401c2441\ntest    bl, bl; jumptable 00000001401C22E3 cases 20007-20016           ; +0x1d6, 0x1401c2446\njz      loc_1401C46C2                                                  ; +0x1d8, 0x1401c2448\nlea     edx, [r14-4E27h]                                               ; +0x1de, 0x1401c244e\nmov     r8b, 1                                                         ; +0x1e5, 0x1401c2455\nlea     rcx, [rbp+57h+var_A8]                                          ; +0x1e8, 0x1401c2458\ncall    sub_1401C4B40                                                  ; +0x1ec, 0x1401c245c\nmov     al, 1                                                          ; +0x1f1, 0x1401c2461\njmp     loc_1401C46C8                                                  ; +0x1f3, 0x1401c2463\ntest    bl, bl; jumptable 00000001401C22E3 cases 20017-20026           ; +0x1f8, 0x1401c2468\njz      loc_1401C46C2                                                  ; +0x1fa, 0x1401c246a\nlea     edx, [r14-4E31h]                                               ; +0x200, 0x1401c2470\nxor     r8d, r8d                                                       ; +0x207, 0x1401c2477\nlea     rcx, [rbp+57h+var_A8]                                          ; +0x20a, 0x1401c247a\ncall    sub_1401C4B40                                                  ; +0x20e, 0x1401c247e\nmov     al, 1                                                          ; +0x213, 0x1401c2483\njmp     loc_1401C46C8                                                  ; +0x215, 0x1401c2485\ntest    bl, bl; jumptable 00000001401C22E3 case 20027                  ; +0x21a, 0x1401c248a\njz      loc_1401C46C2                                                  ; +0x21c, 0x1401c248c\nmov     rdx, [rdi+3D0h]                                                ; +0x222, 0x1401c2492\nmov     rcx, rdi                                                       ; +0x229, 0x1401c2499\ncall    EditorUI__toggleMode                                           ; +0x22c, 0x1401c249c\nmov     al, 1                                                          ; +0x231, 0x1401c24a1\njmp     loc_1401C46C8                                                  ; +0x233, 0x1401c24a3\ntest    bl, bl; jumptable 00000001401C22E3 case 20028                  ; +0x238, 0x1401c24a8\njz      loc_1401C46C2                                                  ; +0x23a, 0x1401c24aa\nmov     rdx, [rdi+3D8h]                                                ; +0x240, 0x1401c24b0\nmov     rcx, rdi                                                       ; +0x247, 0x1401c24b7\ncall    EditorUI__toggleMode                                           ; +0x24a, 0x1401c24ba\nmov     al, 1                                                          ; +0x24f, 0x1401c24bf\njmp     loc_1401C46C8                                                  ; +0x251, 0x1401c24c1\ntest    bl, bl; jumptable 00000001401C22E3 case 20029                  ; +0x256, 0x1401c24c6\njz      loc_1401C46C2                                                  ; +0x258, 0x1401c24c8\nmov     rdx, [rdi+3C8h]                                                ; +0x25e, 0x1401c24ce\nmov     rcx, rdi                                                       ; +0x265, 0x1401c24d5\ncall    EditorUI__toggleMode                                           ; +0x268, 0x1401c24d8\nmov     al, 1                                                          ; +0x26d, 0x1401c24dd\njmp     loc_1401C46C8                                                  ; +0x26f, 0x1401c24df\ntest    bl, bl; jumptable 00000001401C22E3 case 20030                  ; +0x274, 0x1401c24e4\njz      loc_1401C46C2                                                  ; +0x276, 0x1401c24e6\nmov     rdx, [rdi+3E0h]                                                ; +0x27c, 0x1401c24ec\nmov     rcx, rdi                                                       ; +0x283, 0x1401c24f3\ncall    EditorUI__toggleMode                                           ; +0x286, 0x1401c24f6\nmov     al, 1                                                          ; +0x28b, 0x1401c24fb\njmp     loc_1401C46C8                                                  ; +0x28d, 0x1401c24fd\ntest    bl, bl; jumptable 00000001401C22E3 case 20031                  ; +0x292, 0x1401c2502\njz      loc_1401C46C2                                                  ; +0x294, 0x1401c2504\nxor     edx, edx                                                       ; +0x29a, 0x1401c250a\nmov     rcx, rdi                                                       ; +0x29c, 0x1401c250c\ncall    EditorUI__zoomIn                                               ; +0x29f, 0x1401c250f\nmov     al, 1                                                          ; +0x2a4, 0x1401c2514\njmp     loc_1401C46C8                                                  ; +0x2a6, 0x1401c2516\ntest    bl, bl; jumptable 00000001401C22E3 case 20032                  ; +0x2ab, 0x1401c251b\njz      loc_1401C46C2                                                  ; +0x2ad, 0x1401c251d\nxor     edx, edx                                                       ; +0x2b3, 0x1401c2523\nmov     rcx, rdi                                                       ; +0x2b5, 0x1401c2525\ncall    EditorUI__zoomOut                                              ; +0x2b8, 0x1401c2528\nmov     al, 1                                                          ; +0x2bd, 0x1401c252d\njmp     loc_1401C46C8                                                  ; +0x2bf, 0x1401c252f\ntest    bl, bl; jumptable 00000001401C22E3 case 20033                  ; +0x2c4, 0x1401c2534\njz      loc_1401C46C2                                                  ; +0x2c6, 0x1401c2536\nmovss   xmm2, cs:dword_140835DC4                                       ; +0x2cc, 0x1401c253c\njmp     short loc_1401C2556                                            ; +0x2d4, 0x1401c2544\ntest    bl, bl; jumptable 00000001401C22E3 case 20034                  ; +0x2d6, 0x1401c2546\njz      loc_1401C46C2                                                  ; +0x2d8, 0x1401c2548\nmovss   xmm2, cs:flt_1408354EC                                         ; +0x2de, 0x1401c254e\nxorps   xmm1, xmm1                                                     ; +0x2e6, 0x1401c2556\nlea     rcx, [rbp+57h+var_A0]                                          ; +0x2e9, 0x1401c2559\ncall    cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x2ed, 0x1401c255d\nmov     rdx, rax                                                       ; +0x2f3, 0x1401c2563\nmov     rcx, rdi                                                       ; +0x2f6, 0x1401c2566\ncall    EditorUI__moveGamelayer                                        ; +0x2f9, 0x1401c2569\nmov     al, 1                                                          ; +0x2fe, 0x1401c256e\njmp     loc_1401C46C8                                                  ; +0x300, 0x1401c2570\ntest    bl, bl; jumptable 00000001401C22E3 case 20035                  ; +0x305, 0x1401c2575\njz      loc_1401C46C2                                                  ; +0x307, 0x1401c2577\nxor     edx, edx                                                       ; +0x30d, 0x1401c257d\nmov     rcx, rdi                                                       ; +0x30f, 0x1401c257f\ncall    EditorUI__onDeleteSelected                                     ; +0x312, 0x1401c2582\nmov     al, 1                                                          ; +0x317, 0x1401c2587\njmp     loc_1401C46C8                                                  ; +0x319, 0x1401c2589\ntest    bl, bl; jumptable 00000001401C22E3 case 20036                  ; +0x31e, 0x1401c258e\njz      loc_1401C46C2                                                  ; +0x320, 0x1401c2590\nxor     edx, edx                                                       ; +0x326, 0x1401c2596\nmov     rcx, rdi                                                       ; +0x328, 0x1401c2598\ncall    EditorUI__activateTransformControl                             ; +0x32b, 0x1401c259b\nmov     al, 1                                                          ; +0x330, 0x1401c25a0\njmp     loc_1401C46C8                                                  ; +0x332, 0x1401c25a2\ntest    bl, bl; jumptable 00000001401C22E3 case 20037                  ; +0x337, 0x1401c25a7\njz      loc_1401C46C2                                                  ; +0x339, 0x1401c25a9\nmov     edx, 25h ; '%'                                                 ; +0x33f, 0x1401c25af\nmov     rcx, rdi                                                       ; +0x344, 0x1401c25b4\ncall    EditorUI__transformObjectCall_1                                ; +0x347, 0x1401c25b7\nmov     al, 1                                                          ; +0x34c, 0x1401c25bc\njmp     loc_1401C46C8                                                  ; +0x34e, 0x1401c25be\ntest    bl, bl; jumptable 00000001401C22E3 case 20038                  ; +0x353, 0x1401c25c3\njz      loc_1401C46C2                                                  ; +0x355, 0x1401c25c5\nmov     edx, 26h ; '&'                                                 ; +0x35b, 0x1401c25cb\nmov     rcx, rdi                                                       ; +0x360, 0x1401c25d0\ncall    EditorUI__transformObjectCall_1                                ; +0x363, 0x1401c25d3\nmov     al, 1                                                          ; +0x368, 0x1401c25d8\njmp     loc_1401C46C8                                                  ; +0x36a, 0x1401c25da\ntest    bl, bl; jumptable 00000001401C22E3 case 20039                  ; +0x36f, 0x1401c25df\njz      loc_1401C46C2                                                  ; +0x371, 0x1401c25e1\nmov     edx, 28h ; '('                                                 ; +0x377, 0x1401c25e7\nmov     rcx, rdi                                                       ; +0x37c, 0x1401c25ec\ncall    EditorUI__transformObjectCall_1                                ; +0x37f, 0x1401c25ef\nmov     al, 1                                                          ; +0x384, 0x1401c25f4\njmp     loc_1401C46C8                                                  ; +0x386, 0x1401c25f6\ntest    bl, bl; jumptable 00000001401C22E3 case 20040                  ; +0x38b, 0x1401c25fb\njz      loc_1401C46C2                                                  ; +0x38d, 0x1401c25fd\nmov     edx, 27h ; '''                                                 ; +0x393, 0x1401c2603\nmov     rcx, rdi                                                       ; +0x398, 0x1401c2608\ncall    EditorUI__transformObjectCall_1                                ; +0x39b, 0x1401c260b\nmov     al, 1                                                          ; +0x3a0, 0x1401c2610\njmp     loc_1401C46C8                                                  ; +0x3a2, 0x1401c2612\ntest    bl, bl; jumptable 00000001401C22E3 cases 20041-20048,20095-20110,20178-20181 ; +0x3a7, 0x1401c2617\njz      loc_1401C46C2                                                  ; +0x3a9, 0x1401c2619\nadd     r14d, 0FFFFB1B7h; switch 141 cases                             ; +0x3af, 0x1401c261f\ncmp     r14d, 8Ch                                                      ; +0x3b6, 0x1401c2626\nja      def_1401C2648; jumptable 00000001401C2648 default case, cases 20049-20094,20111-20177 ; +0x3bd, 0x1401c262d\nmovsxd  rax, r14d                                                      ; +0x3c3, 0x1401c2633\nmovzx   eax, ds:(byte_1401C49C8 - 140000000h)[rdx+rax]                 ; +0x3c6, 0x1401c2636\nmov     ecx, ds:(jpt_1401C2648 - 140000000h)[rdx+rax*4]                ; +0x3ce, 0x1401c263e\nadd     rcx, rdx                                                       ; +0x3d5, 0x1401c2645\njmp     rcx; switch jump                                               ; +0x3d8, 0x1401c2648\nmov     ebx, 5; jumptable 00000001401C2648 case 20041                  ; +0x3da, 0x1401c264a\nmov     edx, ebx                                                       ; +0x3df, 0x1401c264f\nmov     rcx, rdi                                                       ; +0x3e1, 0x1401c2651\ncall    EditorUI__moveObjectCall_1                                     ; +0x3e4, 0x1401c2654\nmov     al, 1                                                          ; +0x3e9, 0x1401c2659\njmp     loc_1401C46C8                                                  ; +0x3eb, 0x1401c265b\nmov     ebx, 6; jumptable 00000001401C2648 case 20042                  ; +0x3f0, 0x1401c2660\nmov     edx, ebx                                                       ; +0x3f5, 0x1401c2665\nmov     rcx, rdi                                                       ; +0x3f7, 0x1401c2667\ncall    EditorUI__moveObjectCall_1                                     ; +0x3fa, 0x1401c266a\nmov     al, 1                                                          ; +0x3ff, 0x1401c266f\njmp     loc_1401C46C8                                                  ; +0x401, 0x1401c2671\nmov     ebx, 7; jumptable 00000001401C2648 case 20043                  ; +0x406, 0x1401c2676\nmov     edx, ebx                                                       ; +0x40b, 0x1401c267b\nmov     rcx, rdi                                                       ; +0x40d, 0x1401c267d\ncall    EditorUI__moveObjectCall_1                                     ; +0x410, 0x1401c2680\nmov     al, 1                                                          ; +0x415, 0x1401c2685\njmp     loc_1401C46C8                                                  ; +0x417, 0x1401c2687\nmov     ebx, 8; jumptable 00000001401C2648 case 20044                  ; +0x41c, 0x1401c268c\nmov     edx, ebx                                                       ; +0x421, 0x1401c2691\nmov     rcx, rdi                                                       ; +0x423, 0x1401c2693\ncall    EditorUI__moveObjectCall_1                                     ; +0x426, 0x1401c2696\nmov     al, 1                                                          ; +0x42b, 0x1401c269b\njmp     loc_1401C46C8                                                  ; +0x42d, 0x1401c269d\nmov     ebx, 1; jumptable 00000001401C2648 case 20045                  ; +0x432, 0x1401c26a2\nmov     edx, ebx                                                       ; +0x437, 0x1401c26a7\nmov     rcx, rdi                                                       ; +0x439, 0x1401c26a9\ncall    EditorUI__moveObjectCall_1                                     ; +0x43c, 0x1401c26ac\nmovzx   eax, bl                                                        ; +0x441, 0x1401c26b1\njmp     loc_1401C46C8                                                  ; +0x444, 0x1401c26b4\nmov     ebx, 2; jumptable 00000001401C2648 case 20046                  ; +0x449, 0x1401c26b9\nmov     edx, ebx                                                       ; +0x44e, 0x1401c26be\nmov     rcx, rdi                                                       ; +0x450, 0x1401c26c0\ncall    EditorUI__moveObjectCall_1                                     ; +0x453, 0x1401c26c3\nmov     al, 1                                                          ; +0x458, 0x1401c26c8\njmp     loc_1401C46C8                                                  ; +0x45a, 0x1401c26ca\nmov     ebx, 3; jumptable 00000001401C2648 case 20047                  ; +0x45f, 0x1401c26cf\nmov     edx, ebx                                                       ; +0x464, 0x1401c26d4\nmov     rcx, rdi                                                       ; +0x466, 0x1401c26d6\ncall    EditorUI__moveObjectCall_1                                     ; +0x469, 0x1401c26d9\nmov     al, 1                                                          ; +0x46e, 0x1401c26de\njmp     loc_1401C46C8                                                  ; +0x470, 0x1401c26e0\nmov     ebx, 4; jumptable 00000001401C2648 case 20048                  ; +0x475, 0x1401c26e5\nmov     edx, ebx                                                       ; +0x47a, 0x1401c26ea\nmov     rcx, rdi                                                       ; +0x47c, 0x1401c26ec\ncall    EditorUI__moveObjectCall_1                                     ; +0x47f, 0x1401c26ef\nmov     al, 1                                                          ; +0x484, 0x1401c26f4\njmp     loc_1401C46C8                                                  ; +0x486, 0x1401c26f6\nmov     ebx, 11h; jumptable 00000001401C2648 case 20095                ; +0x48b, 0x1401c26fb\nmov     edx, ebx                                                       ; +0x490, 0x1401c2700\nmov     rcx, rdi                                                       ; +0x492, 0x1401c2702\ncall    EditorUI__moveObjectCall_1                                     ; +0x495, 0x1401c2705\nmov     al, 1                                                          ; +0x49a, 0x1401c270a\njmp     loc_1401C46C8                                                  ; +0x49c, 0x1401c270c\nmov     ebx, 12h; jumptable 00000001401C2648 case 20096                ; +0x4a1, 0x1401c2711\nmov     edx, ebx                                                       ; +0x4a6, 0x1401c2716\nmov     rcx, rdi                                                       ; +0x4a8, 0x1401c2718\ncall    EditorUI__moveObjectCall_1                                     ; +0x4ab, 0x1401c271b\nmov     al, 1                                                          ; +0x4b0, 0x1401c2720\njmp     loc_1401C46C8                                                  ; +0x4b2, 0x1401c2722\nmov     ebx, 13h; jumptable 00000001401C2648 case 20097                ; +0x4b7, 0x1401c2727\nmov     edx, ebx                                                       ; +0x4bc, 0x1401c272c\nmov     rcx, rdi                                                       ; +0x4be, 0x1401c272e\ncall    EditorUI__moveObjectCall_1                                     ; +0x4c1, 0x1401c2731\nmov     al, 1                                                          ; +0x4c6, 0x1401c2736\njmp     loc_1401C46C8                                                  ; +0x4c8, 0x1401c2738\nmov     ebx, 14h; jumptable 00000001401C2648 case 20098                ; +0x4cd, 0x1401c273d\nmov     edx, ebx                                                       ; +0x4d2, 0x1401c2742\nmov     rcx, rdi                                                       ; +0x4d4, 0x1401c2744\ncall    EditorUI__moveObjectCall_1                                     ; +0x4d7, 0x1401c2747\nmov     al, 1                                                          ; +0x4dc, 0x1401c274c\njmp     loc_1401C46C8                                                  ; +0x4de, 0x1401c274e\nmov     ebx, 15h; jumptable 00000001401C2648 case 20099                ; +0x4e3, 0x1401c2753\nmov     edx, ebx                                                       ; +0x4e8, 0x1401c2758\nmov     rcx, rdi                                                       ; +0x4ea, 0x1401c275a\ncall    EditorUI__moveObjectCall_1                                     ; +0x4ed, 0x1401c275d\nmov     al, 1                                                          ; +0x4f2, 0x1401c2762\njmp     loc_1401C46C8                                                  ; +0x4f4, 0x1401c2764\nmov     ebx, 16h; jumptable 00000001401C2648 case 20100                ; +0x4f9, 0x1401c2769\nmov     edx, ebx                                                       ; +0x4fe, 0x1401c276e\nmov     rcx, rdi                                                       ; +0x500, 0x1401c2770\ncall    EditorUI__moveObjectCall_1                                     ; +0x503, 0x1401c2773\nmov     al, 1                                                          ; +0x508, 0x1401c2778\njmp     loc_1401C46C8                                                  ; +0x50a, 0x1401c277a\nmov     ebx, 17h; jumptable 00000001401C2648 case 20101                ; +0x50f, 0x1401c277f\nmov     edx, ebx                                                       ; +0x514, 0x1401c2784\nmov     rcx, rdi                                                       ; +0x516, 0x1401c2786\ncall    EditorUI__moveObjectCall_1                                     ; +0x519, 0x1401c2789\nmov     al, 1                                                          ; +0x51e, 0x1401c278e\njmp     loc_1401C46C8                                                  ; +0x520, 0x1401c2790\nmov     ebx, 18h; jumptable 00000001401C2648 case 20102                ; +0x525, 0x1401c2795\nmov     edx, ebx                                                       ; +0x52a, 0x1401c279a\nmov     rcx, rdi                                                       ; +0x52c, 0x1401c279c\ncall    EditorUI__moveObjectCall_1                                     ; +0x52f, 0x1401c279f\nmov     al, 1                                                          ; +0x534, 0x1401c27a4\njmp     loc_1401C46C8                                                  ; +0x536, 0x1401c27a6\nmov     ebx, 19h; jumptable 00000001401C2648 case 20103                ; +0x53b, 0x1401c27ab\nmov     edx, ebx                                                       ; +0x540, 0x1401c27b0\nmov     rcx, rdi                                                       ; +0x542, 0x1401c27b2\ncall    EditorUI__moveObjectCall_1                                     ; +0x545, 0x1401c27b5\nmov     al, 1                                                          ; +0x54a, 0x1401c27ba\njmp     loc_1401C46C8                                                  ; +0x54c, 0x1401c27bc\nmov     ebx, 1Ah; jumptable 00000001401C2648 case 20104                ; +0x551, 0x1401c27c1\nmov     edx, ebx                                                       ; +0x556, 0x1401c27c6\nmov     rcx, rdi                                                       ; +0x558, 0x1401c27c8\ncall    EditorUI__moveObjectCall_1                                     ; +0x55b, 0x1401c27cb\nmov     al, 1                                                          ; +0x560, 0x1401c27d0\njmp     loc_1401C46C8                                                  ; +0x562, 0x1401c27d2\nmov     ebx, 1Bh; jumptable 00000001401C2648 case 20105                ; +0x567, 0x1401c27d7\nmov     edx, ebx                                                       ; +0x56c, 0x1401c27dc\nmov     rcx, rdi                                                       ; +0x56e, 0x1401c27de\ncall    EditorUI__moveObjectCall_1                                     ; +0x571, 0x1401c27e1\nmov     al, 1                                                          ; +0x576, 0x1401c27e6\njmp     loc_1401C46C8                                                  ; +0x578, 0x1401c27e8\nmov     ebx, 1Ch; jumptable 00000001401C2648 case 20106                ; +0x57d, 0x1401c27ed\nmov     edx, ebx                                                       ; +0x582, 0x1401c27f2\nmov     rcx, rdi                                                       ; +0x584, 0x1401c27f4\ncall    EditorUI__moveObjectCall_1                                     ; +0x587, 0x1401c27f7\nmov     al, 1                                                          ; +0x58c, 0x1401c27fc\njmp     loc_1401C46C8                                                  ; +0x58e, 0x1401c27fe\nmov     ebx, 9; jumptable 00000001401C2648 case 20107                  ; +0x593, 0x1401c2803\nmov     edx, ebx                                                       ; +0x598, 0x1401c2808\nmov     rcx, rdi                                                       ; +0x59a, 0x1401c280a\ncall    EditorUI__moveObjectCall_1                                     ; +0x59d, 0x1401c280d\nmov     al, 1                                                          ; +0x5a2, 0x1401c2812\njmp     loc_1401C46C8                                                  ; +0x5a4, 0x1401c2814\nmov     ebx, 0Ah; jumptable 00000001401C2648 case 20108                ; +0x5a9, 0x1401c2819\nmov     edx, ebx                                                       ; +0x5ae, 0x1401c281e\nmov     rcx, rdi                                                       ; +0x5b0, 0x1401c2820\ncall    EditorUI__moveObjectCall_1                                     ; +0x5b3, 0x1401c2823\nmov     al, 1                                                          ; +0x5b8, 0x1401c2828\njmp     loc_1401C46C8                                                  ; +0x5ba, 0x1401c282a\nmov     ebx, 0Bh; jumptable 00000001401C2648 case 20109                ; +0x5bf, 0x1401c282f\nmov     edx, ebx                                                       ; +0x5c4, 0x1401c2834\nmov     rcx, rdi                                                       ; +0x5c6, 0x1401c2836\ncall    EditorUI__moveObjectCall_1                                     ; +0x5c9, 0x1401c2839\nmov     al, 1                                                          ; +0x5ce, 0x1401c283e\njmp     loc_1401C46C8                                                  ; +0x5d0, 0x1401c2840\nmov     ebx, 0Ch; jumptable 00000001401C2648 case 20110                ; +0x5d5, 0x1401c2845\nmov     edx, ebx                                                       ; +0x5da, 0x1401c284a\nmov     rcx, rdi                                                       ; +0x5dc, 0x1401c284c\ncall    EditorUI__moveObjectCall_1                                     ; +0x5df, 0x1401c284f\nmov     al, 1                                                          ; +0x5e4, 0x1401c2854\njmp     loc_1401C46C8                                                  ; +0x5e6, 0x1401c2856\nmov     ebx, 21h ; '!'; jumptable 00000001401C2648 case 20178          ; +0x5eb, 0x1401c285b\nmov     edx, ebx                                                       ; +0x5f0, 0x1401c2860\nmov     rcx, rdi                                                       ; +0x5f2, 0x1401c2862\ncall    EditorUI__moveObjectCall_1                                     ; +0x5f5, 0x1401c2865\nmov     al, 1                                                          ; +0x5fa, 0x1401c286a\njmp     loc_1401C46C8                                                  ; +0x5fc, 0x1401c286c\nmov     ebx, 22h ; '\"'; jumptable 00000001401C2648 case 20179          ; +0x601, 0x1401c2871\nmov     edx, ebx                                                       ; +0x606, 0x1401c2876\nmov     rcx, rdi                                                       ; +0x608, 0x1401c2878\ncall    EditorUI__moveObjectCall_1                                     ; +0x60b, 0x1401c287b\nmov     al, 1                                                          ; +0x610, 0x1401c2880\njmp     loc_1401C46C8                                                  ; +0x612, 0x1401c2882\nmov     ebx, 23h ; '#'; jumptable 00000001401C2648 case 20180          ; +0x617, 0x1401c2887\nmov     edx, ebx                                                       ; +0x61c, 0x1401c288c\nmov     rcx, rdi                                                       ; +0x61e, 0x1401c288e\ncall    EditorUI__moveObjectCall_1                                     ; +0x621, 0x1401c2891\nmov     al, 1                                                          ; +0x626, 0x1401c2896\njmp     loc_1401C46C8                                                  ; +0x628, 0x1401c2898\nmov     ebx, 24h ; '$'; jumptable 00000001401C2648 case 20181          ; +0x62d, 0x1401c289d\nmov     edx, ebx                                                       ; +0x632, 0x1401c28a2\nmov     rcx, rdi                                                       ; +0x634, 0x1401c28a4\ncall    EditorUI__moveObjectCall_1                                     ; +0x637, 0x1401c28a7\nmov     al, 1                                                          ; +0x63c, 0x1401c28ac\njmp     loc_1401C46C8                                                  ; +0x63e, 0x1401c28ae\nxor     esi, esi; jumptable 00000001401C2648 default case, cases 20049-20094,20111-20177 ; +0x643, 0x1401c28b3\nmov     ebx, esi                                                       ; +0x645, 0x1401c28b5\nmov     edx, ebx                                                       ; +0x647, 0x1401c28b7\nmov     rcx, rdi                                                       ; +0x649, 0x1401c28b9\ncall    EditorUI__moveObjectCall_1                                     ; +0x64c, 0x1401c28bc\nmov     al, 1                                                          ; +0x651, 0x1401c28c1\njmp     loc_1401C46C8                                                  ; +0x653, 0x1401c28c3\ntest    bl, bl; jumptable 00000001401C22E3 cases 20174-20177           ; +0x658, 0x1401c28c8\njz      loc_1401C46C2                                                  ; +0x65a, 0x1401c28ca\nmovsxd  rax, dword ptr [rdi+688h]                                      ; +0x660, 0x1401c28d0\nshl     rax, 5                                                         ; +0x667, 0x1401c28d7\nmov     edx, [rax+rdx+7032B0h]                                         ; +0x66b, 0x1401c28db\nadd     edx, 0FFFFB132h                                                ; +0x672, 0x1401c28e2\nadd     edx, r14d                                                      ; +0x678, 0x1401c28e8\nmov     rcx, rdi                                                       ; +0x67b, 0x1401c28eb\ncall    EditorUI__moveObjectCall_1                                     ; +0x67e, 0x1401c28ee\nmov     al, 1                                                          ; +0x683, 0x1401c28f3\njmp     loc_1401C46C8                                                  ; +0x685, 0x1401c28f5\ntest    bl, bl; jumptable 00000001401C22E3 case 20049                  ; +0x68a, 0x1401c28fa\njz      loc_1401C46C2                                                  ; +0x68c, 0x1401c28fc\nxor     edx, edx                                                       ; +0x692, 0x1401c2902\nmov     rcx, rdi                                                       ; +0x694, 0x1401c2904\ncall    EditorUI__toggleEnableRotate                                   ; +0x697, 0x1401c2907\nmov     al, 1                                                          ; +0x69c, 0x1401c290c\njmp     loc_1401C46C8                                                  ; +0x69e, 0x1401c290e\ntest    bl, bl; jumptable 00000001401C22E3 case 20050                  ; +0x6a3, 0x1401c2913\njz      loc_1401C46C2                                                  ; +0x6a5, 0x1401c2915\nxor     edx, edx                                                       ; +0x6ab, 0x1401c291b\nmov     rcx, rdi                                                       ; +0x6ad, 0x1401c291d\ncall    EditorUI__toggleFreeMove                                       ; +0x6b0, 0x1401c2920\nmov     al, 1                                                          ; +0x6b5, 0x1401c2925\njmp     loc_1401C46C8                                                  ; +0x6b7, 0x1401c2927\ntest    bl, bl; jumptable 00000001401C22E3 case 20051                  ; +0x6bc, 0x1401c292c\njz      loc_1401C46C2                                                  ; +0x6be, 0x1401c292e\nxor     edx, edx                                                       ; +0x6c4, 0x1401c2934\nmov     rcx, rdi                                                       ; +0x6c6, 0x1401c2936\ncall    EditorUI__toggleSwipe                                          ; +0x6c9, 0x1401c2939\nmov     al, 1                                                          ; +0x6ce, 0x1401c293e\njmp     loc_1401C46C8                                                  ; +0x6d0, 0x1401c2940\ntest    bl, bl; jumptable 00000001401C22E3 case 20052                  ; +0x6d5, 0x1401c2945\njz      loc_1401C46C2                                                  ; +0x6d7, 0x1401c2947\nxor     edx, edx                                                       ; +0x6dd, 0x1401c294d\nmov     rcx, rdi                                                       ; +0x6df, 0x1401c294f\ncall    EditorUI__toggleSnap                                           ; +0x6e2, 0x1401c2952\nmov     al, 1                                                          ; +0x6e7, 0x1401c2957\njmp     loc_1401C46C8                                                  ; +0x6e9, 0x1401c2959\ntest    bl, bl; jumptable 00000001401C22E3 cases 20084,20085,20118,20145,20146 ; +0x6ee, 0x1401c295e\njz      loc_1401C46C2                                                  ; +0x6f0, 0x1401c2960\nmov     r15, 0FFFFFFFFFFFFFFFFh                                        ; +0x6f6, 0x1401c2966\nmov     rcx, rdi                                                       ; +0x6fd, 0x1401c296d\ncmp     r14d, 4E96h                                                    ; +0x700, 0x1401c2970\njnz     short loc_1401C299B                                            ; +0x707, 0x1401c2977\ncmp     byte ptr [rdi+2C0h], 0                                         ; +0x709, 0x1401c2979\nsetz    dl                                                             ; +0x710, 0x1401c2980\ncall    EditorUI__setCustomGridEnabled                                 ; +0x713, 0x1401c2983\nmovzx   eax, byte ptr [rdi+2C0h]                                       ; +0x718, 0x1401c2988\nneg     al                                                             ; +0x71f, 0x1401c298f\nsbb     ebx, ebx                                                       ; +0x721, 0x1401c2991\nadd     ebx, 0CBh                                                      ; +0x723, 0x1401c2993\njmp     short loc_1401C29F0                                            ; +0x729, 0x1401c2999\ncmp     r14d, 4E74h                                                    ; +0x72b, 0x1401c299b\njnz     short loc_1401C29B2                                            ; +0x732, 0x1401c29a2\nmov     dl, 1                                                          ; +0x734, 0x1401c29a4\ncall    EditorUI__cycleCustomGridPreset                                ; +0x736, 0x1401c29a6\nmov     ebx, 0C8h                                                      ; +0x73b, 0x1401c29ab\njmp     short loc_1401C29F0                                            ; +0x740, 0x1401c29b0\ncmp     r14d, 4E75h                                                    ; +0x742, 0x1401c29b2\njnz     short loc_1401C29C9                                            ; +0x749, 0x1401c29b9\nxor     edx, edx                                                       ; +0x74b, 0x1401c29bb\ncall    EditorUI__cycleCustomGridPreset                                ; +0x74d, 0x1401c29bd\nmov     ebx, 0C9h                                                      ; +0x752, 0x1401c29c2\njmp     short loc_1401C29F0                                            ; +0x757, 0x1401c29c7\ncmp     r14d, 4EB1h                                                    ; +0x759, 0x1401c29c9\njnz     short loc_1401C29E3                                            ; +0x760, 0x1401c29d0\nmov     edx, 1                                                         ; +0x762, 0x1401c29d2\ncall    EditorUI__adjustCustomGridSize                                 ; +0x767, 0x1401c29d7\nmov     ebx, 0CCh                                                      ; +0x76c, 0x1401c29dc\njmp     short loc_1401C29F0                                            ; +0x771, 0x1401c29e1\nmov     edx, r15d                                                      ; +0x773, 0x1401c29e3\ncall    EditorUI__adjustCustomGridSize                                 ; +0x776, 0x1401c29e6\nmov     ebx, 0CDh                                                      ; +0x77b, 0x1401c29eb\nmov     rax, 0CD3AC65E44F721B1h                                        ; +0x780, 0x1401c29f0\nmov     rdx, [rdi+288h]                                                ; +0x78a, 0x1401c29fa\nand     rdx, rax                                                       ; +0x791, 0x1401c2a01\nmov     r8, [rdi+270h]                                                 ; +0x794, 0x1401c2a04\nmov     rax, rdx                                                       ; +0x79b, 0x1401c2a0b\nadd     rax, rax                                                       ; +0x79e, 0x1401c2a0e\nmov     rcx, [r8+rax*8+8]                                              ; +0x7a1, 0x1401c2a11\nmov     rax, [rdi+260h]                                                ; +0x7a6, 0x1401c2a16\nxor     esi, esi                                                       ; +0x7ad, 0x1401c2a1d\ncmp     rcx, rax                                                       ; +0x7af, 0x1401c2a1f\njz      short loc_1401C2A42                                            ; +0x7b2, 0x1401c2a22\nadd     rdx, rdx                                                       ; +0x7b4, 0x1401c2a24\nmov     r8, [r8+rdx*8]                                                 ; +0x7b7, 0x1401c2a27\ncmp     dword ptr [rcx+10h], 4                                         ; +0x7bb, 0x1401c2a2b\njz      short loc_1401C2A45                                            ; +0x7bf, 0x1401c2a2f\ncmp     rcx, r8                                                        ; +0x7c1, 0x1401c2a31\njz      short loc_1401C2A42                                            ; +0x7c4, 0x1401c2a34\nmov     rcx, [rcx+8]                                                   ; +0x7c6, 0x1401c2a36\ncmp     dword ptr [rcx+10h], 4                                         ; +0x7ca, 0x1401c2a3a\njnz     short loc_1401C2A31                                            ; +0x7ce, 0x1401c2a3e\njmp     short loc_1401C2A45                                            ; +0x7d0, 0x1401c2a40\nmov     rcx, rsi                                                       ; +0x7d2, 0x1401c2a42\ntest    rcx, rcx                                                       ; +0x7d5, 0x1401c2a45\ncmovnz  rax, rcx                                                       ; +0x7d8, 0x1401c2a48\ncmp     rax, [rdi+260h]                                                ; +0x7dc, 0x1401c2a4c\njz      short loc_1401C2A98                                            ; +0x7e3, 0x1401c2a53\nmov     r14, [rax+18h]                                                 ; +0x7e5, 0x1401c2a55\nmov     rax, [r14+3E8h]                                                ; +0x7e9, 0x1401c2a59\ntest    rax, rax                                                       ; +0x7f0, 0x1401c2a60\njz      short loc_1401C2A98                                            ; +0x7f3, 0x1401c2a63\nmovss   xmm2, dword ptr [rax+2BCh]                                     ; +0x7f5, 0x1401c2a65\nmov     edx, 0FFFFFFFEh                                                ; +0x7fd, 0x1401c2a6d\nmov     rcx, r14                                                       ; +0x802, 0x1401c2a72\ncall    SetupTriggerPopup__updateValueControls                         ; +0x805, 0x1401c2a75\nmov     r8, [r14+3E8h]                                                 ; +0x80a, 0x1401c2a7a\nmov     rax, [r14]                                                     ; +0x811, 0x1401c2a81\nmovzx   r8d, byte ptr [r8+2C0h]                                        ; +0x814, 0x1401c2a84\nmov     edx, r15d                                                      ; +0x81c, 0x1401c2a8c\nmov     rcx, r14                                                       ; +0x81f, 0x1401c2a8f\ncall    qword ptr [rax+480h]                                           ; +0x822, 0x1401c2a92\ncmp     [rdi+2C0h], sil                                                ; +0x828, 0x1401c2a98\njz      short loc_1401C2AF4                                            ; +0x82f, 0x1401c2a9f\nmovss   xmm1, dword ptr [rdi+2BCh]                                     ; +0x831, 0x1401c2aa1\nxorps   xmm0, xmm0                                                     ; +0x839, 0x1401c2aa9\ncomiss  xmm1, xmm0                                                     ; +0x83c, 0x1401c2aac\njbe     short loc_1401C2AF4                                            ; +0x83f, 0x1401c2aaf\ncvttss2si eax, xmm1                                                    ; +0x841, 0x1401c2ab1\nmovd    xmm0, eax                                                      ; +0x845, 0x1401c2ab5\ncvtdq2ps xmm0, xmm0                                                    ; +0x849, 0x1401c2ab9\nucomiss xmm1, xmm0                                                     ; +0x84c, 0x1401c2abc\njp      short loc_1401C2ADA                                            ; +0x84f, 0x1401c2abf\njnz     short loc_1401C2ADA                                            ; +0x851, 0x1401c2ac1\ncvttss2si r8d, xmm1                                                    ; +0x853, 0x1401c2ac3\nlea     rdx, aGridsizeD; \"Gridsize: %d\"                                ; +0x858, 0x1401c2ac8\nlea     rcx, [rbp+57h+Buffer]; Buffer                                  ; +0x85f, 0x1401c2acf\ncall    sub_1401A8CE0                                                  ; +0x863, 0x1401c2ad3\njmp     short loc_1401C2B04                                            ; +0x868, 0x1401c2ad8\ncvtps2pd xmm2, xmm1                                                    ; +0x86a, 0x1401c2ada\nmovq    r8, xmm2                                                       ; +0x86d, 0x1401c2add\nlea     rdx, aGridsize1f; \"Gridsize: %.1f\"                             ; +0x872, 0x1401c2ae2\nlea     rcx, [rbp+57h+Buffer]; Buffer                                  ; +0x879, 0x1401c2ae9\ncall    sub_1401A8CE0                                                  ; +0x87d, 0x1401c2aed\njmp     short loc_1401C2B04                                            ; +0x882, 0x1401c2af2\nlea     rdx, aGridsizeOff; \"Gridsize: Off\"                             ; +0x884, 0x1401c2af4\nlea     rcx, [rbp+57h+Buffer]; Buffer                                  ; +0x88b, 0x1401c2afb\ncall    sub_1401A8CE0                                                  ; +0x88f, 0x1401c2aff\nxorps   xmm0, xmm0                                                     ; +0x894, 0x1401c2b04\nmovups  xmmword ptr [rbp+57h+Block], xmm0                              ; +0x897, 0x1401c2b07\nmov     [rbp+57h+var_88], rsi                                          ; +0x89b, 0x1401c2b0b\nmov     [rbp+57h+var_80], rsi                                          ; +0x89f, 0x1401c2b0f\nlea     rax, [rbp+57h+Buffer]                                          ; +0x8a3, 0x1401c2b13\ninc     r15                                                            ; +0x8a7, 0x1401c2b17\ncmp     [rax+r15], sil                                                 ; +0x8aa, 0x1401c2b1a\njnz     short loc_1401C2B17                                            ; +0x8ae, 0x1401c2b1e\nmov     r8, r15                                                        ; +0x8b0, 0x1401c2b20\nlea     rdx, [rbp+57h+Buffer]                                          ; +0x8b3, 0x1401c2b23\nlea     rcx, [rbp+57h+Block]                                           ; +0x8b7, 0x1401c2b27\ncall    sub_14003D230                                                  ; +0x8bb, 0x1401c2b2b\nmov     dword ptr [rsp+0E0h+Reserved], esi                             ; +0x8c0, 0x1401c2b30\nmov     r9b, 1                                                         ; +0x8c4, 0x1401c2b34\nxor     r8d, r8d                                                       ; +0x8c7, 0x1401c2b37\nlea     rdx, [rbp+57h+Block]                                           ; +0x8ca, 0x1401c2b3a\nmov     rcx, rdi                                                       ; +0x8ce, 0x1401c2b3e\ncall    EditorUI__showTextAlert                                        ; +0x8d1, 0x1401c2b41\ncall    EditorSFXManager__sharedState                                  ; +0x8d6, 0x1401c2b46\nmov     rdi, rax                                                       ; +0x8db, 0x1401c2b4b\nmov     edx, ebx                                                       ; +0x8de, 0x1401c2b4e\nmov     rcx, rax                                                       ; +0x8e0, 0x1401c2b50\ncall    EditorSFXManager__hasSoundsForAction                           ; +0x8e3, 0x1401c2b53\nmov     rcx, rdi                                                       ; +0x8e8, 0x1401c2b58\ntest    al, al                                                         ; +0x8eb, 0x1401c2b5b\njz      loc_1401C435D                                                  ; +0x8ed, 0x1401c2b5d\nmov     edx, ebx                                                       ; +0x8f3, 0x1401c2b63\ncall    EditorSFXManager__playAction                                   ; +0x8f5, 0x1401c2b65\nmov     al, 1                                                          ; +0x8fa, 0x1401c2b6a\njmp     loc_1401C46C8                                                  ; +0x8fc, 0x1401c2b6c\ntest    bl, bl; jumptable 00000001401C22E3 case 20053                  ; +0x901, 0x1401c2b71\njz      loc_1401C46C2                                                  ; +0x903, 0x1401c2b73\ncmp     dword ptr [rdi+2F0h], 0FFFFFFFFh                               ; +0x909, 0x1401c2b79\njnz     loc_1401C46C2                                                  ; +0x910, 0x1401c2b80\nxor     edx, edx                                                       ; +0x916, 0x1401c2b86\nmov     rcx, rdi                                                       ; +0x918, 0x1401c2b88\ncall    EditorUI__onPlayback                                           ; +0x91b, 0x1401c2b8b\nmov     al, 1                                                          ; +0x920, 0x1401c2b90\njmp     loc_1401C46C8                                                  ; +0x922, 0x1401c2b92\ntest    bl, bl; jumptable 00000001401C22E3 case 20054                  ; +0x927, 0x1401c2b97\njz      loc_1401C46C2                                                  ; +0x929, 0x1401c2b99\nmov     rax, [rdi+5E8h]                                                ; +0x92f, 0x1401c2b9f\nmov     rcx, [rax+10C8h]                                               ; +0x936, 0x1401c2ba6\nmov     rax, [rcx]                                                     ; +0x93d, 0x1401c2bad\ncall    qword ptr [rax+0A8h]                                           ; +0x940, 0x1401c2bb0\nmovaps  xmm8, xmm0                                                     ; +0x946, 0x1401c2bb6\ncall    cs:?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x94a, 0x1401c2bba\nmov     rcx, rax                                                       ; +0x950, 0x1401c2bc0\nlea     rdx, [rbp+57h+var_A8]                                          ; +0x953, 0x1401c2bc3\ncall    cs:?getWinSize@CCDirector@cocos2d@@QEAA?AVCCSize@2@XZ; cocos2d::CCDirector::getWinSize(void) ; +0x957, 0x1401c2bc7\nmovss   xmm7, dword ptr [rbp+57h+var_A8]                               ; +0x95d, 0x1401c2bcd\nmovss   xmm2, cs:dword_140834F20                                       ; +0x962, 0x1401c2bd2\nmulss   xmm7, xmm2                                                     ; +0x96a, 0x1401c2bda\nmovss   xmm6, dword ptr [rdi+388h]                                     ; +0x96e, 0x1401c2bde\nmulss   xmm6, xmm2                                                     ; +0x976, 0x1401c2be6\nmovss   xmm1, dword ptr [rbp+57h+var_A8+4]                             ; +0x97a, 0x1401c2bea\nmulss   xmm1, xmm2                                                     ; +0x97f, 0x1401c2bef\naddss   xmm6, xmm1                                                     ; +0x983, 0x1401c2bf3\nmov     rax, [rdi+5E8h]                                                ; +0x987, 0x1401c2bf7\nmov     rcx, [rax+10C8h]                                               ; +0x98e, 0x1401c2bfe\nmov     rax, [rcx]                                                     ; +0x995, 0x1401c2c05\ncall    qword ptr [rax+0C8h]                                           ; +0x998, 0x1401c2c08\nmov     rdx, rax                                                       ; +0x99e, 0x1401c2c0e\nlea     rcx, [rbp+57h+var_A0]                                          ; +0x9a1, 0x1401c2c11\ncall    cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0x9a5, 0x1401c2c15\nmov     rbx, [rdi+5E8h]                                                ; +0x9ab, 0x1401c2c1b\nsubss   xmm6, [rbp+57h+var_9C]                                         ; +0x9b2, 0x1401c2c22\ndivss   xmm6, xmm8                                                     ; +0x9b7, 0x1401c2c27\nsubss   xmm7, [rbp+57h+var_A0]                                         ; +0x9bc, 0x1401c2c2c\ndivss   xmm7, xmm8                                                     ; +0x9c1, 0x1401c2c31\nmovaps  xmm2, xmm6                                                     ; +0x9c6, 0x1401c2c36\nmovaps  xmm1, xmm7                                                     ; +0x9c9, 0x1401c2c39\nlea     rcx, [rbp+57h+var_B0]                                          ; +0x9cc, 0x1401c2c3c\ncall    cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x9d0, 0x1401c2c40\nmov     rdx, rax                                                       ; +0x9d6, 0x1401c2c46\nlea     rcx, [rbx+3BA8h]                                               ; +0x9d9, 0x1401c2c49\ncall    cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0x9e0, 0x1401c2c50\nmov     [rbp+57h+var_88], 0Fh                                          ; +0x9e6, 0x1401c2c56\nmovsd   xmm0, cs:qword_1407522C0                                       ; +0x9ee, 0x1401c2c5e\nmov     eax, cs:dword_1407522C8                                        ; +0x9f6, 0x1401c2c66\nmov     dword ptr [rbp+57h+Block+8], eax                               ; +0x9fc, 0x1401c2c6c\nmovzx   eax, cs:word_1407522CC                                         ; +0x9ff, 0x1401c2c6f\nmov     word ptr [rbp+57h+Block+0Ch], ax                               ; +0xa06, 0x1401c2c76\nmovzx   eax, cs:byte_1407522CE                                         ; +0xa0a, 0x1401c2c7a\nmov     byte ptr [rbp+57h+Block+0Eh], al                               ; +0xa11, 0x1401c2c81\nmov     byte ptr [rbp+57h+Block+0Fh], 0                                ; +0xa14, 0x1401c2c84\njmp     loc_1401C469D                                                  ; +0xa18, 0x1401c2c88\ntest    bl, bl; jumptable 00000001401C22E3 case 20055                  ; +0xa1d, 0x1401c2c8d\njz      loc_1401C46C2                                                  ; +0xa1f, 0x1401c2c8f\nmov     rcx, [rdi+5E8h]                                                ; +0xa25, 0x1401c2c95\nadd     rcx, 3BA8h                                                     ; +0xa2c, 0x1401c2c9c\nlea     rdx, unk_14090A708                                             ; +0xa33, 0x1401c2ca3\ncall    cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0xa3a, 0x1401c2caa\nxorps   xmm0, xmm0                                                     ; +0xa40, 0x1401c2cb0\nmovups  xmmword ptr [rbp+57h+Block], xmm0                              ; +0xa43, 0x1401c2cb3\nxor     esi, esi                                                       ; +0xa47, 0x1401c2cb7\nmov     [rbp+57h+var_88], rsi                                          ; +0xa49, 0x1401c2cb9\nmov     [rbp+57h+var_80], rsi                                          ; +0xa4d, 0x1401c2cbd\nmov     ecx, 20h ; ' '                                                 ; +0xa51, 0x1401c2cc1\ncall    sub_14003D460                                                  ; +0xa56, 0x1401c2cc6\nmov     [rbp+57h+Block], rax                                           ; +0xa5b, 0x1401c2ccb\nmov     [rbp+57h+var_88], 11h                                          ; +0xa5f, 0x1401c2ccf\nmov     [rbp+57h+var_80], 1Fh                                          ; +0xa67, 0x1401c2cd7\nmovups  xmm0, cs:xmmword_1407522F0                                     ; +0xa6f, 0x1401c2cdf\nmovups  xmmword ptr [rax], xmm0                                        ; +0xa76, 0x1401c2ce6\nmovzx   ecx, cs:byte_140752300                                         ; +0xa79, 0x1401c2ce9\nmov     [rax+10h], cl                                                  ; +0xa80, 0x1401c2cf0\nmov     [rax+11h], sil                                                 ; +0xa83, 0x1401c2cf3\njmp     loc_1401C46AC                                                  ; +0xa87, 0x1401c2cf7\ntest    bl, bl; jumptable 00000001401C22E3 cases 20056,20058,20059,20153-20169,20183,20184 ; +0xa8c, 0x1401c2cfc\njz      loc_1401C46C2                                                  ; +0xa8e, 0x1401c2cfe\nlea     eax, [r14-4E58h]; switch 129 cases                             ; +0xa94, 0x1401c2d04\ncmp     eax, 80h                                                       ; +0xa9b, 0x1401c2d0b\nja      def_1401C2D2A; jumptable 00000001401C2D2A default case, cases 20057,20060-20152,20170-20182 ; +0xaa0, 0x1401c2d10\ncdqe                                                                   ; +0xaa6, 0x1401c2d16\nmovzx   eax, ds:(byte_1401C4AB4 - 140000000h)[rdx+rax]                 ; +0xaa8, 0x1401c2d18\nmov     ecx, ds:(jpt_1401C2D2A - 140000000h)[rdx+rax*4]                ; +0xab0, 0x1401c2d20\nadd     rcx, rdx                                                       ; +0xab7, 0x1401c2d27\njmp     rcx; switch jump                                               ; +0xaba, 0x1401c2d2a\nmov     ebx, 9; jumptable 00000001401C2D2A case 20056                  ; +0xabc, 0x1401c2d2c\njmp     loc_1401C2DD6                                                  ; +0xac1, 0x1401c2d31\nmov     ebx, 0Bh; jumptable 00000001401C2D2A case 20058                ; +0xac6, 0x1401c2d36\njmp     loc_1401C2DD6                                                  ; +0xacb, 0x1401c2d3b\nmov     ebx, 0Ah; jumptable 00000001401C2D2A case 20059                ; +0xad0, 0x1401c2d40\njmp     loc_1401C2DD6                                                  ; +0xad5, 0x1401c2d45\nmov     ebx, 14h; jumptable 00000001401C2D2A case 20153                ; +0xada, 0x1401c2d4a\njmp     loc_1401C2DD6                                                  ; +0xadf, 0x1401c2d4f\nmov     ebx, 8; jumptable 00000001401C2D2A case 20154                  ; +0xae4, 0x1401c2d54\njmp     short loc_1401C2DD6                                            ; +0xae9, 0x1401c2d59\nmov     ebx, 7; jumptable 00000001401C2D2A case 20155                  ; +0xaeb, 0x1401c2d5b\njmp     short loc_1401C2DD6                                            ; +0xaf0, 0x1401c2d60\nmov     ebx, 6; jumptable 00000001401C2D2A case 20156                  ; +0xaf2, 0x1401c2d62\njmp     short loc_1401C2DD6                                            ; +0xaf7, 0x1401c2d67\nmov     ebx, 5; jumptable 00000001401C2D2A case 20157                  ; +0xaf9, 0x1401c2d69\njmp     short loc_1401C2DD6                                            ; +0xafe, 0x1401c2d6e\nmov     ebx, 4; jumptable 00000001401C2D2A case 20158                  ; +0xb00, 0x1401c2d70\njmp     short loc_1401C2DD6                                            ; +0xb05, 0x1401c2d75\nmov     ebx, 3; jumptable 00000001401C2D2A case 20159                  ; +0xb07, 0x1401c2d77\njmp     short loc_1401C2DD6                                            ; +0xb0c, 0x1401c2d7c\nmov     ebx, 2; jumptable 00000001401C2D2A case 20160                  ; +0xb0e, 0x1401c2d7e\njmp     short loc_1401C2DD6                                            ; +0xb13, 0x1401c2d83\nmov     ebx, 1; jumptable 00000001401C2D2A case 20161                  ; +0xb15, 0x1401c2d85\njmp     short loc_1401C2DD6                                            ; +0xb1a, 0x1401c2d8a\nmov     ebx, 0Ch; jumptable 00000001401C2D2A case 20162                ; +0xb1c, 0x1401c2d8c\njmp     short loc_1401C2DD6                                            ; +0xb21, 0x1401c2d91\nmov     ebx, 0Dh; jumptable 00000001401C2D2A case 20163                ; +0xb23, 0x1401c2d93\njmp     short loc_1401C2DD6                                            ; +0xb28, 0x1401c2d98\nmov     ebx, 0Eh; jumptable 00000001401C2D2A case 20164                ; +0xb2a, 0x1401c2d9a\njmp     short loc_1401C2DD6                                            ; +0xb2f, 0x1401c2d9f\nmov     ebx, 0Fh; jumptable 00000001401C2D2A case 20165                ; +0xb31, 0x1401c2da1\njmp     short loc_1401C2DD6                                            ; +0xb36, 0x1401c2da6\nmov     ebx, 0FFFFFFF0h; jumptable 00000001401C2D2A case 20166         ; +0xb38, 0x1401c2da8\njmp     short loc_1401C2DD6                                            ; +0xb3d, 0x1401c2dad\nmov     ebx, 11h; jumptable 00000001401C2D2A case 20167                ; +0xb3f, 0x1401c2daf\njmp     short loc_1401C2DD6                                            ; +0xb44, 0x1401c2db4\nmov     ebx, 12h; jumptable 00000001401C2D2A case 20168                ; +0xb46, 0x1401c2db6\njmp     short loc_1401C2DD6                                            ; +0xb4b, 0x1401c2dbb\nmov     ebx, 13h; jumptable 00000001401C2D2A case 20169                ; +0xb4d, 0x1401c2dbd\njmp     short loc_1401C2DD6                                            ; +0xb52, 0x1401c2dc2\nmov     ebx, 15h; jumptable 00000001401C2D2A case 20183                ; +0xb54, 0x1401c2dc4\njmp     short loc_1401C2DD6                                            ; +0xb59, 0x1401c2dc9\nmov     ebx, 16h; jumptable 00000001401C2D2A case 20184                ; +0xb5b, 0x1401c2dcb\njmp     short loc_1401C2DD6                                            ; +0xb60, 0x1401c2dd0\nxor     esi, esi; jumptable 00000001401C2D2A default case, cases 20057,20060-20152,20170-20182 ; +0xb62, 0x1401c2dd2\nmov     ebx, esi                                                       ; +0xb64, 0x1401c2dd4\nmov     edx, ebx                                                       ; +0xb66, 0x1401c2dd6\nmov     rcx, rdi                                                       ; +0xb68, 0x1401c2dd8\ncall    EditorUI__toggleViewOption                                     ; +0xb6b, 0x1401c2ddb\ntest    al, al                                                         ; +0xb70, 0x1401c2de0\njz      loc_1401C46C2                                                  ; +0xb72, 0x1401c2de2\nsub     r14d, 4E58h                                                    ; +0xb78, 0x1401c2de8\njz      short loc_1401C2E2B                                            ; +0xb7f, 0x1401c2def\nsub     r14d, 2                                                        ; +0xb81, 0x1401c2df1\njz      short loc_1401C2E21                                            ; +0xb85, 0x1401c2df5\nsub     r14d, 1                                                        ; +0xb87, 0x1401c2df7\njz      short loc_1401C2E17                                            ; +0xb8b, 0x1401c2dfb\ncmp     r14d, 5Eh ; '^'                                                ; +0xb8d, 0x1401c2dfd\njz      short loc_1401C2E0D                                            ; +0xb91, 0x1401c2e01\nmov     ebx, 0BDh                                                      ; +0xb93, 0x1401c2e03\njmp     loc_1401C2B46                                                  ; +0xb98, 0x1401c2e08\nmov     ebx, 10Dh                                                      ; +0xb9d, 0x1401c2e0d\njmp     loc_1401C2B46                                                  ; +0xba2, 0x1401c2e12\nmov     ebx, 0C5h                                                      ; +0xba7, 0x1401c2e17\njmp     loc_1401C2B46                                                  ; +0xbac, 0x1401c2e1c\nmov     ebx, 0C4h                                                      ; +0xbb1, 0x1401c2e21\njmp     loc_1401C2B46                                                  ; +0xbb6, 0x1401c2e26\nmov     ebx, 0C3h                                                      ; +0xbbb, 0x1401c2e2b\njmp     loc_1401C2B46                                                  ; +0xbc0, 0x1401c2e30\ntest    bl, bl; jumptable 00000001401C22E3 case 20057                  ; +0xbc5, 0x1401c2e35\njz      loc_1401C46C2                                                  ; +0xbc7, 0x1401c2e37\ncmp     cs:qword_14090BFD0, 0                                          ; +0xbcd, 0x1401c2e3d\njnz     short loc_1401C2E71                                            ; +0xbd5, 0x1401c2e45\nmov     ecx, 6E8h; Size                                                ; +0xbd7, 0x1401c2e47\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0xbdc, 0x1401c2e4c\nmov     [rbp+57h+var_B0], rax                                          ; +0xbe1, 0x1401c2e51\nmov     rcx, rax                                                       ; +0xbe5, 0x1401c2e55\ncall    GameManager__GameManager                                       ; +0xbe8, 0x1401c2e58\nnop                                                                    ; +0xbed, 0x1401c2e5d\nmov     cs:qword_14090BFD0, rax                                        ; +0xbee, 0x1401c2e5e\nmov     rcx, [rax]                                                     ; +0xbf5, 0x1401c2e65\nmov     rdx, [rcx+48h]                                                 ; +0xbf8, 0x1401c2e68\nmov     rcx, rax                                                       ; +0xbfc, 0x1401c2e6c\ncall    rdx                                                            ; +0xbff, 0x1401c2e6f\nlea     rdx, a0137; \"0137\"                                             ; +0xc01, 0x1401c2e71\ncall    GameManager__toggleGameVariable                                ; +0xc08, 0x1401c2e78\nmov     rcx, [rdi+5E8h]                                                ; +0xc0d, 0x1401c2e7d\ncall    LevelEditorLayer__updatePreviewParticles                       ; +0xc14, 0x1401c2e84\nmov     rcx, cs:qword_14090BFD0                                        ; +0xc19, 0x1401c2e89\ntest    rcx, rcx                                                       ; +0xc20, 0x1401c2e90\njnz     short loc_1401C2EC7                                            ; +0xc23, 0x1401c2e93\nmov     ecx, 6E8h; Size                                                ; +0xc25, 0x1401c2e95\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0xc2a, 0x1401c2e9a\nmov     [rbp+57h+var_B0], rax                                          ; +0xc2f, 0x1401c2e9f\nmov     rcx, rax                                                       ; +0xc33, 0x1401c2ea3\ncall    GameManager__GameManager                                       ; +0xc36, 0x1401c2ea6\nnop                                                                    ; +0xc3b, 0x1401c2eab\nmov     cs:qword_14090BFD0, rax                                        ; +0xc3c, 0x1401c2eac\nmov     rcx, [rax]                                                     ; +0xc43, 0x1401c2eb3\nmov     r8, [rcx+48h]                                                  ; +0xc46, 0x1401c2eb6\nmov     rcx, rax                                                       ; +0xc4a, 0x1401c2eba\ncall    r8                                                             ; +0xc4d, 0x1401c2ebd\nmov     rcx, cs:qword_14090BFD0                                        ; +0xc50, 0x1401c2ec0\nlea     rdx, a0137; \"0137\"                                             ; +0xc57, 0x1401c2ec7\ncall    GameManager__getGameVariable                                   ; +0xc5e, 0x1401c2ece\nmovzx   ebx, al                                                        ; +0xc63, 0x1401c2ed3\nxorps   xmm0, xmm0                                                     ; +0xc66, 0x1401c2ed6\nmovups  xmmword ptr [rbp+57h+Block], xmm0                              ; +0xc69, 0x1401c2ed9\nxor     esi, esi                                                       ; +0xc6d, 0x1401c2edd\nmov     [rbp+57h+var_88], rsi                                          ; +0xc6f, 0x1401c2edf\nmov     [rbp+57h+var_80], rsi                                          ; +0xc73, 0x1401c2ee3\nmov     ecx, 20h ; ' '                                                 ; +0xc77, 0x1401c2ee7\ncall    sub_14003D460                                                  ; +0xc7c, 0x1401c2eec\nmov     [rbp+57h+Block], rax                                           ; +0xc81, 0x1401c2ef1\nmov     [rbp+57h+var_88], 10h                                          ; +0xc85, 0x1401c2ef5\nmov     [rbp+57h+var_80], 1Fh                                          ; +0xc8d, 0x1401c2efd\nmovups  xmm0, cs:xmmword_140752288                                     ; +0xc95, 0x1401c2f05\nmovups  xmmword ptr [rax], xmm0                                        ; +0xc9c, 0x1401c2f0c\nmov     [rax+10h], sil                                                 ; +0xc9f, 0x1401c2f0f\nxor     bl, 1                                                          ; +0xca3, 0x1401c2f13\nmov     dword ptr [rsp+0E0h+Reserved], esi                             ; +0xca6, 0x1401c2f16\nxor     r9d, r9d                                                       ; +0xcaa, 0x1401c2f1a\nmovzx   r8d, bl                                                        ; +0xcad, 0x1401c2f1d\nlea     rdx, [rbp+57h+Block]                                           ; +0xcb1, 0x1401c2f21\nmov     rcx, rdi                                                       ; +0xcb5, 0x1401c2f25\ncall    EditorUI__showTextAlert                                        ; +0xcb8, 0x1401c2f28\ncall    EditorSFXManager__sharedState                                  ; +0xcbd, 0x1401c2f2d\nmov     rbx, rax                                                       ; +0xcc2, 0x1401c2f32\nmov     edx, 0C6h                                                      ; +0xcc5, 0x1401c2f35\nmov     rcx, rax                                                       ; +0xcca, 0x1401c2f3a\ncall    EditorSFXManager__hasSoundsForAction                           ; +0xccd, 0x1401c2f3d\nmov     rcx, rbx                                                       ; +0xcd2, 0x1401c2f42\ntest    al, al                                                         ; +0xcd5, 0x1401c2f45\njz      loc_1401C435D                                                  ; +0xcd7, 0x1401c2f47\nmov     edx, 0C6h                                                      ; +0xcdd, 0x1401c2f4d\ncall    EditorSFXManager__playAction                                   ; +0xce2, 0x1401c2f52\nmov     al, 1                                                          ; +0xce7, 0x1401c2f57\njmp     loc_1401C46C8                                                  ; +0xce9, 0x1401c2f59\ntest    bl, bl; jumptable 00000001401C22E3 case 20186                  ; +0xcee, 0x1401c2f5e\njz      loc_1401C46C2                                                  ; +0xcf0, 0x1401c2f60\ncmp     cs:qword_14090BFD0, 0                                          ; +0xcf6, 0x1401c2f66\njnz     short loc_1401C2F9A                                            ; +0xcfe, 0x1401c2f6e\nmov     ecx, 6E8h; Size                                                ; +0xd00, 0x1401c2f70\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0xd05, 0x1401c2f75\nmov     [rbp+57h+var_B0], rax                                          ; +0xd0a, 0x1401c2f7a\nmov     rcx, rax                                                       ; +0xd0e, 0x1401c2f7e\ncall    GameManager__GameManager                                       ; +0xd11, 0x1401c2f81\nnop                                                                    ; +0xd16, 0x1401c2f86\nmov     cs:qword_14090BFD0, rax                                        ; +0xd17, 0x1401c2f87\nmov     rcx, [rax]                                                     ; +0xd1e, 0x1401c2f8e\nmov     rdx, [rcx+48h]                                                 ; +0xd21, 0x1401c2f91\nmov     rcx, rax                                                       ; +0xd25, 0x1401c2f95\ncall    rdx                                                            ; +0xd28, 0x1401c2f98\nlea     rdx, a0248; \"0248\"                                             ; +0xd2a, 0x1401c2f9a\ncall    GameManager__toggleGameVariable                                ; +0xd31, 0x1401c2fa1\nmov     rcx, [rdi+5E8h]                                                ; +0xd36, 0x1401c2fa6\ncall    LevelEditorLayer__updateOptions                                ; +0xd3d, 0x1401c2fad\nmov     rcx, cs:qword_14090BFD0                                        ; +0xd42, 0x1401c2fb2\ntest    rcx, rcx                                                       ; +0xd49, 0x1401c2fb9\njnz     short loc_1401C2FF0                                            ; +0xd4c, 0x1401c2fbc\nmov     ecx, 6E8h; Size                                                ; +0xd4e, 0x1401c2fbe\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0xd53, 0x1401c2fc3\nmov     [rbp+57h+var_B0], rax                                          ; +0xd58, 0x1401c2fc8\nmov     rcx, rax                                                       ; +0xd5c, 0x1401c2fcc\ncall    GameManager__GameManager                                       ; +0xd5f, 0x1401c2fcf\nnop                                                                    ; +0xd64, 0x1401c2fd4\nmov     cs:qword_14090BFD0, rax                                        ; +0xd65, 0x1401c2fd5\nmov     rcx, [rax]                                                     ; +0xd6c, 0x1401c2fdc\nmov     r8, [rcx+48h]                                                  ; +0xd6f, 0x1401c2fdf\nmov     rcx, rax                                                       ; +0xd73, 0x1401c2fe3\ncall    r8                                                             ; +0xd76, 0x1401c2fe6\nmov     rcx, cs:qword_14090BFD0                                        ; +0xd79, 0x1401c2fe9\nlea     rdx, a0248; \"0248\"                                             ; +0xd80, 0x1401c2ff0\ncall    GameManager__getGameVariable                                   ; +0xd87, 0x1401c2ff7\nmovzx   r8d, al                                                        ; +0xd8c, 0x1401c2ffc\nmov     word ptr [rbp+57h+Block+0Eh], 0                                ; +0xd90, 0x1401c3000\nmov     [rbp+57h+var_88], 0Eh                                          ; +0xd96, 0x1401c3006\nmovsd   xmm0, cs:qword_1407522B0                                       ; +0xd9e, 0x1401c300e\nmov     eax, cs:dword_1407522B8                                        ; +0xda6, 0x1401c3016\nmov     dword ptr [rbp+57h+Block+8], eax                               ; +0xdac, 0x1401c301c\nmovzx   eax, cs:word_1407522BC                                         ; +0xdaf, 0x1401c301f\nmov     word ptr [rbp+57h+Block+0Ch], ax                               ; +0xdb6, 0x1401c3026\nxor     r8b, 1                                                         ; +0xdba, 0x1401c302a\nxor     esi, esi                                                       ; +0xdbe, 0x1401c302e\njmp     loc_1401C4335                                                  ; +0xdc0, 0x1401c3030\ntest    bl, bl; jumptable 00000001401C22E3 case 20060                  ; +0xdc5, 0x1401c3035\njz      loc_1401C46C2                                                  ; +0xdc7, 0x1401c3037\nmov     rcx, cs:qword_14090BFD0                                        ; +0xdcd, 0x1401c303d\ntest    rcx, rcx                                                       ; +0xdd4, 0x1401c3044\njnz     short loc_1401C307A                                            ; +0xdd7, 0x1401c3047\nmov     ecx, 6E8h; Size                                                ; +0xdd9, 0x1401c3049\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0xdde, 0x1401c304e\nmov     [rbp+57h+var_B0], rax                                          ; +0xde3, 0x1401c3053\nmov     rcx, rax                                                       ; +0xde7, 0x1401c3057\ncall    GameManager__GameManager                                       ; +0xdea, 0x1401c305a\nnop                                                                    ; +0xdef, 0x1401c305f\nmov     cs:qword_14090BFD0, rax                                        ; +0xdf0, 0x1401c3060\nmov     rcx, [rax]                                                     ; +0xdf7, 0x1401c3067\nmov     rdx, [rcx+48h]                                                 ; +0xdfa, 0x1401c306a\nmov     rcx, rax                                                       ; +0xdfe, 0x1401c306e\ncall    rdx                                                            ; +0xe01, 0x1401c3071\nmov     rcx, cs:qword_14090BFD0                                        ; +0xe03, 0x1401c3073\nlea     rdx, a0097; \"0097\"                                             ; +0xe0a, 0x1401c307a\ncall    GameManager__getGameVariable                                   ; +0xe11, 0x1401c3081\ntest    al, al                                                         ; +0xe16, 0x1401c3086\njz      loc_1401C46C2                                                  ; +0xe18, 0x1401c3088\ncmp     cs:qword_14090BFD0, 0                                          ; +0xe1e, 0x1401c308e\njnz     short loc_1401C30C2                                            ; +0xe26, 0x1401c3096\nmov     ecx, 6E8h; Size                                                ; +0xe28, 0x1401c3098\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0xe2d, 0x1401c309d\nmov     [rbp+57h+var_B0], rax                                          ; +0xe32, 0x1401c30a2\nmov     rcx, rax                                                       ; +0xe36, 0x1401c30a6\ncall    GameManager__GameManager                                       ; +0xe39, 0x1401c30a9\nnop                                                                    ; +0xe3e, 0x1401c30ae\nmov     cs:qword_14090BFD0, rax                                        ; +0xe3f, 0x1401c30af\nmov     rcx, [rax]                                                     ; +0xe46, 0x1401c30b6\nmov     rdx, [rcx+48h]                                                 ; +0xe49, 0x1401c30b9\nmov     rcx, rax                                                       ; +0xe4d, 0x1401c30bd\ncall    rdx                                                            ; +0xe50, 0x1401c30c0\nlea     rdx, a0180; \"0180\"                                             ; +0xe52, 0x1401c30c2\ncall    GameManager__toggleGameVariable                                ; +0xe59, 0x1401c30c9\nmov     rcx, cs:qword_14090BFD0                                        ; +0xe5e, 0x1401c30ce\ntest    rcx, rcx                                                       ; +0xe65, 0x1401c30d5\njnz     short loc_1401C310C                                            ; +0xe68, 0x1401c30d8\nmov     ecx, 6E8h; Size                                                ; +0xe6a, 0x1401c30da\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0xe6f, 0x1401c30df\nmov     [rbp+57h+var_B0], rax                                          ; +0xe74, 0x1401c30e4\nmov     rcx, rax                                                       ; +0xe78, 0x1401c30e8\ncall    GameManager__GameManager                                       ; +0xe7b, 0x1401c30eb\nnop                                                                    ; +0xe80, 0x1401c30f0\nmov     cs:qword_14090BFD0, rax                                        ; +0xe81, 0x1401c30f1\nmov     rcx, [rax]                                                     ; +0xe88, 0x1401c30f8\nmov     r8, [rcx+48h]                                                  ; +0xe8b, 0x1401c30fb\nmov     rcx, rax                                                       ; +0xe8f, 0x1401c30ff\ncall    r8                                                             ; +0xe92, 0x1401c3102\nmov     rcx, cs:qword_14090BFD0                                        ; +0xe95, 0x1401c3105\nlea     rdx, a0180; \"0180\"                                             ; +0xe9c, 0x1401c310c\ncall    GameManager__getGameVariable                                   ; +0xea3, 0x1401c3113\nmov     [rdi+394h], al                                                 ; +0xea8, 0x1401c3118\nmov     rcx, rdi                                                       ; +0xeae, 0x1401c311e\ncall    EditorUI__updateButtons                                        ; +0xeb1, 0x1401c3121\nxor     esi, esi                                                       ; +0xeb6, 0x1401c3126\nmov     dword ptr [rbp+57h+Block+0Ch], esi                             ; +0xeb8, 0x1401c3128\nmov     ebx, 0Bh                                                       ; +0xebb, 0x1401c312b\nmov     [rbp+57h+var_88], rbx                                          ; +0xec0, 0x1401c3130\nmov     [rbp+57h+var_80], 0Fh                                          ; +0xec4, 0x1401c3134\nmovsd   xmm0, cs:qword_1407522A0                                       ; +0xecc, 0x1401c313c\nmovsd   [rbp+57h+Block], xmm0                                          ; +0xed4, 0x1401c3144\nmovzx   eax, cs:word_1407522A8                                         ; +0xed9, 0x1401c3149\nmov     word ptr [rbp+57h+Block+8], ax                                 ; +0xee0, 0x1401c3150\nmovzx   eax, cs:byte_1407522AA                                         ; +0xee4, 0x1401c3154\nmov     byte ptr [rbp+57h+Block+0Ah], al                               ; +0xeeb, 0x1401c315b\nmov     byte ptr [rbp+57h+Block+0Bh], sil                              ; +0xeee, 0x1401c315e\ncmp     [rdi+394h], sil                                                ; +0xef2, 0x1401c3162\nsetz    r8b                                                            ; +0xef9, 0x1401c3169\nxor     r9d, r9d                                                       ; +0xefd, 0x1401c316d\njmp     loc_1401C46B2                                                  ; +0xf00, 0x1401c3170\ntest    bl, bl; jumptable 00000001401C22E3 case 20061                  ; +0xf05, 0x1401c3175\njz      loc_1401C46C2                                                  ; +0xf07, 0x1401c3177\nmov     rcx, [rdi+3B0h]                                                ; +0xf0d, 0x1401c317d\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0xf14, 0x1401c3184\ntest    eax, eax                                                       ; +0xf1a, 0x1401c318a\njnz     loc_1401C46C2                                                  ; +0xf1c, 0x1401c318c\nmov     rcx, [rdi+620h]                                                ; +0xf22, 0x1401c3192\nmov     r8, [rdi+5E8h]                                                 ; +0xf29, 0x1401c3199\nxor     esi, esi                                                       ; +0xf30, 0x1401c31a0\ntest    rcx, rcx                                                       ; +0xf32, 0x1401c31a2\njz      short loc_1401C31C1                                            ; +0xf35, 0x1401c31a5\nmov     rdx, [r8+3CA8h]                                                ; +0xf37, 0x1401c31a7\ntest    rdx, rdx                                                       ; +0xf3e, 0x1401c31ae\njz      short loc_1401C31C4                                            ; +0xf41, 0x1401c31b1\nmov     eax, [rcx+39Ch]                                                ; +0xf43, 0x1401c31b3\ncmp     [rdx+39Ch], eax                                                ; +0xf49, 0x1401c31b9\njnz     short loc_1401C31C4                                            ; +0xf4f, 0x1401c31bf\nmov     rcx, rsi                                                       ; +0xf51, 0x1401c31c1\nmov     [r8+3CA8h], rcx                                                ; +0xf54, 0x1401c31c4\nxorps   xmm0, xmm0                                                     ; +0xf5b, 0x1401c31cb\nmovups  xmmword ptr [rbp+57h+Block], xmm0                              ; +0xf5e, 0x1401c31ce\nmov     [rbp+57h+var_88], 0Ah                                          ; +0xf62, 0x1401c31d2\nmov     [rbp+57h+var_80], 0Fh                                          ; +0xf6a, 0x1401c31da\nmovsd   xmm0, cs:qword_140752248                                       ; +0xf72, 0x1401c31e2\nmovsd   [rbp+57h+Block], xmm0                                          ; +0xf7a, 0x1401c31ea\nmovzx   eax, cs:word_140752250                                         ; +0xf7f, 0x1401c31ef\nmov     word ptr [rbp+57h+Block+8], ax                                 ; +0xf86, 0x1401c31f6\nmov     byte ptr [rbp+57h+Block+0Ah], 0                                ; +0xf8a, 0x1401c31fa\nmov     rax, [rdi+5E8h]                                                ; +0xf8e, 0x1401c31fe\ncmp     qword ptr [rax+3CA8h], 0                                       ; +0xf95, 0x1401c3205\nsetnz   r8b                                                            ; +0xf9d, 0x1401c320d\nxor     r9d, r9d                                                       ; +0xfa1, 0x1401c3211\njmp     loc_1401C46B2                                                  ; +0xfa4, 0x1401c3214\ntest    bl, bl; jumptable 00000001401C22E3 case 20062                  ; +0xfa9, 0x1401c3219\njz      loc_1401C46C2                                                  ; +0xfab, 0x1401c321b\nmov     rcx, [rdi+3B0h]                                                ; +0xfb1, 0x1401c3221\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0xfb8, 0x1401c3228\ntest    eax, eax                                                       ; +0xfbe, 0x1401c322e\njnz     loc_1401C46C2                                                  ; +0xfc0, 0x1401c3230\nmov     rcx, [rdi+620h]                                                ; +0xfc6, 0x1401c3236\ntest    rcx, rcx                                                       ; +0xfcd, 0x1401c323d\njz      short loc_1401C3279                                            ; +0xfd0, 0x1401c3240\ncmp     dword ptr [rcx+4E8h], 1                                        ; +0xfd2, 0x1401c3242\njnz     short loc_1401C3279                                            ; +0xfd9, 0x1401c3249\nmov     r8, [rdi+5E8h]                                                 ; +0xfdb, 0x1401c324b\nmov     rdx, [r8+3CB0h]                                                ; +0xfe2, 0x1401c3252\nxor     esi, esi                                                       ; +0xfe9, 0x1401c3259\ntest    rdx, rdx                                                       ; +0xfeb, 0x1401c325b\njz      short loc_1401C3270                                            ; +0xfee, 0x1401c325e\nmov     eax, [rcx+39Ch]                                                ; +0xff0, 0x1401c3260\ncmp     [rdx+39Ch], eax                                                ; +0xff6, 0x1401c3266\njnz     short loc_1401C3270                                            ; +0xffc, 0x1401c326c\nmov     ecx, esi                                                       ; +0xffe, 0x1401c326e\nmov     [r8+3CB0h], rcx                                                ; +0x1000, 0x1401c3270\njmp     short loc_1401C3289                                            ; +0x1007, 0x1401c3277\nmov     rax, [rdi+5E8h]                                                ; +0x1009, 0x1401c3279\nxor     esi, esi                                                       ; +0x1010, 0x1401c3280\nmov     [rax+3CB0h], rsi                                               ; +0x1012, 0x1401c3282\nmov     dword ptr [rbp+57h+Block+0Ch], esi                             ; +0x1019, 0x1401c3289\nmov     ebx, 0Bh                                                       ; +0x101c, 0x1401c328c\nmov     [rbp+57h+var_88], rbx                                          ; +0x1021, 0x1401c3291\nmov     [rbp+57h+var_80], 0Fh                                          ; +0x1025, 0x1401c3295\nmovsd   xmm0, cs:qword_140752238                                       ; +0x102d, 0x1401c329d\nmovsd   [rbp+57h+Block], xmm0                                          ; +0x1035, 0x1401c32a5\nmovzx   eax, cs:word_140752240                                         ; +0x103a, 0x1401c32aa\nmov     word ptr [rbp+57h+Block+8], ax                                 ; +0x1041, 0x1401c32b1\nmovzx   eax, cs:byte_140752242                                         ; +0x1045, 0x1401c32b5\nmov     byte ptr [rbp+57h+Block+0Ah], al                               ; +0x104c, 0x1401c32bc\nmov     byte ptr [rbp+57h+Block+0Bh], 0                                ; +0x104f, 0x1401c32bf\nmov     rax, [rdi+5E8h]                                                ; +0x1053, 0x1401c32c3\ncmp     qword ptr [rax+3CB0h], 0                                       ; +0x105a, 0x1401c32ca\nsetnz   r8b                                                            ; +0x1062, 0x1401c32d2\nxor     r9d, r9d                                                       ; +0x1066, 0x1401c32d6\njmp     loc_1401C46B2                                                  ; +0x1069, 0x1401c32d9\ntest    bl, bl; jumptable 00000001401C22E3 case 20116                  ; +0x106e, 0x1401c32de\njz      loc_1401C46C2                                                  ; +0x1070, 0x1401c32e0\nmovzx   ecx, byte ptr [rdi+67Dh]                                       ; +0x1076, 0x1401c32e6\ntest    cl, cl                                                         ; +0x107d, 0x1401c32ed\nsetz    al                                                             ; +0x107f, 0x1401c32ef\nmov     [rdi+67Dh], al                                                 ; +0x1082, 0x1401c32f2\nmov     byte ptr [rdi+67Eh], 0                                         ; +0x1088, 0x1401c32f8\ntest    cl, cl                                                         ; +0x108f, 0x1401c32ff\njz      short loc_1401C335F                                            ; +0x1091, 0x1401c3301\nmov     rcx, [rdi+3B8h]                                                ; +0x1093, 0x1401c3303\ncmp     dword ptr [rdi+5E4h], 1                                        ; +0x109a, 0x1401c330a\nsetz    dl                                                             ; +0x10a1, 0x1401c3311\nmov     rax, [rcx]                                                     ; +0x10a4, 0x1401c3314\ncall    qword ptr [rax+150h]                                           ; +0x10a7, 0x1401c3317\nmov     rcx, rdi                                                       ; +0x10ad, 0x1401c331d\ncall    EditorUI__updateDeleteButtons                                  ; +0x10b0, 0x1401c3320\nxor     edx, edx                                                       ; +0x10b5, 0x1401c3325\nmov     rcx, rdi                                                       ; +0x10b7, 0x1401c3327\ncall    EditorUI__updateCreateMenu                                     ; +0x10ba, 0x1401c332a\nmov     rcx, rdi                                                       ; +0x10bf, 0x1401c332f\ncall    EditorUI__updateEditMenu                                       ; +0x10c2, 0x1401c3332\ncmp     byte ptr [rdi+67Dh], 0                                         ; +0x10c7, 0x1401c3337\njnz     short loc_1401C334D                                            ; +0x10ce, 0x1401c333e\ncmp     dword ptr [rdi+5E4h], 4                                        ; +0x10d0, 0x1401c3340\njnz     short loc_1401C334D                                            ; +0x10d7, 0x1401c3347\nmov     dl, 1                                                          ; +0x10d9, 0x1401c3349\njmp     short loc_1401C334F                                            ; +0x10db, 0x1401c334b\nxor     edx, edx                                                       ; +0x10dd, 0x1401c334d\nmov     rcx, [rdi+598h]                                                ; +0x10df, 0x1401c334f\nmov     rax, [rcx]                                                     ; +0x10e6, 0x1401c3356\ncall    qword ptr [rax+150h]                                           ; +0x10e9, 0x1401c3359\ncmp     byte ptr [rdi+67Dh], 0                                         ; +0x10ef, 0x1401c335f\nsetz    dl                                                             ; +0x10f6, 0x1401c3366\nmov     rcx, rdi                                                       ; +0x10f9, 0x1401c3369\ncall    EditorUI__showUI                                               ; +0x10fc, 0x1401c336c\ncall    EditorSFXManager__sharedState                                  ; +0x1101, 0x1401c3371\nmov     rbx, rax                                                       ; +0x1106, 0x1401c3376\nmov     edx, 0C2h                                                      ; +0x1109, 0x1401c3379\nmov     rcx, rax                                                       ; +0x110e, 0x1401c337e\ncall    EditorSFXManager__hasSoundsForAction                           ; +0x1111, 0x1401c3381\nmov     rcx, rbx                                                       ; +0x1116, 0x1401c3386\ntest    al, al                                                         ; +0x1119, 0x1401c3389\njz      loc_1401C435D                                                  ; +0x111b, 0x1401c338b\nmov     edx, 0C2h                                                      ; +0x1121, 0x1401c3391\ncall    EditorSFXManager__playAction                                   ; +0x1126, 0x1401c3396\nmov     al, 1                                                          ; +0x112b, 0x1401c339b\njmp     loc_1401C46C8                                                  ; +0x112d, 0x1401c339d\ntest    bl, bl; jumptable 00000001401C22E3 case 20119                  ; +0x1132, 0x1401c33a2\njz      loc_1401C46C2                                                  ; +0x1134, 0x1401c33a4\ncmp     byte ptr [rdi+67Ch], 0                                         ; +0x113a, 0x1401c33aa\njnz     loc_1401C46C2                                                  ; +0x1141, 0x1401c33b1\nmov     edx, 1                                                         ; +0x1147, 0x1401c33b7\nmov     rcx, rdi                                                       ; +0x114c, 0x1401c33bc\ncall    EditorUI__toggleWindow                                         ; +0x114f, 0x1401c33bf\nmov     al, 1                                                          ; +0x1154, 0x1401c33c4\njmp     loc_1401C46C8                                                  ; +0x1156, 0x1401c33c6\ntest    bl, bl; jumptable 00000001401C22E3 case 20120                  ; +0x115b, 0x1401c33cb\njz      loc_1401C46C2                                                  ; +0x115d, 0x1401c33cd\nmov     rcx, rdi                                                       ; +0x1163, 0x1401c33d3\ncall    EditorUI__getSelectedObjects                                   ; +0x1166, 0x1401c33d6\nmov     rdx, rax                                                       ; +0x116b, 0x1401c33db\nxor     r8d, r8d                                                       ; +0x116e, 0x1401c33de\nmov     rcx, rdi                                                       ; +0x1171, 0x1401c33e1\ncall    EditorUI__alignObjectsOnAxis                                   ; +0x1174, 0x1401c33e4\nmov     al, 1                                                          ; +0x1179, 0x1401c33e9\njmp     loc_1401C46C8                                                  ; +0x117b, 0x1401c33eb\ntest    bl, bl; jumptable 00000001401C22E3 case 20121                  ; +0x1180, 0x1401c33f0\njz      loc_1401C46C2                                                  ; +0x1182, 0x1401c33f2\nmov     rcx, rdi                                                       ; +0x1188, 0x1401c33f8\ncall    EditorUI__getSelectedObjects                                   ; +0x118b, 0x1401c33fb\nmov     rdx, rax                                                       ; +0x1190, 0x1401c3400\nmov     r8b, 1                                                         ; +0x1193, 0x1401c3403\nmov     rcx, rdi                                                       ; +0x1196, 0x1401c3406\ncall    EditorUI__alignObjectsOnAxis                                   ; +0x1199, 0x1401c3409\nmov     al, 1                                                          ; +0x119e, 0x1401c340e\njmp     loc_1401C46C8                                                  ; +0x11a0, 0x1401c3410\ntest    bl, bl; jumptable 00000001401C22E3 case 20090                  ; +0x11a5, 0x1401c3415\njz      loc_1401C46C2                                                  ; +0x11a7, 0x1401c3417\nmov     rcx, rdi                                                       ; +0x11ad, 0x1401c341d\ncall    EditorUI__getSelectedObjects                                   ; +0x11b0, 0x1401c3420\nmov     rdx, rax                                                       ; +0x11b5, 0x1401c3425\nxor     r8d, r8d                                                       ; +0x11b8, 0x1401c3428\nmov     rcx, rdi                                                       ; +0x11bb, 0x1401c342b\ncall    EditorUI__alignObjects                                         ; +0x11be, 0x1401c342e\nmov     al, 1                                                          ; +0x11c3, 0x1401c3433\njmp     loc_1401C46C8                                                  ; +0x11c5, 0x1401c3435\ntest    bl, bl; jumptable 00000001401C22E3 case 20091                  ; +0x11ca, 0x1401c343a\njz      loc_1401C46C2                                                  ; +0x11cc, 0x1401c343c\nmov     rcx, rdi                                                       ; +0x11d2, 0x1401c3442\ncall    EditorUI__getSelectedObjects                                   ; +0x11d5, 0x1401c3445\nmov     rdx, rax                                                       ; +0x11da, 0x1401c344a\nmov     r8b, 1                                                         ; +0x11dd, 0x1401c344d\nmov     rcx, rdi                                                       ; +0x11e0, 0x1401c3450\ncall    EditorUI__alignObjects                                         ; +0x11e3, 0x1401c3453\nmov     al, 1                                                          ; +0x11e8, 0x1401c3458\njmp     loc_1401C46C8                                                  ; +0x11ea, 0x1401c345a\ntest    bl, bl; jumptable 00000001401C22E3 case 20123                  ; +0x11ef, 0x1401c345f\njz      loc_1401C46C2                                                  ; +0x11f1, 0x1401c3461\nmov     dl, 1                                                          ; +0x11f7, 0x1401c3467\nmov     rcx, rdi                                                       ; +0x11f9, 0x1401c3469\ncall    EditorUI__dynamicGroupUpdate                                   ; +0x11fc, 0x1401c346c\nmov     al, 1                                                          ; +0x1201, 0x1401c3471\njmp     loc_1401C46C8                                                  ; +0x1203, 0x1401c3473\ntest    bl, bl; jumptable 00000001401C22E3 case 20088                  ; +0x1208, 0x1401c3478\njz      loc_1401C46C2                                                  ; +0x120a, 0x1401c347a\nxor     edx, edx                                                       ; +0x1210, 0x1401c3480\nmov     rcx, rdi                                                       ; +0x1212, 0x1401c3482\ncall    EditorUI__dynamicGroupUpdate                                   ; +0x1215, 0x1401c3485\nmov     al, 1                                                          ; +0x121a, 0x1401c348a\njmp     loc_1401C46C8                                                  ; +0x121c, 0x1401c348c\ntest    bl, bl; jumptable 00000001401C22E3 case 20089                  ; +0x1221, 0x1401c3491\njz      loc_1401C46C2                                                  ; +0x1223, 0x1401c3493\nmov     rcx, rdi                                                       ; +0x1229, 0x1401c3499\ncall    EditorUI__createLoop                                           ; +0x122c, 0x1401c349c\nmov     al, 1                                                          ; +0x1231, 0x1401c34a1\njmp     loc_1401C46C8                                                  ; +0x1233, 0x1401c34a3\ntest    bl, bl; jumptable 00000001401C22E3 case 20122                  ; +0x1238, 0x1401c34a8\njz      loc_1401C46C2                                                  ; +0x123a, 0x1401c34aa\nmov     rcx, rdi                                                       ; +0x1240, 0x1401c34b0\ncall    EditorUI__createGradientFromSelection                          ; +0x1243, 0x1401c34b3\nmov     al, 1                                                          ; +0x1248, 0x1401c34b8\njmp     loc_1401C46C8                                                  ; +0x124a, 0x1401c34ba\ntest    bl, bl; jumptable 00000001401C22E3 case 20092                  ; +0x124f, 0x1401c34bf\njz      loc_1401C46C2                                                  ; +0x1251, 0x1401c34c1\nmov     rcx, rdi                                                       ; +0x1257, 0x1401c34c7\ncall    EditorUI__selectAll                                            ; +0x125a, 0x1401c34ca\nmov     al, 1                                                          ; +0x125f, 0x1401c34cf\njmp     loc_1401C46C8                                                  ; +0x1261, 0x1401c34d1\ntest    bl, bl; jumptable 00000001401C22E3 case 20093                  ; +0x1266, 0x1401c34d6\njz      loc_1401C46C2                                                  ; +0x1268, 0x1401c34d8\nmov     dl, 1                                                          ; +0x126e, 0x1401c34de\nmov     rcx, rdi                                                       ; +0x1270, 0x1401c34e0\ncall    EditorUI__selectAllWithDirection                               ; +0x1273, 0x1401c34e3\nmov     al, 1                                                          ; +0x1278, 0x1401c34e8\njmp     loc_1401C46C8                                                  ; +0x127a, 0x1401c34ea\ntest    bl, bl; jumptable 00000001401C22E3 case 20094                  ; +0x127f, 0x1401c34ef\njz      loc_1401C46C2                                                  ; +0x1281, 0x1401c34f1\nxor     edx, edx                                                       ; +0x1287, 0x1401c34f7\nmov     rcx, rdi                                                       ; +0x1289, 0x1401c34f9\ncall    EditorUI__selectAllWithDirection                               ; +0x128c, 0x1401c34fc\nmov     al, 1                                                          ; +0x1291, 0x1401c3501\njmp     loc_1401C46C8                                                  ; +0x1293, 0x1401c3503\ntest    bl, bl; jumptable 00000001401C22E3 case 20185                  ; +0x1298, 0x1401c3508\njz      loc_1401C46C2                                                  ; +0x129a, 0x1401c350a\nmov     rcx, rdi                                                       ; +0x12a0, 0x1401c3510\ncall    EditorUI__getSelectedObjects                                   ; +0x12a3, 0x1401c3513\nmov     rbx, rax                                                       ; +0x12a8, 0x1401c3518\nmov     rcx, rax                                                       ; +0x12ab, 0x1401c351b\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x12ae, 0x1401c351e\ntest    eax, eax                                                       ; +0x12b4, 0x1401c3524\njz      loc_1401C46C2                                                  ; +0x12b6, 0x1401c3526\nmov     r9b, 1                                                         ; +0x12bc, 0x1401c352c\nmov     r8, rbx                                                        ; +0x12bf, 0x1401c352f\nlea     rdx, [rbp+57h+var_B0]                                          ; +0x12c2, 0x1401c3532\ncall    EditorUI__getGroupCenter                                       ; +0x12c6, 0x1401c3536\nmov     rdx, rax                                                       ; +0x12cb, 0x1401c353b\nmov     rcx, rdi                                                       ; +0x12ce, 0x1401c353e\ncall    EditorUI__centerCameraOnPoint                                  ; +0x12d1, 0x1401c3541\nmov     al, 1                                                          ; +0x12d6, 0x1401c3546\njmp     loc_1401C46C8                                                  ; +0x12d8, 0x1401c3548\ntest    bl, bl; jumptable 00000001401C22E3 case 20124                  ; +0x12dd, 0x1401c354d\njz      loc_1401C46C2                                                  ; +0x12df, 0x1401c354f\nxor     edx, edx                                                       ; +0x12e5, 0x1401c3555\nmov     rcx, rdi                                                       ; +0x12e7, 0x1401c3557\ncall    EditorUI__assignNewGroups                                      ; +0x12ea, 0x1401c355a\nmov     al, 1                                                          ; +0x12ef, 0x1401c355f\njmp     loc_1401C46C8                                                  ; +0x12f1, 0x1401c3561\ntest    bl, bl; jumptable 00000001401C22E3 case 20125                  ; +0x12f6, 0x1401c3566\njz      loc_1401C46C2                                                  ; +0x12f8, 0x1401c3568\nmov     dl, 1                                                          ; +0x12fe, 0x1401c356e\nmov     rcx, rdi                                                       ; +0x1300, 0x1401c3570\ncall    EditorUI__assignNewGroups                                      ; +0x1303, 0x1401c3573\nmov     al, 1                                                          ; +0x1308, 0x1401c3578\njmp     loc_1401C46C8                                                  ; +0x130a, 0x1401c357a\ntest    bl, bl; jumptable 00000001401C22E3 case 20126                  ; +0x130f, 0x1401c357f\njz      loc_1401C46C2                                                  ; +0x1311, 0x1401c3581\nmov     dl, 1                                                          ; +0x1317, 0x1401c3587\nmov     rcx, rdi                                                       ; +0x1319, 0x1401c3589\ncall    EditorUI__doCopyObjects                                        ; +0x131c, 0x1401c358c\nmov     al, 1                                                          ; +0x1321, 0x1401c3591\njmp     loc_1401C46C8                                                  ; +0x1323, 0x1401c3593\ntest    bl, bl; jumptable 00000001401C22E3 case 20127                  ; +0x1328, 0x1401c3598\njz      loc_1401C46C2                                                  ; +0x132a, 0x1401c359a\nmov     dl, 1                                                          ; +0x1330, 0x1401c35a0\nmov     rcx, rdi                                                       ; +0x1332, 0x1401c35a2\ncall    EditorUI__doPasteObjects                                       ; +0x1335, 0x1401c35a5\nmov     al, 1                                                          ; +0x133a, 0x1401c35aa\njmp     loc_1401C46C8                                                  ; +0x133c, 0x1401c35ac\ntest    bl, bl; jumptable 00000001401C22E3 case 20128                  ; +0x1341, 0x1401c35b1\njz      loc_1401C46C2                                                  ; +0x1343, 0x1401c35b3\nmov     rcx, rdi                                                       ; +0x1349, 0x1401c35b9\ncall    EditorUI__getSelectedObjects                                   ; +0x134c, 0x1401c35bc\nmov     rdx, rax                                                       ; +0x1351, 0x1401c35c1\nmov     rcx, rdi                                                       ; +0x1354, 0x1401c35c4\ncall    EditorUI__createRockBases                                      ; +0x1357, 0x1401c35c7\nmov     al, 1                                                          ; +0x135c, 0x1401c35cc\njmp     loc_1401C46C8                                                  ; +0x135e, 0x1401c35ce\ntest    bl, bl; jumptable 00000001401C22E3 case 20129                  ; +0x1363, 0x1401c35d3\njz      loc_1401C46C2                                                  ; +0x1365, 0x1401c35d5\nmov     r11, [rdi+5E8h]                                                ; +0x136b, 0x1401c35db\nxor     esi, esi                                                       ; +0x1372, 0x1401c35e2\nmov     r9d, esi                                                       ; +0x1374, 0x1401c35e4\nmov     r10d, 2710h                                                    ; +0x1377, 0x1401c35e7\nnop     dword ptr [rax]                                                ; +0x137d, 0x1401c35ed\nmov     r8, r9                                                         ; +0x1380, 0x1401c35f0\nshr     r8, 5                                                          ; +0x1383, 0x1401c35f3\nmov     rdx, [r11+3B68h]                                               ; +0x1387, 0x1401c35f7\nmov     rcx, r9                                                        ; +0x138e, 0x1401c35fe\nand     ecx, 1Fh                                                       ; +0x1391, 0x1401c3601\nmov     eax, [rdx+r8*4]                                                ; +0x1394, 0x1401c3604\nbtr     eax, ecx                                                       ; +0x1398, 0x1401c3608\nmov     [rdx+r8*4], eax                                                ; +0x139b, 0x1401c360b\ninc     r9                                                             ; +0x139f, 0x1401c360f\nsub     r10, 1                                                         ; +0x13a2, 0x1401c3612\njnz     short loc_1401C35F0                                            ; +0x13a6, 0x1401c3616\nmov     [r11+3B88h], esi                                               ; +0x13a8, 0x1401c3618\nmov     al, 1                                                          ; +0x13af, 0x1401c361f\njmp     loc_1401C46C8                                                  ; +0x13b1, 0x1401c3621\ntest    bl, bl; jumptable 00000001401C22E3 case 20130                  ; +0x13b6, 0x1401c3626\njz      loc_1401C46C2                                                  ; +0x13b8, 0x1401c3628\nmov     rcx, [rdi+5E8h]                                                ; +0x13be, 0x1401c362e\ncall    LevelEditorLayer__resetUnusedColorChannels                     ; +0x13c5, 0x1401c3635\nmov     al, 1                                                          ; +0x13ca, 0x1401c363a\njmp     loc_1401C46C8                                                  ; +0x13cc, 0x1401c363c\ntest    bl, bl; jumptable 00000001401C22E3 case 20131                  ; +0x13d1, 0x1401c3641\njz      loc_1401C46C2                                                  ; +0x13d3, 0x1401c3643\nmov     rcx, rdi                                                       ; +0x13d9, 0x1401c3649\ncall    EditorUI__uncheckPortals                                       ; +0x13dc, 0x1401c364c\nmov     al, 1                                                          ; +0x13e1, 0x1401c3651\njmp     loc_1401C46C8                                                  ; +0x13e3, 0x1401c3653\ntest    bl, bl; jumptable 00000001401C22E3 case 20063                  ; +0x13e8, 0x1401c3658\njz      loc_1401C46C2                                                  ; +0x13ea, 0x1401c365a\nmov     rax, [rdi+5E8h]                                                ; +0x13f0, 0x1401c3660\ninc     word ptr [rax+3A12h]                                           ; +0x13f7, 0x1401c3667\nmov     rcx, rdi                                                       ; +0x13fe, 0x1401c366e\ncall    EditorUI__updateGroupIDLabel                                   ; +0x1401, 0x1401c3671\nmov     al, 1                                                          ; +0x1406, 0x1401c3676\njmp     loc_1401C46C8                                                  ; +0x1408, 0x1401c3678\ntest    bl, bl; jumptable 00000001401C22E3 case 20064                  ; +0x140d, 0x1401c367d\njz      loc_1401C46C2                                                  ; +0x140f, 0x1401c367f\nmov     rcx, [rdi+5E8h]                                                ; +0x1415, 0x1401c3685\nmovsx   eax, word ptr [rcx+3A12h]                                      ; +0x141c, 0x1401c368c\ndec     eax                                                            ; +0x1423, 0x1401c3693\nmov     r15, 0FFFFFFFFFFFFFFFFh                                        ; +0x1425, 0x1401c3695\ncmp     eax, r15d                                                      ; +0x142c, 0x1401c369c\ncmovl   ax, r15w                                                       ; +0x142f, 0x1401c369f\nmov     [rcx+3A12h], ax                                                ; +0x1434, 0x1401c36a4\nmov     rcx, rdi                                                       ; +0x143b, 0x1401c36ab\ncall    EditorUI__updateGroupIDLabel                                   ; +0x143e, 0x1401c36ae\nmov     al, 1                                                          ; +0x1443, 0x1401c36b3\njmp     loc_1401C46C8                                                  ; +0x1445, 0x1401c36b5\ntest    bl, bl; jumptable 00000001401C22E3 case 20065                  ; +0x144a, 0x1401c36ba\njz      loc_1401C46C2                                                  ; +0x144c, 0x1401c36bc\nmov     edx, 1                                                         ; +0x1452, 0x1401c36c2\nmov     rcx, rdi                                                       ; +0x1457, 0x1401c36c7\ncall    EditorUI__onTargetIDChange                                     ; +0x145a, 0x1401c36ca\nmov     al, 1                                                          ; +0x145f, 0x1401c36cf\njmp     loc_1401C46C8                                                  ; +0x1461, 0x1401c36d1\ntest    bl, bl; jumptable 00000001401C22E3 case 20066                  ; +0x1466, 0x1401c36d6\njz      loc_1401C46C2                                                  ; +0x1468, 0x1401c36d8\nmov     rdx, 0FFFFFFFFFFFFFFFFh                                        ; +0x146e, 0x1401c36de\nmov     rcx, rdi                                                       ; +0x1475, 0x1401c36e5\ncall    EditorUI__onTargetIDChange                                     ; +0x1478, 0x1401c36e8\nmov     al, 1                                                          ; +0x147d, 0x1401c36ed\njmp     loc_1401C46C8                                                  ; +0x147f, 0x1401c36ef\ntest    bl, bl; jumptable 00000001401C22E3 case 20117                  ; +0x1484, 0x1401c36f4\njz      loc_1401C46C2                                                  ; +0x1486, 0x1401c36f6\ncmp     qword ptr [rdi+680h], 0                                        ; +0x148c, 0x1401c36fc\njz      loc_1401C46C2                                                  ; +0x1494, 0x1401c3704\nmov     ecx, [rdi+688h]                                                ; +0x149a, 0x1401c370a\ninc     ecx                                                            ; +0x14a0, 0x1401c3710\nmov     eax, 38E38E39h                                                 ; +0x14a2, 0x1401c3712\nimul    ecx                                                            ; +0x14a7, 0x1401c3717\nsar     edx, 1                                                         ; +0x14a9, 0x1401c3719\nmov     eax, edx                                                       ; +0x14ab, 0x1401c371b\nshr     eax, 1Fh                                                       ; +0x14ad, 0x1401c371d\nadd     edx, eax                                                       ; +0x14b0, 0x1401c3720\nlea     eax, [rdx+rdx*8]                                               ; +0x14b2, 0x1401c3722\nsub     ecx, eax                                                       ; +0x14b5, 0x1401c3725\nmov     edx, ecx                                                       ; +0x14b7, 0x1401c3727\nmov     rcx, rdi                                                       ; +0x14b9, 0x1401c3729\ncall    EditorUI__setDpadStep                                          ; +0x14bc, 0x1401c372c\nmov     al, 1                                                          ; +0x14c1, 0x1401c3731\njmp     loc_1401C46C8                                                  ; +0x14c3, 0x1401c3733\ntest    bl, bl; jumptable 00000001401C22E3 case 20078                  ; +0x14c8, 0x1401c3738\njz      loc_1401C46C2                                                  ; +0x14ca, 0x1401c373a\nxor     edx, edx                                                       ; +0x14d0, 0x1401c3740\nmov     rcx, rdi                                                       ; +0x14d2, 0x1401c3742\ncall    EditorUI__editObject                                           ; +0x14d5, 0x1401c3745\nmov     al, 1                                                          ; +0x14da, 0x1401c374a\njmp     loc_1401C46C8                                                  ; +0x14dc, 0x1401c374c\ntest    bl, bl; jumptable 00000001401C22E3 case 20080                  ; +0x14e1, 0x1401c3751\njz      loc_1401C46C2                                                  ; +0x14e3, 0x1401c3753\nmov     rcx, rdi                                                       ; +0x14e9, 0x1401c3759\ncall    EditorUI__editObjectSpecial                                    ; +0x14ec, 0x1401c375c\nmov     al, 1                                                          ; +0x14f1, 0x1401c3761\njmp     loc_1401C46C8                                                  ; +0x14f3, 0x1401c3763\ntest    bl, bl; jumptable 00000001401C22E3 case 20132                  ; +0x14f8, 0x1401c3768\njz      loc_1401C46C2                                                  ; +0x14fa, 0x1401c376a\ncmp     qword ptr [rdi+620h], 0                                        ; +0x1500, 0x1401c3770\njnz     short loc_1401C378F                                            ; +0x1508, 0x1401c3778\nmov     rcx, [rdi+3B0h]                                                ; +0x150a, 0x1401c377a\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x1511, 0x1401c3781\ntest    eax, eax                                                       ; +0x1517, 0x1401c3787\njz      loc_1401C46C2                                                  ; +0x1519, 0x1401c3789\nmov     rcx, [rdi+480h]                                                ; +0x151f, 0x1401c378f\nmov     rax, [rcx]                                                     ; +0x1526, 0x1401c3796\ncall    qword ptr [rax+38h]                                            ; +0x1529, 0x1401c3799\nmov     rcx, rdi                                                       ; +0x152c, 0x1401c379c\ncmp     eax, 1                                                         ; +0x152f, 0x1401c379f\njnz     short loc_1401C37B8                                            ; +0x1532, 0x1401c37a2\ncall    EditorUI__editHSV                                              ; +0x1534, 0x1401c37a4\nmov     rcx, rdi                                                       ; +0x1539, 0x1401c37a9\ncall    EditorUI__updateEditColorButton                                ; +0x153c, 0x1401c37ac\nmov     al, 1                                                          ; +0x1541, 0x1401c37b1\njmp     loc_1401C46C8                                                  ; +0x1543, 0x1401c37b3\ncall    EditorUI__editColor                                            ; +0x1548, 0x1401c37b8\nmov     rcx, rdi                                                       ; +0x154d, 0x1401c37bd\ncall    EditorUI__updateEditColorButton                                ; +0x1550, 0x1401c37c0\nmov     al, 1                                                          ; +0x1555, 0x1401c37c5\njmp     loc_1401C46C8                                                  ; +0x1557, 0x1401c37c7\ntest    bl, bl; jumptable 00000001401C22E3 case 20133                  ; +0x155c, 0x1401c37cc\njz      loc_1401C46C2                                                  ; +0x155e, 0x1401c37ce\nxor     edx, edx                                                       ; +0x1564, 0x1401c37d4\nmov     rcx, rdi                                                       ; +0x1566, 0x1401c37d6\ncall    EditorUI__onGoToLayer                                          ; +0x1569, 0x1401c37d9\nmov     al, 1                                                          ; +0x156e, 0x1401c37de\njmp     loc_1401C46C8                                                  ; +0x1570, 0x1401c37e0\ntest    bl, bl; jumptable 00000001401C22E3 case 20134                  ; +0x1575, 0x1401c37e5\njz      loc_1401C46C2                                                  ; +0x1577, 0x1401c37e7\nmov     rax, [rdi+5E8h]                                                ; +0x157d, 0x1401c37ed\nmov     word ptr [rax+3A12h], 0FFFFh                                   ; +0x1584, 0x1401c37f4\nmov     rcx, rdi                                                       ; +0x158d, 0x1401c37fd\ncall    EditorUI__updateGroupIDLabel                                   ; +0x1590, 0x1401c3800\nmov     al, 1                                                          ; +0x1595, 0x1401c3805\njmp     loc_1401C46C8                                                  ; +0x1597, 0x1401c3807\ntest    bl, bl; jumptable 00000001401C22E3 case 20135                  ; +0x159c, 0x1401c380c\njz      loc_1401C46C2                                                  ; +0x159e, 0x1401c380e\nxor     edx, edx                                                       ; +0x15a4, 0x1401c3814\nmov     rcx, rdi                                                       ; +0x15a6, 0x1401c3816\ncall    EditorUI__onGoToFreeLayer                                      ; +0x15a9, 0x1401c3819\nmov     al, 1                                                          ; +0x15ae, 0x1401c381e\njmp     loc_1401C46C8                                                  ; +0x15b0, 0x1401c3820\ntest    bl, bl; jumptable 00000001401C22E3 case 20136                  ; +0x15b5, 0x1401c3825\njz      loc_1401C46C2                                                  ; +0x15b7, 0x1401c3827\nxor     edx, edx                                                       ; +0x15bd, 0x1401c382d\nmov     rcx, rdi                                                       ; +0x15bf, 0x1401c382f\ncall    EditorUI__onLockLayer                                          ; +0x15c2, 0x1401c3832\nmov     al, 1                                                          ; +0x15c7, 0x1401c3837\njmp     loc_1401C46C8                                                  ; +0x15c9, 0x1401c3839\ntest    bl, bl; jumptable 00000001401C22E3 case 20137                  ; +0x15ce, 0x1401c383e\njz      loc_1401C46C2                                                  ; +0x15d0, 0x1401c3840\ncmp     byte ptr [rdi+394h], 0                                         ; +0x15d6, 0x1401c3846\njnz     loc_1401C46C2                                                  ; +0x15dd, 0x1401c384d\nmov     rcx, [rdi+3B0h]                                                ; +0x15e3, 0x1401c3853\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x15ea, 0x1401c385a\ntest    eax, eax                                                       ; +0x15f0, 0x1401c3860\njz      loc_1401C46C2                                                  ; +0x15f2, 0x1401c3862\nmov     rdx, [rdi+3B0h]                                                ; +0x15f8, 0x1401c3868\nmov     rcx, [rdi+5E8h]                                                ; +0x15ff, 0x1401c386f\ncall    GJBaseGameLayer__groupStickyObjects                            ; +0x1606, 0x1401c3876\nmov     rcx, rdi                                                       ; +0x160b, 0x1401c387b\ncall    EditorUI__updateButtons                                        ; +0x160e, 0x1401c387e\nmov     al, 1                                                          ; +0x1613, 0x1401c3883\njmp     loc_1401C46C8                                                  ; +0x1615, 0x1401c3885\ntest    bl, bl; jumptable 00000001401C22E3 case 20138                  ; +0x161a, 0x1401c388a\njz      loc_1401C46C2                                                  ; +0x161c, 0x1401c388c\ncmp     byte ptr [rdi+394h], 0                                         ; +0x1622, 0x1401c3892\njnz     loc_1401C46C2                                                  ; +0x1629, 0x1401c3899\nmov     rcx, [rdi+3B0h]                                                ; +0x162f, 0x1401c389f\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x1636, 0x1401c38a6\ntest    eax, eax                                                       ; +0x163c, 0x1401c38ac\njz      loc_1401C46C2                                                  ; +0x163e, 0x1401c38ae\nmov     rdx, [rdi+3B0h]                                                ; +0x1644, 0x1401c38b4\nmov     rcx, [rdi+5E8h]                                                ; +0x164b, 0x1401c38bb\ncall    GJBaseGameLayer__ungroupStickyObjects                          ; +0x1652, 0x1401c38c2\nmov     rcx, rdi                                                       ; +0x1657, 0x1401c38c7\ncall    EditorUI__updateButtons                                        ; +0x165a, 0x1401c38ca\nmov     al, 1                                                          ; +0x165f, 0x1401c38cf\njmp     loc_1401C46C8                                                  ; +0x1661, 0x1401c38d1\ntest    bl, bl; jumptable 00000001401C22E3 case 20140                  ; +0x1666, 0x1401c38d6\njz      loc_1401C46C2                                                  ; +0x1668, 0x1401c38d8\ncmp     byte ptr [rdi+67Ch], 0                                         ; +0x166e, 0x1401c38de\njnz     loc_1401C46C2                                                  ; +0x1675, 0x1401c38e5\nmov     edx, 3                                                         ; +0x167b, 0x1401c38eb\nmov     rcx, rdi                                                       ; +0x1680, 0x1401c38f0\ncall    EditorUI__toggleWindow                                         ; +0x1683, 0x1401c38f3\nmov     al, 1                                                          ; +0x1688, 0x1401c38f8\njmp     loc_1401C46C8                                                  ; +0x168a, 0x1401c38fa\ntest    bl, bl; jumptable 00000001401C22E3 cases 20172,20173           ; +0x168f, 0x1401c38ff\njz      loc_1401C46C2                                                  ; +0x1691, 0x1401c3901\nmov     rsi, cs:qword_14090BFD0                                        ; +0x1697, 0x1401c3907\ntest    rsi, rsi                                                       ; +0x169e, 0x1401c390e\njnz     short loc_1401C3944                                            ; +0x16a1, 0x1401c3911\nmov     ecx, 6E8h; Size                                                ; +0x16a3, 0x1401c3913\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x16a8, 0x1401c3918\nmov     [rbp+57h+var_B0], rax                                          ; +0x16ad, 0x1401c391d\nmov     rcx, rax                                                       ; +0x16b1, 0x1401c3921\ncall    GameManager__GameManager                                       ; +0x16b4, 0x1401c3924\nnop                                                                    ; +0x16b9, 0x1401c3929\nmov     cs:qword_14090BFD0, rax                                        ; +0x16ba, 0x1401c392a\nmov     rcx, [rax]                                                     ; +0x16c1, 0x1401c3931\nmov     rdx, [rcx+48h]                                                 ; +0x16c4, 0x1401c3934\nmov     rcx, rax                                                       ; +0x16c8, 0x1401c3938\ncall    rdx                                                            ; +0x16cb, 0x1401c393b\nmov     rsi, cs:qword_14090BFD0                                        ; +0x16cd, 0x1401c393d\nxorps   xmm0, xmm0                                                     ; +0x16d4, 0x1401c3944\nmovups  xmmword ptr [rbp+57h+Block], xmm0                              ; +0x16d7, 0x1401c3947\nmov     ebx, 3                                                         ; +0x16db, 0x1401c394b\nmov     [rbp+57h+var_88], rbx                                          ; +0x16e0, 0x1401c3950\nmov     [rbp+57h+var_80], 0Fh                                          ; +0x16e4, 0x1401c3954\nmov     eax, cs:dword_140757618                                        ; +0x16ec, 0x1401c395c\nmov     word ptr [rbp+57h+Block], ax                                   ; +0x16f2, 0x1401c3962\nmovzx   eax, byte ptr cs:dword_140757618+2                             ; +0x16f6, 0x1401c3966\nmov     byte ptr [rbp+57h+Block+2], al                                 ; +0x16fd, 0x1401c396d\nmov     byte ptr [rbp+57h+Block+3], 0                                  ; +0x1700, 0x1401c3970\nmov     r8d, 4; Size                                                   ; +0x1704, 0x1401c3974\nlea     rdx, a0230; \"0230\"                                             ; +0x170a, 0x1401c397a\nlea     rcx, [rbp+57h+Block]; Src                                      ; +0x1711, 0x1401c3981\ncall    sub_140044D80                                                  ; +0x1715, 0x1401c3985\nlea     rdx, [rbp+57h+Block]                                           ; +0x171a, 0x1401c398a\nmov     rcx, [rsi+1B0h]                                                ; +0x171e, 0x1401c398e\ncall    cs:?valueForKey@CCDictionary@cocos2d@@QEAAPEBVCCString@2@AEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z; cocos2d::CCDictionary::valueForKey(std::string const &) ; +0x1725, 0x1401c3995\nmov     rcx, rax                                                       ; +0x172b, 0x1401c399b\ncall    cs:?intValue@CCString@cocos2d@@QEBAHXZ; cocos2d::CCString::intValue(void) ; +0x172e, 0x1401c399e\nmov     r12d, eax                                                      ; +0x1734, 0x1401c39a4\nmov     rdx, [rbp+57h+var_80]                                          ; +0x1737, 0x1401c39a7\ncmp     rdx, 0Fh                                                       ; +0x173b, 0x1401c39ab\njbe     short loc_1401C39F9                                            ; +0x173f, 0x1401c39af\ninc     rdx                                                            ; +0x1741, 0x1401c39b1\nmov     r8, [rbp+57h+Block]                                            ; +0x1744, 0x1401c39b4\nmov     rcx, r8                                                        ; +0x1748, 0x1401c39b8\ncmp     rdx, 1000h                                                     ; +0x174b, 0x1401c39bb\njb      short loc_1401C39F1                                            ; +0x1752, 0x1401c39c2\nadd     rdx, 27h ; '''                                                 ; +0x1754, 0x1401c39c4\nmov     r8, [r8-8]                                                     ; +0x1758, 0x1401c39c8\nsub     rcx, r8                                                        ; +0x175c, 0x1401c39cc\nsub     rcx, 8                                                         ; +0x175f, 0x1401c39cf\ncmp     rcx, 1Fh                                                       ; +0x1763, 0x1401c39d3\njbe     short loc_1401C39F1                                            ; +0x1767, 0x1401c39d7\nxor     esi, esi                                                       ; +0x1769, 0x1401c39d9\nmov     [rsp+0E0h+Reserved], rsi; Reserved                             ; +0x176b, 0x1401c39db\nxor     r9d, r9d; LineNo                                               ; +0x1770, 0x1401c39e0\nxor     r8d, r8d; FileName                                             ; +0x1773, 0x1401c39e3\nxor     edx, edx; FunctionName                                         ; +0x1776, 0x1401c39e6\nxor     ecx, ecx; Expression                                           ; +0x1778, 0x1401c39e8\ncall    cs:_invoke_watson                                              ; +0x177a, 0x1401c39ea\ndb 0CCh                                                                ; +0x1780, 0x1401c39f0\nmov     rcx, r8; Block                                                 ; +0x1781, 0x1401c39f1\ncall    j_j_free                                                       ; +0x1784, 0x1401c39f4\nxor     esi, esi                                                       ; +0x1789, 0x1401c39f9\nmov     [rbp+57h+var_88], rsi                                          ; +0x178b, 0x1401c39fb\nmov     [rbp+57h+var_80], 0Fh                                          ; +0x178f, 0x1401c39ff\nmov     byte ptr [rbp+57h+Block], sil                                  ; +0x1797, 0x1401c3a07\ntest    r12d, r12d                                                     ; +0x179b, 0x1401c3a0b\njg      short loc_1401C3A2E                                            ; +0x179e, 0x1401c3a0e\ncmp     [rdi+67Ch], sil                                                ; +0x17a0, 0x1401c3a10\njnz     loc_1401C46C2                                                  ; +0x17a7, 0x1401c3a17\nmov     edx, ebx                                                       ; +0x17ad, 0x1401c3a1d\nmov     rcx, rdi                                                       ; +0x17af, 0x1401c3a1f\ncall    EditorUI__toggleWindow                                         ; +0x17b2, 0x1401c3a22\nmov     al, 1                                                          ; +0x17b7, 0x1401c3a27\njmp     loc_1401C46C8                                                  ; +0x17b9, 0x1401c3a29\nmov     rcx, cs:qword_14090BFD0                                        ; +0x17be, 0x1401c3a2e\ntest    rcx, rcx                                                       ; +0x17c5, 0x1401c3a35\njnz     short loc_1401C3A6B                                            ; +0x17c8, 0x1401c3a38\nmov     ecx, 6E8h; Size                                                ; +0x17ca, 0x1401c3a3a\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x17cf, 0x1401c3a3f\nmov     [rbp+57h+var_B0], rax                                          ; +0x17d4, 0x1401c3a44\nmov     rcx, rax                                                       ; +0x17d8, 0x1401c3a48\ncall    GameManager__GameManager                                       ; +0x17db, 0x1401c3a4b\nnop                                                                    ; +0x17e0, 0x1401c3a50\nmov     cs:qword_14090BFD0, rax                                        ; +0x17e1, 0x1401c3a51\nmov     rcx, [rax]                                                     ; +0x17e8, 0x1401c3a58\nmov     rdx, [rcx+48h]                                                 ; +0x17eb, 0x1401c3a5b\nmov     rcx, rax                                                       ; +0x17ef, 0x1401c3a5f\ncall    rdx                                                            ; +0x17f2, 0x1401c3a62\nmov     rcx, cs:qword_14090BFD0                                        ; +0x17f4, 0x1401c3a64\nmov     ebx, 1                                                         ; +0x17fb, 0x1401c3a6b\nmov     r15, 0FFFFFFFFFFFFFFFFh                                        ; +0x1800, 0x1401c3a70\ncmp     r14d, 4ECCh                                                    ; +0x1807, 0x1401c3a77\ncmovz   r15d, ebx                                                      ; +0x180e, 0x1401c3a7e\nlea     rdx, a0232; \"0232\"                                             ; +0x1812, 0x1401c3a82\ncall    GameManager__getGameVariable                                   ; +0x1819, 0x1401c3a89\nmovzx   r8d, al                                                        ; +0x181e, 0x1401c3a8e\nmov     r9d, r15d                                                      ; +0x1822, 0x1401c3a92\nmov     edx, r12d                                                      ; +0x1825, 0x1401c3a95\nmov     rcx, rdi                                                       ; +0x1828, 0x1401c3a98\ncall    EditorUI__findObject                                           ; +0x182b, 0x1401c3a9b\nmovzx   eax, bl                                                        ; +0x1830, 0x1401c3aa0\njmp     loc_1401C46C8                                                  ; +0x1833, 0x1401c3aa3\ntest    bl, bl; jumptable 00000001401C22E3 case 20141                  ; +0x1838, 0x1401c3aa8\njz      loc_1401C46C2                                                  ; +0x183a, 0x1401c3aaa\nxor     edx, edx                                                       ; +0x1840, 0x1401c3ab0\nmov     rcx, rdi                                                       ; +0x1842, 0x1401c3ab2\ncall    EditorUI__onResetSpecialFilter                                 ; +0x1845, 0x1401c3ab5\nmov     al, 1                                                          ; +0x184a, 0x1401c3aba\njmp     loc_1401C46C8                                                  ; +0x184c, 0x1401c3abc\ntest    bl, bl; jumptable 00000001401C22E3 case 20170                  ; +0x1851, 0x1401c3ac1\njz      loc_1401C46C2                                                  ; +0x1853, 0x1401c3ac3\nxor     edx, edx                                                       ; +0x1859, 0x1401c3ac9\nmov     rcx, rdi                                                       ; +0x185b, 0x1401c3acb\ncall    EditorUI__onGroupIDFilter                                      ; +0x185e, 0x1401c3ace\nmov     al, 1                                                          ; +0x1863, 0x1401c3ad3\njmp     loc_1401C46C8                                                  ; +0x1865, 0x1401c3ad5\ntest    bl, bl; jumptable 00000001401C22E3 case 20171                  ; +0x186a, 0x1401c3ada\njz      loc_1401C46C2                                                  ; +0x186c, 0x1401c3adc\nxor     edx, edx                                                       ; +0x1872, 0x1401c3ae2\nmov     rcx, rdi                                                       ; +0x1874, 0x1401c3ae4\ncall    EditorUI__onColorFilter                                        ; +0x1877, 0x1401c3ae7\nmov     al, 1                                                          ; +0x187c, 0x1401c3aec\njmp     loc_1401C46C8                                                  ; +0x187e, 0x1401c3aee\ntest    bl, bl; jumptable 00000001401C22E3 case 20142                  ; +0x1883, 0x1401c3af3\njz      loc_1401C46C2                                                  ; +0x1885, 0x1401c3af5\nxor     edx, edx                                                       ; +0x188b, 0x1401c3afb\nmov     rcx, rdi                                                       ; +0x188d, 0x1401c3afd\ncall    EditorUI__onDeleteSelectedType                                 ; +0x1890, 0x1401c3b00\nmov     al, 1                                                          ; +0x1895, 0x1401c3b05\njmp     loc_1401C46C8                                                  ; +0x1897, 0x1401c3b07\ntest    bl, bl; jumptable 00000001401C22E3 case 20143                  ; +0x189c, 0x1401c3b0c\njz      loc_1401C46C2                                                  ; +0x189e, 0x1401c3b0e\nxor     edx, edx                                                       ; +0x18a4, 0x1401c3b14\nmov     rcx, rdi                                                       ; +0x18a6, 0x1401c3b16\ncall    EditorUI__onNewCustomItem                                      ; +0x18a9, 0x1401c3b19\nmov     al, 1                                                          ; +0x18ae, 0x1401c3b1e\njmp     loc_1401C46C8                                                  ; +0x18b0, 0x1401c3b20\ntest    bl, bl; jumptable 00000001401C22E3 case 20071                  ; +0x18b5, 0x1401c3b25\njz      loc_1401C46C2                                                  ; +0x18b7, 0x1401c3b27\ncmp     qword ptr [rdi+620h], 0                                        ; +0x18bd, 0x1401c3b2d\njnz     short loc_1401C3B4C                                            ; +0x18c5, 0x1401c3b35\nmov     rcx, [rdi+3B0h]                                                ; +0x18c7, 0x1401c3b37\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x18ce, 0x1401c3b3e\ntest    eax, eax                                                       ; +0x18d4, 0x1401c3b44\njz      loc_1401C46C2                                                  ; +0x18d6, 0x1401c3b46\ncall    cs:?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x18dc, 0x1401c3b4c\nmov     rcx, [rax]                                                     ; +0x18e2, 0x1401c3b52\nmov     rdx, [rcx+0B0h]                                                ; +0x18e5, 0x1401c3b55\nmov     rcx, rax                                                       ; +0x18ec, 0x1401c3b5c\ncall    rdx                                                            ; +0x18ef, 0x1401c3b5f\nxor     esi, esi                                                       ; +0x18f1, 0x1401c3b61\ncmp     [rax+9Dh], sil                                                 ; +0x18f3, 0x1401c3b63\njnz     short loc_1401C3BB6                                            ; +0x18fa, 0x1401c3b6a\nmov     rdx, [rdi+5E8h]                                                ; +0x18fc, 0x1401c3b6c\ninc     dword ptr [rdx+3C3Ch]                                          ; +0x1903, 0x1401c3b73\nmov     ecx, [rdx+3C90h]                                               ; +0x1909, 0x1401c3b79\ntest    ecx, ecx                                                       ; +0x190f, 0x1401c3b7f\njs      short loc_1401C3BAA                                            ; +0x1911, 0x1401c3b81\nmov     eax, [rdx+3C50h]                                               ; +0x1913, 0x1401c3b83\nsub     eax, ecx                                                       ; +0x1919, 0x1401c3b89\nmov     ecx, esi                                                       ; +0x191b, 0x1401c3b8b\ncmp     eax, 1                                                         ; +0x191d, 0x1401c3b8d\njle     short loc_1401C3BA0                                            ; +0x1920, 0x1401c3b90\ncmp     ecx, 7                                                         ; +0x1922, 0x1401c3b92\njge     short loc_1401C3BA0                                            ; +0x1925, 0x1401c3b95\nshr     eax, 1                                                         ; +0x1927, 0x1401c3b97\ninc     ecx                                                            ; +0x1929, 0x1401c3b99\ncmp     eax, 1                                                         ; +0x192b, 0x1401c3b9b\nja      short loc_1401C3B92                                            ; +0x192e, 0x1401c3b9e\nmovsxd  rax, ecx                                                       ; +0x1930, 0x1401c3ba0\ninc     dword ptr [rdx+rax*4+3C70h]                                    ; +0x1933, 0x1401c3ba3\nmov     eax, [rdx+3C50h]                                               ; +0x193a, 0x1401c3baa\nmov     [rdx+3C90h], eax                                               ; +0x1940, 0x1401c3bb0\ncall    EditorSFXManager__sharedState                                  ; +0x1946, 0x1401c3bb6\nmov     rcx, rax                                                       ; +0x194b, 0x1401c3bbb\nmov     edx, 82h                                                       ; +0x194e, 0x1401c3bbe\ncall    EditorSFXManager__playAction                                   ; +0x1953, 0x1401c3bc3\nxor     r8d, r8d                                                       ; +0x1958, 0x1401c3bc8\nmov     rcx, rdi                                                       ; +0x195b, 0x1401c3bcb\ncall    EditorUI__createUndoObject                                     ; +0x195e, 0x1401c3bce\nmov     rcx, [rdi+348h]                                                ; +0x1963, 0x1401c3bd3\nmov     rax, [rcx]                                                     ; +0x196a, 0x1401c3bda\ncall    qword ptr [rax+158h]                                           ; +0x196d, 0x1401c3bdd\ntest    al, al                                                         ; +0x1973, 0x1401c3be3\njz      short loc_1401C3C0A                                            ; +0x1975, 0x1401c3be5\nmov     rcx, [rdi+348h]                                                ; +0x1977, 0x1401c3be7\nmovss   xmm1, dword ptr [rcx+260h]                                     ; +0x197e, 0x1401c3bee\naddss   xmm1, cs:dword_140835690                                       ; +0x1986, 0x1401c3bf6\ncall    GJTransformControl__applyRotation                              ; +0x198e, 0x1401c3bfe\nmov     al, 1                                                          ; +0x1993, 0x1401c3c03\njmp     loc_1401C46C8                                                  ; +0x1995, 0x1401c3c05\nmov     rcx, [rdi+3B0h]                                                ; +0x199a, 0x1401c3c0a\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x19a1, 0x1401c3c11\nmov     rcx, [rdi+3B0h]                                                ; +0x19a7, 0x1401c3c17\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x19ae, 0x1401c3c1e\ntest    eax, eax                                                       ; +0x19b4, 0x1401c3c24\njz      short loc_1401C3C62                                            ; +0x19b6, 0x1401c3c26\nmov     rbx, [rdi+3B0h]                                                ; +0x19b8, 0x1401c3c28\nlea     rdx, unk_14090A7A8                                             ; +0x19bf, 0x1401c3c2f\nlea     rcx, [rbp+57h+var_B0]                                          ; +0x19c6, 0x1401c3c36\ncall    cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0x19ca, 0x1401c3c3a\nmov     r9, rax                                                        ; +0x19d0, 0x1401c3c40\nmov     byte ptr [rsp+0E0h+Reserved], sil                              ; +0x19d3, 0x1401c3c43\nmovss   xmm2, cs:dword_140835690                                       ; +0x19d8, 0x1401c3c48\nmov     rdx, rbx                                                       ; +0x19e0, 0x1401c3c50\nmov     rcx, rdi                                                       ; +0x19e3, 0x1401c3c53\ncall    EditorUI__rotateObjects                                        ; +0x19e6, 0x1401c3c56\nmov     al, 1                                                          ; +0x19eb, 0x1401c3c5b\njmp     loc_1401C46C8                                                  ; +0x19ed, 0x1401c3c5d\nmov     rcx, [rdi+3B0h]                                                ; +0x19f2, 0x1401c3c62\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x19f9, 0x1401c3c69\ntest    eax, eax                                                       ; +0x19ff, 0x1401c3c6f\njz      short loc_1401C3CCD                                            ; +0x1a01, 0x1401c3c71\nmov     rcx, [rdi+3B0h]                                                ; +0x1a03, 0x1401c3c73\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x1a0a, 0x1401c3c7a\ntest    eax, eax                                                       ; +0x1a10, 0x1401c3c80\njz      loc_1401C46C2                                                  ; +0x1a12, 0x1401c3c82\nnop     dword ptr [rax+rax+00000000h]                                  ; +0x1a18, 0x1401c3c88\nmov     edx, esi                                                       ; +0x1a20, 0x1401c3c90\nmov     rcx, [rdi+3B0h]                                                ; +0x1a22, 0x1401c3c92\ncall    cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x1a29, 0x1401c3c99\nxor     r9d, r9d                                                       ; +0x1a2f, 0x1401c3c9f\nmov     r8d, 29h ; ')'                                                 ; +0x1a32, 0x1401c3ca2\nmov     rdx, rax                                                       ; +0x1a38, 0x1401c3ca8\nmov     rcx, rdi                                                       ; +0x1a3b, 0x1401c3cab\ncall    EditorUI__transformObject                                      ; +0x1a3e, 0x1401c3cae\ninc     esi                                                            ; +0x1a43, 0x1401c3cb3\nmov     rcx, [rdi+3B0h]                                                ; +0x1a45, 0x1401c3cb5\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x1a4c, 0x1401c3cbc\ncmp     esi, eax                                                       ; +0x1a52, 0x1401c3cc2\njb      short loc_1401C3C90                                            ; +0x1a54, 0x1401c3cc4\nmov     al, 1                                                          ; +0x1a56, 0x1401c3cc6\njmp     loc_1401C46C8                                                  ; +0x1a58, 0x1401c3cc8\nmov     r10, [rdi+620h]                                                ; +0x1a5d, 0x1401c3ccd\nmov     r8d, [r10+40Ch]                                                ; +0x1a64, 0x1401c3cd4\nmov     ecx, r8d                                                       ; +0x1a6b, 0x1401c3cdb\ncall    isSpecialSnapObject                                            ; +0x1a6e, 0x1401c3cde\ntest    al, al                                                         ; +0x1a73, 0x1401c3ce3\njnz     short loc_1401C3CF0                                            ; +0x1a75, 0x1401c3ce5\ncmp     r8d, 0B54h                                                     ; +0x1a77, 0x1401c3ce7\njnz     short loc_1401C3CF7                                            ; +0x1a7e, 0x1401c3cee\nmov     byte ptr [rdi+2E4h], 1                                         ; +0x1a80, 0x1401c3cf0\nmov     r8d, 29h ; ')'                                                 ; +0x1a87, 0x1401c3cf7\njmp     loc_1401C3EDD                                                  ; +0x1a8d, 0x1401c3cfd\ntest    bl, bl; jumptable 00000001401C22E3 case 20070                  ; +0x1a92, 0x1401c3d02\njz      loc_1401C46C2                                                  ; +0x1a94, 0x1401c3d04\ncmp     qword ptr [rdi+620h], 0                                        ; +0x1a9a, 0x1401c3d0a\njnz     short loc_1401C3D29                                            ; +0x1aa2, 0x1401c3d12\nmov     rcx, [rdi+3B0h]                                                ; +0x1aa4, 0x1401c3d14\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x1aab, 0x1401c3d1b\ntest    eax, eax                                                       ; +0x1ab1, 0x1401c3d21\njz      loc_1401C46C2                                                  ; +0x1ab3, 0x1401c3d23\ncall    cs:?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x1ab9, 0x1401c3d29\nmov     rcx, [rax]                                                     ; +0x1abf, 0x1401c3d2f\nmov     rdx, [rcx+0B0h]                                                ; +0x1ac2, 0x1401c3d32\nmov     rcx, rax                                                       ; +0x1ac9, 0x1401c3d39\ncall    rdx                                                            ; +0x1acc, 0x1401c3d3c\nxor     esi, esi                                                       ; +0x1ace, 0x1401c3d3e\ncmp     [rax+9Dh], sil                                                 ; +0x1ad0, 0x1401c3d40\njnz     short loc_1401C3D94                                            ; +0x1ad7, 0x1401c3d47\nmov     rdx, [rdi+5E8h]                                                ; +0x1ad9, 0x1401c3d49\ninc     dword ptr [rdx+3C3Ch]                                          ; +0x1ae0, 0x1401c3d50\nmov     ecx, [rdx+3C90h]                                               ; +0x1ae6, 0x1401c3d56\ntest    ecx, ecx                                                       ; +0x1aec, 0x1401c3d5c\njs      short loc_1401C3D88                                            ; +0x1aee, 0x1401c3d5e\nmov     eax, [rdx+3C50h]                                               ; +0x1af0, 0x1401c3d60\nsub     eax, ecx                                                       ; +0x1af6, 0x1401c3d66\nmov     ecx, esi                                                       ; +0x1af8, 0x1401c3d68\ncmp     eax, 1                                                         ; +0x1afa, 0x1401c3d6a\njle     short loc_1401C3D7E                                            ; +0x1afd, 0x1401c3d6d\nnop                                                                    ; +0x1aff, 0x1401c3d6f\ncmp     ecx, 7                                                         ; +0x1b00, 0x1401c3d70\njge     short loc_1401C3D7E                                            ; +0x1b03, 0x1401c3d73\nshr     eax, 1                                                         ; +0x1b05, 0x1401c3d75\ninc     ecx                                                            ; +0x1b07, 0x1401c3d77\ncmp     eax, 1                                                         ; +0x1b09, 0x1401c3d79\nja      short loc_1401C3D70                                            ; +0x1b0c, 0x1401c3d7c\nmovsxd  rax, ecx                                                       ; +0x1b0e, 0x1401c3d7e\ninc     dword ptr [rdx+rax*4+3C70h]                                    ; +0x1b11, 0x1401c3d81\nmov     eax, [rdx+3C50h]                                               ; +0x1b18, 0x1401c3d88\nmov     [rdx+3C90h], eax                                               ; +0x1b1e, 0x1401c3d8e\ncall    EditorSFXManager__sharedState                                  ; +0x1b24, 0x1401c3d94\nmov     rcx, rax                                                       ; +0x1b29, 0x1401c3d99\nmov     edx, 82h                                                       ; +0x1b2c, 0x1401c3d9c\ncall    EditorSFXManager__playAction                                   ; +0x1b31, 0x1401c3da1\nxor     r8d, r8d                                                       ; +0x1b36, 0x1401c3da6\nmov     rcx, rdi                                                       ; +0x1b39, 0x1401c3da9\ncall    EditorUI__createUndoObject                                     ; +0x1b3c, 0x1401c3dac\nmov     rcx, [rdi+348h]                                                ; +0x1b41, 0x1401c3db1\nmov     rax, [rcx]                                                     ; +0x1b48, 0x1401c3db8\ncall    qword ptr [rax+158h]                                           ; +0x1b4b, 0x1401c3dbb\ntest    al, al                                                         ; +0x1b51, 0x1401c3dc1\njz      short loc_1401C3DE8                                            ; +0x1b53, 0x1401c3dc3\nmov     rcx, [rdi+348h]                                                ; +0x1b55, 0x1401c3dc5\nmovss   xmm1, dword ptr [rcx+260h]                                     ; +0x1b5c, 0x1401c3dcc\nsubss   xmm1, cs:dword_140835690                                       ; +0x1b64, 0x1401c3dd4\ncall    GJTransformControl__applyRotation                              ; +0x1b6c, 0x1401c3ddc\nmov     al, 1                                                          ; +0x1b71, 0x1401c3de1\njmp     loc_1401C46C8                                                  ; +0x1b73, 0x1401c3de3\nmov     rcx, [rdi+3B0h]                                                ; +0x1b78, 0x1401c3de8\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x1b7f, 0x1401c3def\nmov     rcx, [rdi+3B0h]                                                ; +0x1b85, 0x1401c3df5\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x1b8c, 0x1401c3dfc\ntest    eax, eax                                                       ; +0x1b92, 0x1401c3e02\njz      short loc_1401C3E40                                            ; +0x1b94, 0x1401c3e04\nmov     rbx, [rdi+3B0h]                                                ; +0x1b96, 0x1401c3e06\nlea     rdx, unk_14090A7A8                                             ; +0x1b9d, 0x1401c3e0d\nlea     rcx, [rbp+57h+var_B0]                                          ; +0x1ba4, 0x1401c3e14\ncall    cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0x1ba8, 0x1401c3e18\nmov     r9, rax                                                        ; +0x1bae, 0x1401c3e1e\nmov     byte ptr [rsp+0E0h+Reserved], sil                              ; +0x1bb1, 0x1401c3e21\nmovss   xmm2, cs:dword_140835EDC                                       ; +0x1bb6, 0x1401c3e26\nmov     rdx, rbx                                                       ; +0x1bbe, 0x1401c3e2e\nmov     rcx, rdi                                                       ; +0x1bc1, 0x1401c3e31\ncall    EditorUI__rotateObjects                                        ; +0x1bc4, 0x1401c3e34\nmov     al, 1                                                          ; +0x1bc9, 0x1401c3e39\njmp     loc_1401C46C8                                                  ; +0x1bcb, 0x1401c3e3b\nmov     rcx, [rdi+3B0h]                                                ; +0x1bd0, 0x1401c3e40\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x1bd7, 0x1401c3e47\ntest    eax, eax                                                       ; +0x1bdd, 0x1401c3e4d\njz      short loc_1401C3EAD                                            ; +0x1bdf, 0x1401c3e4f\nmov     rcx, [rdi+3B0h]                                                ; +0x1be1, 0x1401c3e51\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x1be8, 0x1401c3e58\ntest    eax, eax                                                       ; +0x1bee, 0x1401c3e5e\njz      loc_1401C46C2                                                  ; +0x1bf0, 0x1401c3e60\nnop     word ptr [rax+rax+00000000h]                                   ; +0x1bf6, 0x1401c3e66\nmov     edx, esi                                                       ; +0x1c00, 0x1401c3e70\nmov     rcx, [rdi+3B0h]                                                ; +0x1c02, 0x1401c3e72\ncall    cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x1c09, 0x1401c3e79\nxor     r9d, r9d                                                       ; +0x1c0f, 0x1401c3e7f\nmov     r8d, 2Ah ; '*'                                                 ; +0x1c12, 0x1401c3e82\nmov     rdx, rax                                                       ; +0x1c18, 0x1401c3e88\nmov     rcx, rdi                                                       ; +0x1c1b, 0x1401c3e8b\ncall    EditorUI__transformObject                                      ; +0x1c1e, 0x1401c3e8e\ninc     esi                                                            ; +0x1c23, 0x1401c3e93\nmov     rcx, [rdi+3B0h]                                                ; +0x1c25, 0x1401c3e95\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x1c2c, 0x1401c3e9c\ncmp     esi, eax                                                       ; +0x1c32, 0x1401c3ea2\njb      short loc_1401C3E70                                            ; +0x1c34, 0x1401c3ea4\nmov     al, 1                                                          ; +0x1c36, 0x1401c3ea6\njmp     loc_1401C46C8                                                  ; +0x1c38, 0x1401c3ea8\nmov     r10, [rdi+620h]                                                ; +0x1c3d, 0x1401c3ead\nmov     r8d, [r10+40Ch]                                                ; +0x1c44, 0x1401c3eb4\nmov     ecx, r8d                                                       ; +0x1c4b, 0x1401c3ebb\ncall    isSpecialSnapObject                                            ; +0x1c4e, 0x1401c3ebe\ntest    al, al                                                         ; +0x1c53, 0x1401c3ec3\njnz     short loc_1401C3ED0                                            ; +0x1c55, 0x1401c3ec5\ncmp     r8d, 0B54h                                                     ; +0x1c57, 0x1401c3ec7\njnz     short loc_1401C3ED7                                            ; +0x1c5e, 0x1401c3ece\nmov     byte ptr [rdi+2E4h], 1                                         ; +0x1c60, 0x1401c3ed0\nmov     r8d, 2Ah ; '*'                                                 ; +0x1c67, 0x1401c3ed7\nxor     r9d, r9d                                                       ; +0x1c6d, 0x1401c3edd\nmov     rdx, r10                                                       ; +0x1c70, 0x1401c3ee0\nmov     rcx, rdi                                                       ; +0x1c73, 0x1401c3ee3\ncall    EditorUI__transformObject                                      ; +0x1c76, 0x1401c3ee6\nmov     [rdi+2E4h], sil                                                ; +0x1c7b, 0x1401c3eeb\nmov     al, 1                                                          ; +0x1c82, 0x1401c3ef2\njmp     loc_1401C46C8                                                  ; +0x1c84, 0x1401c3ef4\ntest    bl, bl; jumptable 00000001401C22E3 case 20072                  ; +0x1c89, 0x1401c3ef9\njz      loc_1401C46C2                                                  ; +0x1c8b, 0x1401c3efb\ncmp     qword ptr [rdi+620h], 0                                        ; +0x1c91, 0x1401c3f01\njnz     short loc_1401C3F20                                            ; +0x1c99, 0x1401c3f09\nmov     rcx, [rdi+3B0h]                                                ; +0x1c9b, 0x1401c3f0b\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x1ca2, 0x1401c3f12\ntest    eax, eax                                                       ; +0x1ca8, 0x1401c3f18\njz      loc_1401C46C2                                                  ; +0x1caa, 0x1401c3f1a\ncall    cs:?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x1cb0, 0x1401c3f20\nmov     rcx, [rax]                                                     ; +0x1cb6, 0x1401c3f26\nmov     rdx, [rcx+0B0h]                                                ; +0x1cb9, 0x1401c3f29\nmov     rcx, rax                                                       ; +0x1cc0, 0x1401c3f30\ncall    rdx                                                            ; +0x1cc3, 0x1401c3f33\nxor     esi, esi                                                       ; +0x1cc5, 0x1401c3f35\ncmp     [rax+9Dh], sil                                                 ; +0x1cc7, 0x1401c3f37\njnz     short loc_1401C3F8A                                            ; +0x1cce, 0x1401c3f3e\nmov     rdx, [rdi+5E8h]                                                ; +0x1cd0, 0x1401c3f40\ninc     dword ptr [rdx+3C3Ch]                                          ; +0x1cd7, 0x1401c3f47\nmov     ecx, [rdx+3C90h]                                               ; +0x1cdd, 0x1401c3f4d\ntest    ecx, ecx                                                       ; +0x1ce3, 0x1401c3f53\njs      short loc_1401C3F7E                                            ; +0x1ce5, 0x1401c3f55\nmov     eax, [rdx+3C50h]                                               ; +0x1ce7, 0x1401c3f57\nsub     eax, ecx                                                       ; +0x1ced, 0x1401c3f5d\nmov     ecx, esi                                                       ; +0x1cef, 0x1401c3f5f\ncmp     eax, 1                                                         ; +0x1cf1, 0x1401c3f61\njle     short loc_1401C3F74                                            ; +0x1cf4, 0x1401c3f64\ncmp     ecx, 7                                                         ; +0x1cf6, 0x1401c3f66\njge     short loc_1401C3F74                                            ; +0x1cf9, 0x1401c3f69\nshr     eax, 1                                                         ; +0x1cfb, 0x1401c3f6b\ninc     ecx                                                            ; +0x1cfd, 0x1401c3f6d\ncmp     eax, 1                                                         ; +0x1cff, 0x1401c3f6f\nja      short loc_1401C3F66                                            ; +0x1d02, 0x1401c3f72\nmovsxd  rax, ecx                                                       ; +0x1d04, 0x1401c3f74\ninc     dword ptr [rdx+rax*4+3C70h]                                    ; +0x1d07, 0x1401c3f77\nmov     eax, [rdx+3C50h]                                               ; +0x1d0e, 0x1401c3f7e\nmov     [rdx+3C90h], eax                                               ; +0x1d14, 0x1401c3f84\ncall    EditorSFXManager__sharedState                                  ; +0x1d1a, 0x1401c3f8a\nmov     rcx, rax                                                       ; +0x1d1f, 0x1401c3f8f\nmov     edx, 83h                                                       ; +0x1d22, 0x1401c3f92\ncall    EditorSFXManager__playAction                                   ; +0x1d27, 0x1401c3f97\nxor     r8d, r8d                                                       ; +0x1d2c, 0x1401c3f9c\nmov     rcx, rdi                                                       ; +0x1d2f, 0x1401c3f9f\ncall    EditorUI__createUndoObject                                     ; +0x1d32, 0x1401c3fa2\nmov     rcx, [rdi+348h]                                                ; +0x1d37, 0x1401c3fa7\nmov     rax, [rcx]                                                     ; +0x1d3e, 0x1401c3fae\ncall    qword ptr [rax+158h]                                           ; +0x1d41, 0x1401c3fb1\nmov     rbx, [rdi+3B0h]                                                ; +0x1d47, 0x1401c3fb7\ntest    al, al                                                         ; +0x1d4e, 0x1401c3fbe\njz      loc_1401C406D                                                  ; +0x1d50, 0x1401c3fc0\nmov     r14, [rdi+620h]                                                ; +0x1d56, 0x1401c3fc6\nmovss   xmm7, cs:dword_140835C90                                       ; +0x1d5d, 0x1401c3fcd\nmovaps  xmm6, xmm7                                                     ; +0x1d65, 0x1401c3fd5\ntest    rbx, rbx                                                       ; +0x1d68, 0x1401c3fd8\njz      short loc_1401C4035                                            ; +0x1d6b, 0x1401c3fdb\nmov     rcx, rbx                                                       ; +0x1d6d, 0x1401c3fdd\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x1d70, 0x1401c3fe0\ntest    eax, eax                                                       ; +0x1d76, 0x1401c3fe6\njz      short loc_1401C4035                                            ; +0x1d78, 0x1401c3fe8\nmov     rcx, rbx                                                       ; +0x1d7a, 0x1401c3fea\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x1d7d, 0x1401c3fed\ntest    eax, eax                                                       ; +0x1d83, 0x1401c3ff3\njz      short loc_1401C404C                                            ; +0x1d85, 0x1401c3ff5\nnop     word ptr [rax+rax+00000000h]                                   ; +0x1d87, 0x1401c3ff7\nmov     edx, esi                                                       ; +0x1d90, 0x1401c4000\nmov     rcx, rbx                                                       ; +0x1d92, 0x1401c4002\ncall    cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x1d95, 0x1401c4005\nmov     rdx, rax                                                       ; +0x1d9b, 0x1401c400b\nmov     rcx, [rdi+5E8h]                                                ; +0x1d9e, 0x1401c400e\ncall    LevelEditorLayer__rotationForSlopeNearObject                   ; +0x1da5, 0x1401c4015\nmovaps  xmm6, xmm0                                                     ; +0x1daa, 0x1401c401a\nucomiss xmm0, xmm7                                                     ; +0x1dad, 0x1401c401d\njp      short loc_1401C404C                                            ; +0x1db0, 0x1401c4020\njnz     short loc_1401C404C                                            ; +0x1db2, 0x1401c4022\ninc     esi                                                            ; +0x1db4, 0x1401c4024\nmov     rcx, rbx                                                       ; +0x1db6, 0x1401c4026\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x1db9, 0x1401c4029\ncmp     esi, eax                                                       ; +0x1dbf, 0x1401c402f\njb      short loc_1401C4000                                            ; +0x1dc1, 0x1401c4031\njmp     short loc_1401C404C                                            ; +0x1dc3, 0x1401c4033\ntest    r14, r14                                                       ; +0x1dc5, 0x1401c4035\njz      short loc_1401C404C                                            ; +0x1dc8, 0x1401c4038\nmov     rdx, r14                                                       ; +0x1dca, 0x1401c403a\nmov     rcx, [rdi+5E8h]                                                ; +0x1dcd, 0x1401c403d\ncall    LevelEditorLayer__rotationForSlopeNearObject                   ; +0x1dd4, 0x1401c4044\nmovaps  xmm6, xmm0                                                     ; +0x1dd9, 0x1401c4049\nucomiss xmm6, xmm7                                                     ; +0x1ddc, 0x1401c404c\njp      short loc_1401C4057                                            ; +0x1ddf, 0x1401c404f\njz      loc_1401C46C2                                                  ; +0x1de1, 0x1401c4051\nmovaps  xmm1, xmm6                                                     ; +0x1de7, 0x1401c4057\nmov     rcx, [rdi+348h]                                                ; +0x1dea, 0x1401c405a\ncall    GJTransformControl__applyRotation                              ; +0x1df1, 0x1401c4061\nmov     al, 1                                                          ; +0x1df6, 0x1401c4066\njmp     loc_1401C46C8                                                  ; +0x1df8, 0x1401c4068\nmov     rcx, rbx                                                       ; +0x1dfd, 0x1401c406d\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x1e00, 0x1401c4070\nmov     rcx, [rdi+3B0h]                                                ; +0x1e06, 0x1401c4076\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x1e0d, 0x1401c407d\nmov     rbx, [rdi+3B0h]                                                ; +0x1e13, 0x1401c4083\nmov     r14, [rdi+620h]                                                ; +0x1e1a, 0x1401c408a\nmovss   xmm7, cs:dword_140835C90                                       ; +0x1e21, 0x1401c4091\nmovaps  xmm6, xmm7                                                     ; +0x1e29, 0x1401c4099\ntest    rbx, rbx                                                       ; +0x1e2c, 0x1401c409c\njz      short loc_1401C40F5                                            ; +0x1e2f, 0x1401c409f\nmov     rcx, rbx                                                       ; +0x1e31, 0x1401c40a1\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x1e34, 0x1401c40a4\ntest    eax, eax                                                       ; +0x1e3a, 0x1401c40aa\njz      short loc_1401C40F5                                            ; +0x1e3c, 0x1401c40ac\nmov     rcx, rbx                                                       ; +0x1e3e, 0x1401c40ae\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x1e41, 0x1401c40b1\ntest    eax, eax                                                       ; +0x1e47, 0x1401c40b7\njz      short loc_1401C410C                                            ; +0x1e49, 0x1401c40b9\nnop     dword ptr [rax+rax+00h]                                        ; +0x1e4b, 0x1401c40bb\nmov     edx, esi                                                       ; +0x1e50, 0x1401c40c0\nmov     rcx, rbx                                                       ; +0x1e52, 0x1401c40c2\ncall    cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x1e55, 0x1401c40c5\nmov     rdx, rax                                                       ; +0x1e5b, 0x1401c40cb\nmov     rcx, [rdi+5E8h]                                                ; +0x1e5e, 0x1401c40ce\ncall    LevelEditorLayer__rotationForSlopeNearObject                   ; +0x1e65, 0x1401c40d5\nmovaps  xmm6, xmm0                                                     ; +0x1e6a, 0x1401c40da\nucomiss xmm0, xmm7                                                     ; +0x1e6d, 0x1401c40dd\njp      short loc_1401C410C                                            ; +0x1e70, 0x1401c40e0\njnz     short loc_1401C410C                                            ; +0x1e72, 0x1401c40e2\ninc     esi                                                            ; +0x1e74, 0x1401c40e4\nmov     rcx, rbx                                                       ; +0x1e76, 0x1401c40e6\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x1e79, 0x1401c40e9\ncmp     esi, eax                                                       ; +0x1e7f, 0x1401c40ef\njb      short loc_1401C40C0                                            ; +0x1e81, 0x1401c40f1\njmp     short loc_1401C410C                                            ; +0x1e83, 0x1401c40f3\ntest    r14, r14                                                       ; +0x1e85, 0x1401c40f5\njz      short loc_1401C410C                                            ; +0x1e88, 0x1401c40f8\nmov     rdx, r14                                                       ; +0x1e8a, 0x1401c40fa\nmov     rcx, [rdi+5E8h]                                                ; +0x1e8d, 0x1401c40fd\ncall    LevelEditorLayer__rotationForSlopeNearObject                   ; +0x1e94, 0x1401c4104\nmovaps  xmm6, xmm0                                                     ; +0x1e99, 0x1401c4109\nucomiss xmm6, xmm7                                                     ; +0x1e9c, 0x1401c410c\njp      short loc_1401C4117                                            ; +0x1e9f, 0x1401c410f\njz      loc_1401C46C2                                                  ; +0x1ea1, 0x1401c4111\nmov     rcx, [rdi+620h]                                                ; +0x1ea7, 0x1401c4117\ntest    rcx, rcx                                                       ; +0x1eae, 0x1401c411e\njz      short loc_1401C412E                                            ; +0x1eb1, 0x1401c4121\ncall    cs:?createWithObject@CCArray@cocos2d@@SAPEAV12@PEAVCCObject@2@@Z; cocos2d::CCArray::createWithObject(cocos2d::CCObject *) ; +0x1eb3, 0x1401c4123\nmov     rbx, rax                                                       ; +0x1eb9, 0x1401c4129\njmp     short loc_1401C4135                                            ; +0x1ebc, 0x1401c412c\nmov     rbx, [rdi+3B0h]                                                ; +0x1ebe, 0x1401c412e\nlea     rdx, unk_14090A7A8                                             ; +0x1ec5, 0x1401c4135\nlea     rcx, [rbp+57h+var_B0]                                          ; +0x1ecc, 0x1401c413c\ncall    cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0x1ed0, 0x1401c4140\nmov     r9, rax                                                        ; +0x1ed6, 0x1401c4146\nmov     byte ptr [rsp+0E0h+Reserved], 0                                ; +0x1ed9, 0x1401c4149\nmovaps  xmm2, xmm6                                                     ; +0x1ede, 0x1401c414e\nmov     rdx, rbx                                                       ; +0x1ee1, 0x1401c4151\nmov     rcx, rdi                                                       ; +0x1ee4, 0x1401c4154\ncall    EditorUI__rotateObjects                                        ; +0x1ee7, 0x1401c4157\nmov     al, 1                                                          ; +0x1eec, 0x1401c415c\njmp     loc_1401C46C8                                                  ; +0x1eee, 0x1401c415e\ntest    bl, bl; jumptable 00000001401C22E3 cases 20073,20074           ; +0x1ef3, 0x1401c4163\njz      loc_1401C46C2                                                  ; +0x1ef5, 0x1401c4165\ncall    cs:?create@CCNode@cocos2d@@SAPEAV12@XZ; cocos2d::CCNode::create(void) ; +0x1efb, 0x1401c416b\nmov     rbx, rax                                                       ; +0x1f01, 0x1401c4171\nxor     esi, esi                                                       ; +0x1f04, 0x1401c4174\ncmp     r14d, 4E69h                                                    ; +0x1f06, 0x1401c4176\nsetnz   sil                                                            ; +0x1f0d, 0x1401c417d\nlea     edx, [rsi+2Dh]                                                 ; +0x1f11, 0x1401c4181\nmov     rcx, [rax]                                                     ; +0x1f14, 0x1401c4184\nmov     r8, [rcx+40h]                                                  ; +0x1f17, 0x1401c4187\nmov     rcx, rax                                                       ; +0x1f1b, 0x1401c418b\ncall    r8                                                             ; +0x1f1e, 0x1401c418e\nmov     rdx, rbx                                                       ; +0x1f21, 0x1401c4191\nmov     rcx, rdi                                                       ; +0x1f24, 0x1401c4194\ncall    EditorUI__activateScaleControl                                 ; +0x1f27, 0x1401c4197\nmov     al, 1                                                          ; +0x1f2c, 0x1401c419c\njmp     loc_1401C46C8                                                  ; +0x1f2e, 0x1401c419e\ntest    bl, bl; jumptable 00000001401C22E3 case 20151                  ; +0x1f33, 0x1401c41a3\njz      loc_1401C46C2                                                  ; +0x1f35, 0x1401c41a5\nxor     ecx, ecx                                                       ; +0x1f3b, 0x1401c41ab\ncall    KeybindingsLayer__create                                       ; +0x1f3d, 0x1401c41ad\njmp     short loc_1401C41C4                                            ; +0x1f42, 0x1401c41b2\ntest    bl, bl; jumptable 00000001401C22E3 case 20152                  ; +0x1f44, 0x1401c41b4\njz      loc_1401C46C2                                                  ; +0x1f46, 0x1401c41b6\nmov     rcx, rdi                                                       ; +0x1f4c, 0x1401c41bc\ncall    EditorSoundsLayer__create                                      ; +0x1f4f, 0x1401c41bf\ntest    rax, rax                                                       ; +0x1f54, 0x1401c41c4\njz      loc_1401C46C2                                                  ; +0x1f57, 0x1401c41c7\nmov     rcx, [rax]                                                     ; +0x1f5d, 0x1401c41cd\nmov     rdx, [rcx+428h]                                                ; +0x1f60, 0x1401c41d0\nmov     rcx, rax                                                       ; +0x1f67, 0x1401c41d7\ncall    rdx                                                            ; +0x1f6a, 0x1401c41da\nmov     al, 1                                                          ; +0x1f6c, 0x1401c41dc\njmp     loc_1401C46C8                                                  ; +0x1f6e, 0x1401c41de\nmov     rcx, [rdi+348h]; jumptable 00000001401C22E3 cases 20147-20150  ; +0x1f73, 0x1401c41e3\nmov     rax, [rcx]                                                     ; +0x1f7a, 0x1401c41ea\ncall    qword ptr [rax+158h]                                           ; +0x1f7d, 0x1401c41ed\ntest    al, al                                                         ; +0x1f83, 0x1401c41f3\njz      def_1401C22E3; jumptable 00000001401C22E3 default case, cases 20067,20068,20075-20077,20087,20111,20139 ; +0x1f85, 0x1401c41f5\ntest    bl, bl                                                         ; +0x1f8b, 0x1401c41fb\njz      loc_1401C46C2                                                  ; +0x1f8d, 0x1401c41fd\nsub     r14d, 4EB3h                                                    ; +0x1f93, 0x1401c4203\njz      short loc_1401C425B                                            ; +0x1f9a, 0x1401c420a\nsub     r14d, 1                                                        ; +0x1f9c, 0x1401c420c\njz      short loc_1401C4248                                            ; +0x1fa0, 0x1401c4210\nsub     r14d, 1                                                        ; +0x1fa2, 0x1401c4212\njz      short loc_1401C4235                                            ; +0x1fa6, 0x1401c4216\ncmp     r14d, 1                                                        ; +0x1fa8, 0x1401c4218\njnz     loc_1401C4355                                                  ; +0x1fac, 0x1401c421c\nxor     edx, edx                                                       ; +0x1fb2, 0x1401c4222\nmov     rcx, [rdi+348h]                                                ; +0x1fb4, 0x1401c4224\ncall    GJTransformControl__onToggleFreeRotation                       ; +0x1fbb, 0x1401c422b\njmp     loc_1401C4355                                                  ; +0x1fc0, 0x1401c4230\nxor     edx, edx                                                       ; +0x1fc5, 0x1401c4235\nmov     rcx, [rdi+348h]                                                ; +0x1fc7, 0x1401c4237\ncall    GJTransformControl__onToggleGridSnap                           ; +0x1fce, 0x1401c423e\njmp     loc_1401C4355                                                  ; +0x1fd3, 0x1401c4243\nxor     edx, edx                                                       ; +0x1fd8, 0x1401c4248\nmov     rcx, [rdi+348h]                                                ; +0x1fda, 0x1401c424a\ncall    GJTransformControl__onToggleOppositeAnchor                     ; +0x1fe1, 0x1401c4251\njmp     loc_1401C4355                                                  ; +0x1fe6, 0x1401c4256\nxor     edx, edx                                                       ; +0x1feb, 0x1401c425b\nmov     rcx, [rdi+348h]                                                ; +0x1fed, 0x1401c425d\ncall    GJTransformControl__onToggleLockScale                          ; +0x1ff4, 0x1401c4264\njmp     loc_1401C4355                                                  ; +0x1ff9, 0x1401c4269\ntest    bl, bl; jumptable 00000001401C22E3 case 20182                  ; +0x1ffe, 0x1401c426e\njz      loc_1401C46C2                                                  ; +0x2000, 0x1401c4270\ncmp     cs:qword_14090BFD0, 0                                          ; +0x2006, 0x1401c4276\njnz     short loc_1401C42AA                                            ; +0x200e, 0x1401c427e\nmov     ecx, 6E8h; Size                                                ; +0x2010, 0x1401c4280\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x2015, 0x1401c4285\nmov     [rbp+57h+var_B0], rax                                          ; +0x201a, 0x1401c428a\nmov     rcx, rax                                                       ; +0x201e, 0x1401c428e\ncall    GameManager__GameManager                                       ; +0x2021, 0x1401c4291\nnop                                                                    ; +0x2026, 0x1401c4296\nmov     cs:qword_14090BFD0, rax                                        ; +0x2027, 0x1401c4297\nmov     rcx, [rax]                                                     ; +0x202e, 0x1401c429e\nmov     rdx, [rcx+48h]                                                 ; +0x2031, 0x1401c42a1\nmov     rcx, rax                                                       ; +0x2035, 0x1401c42a5\ncall    rdx                                                            ; +0x2038, 0x1401c42a8\nlea     rdx, a0242; \"0242\"                                             ; +0x203a, 0x1401c42aa\ncall    GameManager__toggleGameVariable                                ; +0x2041, 0x1401c42b1\nmov     rcx, cs:qword_14090BFD0                                        ; +0x2046, 0x1401c42b6\ntest    rcx, rcx                                                       ; +0x204d, 0x1401c42bd\njnz     short loc_1401C42F4                                            ; +0x2050, 0x1401c42c0\nmov     ecx, 6E8h; Size                                                ; +0x2052, 0x1401c42c2\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x2057, 0x1401c42c7\nmov     [rbp+57h+var_B0], rax                                          ; +0x205c, 0x1401c42cc\nmov     rcx, rax                                                       ; +0x2060, 0x1401c42d0\ncall    GameManager__GameManager                                       ; +0x2063, 0x1401c42d3\nnop                                                                    ; +0x2068, 0x1401c42d8\nmov     cs:qword_14090BFD0, rax                                        ; +0x2069, 0x1401c42d9\nmov     rcx, [rax]                                                     ; +0x2070, 0x1401c42e0\nmov     r8, [rcx+48h]                                                  ; +0x2073, 0x1401c42e3\nmov     rcx, rax                                                       ; +0x2077, 0x1401c42e7\ncall    r8                                                             ; +0x207a, 0x1401c42ea\nmov     rcx, cs:qword_14090BFD0                                        ; +0x207d, 0x1401c42ed\nlea     rdx, a0242; \"0242\"                                             ; +0x2084, 0x1401c42f4\ncall    GameManager__getGameVariable                                   ; +0x208b, 0x1401c42fb\nmovzx   r8d, al                                                        ; +0x2090, 0x1401c4300\nxor     esi, esi                                                       ; +0x2094, 0x1401c4304\nmov     word ptr [rbp+57h+Block+0Eh], si                               ; +0x2096, 0x1401c4306\nmov     [rbp+57h+var_88], 0Dh                                          ; +0x209a, 0x1401c430a\nmovsd   xmm0, cs:qword_140752270                                       ; +0x20a2, 0x1401c4312\nmov     eax, cs:dword_140752278                                        ; +0x20aa, 0x1401c431a\nmov     dword ptr [rbp+57h+Block+8], eax                               ; +0x20b0, 0x1401c4320\nmovzx   eax, cs:byte_14075227C                                         ; +0x20b3, 0x1401c4323\nmov     byte ptr [rbp+57h+Block+0Ch], al                               ; +0x20ba, 0x1401c432a\nmov     byte ptr [rbp+57h+Block+0Dh], sil                              ; +0x20bd, 0x1401c432d\nxor     r8b, 1                                                         ; +0x20c1, 0x1401c4331\nmovsd   [rbp+57h+Block], xmm0                                          ; +0x20c5, 0x1401c4335\nmov     [rbp+57h+var_80], 0Fh                                          ; +0x20ca, 0x1401c433a\nmov     dword ptr [rsp+0E0h+Reserved], esi                             ; +0x20d2, 0x1401c4342\nxor     r9d, r9d                                                       ; +0x20d6, 0x1401c4346\nlea     rdx, [rbp+57h+Block]                                           ; +0x20d9, 0x1401c4349\nmov     rcx, rdi                                                       ; +0x20dd, 0x1401c434d\ncall    EditorUI__showTextAlert                                        ; +0x20e0, 0x1401c4350\ncall    EditorSFXManager__sharedState                                  ; +0x20e5, 0x1401c4355\nmov     rcx, rax                                                       ; +0x20ea, 0x1401c435a\nmov     edx, 0BDh                                                      ; +0x20ed, 0x1401c435d\ncall    EditorSFXManager__playAction                                   ; +0x20f2, 0x1401c4362\nmov     al, 1                                                          ; +0x20f7, 0x1401c4367\njmp     loc_1401C46C8                                                  ; +0x20f9, 0x1401c4369\ntest    bl, bl; jumptable 00000001401C22E3 case 20079                  ; +0x20fe, 0x1401c436e\njz      loc_1401C46C2                                                  ; +0x2100, 0x1401c4370\nxor     edx, edx                                                       ; +0x2106, 0x1401c4376\nmov     rcx, rdi                                                       ; +0x2108, 0x1401c4378\ncall    EditorUI__editGroup                                            ; +0x210b, 0x1401c437b\nmov     al, 1                                                          ; +0x2110, 0x1401c4380\njmp     loc_1401C46C8                                                  ; +0x2112, 0x1401c4382\ntest    bl, bl; jumptable 00000001401C22E3 case 20187                  ; +0x2117, 0x1401c4387\njz      loc_1401C46C2                                                  ; +0x2119, 0x1401c4389\ncmp     qword ptr [rdi+620h], 0                                        ; +0x211f, 0x1401c438f\njnz     short loc_1401C43AE                                            ; +0x2127, 0x1401c4397\nmov     rcx, [rdi+3B0h]                                                ; +0x2129, 0x1401c4399\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x2130, 0x1401c43a0\ntest    eax, eax                                                       ; +0x2136, 0x1401c43a6\njz      loc_1401C46C2                                                  ; +0x2138, 0x1401c43a8\nmov     rcx, [rdi+5E8h]                                                ; +0x213e, 0x1401c43ae\ninc     dword ptr [rcx+3C40h]                                          ; +0x2145, 0x1401c43b5\nmov     edx, [rcx+3C90h]                                               ; +0x214b, 0x1401c43bb\ntest    edx, edx                                                       ; +0x2151, 0x1401c43c1\njs      short loc_1401C43EC                                            ; +0x2153, 0x1401c43c3\nmov     eax, [rcx+3C50h]                                               ; +0x2155, 0x1401c43c5\nsub     eax, edx                                                       ; +0x215b, 0x1401c43cb\nxor     esi, esi                                                       ; +0x215d, 0x1401c43cd\ncmp     eax, 1                                                         ; +0x215f, 0x1401c43cf\njle     short loc_1401C43E2                                            ; +0x2162, 0x1401c43d2\ncmp     esi, 7                                                         ; +0x2164, 0x1401c43d4\njge     short loc_1401C43E2                                            ; +0x2167, 0x1401c43d7\nshr     eax, 1                                                         ; +0x2169, 0x1401c43d9\ninc     esi                                                            ; +0x216b, 0x1401c43db\ncmp     eax, 1                                                         ; +0x216d, 0x1401c43dd\nja      short loc_1401C43D4                                            ; +0x2170, 0x1401c43e0\nmovsxd  rax, esi                                                       ; +0x2172, 0x1401c43e2\ninc     dword ptr [rcx+rax*4+3C70h]                                    ; +0x2175, 0x1401c43e5\nmov     eax, [rcx+3C50h]                                               ; +0x217c, 0x1401c43ec\nmov     [rcx+3C90h], eax                                               ; +0x2182, 0x1401c43f2\ncall    EditorSFXManager__sharedState                                  ; +0x2188, 0x1401c43f8\nmov     rbx, rax                                                       ; +0x218d, 0x1401c43fd\nmov     edx, 6Ch ; 'l'                                                 ; +0x2190, 0x1401c4400\nmov     rcx, rax                                                       ; +0x2195, 0x1401c4405\ncall    EditorSFXManager__hasSoundsForAction                           ; +0x2198, 0x1401c4408\nmovzx   edx, al                                                        ; +0x219d, 0x1401c440d\nadd     edx, 6Bh ; 'k'                                                 ; +0x21a0, 0x1401c4410\nmov     rcx, rbx                                                       ; +0x21a3, 0x1401c4413\ncall    EditorSFXManager__playAction                                   ; +0x21a6, 0x1401c4416\nmov     rdx, [rdi+3B0h]                                                ; +0x21ab, 0x1401c441b\nmov     rcx, [rdi+620h]                                                ; +0x21b2, 0x1401c4422\ncall    SetupObjectOptionsPopup__create                                ; +0x21b9, 0x1401c4429\nmov     rcx, [rax]                                                     ; +0x21be, 0x1401c442e\nmov     rdx, [rcx+428h]                                                ; +0x21c1, 0x1401c4431\nmov     rcx, rax                                                       ; +0x21c8, 0x1401c4438\ncall    rdx                                                            ; +0x21cb, 0x1401c443b\nmov     al, 1                                                          ; +0x21cd, 0x1401c443d\njmp     loc_1401C46C8                                                  ; +0x21cf, 0x1401c443f\ntest    bl, bl; jumptable 00000001401C22E3 case 20081                  ; +0x21d4, 0x1401c4444\njz      loc_1401C46C2                                                  ; +0x21d6, 0x1401c4446\nxor     edx, edx                                                       ; +0x21dc, 0x1401c444c\nmov     rcx, rdi                                                       ; +0x21de, 0x1401c444e\ncall    EditorUI__onCopyState                                          ; +0x21e1, 0x1401c4451\nmov     al, 1                                                          ; +0x21e6, 0x1401c4456\njmp     loc_1401C46C8                                                  ; +0x21e8, 0x1401c4458\ntest    bl, bl; jumptable 00000001401C22E3 case 20082                  ; +0x21ed, 0x1401c445d\njz      loc_1401C46C2                                                  ; +0x21ef, 0x1401c445f\nxor     edx, edx                                                       ; +0x21f5, 0x1401c4465\nmov     rcx, rdi                                                       ; +0x21f7, 0x1401c4467\ncall    EditorUI__onPasteState                                         ; +0x21fa, 0x1401c446a\nmov     al, 1                                                          ; +0x21ff, 0x1401c446f\njmp     loc_1401C46C8                                                  ; +0x2201, 0x1401c4471\ntest    bl, bl; jumptable 00000001401C22E3 case 20083                  ; +0x2206, 0x1401c4476\njz      loc_1401C46C2                                                  ; +0x2208, 0x1401c4478\nxor     edx, edx                                                       ; +0x220e, 0x1401c447e\nmov     rcx, rdi                                                       ; +0x2210, 0x1401c4480\ncall    EditorUI__onPasteColor                                         ; +0x2213, 0x1401c4483\nmov     al, 1                                                          ; +0x2218, 0x1401c4488\njmp     loc_1401C46C8                                                  ; +0x221a, 0x1401c448a\ntest    bl, bl; jumptable 00000001401C22E3 case 20112                  ; +0x221f, 0x1401c448f\njz      loc_1401C46C2                                                  ; +0x2221, 0x1401c4491\nmov     edx, [rdi+648h]                                                ; +0x2227, 0x1401c4497\ndec     edx                                                            ; +0x222d, 0x1401c449d\nmov     rcx, rdi                                                       ; +0x222f, 0x1401c449f\ncall    EditorUI__selectBuildTab                                       ; +0x2232, 0x1401c44a2\nmov     al, 1                                                          ; +0x2237, 0x1401c44a7\njmp     loc_1401C46C8                                                  ; +0x2239, 0x1401c44a9\ntest    bl, bl; jumptable 00000001401C22E3 case 20113                  ; +0x223e, 0x1401c44ae\njz      loc_1401C46C2                                                  ; +0x2240, 0x1401c44b0\nmov     edx, [rdi+648h]                                                ; +0x2246, 0x1401c44b6\ninc     edx                                                            ; +0x224c, 0x1401c44bc\nmov     rcx, rdi                                                       ; +0x224e, 0x1401c44be\ncall    EditorUI__selectBuildTab                                       ; +0x2251, 0x1401c44c1\nmov     al, 1                                                          ; +0x2256, 0x1401c44c6\njmp     loc_1401C46C8                                                  ; +0x2258, 0x1401c44c8\ntest    bl, bl; jumptable 00000001401C22E3 case 20114                  ; +0x225d, 0x1401c44cd\njz      loc_1401C46C2                                                  ; +0x225f, 0x1401c44cf\nlea     rcx, [rdi+160h]                                                ; +0x2265, 0x1401c44d5\nmov     rax, [rcx]                                                     ; +0x226c, 0x1401c44dc\nxorps   xmm2, xmm2                                                     ; +0x226f, 0x1401c44df\nmovss   xmm1, cs:dword_140835674                                       ; +0x2272, 0x1401c44e2\ncall    qword ptr [rax+10h]                                            ; +0x227a, 0x1401c44ea\nmov     al, 1                                                          ; +0x227d, 0x1401c44ed\njmp     loc_1401C46C8                                                  ; +0x227f, 0x1401c44ef\ntest    bl, bl; jumptable 00000001401C22E3 case 20115                  ; +0x2284, 0x1401c44f4\njz      loc_1401C46C2                                                  ; +0x2286, 0x1401c44f6\nlea     rcx, [rdi+160h]                                                ; +0x228c, 0x1401c44fc\nmov     rax, [rcx]                                                     ; +0x2293, 0x1401c4503\nxorps   xmm2, xmm2                                                     ; +0x2296, 0x1401c4506\nmovss   xmm1, cs:dword_140835EC0                                       ; +0x2299, 0x1401c4509\ncall    qword ptr [rax+10h]                                            ; +0x22a1, 0x1401c4511\nmov     al, 1                                                          ; +0x22a4, 0x1401c4514\njmp     loc_1401C46C8                                                  ; +0x22a6, 0x1401c4516\ntest    bl, bl; jumptable 00000001401C22E3 case 20086                  ; +0x22ab, 0x1401c451b\njz      loc_1401C46C2                                                  ; +0x22ad, 0x1401c451d\nmov     rcx, [rdi+5E8h]                                                ; +0x22b3, 0x1401c4523\nmov     rax, [rcx+878h]                                                ; +0x22ba, 0x1401c452a\ncmp     dword ptr [rax+4C4h], 2                                        ; +0x22c1, 0x1401c4531\njnz     loc_1401C46C2                                                  ; +0x22c8, 0x1401c4538\ncmp     dword ptr [rcx+89Ch], 0                                        ; +0x22ce, 0x1401c453e\njz      short loc_1401C45AA                                            ; +0x22d5, 0x1401c4545\nxorps   xmm0, xmm0                                                     ; +0x22d7, 0x1401c4547\nmovups  xmmword ptr [rbp+57h+Block], xmm0                              ; +0x22da, 0x1401c454a\nxor     esi, esi                                                       ; +0x22de, 0x1401c454e\nmov     [rbp+57h+var_88], rsi                                          ; +0x22e0, 0x1401c4550\nmov     [rbp+57h+var_80], rsi                                          ; +0x22e4, 0x1401c4554\nmov     ecx, 20h ; ' '                                                 ; +0x22e8, 0x1401c4558\ncall    sub_14003D460                                                  ; +0x22ed, 0x1401c455d\nmov     [rbp+57h+Block], rax                                           ; +0x22f2, 0x1401c4562\nmov     [rbp+57h+var_88], 14h                                          ; +0x22f6, 0x1401c4566\nmov     [rbp+57h+var_80], 1Fh                                          ; +0x22fe, 0x1401c456e\nmovups  xmm0, cs:xmmword_140752258                                     ; +0x2306, 0x1401c4576\nmovups  xmmword ptr [rax], xmm0                                        ; +0x230d, 0x1401c457d\nmov     ecx, cs:dword_140752268                                        ; +0x2310, 0x1401c4580\nmov     [rax+10h], ecx                                                 ; +0x2316, 0x1401c4586\nmov     [rax+14h], sil                                                 ; +0x2319, 0x1401c4589\nmov     dword ptr [rsp+0E0h+Reserved], esi                             ; +0x231d, 0x1401c458d\nmov     r9b, 1                                                         ; +0x2321, 0x1401c4591\nxor     r8d, r8d                                                       ; +0x2324, 0x1401c4594\nlea     rdx, [rbp+57h+Block]                                           ; +0x2327, 0x1401c4597\nmov     rcx, rdi                                                       ; +0x232b, 0x1401c459b\ncall    EditorUI__showTextAlert                                        ; +0x232e, 0x1401c459e\nmov     al, 1                                                          ; +0x2333, 0x1401c45a3\njmp     loc_1401C46C8                                                  ; +0x2335, 0x1401c45a5\ncall    LevelEditorLayer__saveLevel                                    ; +0x233a, 0x1401c45aa\ntest    al, al                                                         ; +0x233f, 0x1401c45af\njz      loc_1401C46C2                                                  ; +0x2341, 0x1401c45b1\nxorps   xmm0, xmm0                                                     ; +0x2347, 0x1401c45b7\nmovups  xmmword ptr [rbp+57h+Block], xmm0                              ; +0x234a, 0x1401c45ba\nmov     [rbp+57h+var_88], 0Ch                                          ; +0x234e, 0x1401c45be\nmovsd   xmm0, cs:qword_140752218                                       ; +0x2356, 0x1401c45c6\nmov     eax, cs:dword_140752220                                        ; +0x235e, 0x1401c45ce\nmov     dword ptr [rbp+57h+Block+8], eax                               ; +0x2364, 0x1401c45d4\nmov     byte ptr [rbp+57h+Block+0Ch], 0                                ; +0x2367, 0x1401c45d7\njmp     loc_1401C469D                                                  ; +0x236b, 0x1401c45db\ntest    bl, bl; jumptable 00000001401C22E3 case 20144                  ; +0x2370, 0x1401c45e0\njz      loc_1401C46C2                                                  ; +0x2372, 0x1401c45e2\nmov     rcx, [rdi+5E8h]                                                ; +0x2378, 0x1401c45e8\nmov     rax, [rcx+878h]                                                ; +0x237f, 0x1401c45ef\ncmp     dword ptr [rax+4C4h], 2                                        ; +0x2386, 0x1401c45f6\njnz     loc_1401C46C2                                                  ; +0x238d, 0x1401c45fd\ncmp     dword ptr [rcx+89Ch], 0                                        ; +0x2393, 0x1401c4603\njnz     loc_1401C4547                                                  ; +0x239a, 0x1401c460a\ncall    LevelEditorLayer__saveLevel                                    ; +0x23a0, 0x1401c4610\nmov     rcx, [rdi+5E8h]                                                ; +0x23a5, 0x1401c4615\nmov     rcx, [rcx+878h]                                                ; +0x23ac, 0x1401c461c\ncall    cs:?createWithObject@CCArray@cocos2d@@SAPEAV12@PEAVCCObject@2@@Z; cocos2d::CCArray::createWithObject(cocos2d::CCObject *) ; +0x23b3, 0x1401c4623\nmov     rbx, rax                                                       ; +0x23b9, 0x1401c4629\ncall    LocalLevelManager__sharedState                                 ; +0x23bc, 0x1401c462c\nmov     rdx, rbx                                                       ; +0x23c1, 0x1401c4631\ncall    LocalLevelManager__exportLevelsToFile                          ; +0x23c4, 0x1401c4634\ntest    eax, eax                                                       ; +0x23c9, 0x1401c4639\njle     short loc_1401C4671                                            ; +0x23cb, 0x1401c463b\nmov     [rbp+57h+var_88], 0Fh                                          ; +0x23cd, 0x1401c463d\nmovsd   xmm0, cs:qword_140752208                                       ; +0x23d5, 0x1401c4645\nmov     eax, cs:dword_140752210                                        ; +0x23dd, 0x1401c464d\nmov     dword ptr [rbp+57h+Block+8], eax                               ; +0x23e3, 0x1401c4653\nmovzx   eax, cs:word_140752214                                         ; +0x23e6, 0x1401c4656\nmov     word ptr [rbp+57h+Block+0Ch], ax                               ; +0x23ed, 0x1401c465d\nmovzx   eax, cs:byte_140752216                                         ; +0x23f1, 0x1401c4661\nmov     byte ptr [rbp+57h+Block+0Eh], al                               ; +0x23f8, 0x1401c4668\nmov     byte ptr [rbp+57h+Block+0Fh], 0                                ; +0x23fb, 0x1401c466b\njmp     short loc_1401C469D                                            ; +0x23ff, 0x1401c466f\njnz     short loc_1401C46C2                                            ; +0x2401, 0x1401c4671\nmov     word ptr [rbp+57h+Block+0Eh], 0                                ; +0x2403, 0x1401c4673\nmov     [rbp+57h+var_88], 0Eh                                          ; +0x2409, 0x1401c4679\nmovsd   xmm0, cs:qword_140752228                                       ; +0x2411, 0x1401c4681\nmov     eax, cs:dword_140752230                                        ; +0x2419, 0x1401c4689\nmov     dword ptr [rbp+57h+Block+8], eax                               ; +0x241f, 0x1401c468f\nmovzx   eax, cs:word_140752234                                         ; +0x2422, 0x1401c4692\nmov     word ptr [rbp+57h+Block+0Ch], ax                               ; +0x2429, 0x1401c4699\nxor     esi, esi                                                       ; +0x242d, 0x1401c469d\nmov     [rbp+57h+var_80], 0Fh                                          ; +0x242f, 0x1401c469f\nmovsd   [rbp+57h+Block], xmm0                                          ; +0x2437, 0x1401c46a7\nmov     r9b, 1                                                         ; +0x243c, 0x1401c46ac\nxor     r8d, r8d                                                       ; +0x243f, 0x1401c46af\nmov     dword ptr [rsp+0E0h+Reserved], esi                             ; +0x2442, 0x1401c46b2\nlea     rdx, [rbp+57h+Block]                                           ; +0x2446, 0x1401c46b6\nmov     rcx, rdi                                                       ; +0x244a, 0x1401c46ba\ncall    EditorUI__showTextAlert                                        ; +0x244d, 0x1401c46bd\nmov     al, 1                                                          ; +0x2452, 0x1401c46c2\njmp     short loc_1401C46C8                                            ; +0x2454, 0x1401c46c4\nxor     al, al; jumptable 00000001401C22E3 default case, cases 20067,20068,20075-20077,20087,20111,20139 ; +0x2456, 0x1401c46c6\nmov     rcx, [rbp+57h+var_58]                                          ; +0x2458, 0x1401c46c8\nxor     rcx, rsp; StackCookie                                          ; +0x245c, 0x1401c46cc\ncall    __security_check_cookie                                        ; +0x245f, 0x1401c46cf\nlea     r11, [rsp+0E0h+var_20]                                         ; +0x2464, 0x1401c46d4\nmov     rbx, [r11+40h]                                                 ; +0x246c, 0x1401c46dc\nmov     rsi, [r11+48h]                                                 ; +0x2470, 0x1401c46e0\nmovaps  xmm6, xmmword ptr [r11-10h]                                    ; +0x2474, 0x1401c46e4\nmovaps  xmm7, xmmword ptr [r11-20h]                                    ; +0x2479, 0x1401c46e9\nmovaps  xmm8, xmmword ptr [r11-30h]                                    ; +0x247e, 0x1401c46ee\nmov     rsp, r11                                                       ; +0x2483, 0x1401c46f3\npop     r15                                                            ; +0x2486, 0x1401c46f6\npop     r14                                                            ; +0x2488, 0x1401c46f8\npop     r12                                                            ; +0x248a, 0x1401c46fa\npop     rdi                                                            ; +0x248c, 0x1401c46fc\npop     rbp                                                            ; +0x248d, 0x1401c46fd\nretn                                                                   ; +0x248e, 0x1401c46fe\nalign 20h                                                              ; +0x248f, 0x1401c46ff\ndd offset loc_1401C22F2 - 140000000h, offset loc_1401C231A - 140000000h; jump table for switch statement ; +0x2490, 0x1401c4700\ndb      0,     1,     2,     3; indirect table for switch statement    ; +0x2628, 0x1401c4898\nalign 4                                                                ; +0x26e3, 0x1401c4953\ndd offset loc_1401C264A - 140000000h; jump table for switch statement  ; +0x26e4, 0x1401c4954\ndb      0,     1,     2,     3; indirect table for switch statement    ; +0x2758, 0x1401c49c8\nalign 8                                                                ; +0x27e5, 0x1401c4a55\ndd offset loc_1401C2D2C - 140000000h; jump table for switch statement  ; +0x27e8, 0x1401c4a58\ndb      0,   16h,     1,     2; indirect table for switch statement    ; +0x2844, 0x1401c4ab4", "xrefs": ["EditorUI::handleAction @ 0x1401c1d62", "<???> @ 0x14091a6f0"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}