{"type": "func", "start": 3829256, "end": 3831680, "name": "EditorUI::keyDown", "pseudocode": "// \n// EditorUI::keyDown from 0x3a6e08 to 0x3a7780 (2424 bytes)\n// \n// 1 xrefs:\n// > `non-virtual thunk to'EditorUI::keyDown @ 0x3a77f8\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nvoid EditorUI::keyDown(EditorUI *a1, cocos2d::enumKeyCodes a2, double a3)\n{\n  double v3; // d0\n  LevelEditorLayer *m_editorLayer; // r3\n  int m_playbackMode; // r2\n  cocos2d::CCDirector *v9; // r0\n  cocos2d::CCDirector *v10; // r0\n  cocos2d::CCDirector *v11; // r0\n  float v12; // s18\n  cocos2d::CCDirector *v13; // r0\n  float v14; // s17\n  float v15; // s16\n  cocos2d::CCDirector *v16; // r0\n  cocos2d::CCDirector *v17; // r0\n  cocos2d::CCDirector *v18; // r0\n  cocos2d::CCDirector *v19; // r0\n  cocos2d::CCDirector *v20; // r0\n  cocos2d::CCDirector *v21; // r0\n  EditorUI *v22; // r0\n  CCMenuItemSpriteExtra *m_editModeBtn; // r1\n  cocos2d::CCDirector *v24; // r0\n  float v25; // r2\n  cocos2d::CCDirector *v26; // r0\n  cocos2d::CCPoint v27; // r1\n  cocos2d::CCDirector *v28; // r0\n  const cocos2d::CCPoint *v29; // r0\n  cocos2d::CCPoint *v30; // r7\n  cocos2d::CCString *v31; // r0\n  char *CString; // r0\n  void (__fastcall *addChild_0)(cocos2d::CCNode *__hidden, cocos2d::CCNode *, int); // r10\n  cocos2d::CCNode *v34; // r0\n  cocos2d::CCPoint *v35; // r0\n  cocos2d::CCLayer *m_objectLayer; // r7\n  void (__fastcall *setPosition)(cocos2d::CCNode *__hidden, const cocos2d::CCPoint *); // r8\n  float v38; // s18\n  cocos2d::CCDirector *v39; // r0\n  float v40; // s16\n  float v41; // s17\n  const cocos2d::CCPoint *v42; // r0\n  cocos2d::CCPoint *p_m_previewPosition; // r7\n  PlayerObject *v44; // r0\n  int v45; // r2\n  bool v46; // r3\n  void (__fastcall *v47)(cocos2d::CCNode *__hidden, cocos2d::CCNode *, int); // r8\n  cocos2d::CCNode *v48; // r0\n  cocos2d::CCPoint *v49; // r0\n  cocos2d::CCDirector *v50; // r0\n  EditorUI *v51; // r0\n  EditCommand v52; // r1\n  cocos2d::CCDirector *v53; // r0\n  _BOOL4 m_bAltPressed; // r3\n  cocos2d::CCDirector *v55; // r0\n  cocos2d::CCDirector *v56; // r0\n  _BOOL4 m_bShiftPressed; // r3\n  EditorUI *v58; // r0\n  EditCommand v59; // r1\n  cocos2d::CCDirector *v60; // r0\n  _BOOL4 v61; // r3\n  cocos2d::CCDirector *v62; // r0\n  _BOOL4 v63; // r3\n  cocos2d::CCDirector *v64; // r0\n  _BOOL4 v65; // r3\n  cocos2d::CCDirector *v66; // r0\n  GameManager *v67; // r0\n  GameManager *v68; // r0\n  int GameVariable; // r6\n  char *v70; // r1\n  GameManager *v71; // r0\n  GameManager *v72; // r0\n  GameManager *v73; // r0\n  GameManager *v74; // r0\n  GameManager *v75; // r0\n  GameManager *v76; // r0\n  GameManager *v77; // r0\n  GameManager *v78; // r0\n  GameManager *v79; // r0\n  _BOOL4 v80; // r0\n  GameObject *m_selectedObject; // r3\n  LevelEditorLayer *v82; // r1\n  char *v83; // r1\n  GameObject *v84; // r3\n  LevelEditorLayer *v85; // r2\n  char *v86; // r1\n  TextAlertPopup *v87; // r10\n  cocos2d::CCPoint v88; // r1\n  cocos2d::CCDirector *v89; // r0\n  EditorUI *v90; // r0\n  int v91; // r1\n  void (__fastcall *v92)(cocos2d::CCNode *__hidden, cocos2d::CCNode *, int); // r8\n  cocos2d::CCNode *v93; // r0\n  cocos2d::CCDirector *v94; // r0\n  _BYTE v95[4]; // [sp+10h] [bp-28h] BYREF\n  char v96; // [sp+14h] [bp-24h] BYREF\n  char v97; // [sp+18h] [bp-20h] BYREF\n  cocos2d::CCSize v98; // [sp+1Ch] [bp-1Ch] BYREF\n  cocos2d::CCPoint v99; // [sp+24h] [bp-14h] BYREF\n  cocos2d::CCPoint v100; // [sp+2Ch] [bp-Ch] BYREF\n  cocos2d::CCPoint v101; // 0:r3.4,4:^0.4\n\n  sub_37B740((int)a1, *(float *)&a2, *(float *)&a3, _stack_chk_guard);\n  a1->m_keyTime = v3;\n  if ( a2 == KEY_Space )\n  {\n    if ( a1->m_pressedSpace )\n      return;\n    a1->m_pressedSpace = 1;\n  }\n  m_editorLayer = a1->m_editorLayer;\n  m_playbackMode = m_editorLayer->m_playbackMode;\n  if ( m_playbackMode == 1 )\n  {\n    ((void (__fastcall *)(UILayer *, cocos2d::enumKeyCodes, _DWORD, _DWORD))m_editorLayer->m_uiLayer->keyDown)(\n      m_editorLayer->m_uiLayer,\n      a2,\n      LODWORD(a3),\n      HIDWORD(a3));\n    goto LABEL_14;\n  }\n  if ( a2 != KEY_Z )\n  {\n    switch ( a2 )\n    {\n      case KEY_D:\n        v17 = cocos2d::CCDirector::sharedDirector();\n        if ( v17->getKeyboardDispatcher(v17)->m_bAltPressed )\n        {\n          EditorUI::onDeselectAll(a1, nullptr);\n          goto LABEL_24;\n        }\n        v18 = cocos2d::CCDirector::sharedDirector();\n        LOBYTE(m_editorLayer) = v18->getKeyboardDispatcher(v18)->m_bControlPressed;\n        if ( (_BYTE)m_editorLayer )\n        {\n          EditorUI::onDuplicate(a1, nullptr);\n          goto LABEL_24;\n        }\n        break;\n      case KEY_C:\n        v19 = cocos2d::CCDirector::sharedDirector();\n        LOBYTE(m_editorLayer) = v19->getKeyboardDispatcher(v19)->m_bControlPressed;\n        if ( (_BYTE)m_editorLayer )\n        {\n          EditorUI::onCopy(a1, nullptr);\n          goto LABEL_24;\n        }\n        break;\n      case KEY_V:\n        v20 = cocos2d::CCDirector::sharedDirector();\n        LOBYTE(m_editorLayer) = v20->getKeyboardDispatcher(v20)->m_bControlPressed;\n        if ( (_BYTE)m_editorLayer )\n        {\n          EditorUI::onPaste(a1, nullptr);\n          goto LABEL_24;\n        }\n        break;\n    }\nLABEL_19:\n    if ( (unsigned int)(a2 - 48) <= 9 )\n    {\n      v11 = cocos2d::CCDirector::sharedDirector();\n      if ( v11->getKeyboardDispatcher(v11)->m_bControlPressed\n        || (v21 = cocos2d::CCDirector::sharedDirector(),\n            LOBYTE(m_editorLayer) = v21->getKeyboardDispatcher(v21)->m_bAltPressed,\n            (_BYTE)m_editorLayer) )\n      {\n        v12 = COERCE_FLOAT(((int (__fastcall *)(cocos2d::CCLayer *))a1->m_editorLayer->m_objectLayer->getScale)(a1->m_editorLayer->m_objectLayer));\n        v13 = cocos2d::CCDirector::sharedDirector();\n        cocos2d::CCDirector::getWinSize(&v98, v13);\n        v14 = v98.width * 0.5;\n        v15 = (float)(a1->m_toolbarHeight * 0.5) + (float)(v98.height * 0.5);\n        v16 = cocos2d::CCDirector::sharedDirector();\n        if ( !v16->getKeyboardDispatcher(v16)->m_bControlPressed )\n        {\n          LevelEditorLayer::getSavedEditorPosition(&v99, a1->m_editorLayer, a2 - 48);\n          if ( v99.x != 0.0 || v99.y != 0.0 )\n          {\n            m_objectLayer = a1->m_editorLayer->m_objectLayer;\n            setPosition = m_objectLayer->setPosition;\n            cocos2d::CCPoint::CCPoint(&v100, v14 - (float)(v99.x * v12), v15 - (float)(v99.y * v12));\n            setPosition(m_objectLayer, &v100);\n          }\n          goto LABEL_24;\n        }\n        v29 = a1->m_editorLayer->m_objectLayer->getPosition(a1->m_editorLayer->m_objectLayer);\n        cocos2d::CCPoint::CCPoint(&v99, v29);\n        cocos2d::CCPoint::CCPoint(&v100, (float)(v14 - v99.x) / v12, (float)(v15 - v99.y) / v12);\n        LevelEditorLayer::saveEditorPosition(a1->m_editorLayer, &v100, a2 - 48);\n        v30 = (cocos2d::CCPoint *)v95;\n        v31 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat(\n                                     (cocos2d::CCString *)\"Position %i saved.\",\n                                     (const char *)(a2 - 48));\n        CString = (char *)cocos2d::CCString::getCString(v31);\n        sub_776584((int)v95, CString);\n        addChild_0 = a1->addChild_0;\n        sub_775C20(&v96, v95);\n        sub_776584((int)&v97, (char *)&unk_939830);\n        v34 = (cocos2d::CCNode *)TextAlertPopup::create(\n                                   (TextAlertPopup *)&v96,\n                                   (std::string)1056964608,\n                                   0.6,\n                                   COERCE_FLOAT(150),\n                                   (int)&v97);\n        addChild_0(a1, v34, 100);\n        sub_774008(&v97);\n        v35 = (cocos2d::CCPoint *)&v96;\n        goto LABEL_65;\n      }\n      if ( a2 == KEY_One )\n      {\n        EditorUI::toggleMode(a1, a1->m_buildModeBtn);\n        return;\n      }\n    }\n    switch ( a2 )\n    {\n      case KEY_Two:\n        v22 = a1;\n        m_editModeBtn = a1->m_editModeBtn;\nLABEL_47:\n        EditorUI::toggleMode(v22, m_editModeBtn);\n        goto LABEL_24;\n      case KEY_Three:\n        m_editModeBtn = a1->m_deleteModeBtn;\n        v22 = a1;\n        goto LABEL_47;\n      case KEY_OEMPlus:\n        v24 = cocos2d::CCDirector::sharedDirector();\n        if ( v24->getKeyboardDispatcher(v24)->m_bShiftPressed )\n        {\n          EditorUI::zoomIn(a1, nullptr);\n          goto LABEL_24;\n        }\n        v25 = -10.0;\n        break;\n      case KEY_OEMMinus:\n        v26 = cocos2d::CCDirector::sharedDirector();\n        if ( v26->getKeyboardDispatcher(v26)->m_bShiftPressed )\n        {\n          EditorUI::zoomOut(a1, nullptr);\n          goto LABEL_24;\n        }\n        v25 = 10.0;\n        break;\n      case KEY_Delete:\n      case KEY_Backspace:\n        EditorUI::onDeleteSelected(a1, nullptr);\n        goto LABEL_14;\n      case KEY_T:\n        v28 = cocos2d::CCDirector::sharedDirector();\n        if ( v28->getKeyboardDispatcher(v28)->m_bControlPressed )\n          EditorUI::activateTransformControl(a1, nullptr);\n        else\n          EditorUI::toggleSwipe(a1, nullptr);\n        goto LABEL_24;\n      case KEY_Q:\n        v50 = cocos2d::CCDirector::sharedDirector();\n        if ( v50->getKeyboardDispatcher(v50)->m_bAltPressed )\n        {\n          v51 = a1;\n          v52 = FlipX;\n        }\n        else\n        {\n          v51 = a1;\n          v52 = RotateCCW;\n        }\nLABEL_77:\n        EditorUI::transformObjectCall(v51, v52);\n        goto LABEL_24;\n      case KEY_E:\n        v53 = cocos2d::CCDirector::sharedDirector();\n        m_bAltPressed = v53->getKeyboardDispatcher(v53)->m_bAltPressed;\n        v51 = a1;\n        if ( m_bAltPressed )\n          v52 = FlipY;\n        else\n          v52 = RotateCW;\n        goto LABEL_77;\n      case KEY_A:\n        v56 = cocos2d::CCDirector::sharedDirector();\n        m_bShiftPressed = v56->getKeyboardDispatcher(v56)->m_bShiftPressed;\n        v58 = a1;\n        if ( m_bShiftPressed )\n          v59 = SmallLeft;\n        else\n          v59 = Left;\nLABEL_88:\n        EditorUI::moveObjectCall(v58, v59);\n        goto LABEL_24;\n      case KEY_D:\n        v60 = cocos2d::CCDirector::sharedDirector();\n        v61 = v60->getKeyboardDispatcher(v60)->m_bShiftPressed;\n        v58 = a1;\n        if ( v61 )\n          v59 = SmallRight;\n        else\n          v59 = Right;\n        goto LABEL_88;\n      case KEY_W:\n        v62 = cocos2d::CCDirector::sharedDirector();\n        v63 = v62->getKeyboardDispatcher(v62)->m_bShiftPressed;\n        v58 = a1;\n        if ( v63 )\n          v59 = SmallUp;\n        else\n          v59 = Up;\n        goto LABEL_88;\n      case KEY_S:\n        v64 = cocos2d::CCDirector::sharedDirector();\n        v65 = v64->getKeyboardDispatcher(v64)->m_bShiftPressed;\n        v58 = a1;\n        if ( v65 )\n          v59 = SmallDown;\n        else\n          v59 = Down;\n        goto LABEL_88;\n      case KEY_R:\n        EditorUI::toggleEnableRotate(a1, nullptr);\n        goto LABEL_24;\n      case KEY_F:\n        EditorUI::toggleFreeMove(a1, nullptr);\n        goto LABEL_24;\n      case KEY_G:\n        EditorUI::toggleSnap(a1, nullptr);\n        goto LABEL_24;\n      case KEY_Enter:\n        v66 = cocos2d::CCDirector::sharedDirector();\n        if ( v66->getKeyboardDispatcher(v66)->m_bControlPressed )\n        {\n          if ( a1->m_touchID == -1 )\n            EditorUI::onPlayback(a1, nullptr);\n          goto LABEL_24;\n        }\n        break;\n      case KEY_F1:\n        v38 = COERCE_FLOAT(((int (__fastcall *)(cocos2d::CCLayer *))a1->m_editorLayer->m_objectLayer->getScale)(a1->m_editorLayer->m_objectLayer));\n        v39 = cocos2d::CCDirector::sharedDirector();\n        cocos2d::CCDirector::getWinSize(&v98, v39);\n        v40 = (float)(a1->m_toolbarHeight * 0.5) + (float)(v98.height * 0.5);\n        v41 = v98.width * 0.5;\n        v42 = a1->m_editorLayer->m_objectLayer->getPosition(a1->m_editorLayer->m_objectLayer);\n        cocos2d::CCPoint::CCPoint(&v99, v42);\n        p_m_previewPosition = &a1->m_editorLayer->m_previewPosition;\n        cocos2d::CCPoint::CCPoint(&v100, (float)(v41 - v99.x) / v38, (float)(v40 - v99.y) / v38);\n        v44 = (PlayerObject *)p_m_previewPosition;\n        v30 = (cocos2d::CCPoint *)&v97;\n        cocos2d::CCPoint::operator=(v44, COERCE_FLOAT(&v100), v45, v46);\n        v47 = a1->addChild_0;\n        sub_776584((int)&v97, \"Preview Locked\");\n        sub_776584((int)&v100, (char *)&unk_939830);\n        v48 = (cocos2d::CCNode *)TextAlertPopup::create(\n                                   (TextAlertPopup *)&v97,\n                                   (std::string)1056964608,\n                                   0.6,\n                                   COERCE_FLOAT(150),\n                                   (int)&v100);\n        v47(a1, v48, 100);\n        v35 = &v100;\nLABEL_65:\n        sub_774008(v35);\n        v49 = v30;\nLABEL_66:\n        sub_774008(v49);\n        goto LABEL_24;\n      case KEY_F2:\n        cocos2d::CCPoint::operator=(\n          (PlayerObject *)&a1->m_editorLayer->m_previewPosition,\n          COERCE_FLOAT(&flt_AC5D38),\n          m_playbackMode,\n          (bool)m_editorLayer);\n        v92 = a1->addChild_0;\n        sub_776584((int)&v99, \"Preview Unlocked\");\n        sub_776584((int)&v100, (char *)&unk_939830);\n        v93 = (cocos2d::CCNode *)TextAlertPopup::create(\n                                   (TextAlertPopup *)&v99,\n                                   (std::string)1056964608,\n                                   0.6,\n                                   COERCE_FLOAT(150),\n                                   (int)&v100);\n        v92(a1, v93, 100);\n        sub_774008(&v100);\n        v49 = &v99;\n        goto LABEL_66;\n      default:\n        if ( (unsigned int)(a2 - 114) > 6 )\n        {\n          if ( a2 == KEY_Right )\n          {\n            EditorUI::onGroupUp(a1, nullptr);\n            goto LABEL_24;\n          }\n          if ( a2 == KEY_Left )\n          {\n            EditorUI::onGroupDown(a1, nullptr);\n            goto LABEL_24;\n          }\n          v89 = cocos2d::CCDirector::sharedDirector();\n          if ( v89->getKeyboardDispatcher(v89)->m_bAltPressed && a2 == KEY_Up )\n          {\n            v90 = a1;\n            v91 = 1;\n          }\n          else\n          {\n            v94 = cocos2d::CCDirector::sharedDirector();\n            if ( !v94->getKeyboardDispatcher(v94)->m_bAltPressed || a2 != KEY_Down )\n              goto LABEL_14;\n            v90 = a1;\n            v91 = -1;\n          }\n          EditorUI::onTargetIDChange(v90, v91);\n          goto LABEL_24;\n        }\n        sub_776584((int)&v98, (char *)&unk_939830);\n        switch ( a2 )\n        {\n          case KEY_F6:\n            v67 = GameManager::sharedState();\n            GameManager::toggleGameVariable(v67, \"0121\");\n            v68 = GameManager::sharedState();\n            GameVariable = GameManager::getGameVariable(v68, \"0121\");\n            v70 = \"Hide Invisible: \";\nLABEL_118:\n            sub_7753D4((int)&v98, v70);\nLABEL_132:\n            if ( GameVariable )\n              v86 = \"On\";\n            else\n              v86 = \"Off\";\n            sub_774544((int)&v98, v86);\n            sub_776584((int)&v99, (char *)LODWORD(v98.width));\n            sub_776584((int)&v100, \"chatFont.fnt\");\n            v87 = (TextAlertPopup *)TextAlertPopup::create(\n                                      (TextAlertPopup *)&v99,\n                                      (std::string)1058642330,\n                                      0.6,\n                                      COERCE_FLOAT(100),\n                                      (int)&v100);\n            sub_774008(&v100);\n            sub_774008(&v99);\n            TextAlertPopup::setLabelColor(v87, (cocos2d::ccColor3B)65280);\n            cocos2d::CCPoint::CCPoint(&v99, 0.0, 1.0);\n            cocos2d::CCPoint::CCPoint(&v100, 20.0, -20.0);\n            LODWORD(v88.x) = &v99;\n            LODWORD(v88.y) = &v100;\n            TextAlertPopup::setAlertPosition(v87, v88, v101);\n            a1->addChild_0(a1, v87, 100);\n            sub_774008(&v98);\nLABEL_14:\n            if ( a2 == KEY_Escape )\n            {\nLABEL_15:\n              EditorUI::onPause(a1, nullptr);\n              return;\n            }\n            goto LABEL_24;\n          case KEY_F5:\n            v71 = GameManager::sharedState();\n            GameManager::toggleGameVariable(v71, \"0045\");\n            LevelEditorLayer::updateOptions(a1->m_editorLayer);\n            v72 = GameManager::sharedState();\n            GameVariable = GameManager::getGameVariable(v72, \"0045\");\n            v70 = \"Show Hitboxes: \";\n            goto LABEL_118;\n          case KEY_F4:\n            v73 = GameManager::sharedState();\n            GameManager::toggleGameVariable(v73, \"0137\");\n            LevelEditorLayer::updatePreviewParticles(a1->m_editorLayer);\n            v74 = GameManager::sharedState();\n            GameVariable = !GameManager::getGameVariable(v74, \"0137\");\n            v70 = \"Particle Icons: \";\n            goto LABEL_118;\n          case KEY_F3:\n            v75 = GameManager::sharedState();\n            GameManager::toggleGameVariable(v75, \"0036\");\n            LevelEditorLayer::updateEditorMode(a1->m_editorLayer);\n            v76 = GameManager::sharedState();\n            GameVariable = GameManager::getGameVariable(v76, \"0036\");\n            v70 = \"Preview Mode: \";\n            goto LABEL_118;\n          case KEY_F7:\n            v77 = GameManager::sharedState();\n            if ( GameManager::getGameVariable(v77, \"0097\") )\n            {\n              v78 = GameManager::sharedState();\n              GameManager::toggleGameVariable(v78, \"0180\");\n              v79 = GameManager::sharedState();\n              v80 = GameManager::getGameVariable(v79, \"0180\");\n              a1->m_linkControlsDisabled = v80;\n              GameVariable = !v80;\n              EditorUI::updateButtons(a1);\n              v70 = \"Link Mode: \";\n              goto LABEL_118;\n            }\nLABEL_136:\n            sub_774008(&v98);\n            return;\n          case KEY_F8:\n            if ( cocos2d::CCArray::count(a1->m_selectedObjects) )\n              goto LABEL_136;\n            m_selectedObject = a1->m_selectedObject;\n            v82 = a1->m_editorLayer;\n            if ( m_selectedObject && v82->m_traceInObject == m_selectedObject )\n              m_selectedObject = nullptr;\n            v82->m_traceInObject = (EffectGameObject *)m_selectedObject;\n            v83 = \"Trace In: \";\n            GameVariable = a1->m_editorLayer->m_traceInObject != nullptr;\n            break;\n          default:\n            if ( cocos2d::CCArray::count(a1->m_selectedObjects) )\n              goto LABEL_136;\n            v84 = a1->m_selectedObject;\n            v85 = a1->m_editorLayer;\n            if ( v84 && (v85->m_traceOutObject == v84 || v84->m_classType != Effect) )\n              v85->m_traceOutObject = nullptr;\n            else\n              v85->m_traceOutObject = (EffectGameObject *)v84;\n            v83 = \"Trace Out: \";\n            GameVariable = a1->m_editorLayer->m_traceOutObject != nullptr;\n            break;\n        }\n        sub_7753D4((int)&v98, v83);\n        a1->m_editorLayer->m_unk3b22 = 1;\n        goto LABEL_132;\n    }\n    cocos2d::CCPoint::CCPoint(&v100, 0.0, v25);\n    LODWORD(v27.x) = &v100;\n    EditorUI::moveGamelayer(a1, v27);\n    goto LABEL_24;\n  }\n  v9 = cocos2d::CCDirector::sharedDirector();\n  if ( !v9->getKeyboardDispatcher(v9)->m_bControlPressed\n    || (v10 = cocos2d::CCDirector::sharedDirector(), !v10->getKeyboardDispatcher(v10)->m_bShiftPressed) )\n  {\n    v55 = cocos2d::CCDirector::sharedDirector();\n    LOBYTE(m_editorLayer) = v55->getKeyboardDispatcher(v55)->m_bControlPressed;\n    if ( (_BYTE)m_editorLayer )\n    {\n      EditorUI::undoLastAction(a1, nullptr);\n      goto LABEL_24;\n    }\n    goto LABEL_19;\n  }\n  EditorUI::redoLastAction(a1, nullptr);\nLABEL_24:\n  switch ( a2 )\n  {\n    case CONTROLLER_Back:\n      goto LABEL_15;\n    case KEY_Enter:\n    case CONTROLLER_Start:\n      if ( ((int (__fastcall *)(CCMenuItemSpriteExtra *))a1->m_playtestStopBtn->isVisible)(a1->m_playtestStopBtn) )\n      {\n        EditorUI::onStopPlaytest(a1, nullptr);\n      }\n      else if ( a1->m_touchID == -1 )\n      {\n        EditorUI::onPlaytest(a1, nullptr);\n      }\n      break;\n    case KEY_Space:\n      a1->m_spaceSwiping = 1;\n      break;\n  }\n}", "assembly": "; \n; EditorUI::keyDown from 0x3a6e08 to 0x3a7780 (2424 bytes)\n; \n; 1 xrefs:\n; > `non-virtual thunk to'EditorUI::keyDown @ 0x3a77f8\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nPUSH.W          {R4-R10,LR}                                            ; +0x0, 0x3a6e08\nMOV             R7, R3                                                 ; +0x4, 0x3a6e0c\nLDR.W           R9, =(__stack_chk_guard_ptr - 0x3A6E1E)                ; +0x6, 0x3a6e0e\nMOV             R4, R0                                                 ; +0xa, 0x3a6e12\nVPUSH           {D8-D9}                                                ; +0xc, 0x3a6e14\nMOV             R5, R1                                                 ; +0x10, 0x3a6e18\nADD             R9, PC; __stack_chk_guard_ptr                          ; +0x12, 0x3a6e1a\nLDR.W           R9, [R9]; __stack_chk_guard                            ; +0x14, 0x3a6e1c\nMOV             R6, R2                                                 ; +0x18, 0x3a6e20\nLDR.W           R3, [R9]                                               ; +0x1a, 0x3a6e22\nSUB             SP, SP, #0x38                                          ; +0x1e, 0x3a6e26\nSTR             R3, [SP,#0x38+var_4]                                   ; +0x20, 0x3a6e28\nBL              sub_37B740                                             ; +0x22, 0x3a6e2a\nCMP             R5, #0x20 ; ' '                                        ; +0x26, 0x3a6e2e\nVSTR            D0, [R4,#0x398]                                        ; +0x28, 0x3a6e30\nBNE             loc_3A6E46                                             ; +0x2c, 0x3a6e34\nLDRB.W          R3, [R4,#0x3B4]                                        ; +0x2e, 0x3a6e36\nCMP             R3, #0                                                 ; +0x32, 0x3a6e3a\nBNE.W           loc_3A7768                                             ; +0x34, 0x3a6e3c\nMOVS            R3, #1                                                 ; +0x38, 0x3a6e40\nSTRB.W          R3, [R4,#0x3B4]                                        ; +0x3a, 0x3a6e42\nLDR.W           R3, [R4,#0x340]                                        ; +0x3e, 0x3a6e46\nLDR.W           R2, [R3,#0x60C]                                        ; +0x42, 0x3a6e4a\nCMP             R2, #1                                                 ; +0x46, 0x3a6e4e\nBNE             loc_3A6E68                                             ; +0x48, 0x3a6e50\nADD.W           R3, R3, #0x2C80                                        ; +0x4a, 0x3a6e52\nMOV             R1, R5                                                 ; +0x4e, 0x3a6e56\nMOV             R2, R6                                                 ; +0x50, 0x3a6e58\nLDR             R0, [R3]                                               ; +0x52, 0x3a6e5a\nLDR             R3, [R0]                                               ; +0x54, 0x3a6e5c\nLDR.W           R12, [R3,#0x22C]                                       ; +0x56, 0x3a6e5e\nMOV             R3, R7                                                 ; +0x5a, 0x3a6e62\nBLX             R12                                                    ; +0x5c, 0x3a6e64\nB               loc_3A6EB8                                             ; +0x5e, 0x3a6e66\nCMP             R5, #0x5A ; 'Z'                                        ; +0x60, 0x3a6e68\nBNE             loc_3A6EC8                                             ; +0x62, 0x3a6e6a\nBL              _ZN7cocos2d10CCDirector14sharedDirectorEv; cocos2d::CCDirector::sharedDirector(void) ; +0x64, 0x3a6e6c\nLDR             R3, [R0]                                               ; +0x68, 0x3a6e70\nLDR             R3, [R3,#0x60]                                         ; +0x6a, 0x3a6e72\nBLX             R3                                                     ; +0x6c, 0x3a6e74\nLDRB.W          R3, [R0,#0x45]                                         ; +0x6e, 0x3a6e76\nCMP             R3, #0                                                 ; +0x72, 0x3a6e7a\nBEQ.W           loc_3A7320                                             ; +0x74, 0x3a6e7c\nBL              _ZN7cocos2d10CCDirector14sharedDirectorEv; cocos2d::CCDirector::sharedDirector(void) ; +0x78, 0x3a6e80\nLDR             R3, [R0]                                               ; +0x7c, 0x3a6e84\nLDR             R3, [R3,#0x60]                                         ; +0x7e, 0x3a6e86\nBLX             R3                                                     ; +0x80, 0x3a6e88\nLDRB.W          R3, [R0,#0x44]                                         ; +0x82, 0x3a6e8a\nCMP             R3, #0                                                 ; +0x86, 0x3a6e8e\nBEQ.W           loc_3A7320                                             ; +0x88, 0x3a6e90\nMOV             R0, R4; this                                           ; +0x8c, 0x3a6e94\nMOVS            R1, #0; cocos2d::CCObject *                            ; +0x8e, 0x3a6e96\nBL              _ZN8EditorUI14redoLastActionEPN7cocos2d8CCObjectE; EditorUI::redoLastAction(cocos2d::CCObject *) ; +0x90, 0x3a6e98\nB               loc_3A6F76                                             ; +0x94, 0x3a6e9c\nCMP             R5, #0xB8                                              ; +0x96, 0x3a6e9e\nBEQ.W           loc_3A706C                                             ; +0x98, 0x3a6ea0\nCMP             R5, #0xBD                                              ; +0x9c, 0x3a6ea4\nBEQ.W           loc_3A7090                                             ; +0x9e, 0x3a6ea6\nCMP             R5, #0x2E ; '.'                                        ; +0xa2, 0x3a6eaa\nBNE.W           loc_3A70C0                                             ; +0xa4, 0x3a6eac\nMOV             R0, R4; this                                           ; +0xa8, 0x3a6eb0\nMOVS            R1, #0; cocos2d::CCObject *                            ; +0xaa, 0x3a6eb2\nBL              _ZN8EditorUI16onDeleteSelectedEPN7cocos2d8CCObjectE; EditorUI::onDeleteSelected(cocos2d::CCObject *) ; +0xac, 0x3a6eb4\nCMP             R5, #0x1B                                              ; +0xb0, 0x3a6eb8\nBNE             loc_3A6F76                                             ; +0xb2, 0x3a6eba\nMOV             R0, R4; this                                           ; +0xb4, 0x3a6ebc\nMOVS            R1, #0; cocos2d::CCObject *                            ; +0xb6, 0x3a6ebe\nBL              _ZN8EditorUI7onPauseEPN7cocos2d8CCObjectE; EditorUI::onPause(cocos2d::CCObject *) ; +0xb8, 0x3a6ec0\nB.W             loc_3A7768                                             ; +0xbc, 0x3a6ec4\nCMP             R5, #0x44 ; 'D'                                        ; +0xc0, 0x3a6ec8\nBEQ             loc_3A6FC4                                             ; +0xc2, 0x3a6eca\nCMP             R5, #0x43 ; 'C'                                        ; +0xc4, 0x3a6ecc\nBEQ.W           loc_3A6FFC                                             ; +0xc6, 0x3a6ece\nCMP             R5, #0x56 ; 'V'                                        ; +0xca, 0x3a6ed2\nBEQ.W           loc_3A701A                                             ; +0xcc, 0x3a6ed4\nCMP             R5, #0x44 ; 'D'                                        ; +0xd0, 0x3a6ed8\nBEQ             loc_3A6FD4                                             ; +0xd2, 0x3a6eda\nSUB.W           R7, R5, #0x30 ; '0'                                    ; +0xd4, 0x3a6edc\nCMP             R7, #9                                                 ; +0xd8, 0x3a6ee0\nBHI.W           loc_3A704E                                             ; +0xda, 0x3a6ee2\nBL              _ZN7cocos2d10CCDirector14sharedDirectorEv; cocos2d::CCDirector::sharedDirector(void) ; +0xde, 0x3a6ee6\nLDR             R3, [R0]                                               ; +0xe2, 0x3a6eea\nLDR             R3, [R3,#0x60]                                         ; +0xe4, 0x3a6eec\nBLX             R3                                                     ; +0xe6, 0x3a6eee\nLDRB.W          R3, [R0,#0x45]                                         ; +0xe8, 0x3a6ef0\nCMP             R3, #0                                                 ; +0xec, 0x3a6ef4\nBEQ.W           loc_3A7038                                             ; +0xee, 0x3a6ef6\nLDR.W           R3, [R4,#0x340]                                        ; +0xf2, 0x3a6efa\nADD             R6, SP, #0x38+var_14                                   ; +0xf6, 0x3a6efe\nLDR.W           R0, [R3,#0x9F0]                                        ; +0xf8, 0x3a6f00\nLDR             R3, [R0]                                               ; +0xfc, 0x3a6f04\nLDR             R3, [R3,#0x54]                                         ; +0xfe, 0x3a6f06\nBLX             R3                                                     ; +0x100, 0x3a6f08\nVMOV            S18, R0; this                                          ; +0x102, 0x3a6f0a\nBL              _ZN7cocos2d10CCDirector14sharedDirectorEv; cocos2d::CCDirector::sharedDirector(void) ; +0x106, 0x3a6f0e\nMOV             R1, R0                                                 ; +0x10a, 0x3a6f12\nADD             R0, SP, #0x38+var_1C; this                             ; +0x10c, 0x3a6f14\nBL              _ZN7cocos2d10CCDirector10getWinSizeEv; cocos2d::CCDirector::getWinSize(void) ; +0x10e, 0x3a6f16\nVMOV.F32        S15, #0.5                                              ; +0x112, 0x3a6f1a\nVLDR            S16, [R4,#0x23C]                                       ; +0x116, 0x3a6f1e\nVLDR            S14, [SP,#0x38+var_18]                                 ; +0x11a, 0x3a6f22\nVLDR            S17, [SP,#0x38+var_1C]                                 ; +0x11e, 0x3a6f26\nVMUL.F32        S16, S16, S15                                          ; +0x122, 0x3a6f2a\nVMUL.F32        S17, S17, S15                                          ; +0x126, 0x3a6f2e\nVMLA.F32        S16, S14, S15                                          ; +0x12a, 0x3a6f32\nBL              _ZN7cocos2d10CCDirector14sharedDirectorEv; cocos2d::CCDirector::sharedDirector(void) ; +0x12e, 0x3a6f36\nLDR             R3, [R0]                                               ; +0x132, 0x3a6f3a\nLDR             R3, [R3,#0x60]                                         ; +0x134, 0x3a6f3c\nBLX             R3                                                     ; +0x136, 0x3a6f3e\nLDRB.W          R3, [R0,#0x45]                                         ; +0x138, 0x3a6f40\nCMP             R3, #0                                                 ; +0x13c, 0x3a6f44\nBNE.W           loc_3A70F2                                             ; +0x13e, 0x3a6f46\nMOV             R0, R6; this                                           ; +0x142, 0x3a6f4a\nLDR.W           R1, [R4,#0x340]; int                                   ; +0x144, 0x3a6f4c\nMOV             R2, R7                                                 ; +0x148, 0x3a6f50\nBL              _ZN16LevelEditorLayer22getSavedEditorPositionEi; LevelEditorLayer::getSavedEditorPosition(int) ; +0x14a, 0x3a6f52\nVLDR            S14, [SP,#0x38+var_14]                                 ; +0x14e, 0x3a6f56\nVLDR            S15, [SP,#0x38+var_10]                                 ; +0x152, 0x3a6f5a\nVCMP.F32        S14, #0.0                                              ; +0x156, 0x3a6f5e\nVMRS            APSR_nzcv, FPSCR                                       ; +0x15a, 0x3a6f62\nBNE.W           loc_3A7198                                             ; +0x15e, 0x3a6f66\nVCMP.F32        S15, #0.0                                              ; +0x162, 0x3a6f6a\nVMRS            APSR_nzcv, FPSCR                                       ; +0x166, 0x3a6f6e\nBNE.W           loc_3A7198                                             ; +0x16a, 0x3a6f72\nMOVW            R3, #0x3F3                                             ; +0x16e, 0x3a6f76\nCMP             R5, R3                                                 ; +0x172, 0x3a6f7a\nBEQ             loc_3A6EBC                                             ; +0x174, 0x3a6f7c\nCMP             R5, #0xD                                               ; +0x176, 0x3a6f7e\nBEQ             loc_3A6F8A                                             ; +0x178, 0x3a6f80\nMOVW            R3, #0x3F1                                             ; +0x17a, 0x3a6f82\nCMP             R5, R3                                                 ; +0x17e, 0x3a6f86\nBNE             loc_3A6FB6                                             ; +0x180, 0x3a6f88\nLDR.W           R0, [R4,#0x294]                                        ; +0x182, 0x3a6f8a\nLDR             R3, [R0]                                               ; +0x186, 0x3a6f8e\nLDR.W           R3, [R3,#0xA8]                                         ; +0x188, 0x3a6f90\nBLX             R3                                                     ; +0x18c, 0x3a6f94\nMOV             R1, R0; cocos2d::CCObject *                            ; +0x18e, 0x3a6f96\nCBNZ            R0, loc_3A6FAC                                         ; +0x190, 0x3a6f98\nLDR.W           R3, [R4,#0x1F8]                                        ; +0x192, 0x3a6f9a\nADDS            R3, #1                                                 ; +0x196, 0x3a6f9e\nBNE.W           loc_3A7768                                             ; +0x198, 0x3a6fa0\nMOV             R0, R4; this                                           ; +0x19c, 0x3a6fa4\nBL              _ZN8EditorUI10onPlaytestEPN7cocos2d8CCObjectE; EditorUI::onPlaytest(cocos2d::CCObject *) ; +0x19e, 0x3a6fa6\nB               loc_3A7768                                             ; +0x1a2, 0x3a6faa\nMOV             R0, R4; this                                           ; +0x1a4, 0x3a6fac\nMOVS            R1, #0; cocos2d::CCObject *                            ; +0x1a6, 0x3a6fae\nBL              _ZN8EditorUI14onStopPlaytestEPN7cocos2d8CCObjectE; EditorUI::onStopPlaytest(cocos2d::CCObject *) ; +0x1a8, 0x3a6fb0\nB               loc_3A7768                                             ; +0x1ac, 0x3a6fb4\nCMP             R5, #0x20 ; ' '                                        ; +0x1ae, 0x3a6fb6\nBNE.W           loc_3A7768                                             ; +0x1b0, 0x3a6fb8\nMOVS            R3, #1                                                 ; +0x1b4, 0x3a6fbc\nSTRB.W          R3, [R4,#0x1E8]                                        ; +0x1b6, 0x3a6fbe\nB               loc_3A7768                                             ; +0x1ba, 0x3a6fc2\nBL              _ZN7cocos2d10CCDirector14sharedDirectorEv; cocos2d::CCDirector::sharedDirector(void) ; +0x1bc, 0x3a6fc4\nLDR             R3, [R0]                                               ; +0x1c0, 0x3a6fc8\nLDR             R3, [R3,#0x60]                                         ; +0x1c2, 0x3a6fca\nBLX             R3                                                     ; +0x1c4, 0x3a6fcc\nLDRB.W          R3, [R0,#0x46]                                         ; +0x1c6, 0x3a6fce\nCBNZ            R3, loc_3A6FF2                                         ; +0x1ca, 0x3a6fd2\nBL              _ZN7cocos2d10CCDirector14sharedDirectorEv; cocos2d::CCDirector::sharedDirector(void) ; +0x1cc, 0x3a6fd4\nLDR             R3, [R0]                                               ; +0x1d0, 0x3a6fd8\nLDR             R3, [R3,#0x60]                                         ; +0x1d2, 0x3a6fda\nBLX             R3                                                     ; +0x1d4, 0x3a6fdc\nLDRB.W          R3, [R0,#0x45]                                         ; +0x1d6, 0x3a6fde\nCMP             R3, #0                                                 ; +0x1da, 0x3a6fe2\nBEQ.W           loc_3A6EDC                                             ; +0x1dc, 0x3a6fe4\nMOV             R0, R4; this                                           ; +0x1e0, 0x3a6fe8\nMOVS            R1, #0; cocos2d::CCObject *                            ; +0x1e2, 0x3a6fea\nBL              _ZN8EditorUI11onDuplicateEPN7cocos2d8CCObjectE; EditorUI::onDuplicate(cocos2d::CCObject *) ; +0x1e4, 0x3a6fec\nB               loc_3A6F76                                             ; +0x1e8, 0x3a6ff0\nMOV             R0, R4; this                                           ; +0x1ea, 0x3a6ff2\nMOVS            R1, #0; cocos2d::CCObject *                            ; +0x1ec, 0x3a6ff4\nBL              _ZN8EditorUI13onDeselectAllEPN7cocos2d8CCObjectE; EditorUI::onDeselectAll(cocos2d::CCObject *) ; +0x1ee, 0x3a6ff6\nB               loc_3A6F76                                             ; +0x1f2, 0x3a6ffa\nBL              _ZN7cocos2d10CCDirector14sharedDirectorEv; cocos2d::CCDirector::sharedDirector(void) ; +0x1f4, 0x3a6ffc\nLDR             R3, [R0]                                               ; +0x1f8, 0x3a7000\nLDR             R3, [R3,#0x60]                                         ; +0x1fa, 0x3a7002\nBLX             R3                                                     ; +0x1fc, 0x3a7004\nLDRB.W          R3, [R0,#0x45]                                         ; +0x1fe, 0x3a7006\nCMP             R3, #0                                                 ; +0x202, 0x3a700a\nBEQ.W           loc_3A6EDC                                             ; +0x204, 0x3a700c\nMOV             R0, R4; this                                           ; +0x208, 0x3a7010\nMOVS            R1, #0; cocos2d::CCObject *                            ; +0x20a, 0x3a7012\nBL              _ZN8EditorUI6onCopyEPN7cocos2d8CCObjectE; EditorUI::onCopy(cocos2d::CCObject *) ; +0x20c, 0x3a7014\nB               loc_3A6F76                                             ; +0x210, 0x3a7018\nBL              _ZN7cocos2d10CCDirector14sharedDirectorEv; cocos2d::CCDirector::sharedDirector(void) ; +0x212, 0x3a701a\nLDR             R3, [R0]                                               ; +0x216, 0x3a701e\nLDR             R3, [R3,#0x60]                                         ; +0x218, 0x3a7020\nBLX             R3                                                     ; +0x21a, 0x3a7022\nLDRB.W          R3, [R0,#0x45]                                         ; +0x21c, 0x3a7024\nCMP             R3, #0                                                 ; +0x220, 0x3a7028\nBEQ.W           loc_3A6EDC                                             ; +0x222, 0x3a702a\nMOV             R0, R4; this                                           ; +0x226, 0x3a702e\nMOVS            R1, #0; cocos2d::CCObject *                            ; +0x228, 0x3a7030\nBL              _ZN8EditorUI7onPasteEPN7cocos2d8CCObjectE; EditorUI::onPaste(cocos2d::CCObject *) ; +0x22a, 0x3a7032\nB               loc_3A6F76                                             ; +0x22e, 0x3a7036\nBL              _ZN7cocos2d10CCDirector14sharedDirectorEv; cocos2d::CCDirector::sharedDirector(void) ; +0x230, 0x3a7038\nLDR             R3, [R0]                                               ; +0x234, 0x3a703c\nLDR             R3, [R3,#0x60]                                         ; +0x236, 0x3a703e\nBLX             R3                                                     ; +0x238, 0x3a7040\nLDRB.W          R3, [R0,#0x46]                                         ; +0x23a, 0x3a7042\nCMP             R3, #0                                                 ; +0x23e, 0x3a7046\nBNE.W           loc_3A6EFA                                             ; +0x240, 0x3a7048\nB               loc_3A72C2                                             ; +0x244, 0x3a704c\nCMP             R5, #0x32 ; '2'                                        ; +0x246, 0x3a704e\nBNE             loc_3A705A                                             ; +0x248, 0x3a7050\nMOV             R0, R4                                                 ; +0x24a, 0x3a7052\nLDR.W           R1, [R4,#0x274]                                        ; +0x24c, 0x3a7054\nB               loc_3A7066                                             ; +0x250, 0x3a7058\nCMP             R5, #0x33 ; '3'                                        ; +0x252, 0x3a705a\nBNE.W           loc_3A6E9E                                             ; +0x254, 0x3a705c\nLDR.W           R1, [R4,#0x26C]; cocos2d::CCObject *                   ; +0x258, 0x3a7060\nMOV             R0, R4; this                                           ; +0x25c, 0x3a7064\nBL              _ZN8EditorUI10toggleModeEPN7cocos2d8CCObjectE; EditorUI::toggleMode(cocos2d::CCObject *) ; +0x25e, 0x3a7066\nB               loc_3A6F76                                             ; +0x262, 0x3a706a\nBL              _ZN7cocos2d10CCDirector14sharedDirectorEv; cocos2d::CCDirector::sharedDirector(void) ; +0x264, 0x3a706c\nLDR             R3, [R0]                                               ; +0x268, 0x3a7070\nLDR             R3, [R3,#0x60]                                         ; +0x26a, 0x3a7072\nBLX             R3                                                     ; +0x26c, 0x3a7074\nLDRB.W          R3, [R0,#0x44]                                         ; +0x26e, 0x3a7076\nCBZ             R3, loc_3A7086                                         ; +0x272, 0x3a707a\nMOV             R0, R4; this                                           ; +0x274, 0x3a707c\nMOVS            R1, #0; cocos2d::CCObject *                            ; +0x276, 0x3a707e\nBL              _ZN8EditorUI6zoomInEPN7cocos2d8CCObjectE; EditorUI::zoomIn(cocos2d::CCObject *) ; +0x278, 0x3a7080\nB               loc_3A6F76                                             ; +0x27c, 0x3a7084\nADD             R6, SP, #0x38+var_C                                    ; +0x27e, 0x3a7086\nMOVS            R1, #0                                                 ; +0x280, 0x3a7088\nLDR             R2, =0xC1200000                                        ; +0x282, 0x3a708a\nMOV             R0, R6                                                 ; +0x284, 0x3a708c\nB               loc_3A70B2                                             ; +0x286, 0x3a708e\nBL              _ZN7cocos2d10CCDirector14sharedDirectorEv; cocos2d::CCDirector::sharedDirector(void) ; +0x288, 0x3a7090\nLDR             R3, [R0]                                               ; +0x28c, 0x3a7094\nLDR             R3, [R3,#0x60]                                         ; +0x28e, 0x3a7096\nBLX             R3                                                     ; +0x290, 0x3a7098\nLDRB.W          R3, [R0,#0x44]                                         ; +0x292, 0x3a709a\nCBZ             R3, loc_3A70AA                                         ; +0x296, 0x3a709e\nMOV             R0, R4; this                                           ; +0x298, 0x3a70a0\nMOVS            R1, #0; cocos2d::CCObject *                            ; +0x29a, 0x3a70a2\nBL              _ZN8EditorUI7zoomOutEPN7cocos2d8CCObjectE; EditorUI::zoomOut(cocos2d::CCObject *) ; +0x29c, 0x3a70a4\nB               loc_3A6F76                                             ; +0x2a0, 0x3a70a8\nADD             R6, SP, #0x38+var_C                                    ; +0x2a2, 0x3a70aa\nLDR             R2, flt_3A73A0; float                                  ; +0x2a4, 0x3a70ac\nMOVS            R1, #0; float                                          ; +0x2a6, 0x3a70ae\nMOV             R0, R6; this                                           ; +0x2a8, 0x3a70b0\nBL              _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0x2aa, 0x3a70b2\nMOV             R0, R4                                                 ; +0x2ae, 0x3a70b6\nMOV             R1, R6                                                 ; +0x2b0, 0x3a70b8\nBL              _ZN8EditorUI13moveGamelayerEN7cocos2d7CCPointE; EditorUI::moveGamelayer(cocos2d::CCPoint) ; +0x2b2, 0x3a70ba\nB               loc_3A6F76                                             ; +0x2b6, 0x3a70be\nCMP             R5, #8                                                 ; +0x2b8, 0x3a70c0\nBEQ.W           loc_3A6EB0                                             ; +0x2ba, 0x3a70c2\nCMP             R5, #0x54 ; 'T'                                        ; +0x2be, 0x3a70c6\nBNE.W           loc_3A72DE                                             ; +0x2c0, 0x3a70c8\nBL              _ZN7cocos2d10CCDirector14sharedDirectorEv; cocos2d::CCDirector::sharedDirector(void) ; +0x2c4, 0x3a70cc\nLDR             R3, [R0]                                               ; +0x2c8, 0x3a70d0\nLDR             R3, [R3,#0x60]                                         ; +0x2ca, 0x3a70d2\nBLX             R3                                                     ; +0x2cc, 0x3a70d4\nLDRB.W          R3, [R0,#0x45]                                         ; +0x2ce, 0x3a70d6\nCMP             R3, #0                                                 ; +0x2d2, 0x3a70da\nBNE.W           loc_3A72D4                                             ; +0x2d4, 0x3a70dc\nB               loc_3A70E8                                             ; +0x2d8, 0x3a70e0\nCMP             R5, #0x54 ; 'T'                                        ; +0x2da, 0x3a70e2\nBNE.W           loc_3A73F8                                             ; +0x2dc, 0x3a70e4\nMOV             R0, R4; this                                           ; +0x2e0, 0x3a70e8\nMOVS            R1, #0; cocos2d::CCObject *                            ; +0x2e2, 0x3a70ea\nBL              _ZN8EditorUI11toggleSwipeEPN7cocos2d8CCObjectE; EditorUI::toggleSwipe(cocos2d::CCObject *) ; +0x2e4, 0x3a70ec\nB               loc_3A6F76                                             ; +0x2e8, 0x3a70f0\nLDR.W           R3, [R4,#0x340]                                        ; +0x2ea, 0x3a70f2\nADD.W           R8, SP, #0x38+var_24                                   ; +0x2ee, 0x3a70f6\nLDR.W           R0, [R3,#0x9F0]                                        ; +0x2f2, 0x3a70fa\nLDR             R3, [R0]                                               ; +0x2f6, 0x3a70fe\nLDR             R3, [R3,#0x60]                                         ; +0x2f8, 0x3a7100\nBLX             R3                                                     ; +0x2fa, 0x3a7102\nMOV             R1, R0; cocos2d::CCPoint *                             ; +0x2fc, 0x3a7104\nMOV             R0, R6; this                                           ; +0x2fe, 0x3a7106\nBL              _ZN7cocos2d7CCPointC1ERKS0_; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const&) ; +0x300, 0x3a7108\nVLDR            S15, [SP,#0x38+var_14]                                 ; +0x304, 0x3a710c\nADD             R6, SP, #0x38+var_C                                    ; +0x308, 0x3a7110\nMOV             R0, R6; this                                           ; +0x30a, 0x3a7112\nVSUB.F32        S17, S17, S15                                          ; +0x30c, 0x3a7114\nVLDR            S15, [SP,#0x38+var_10]                                 ; +0x310, 0x3a7118\nVSUB.F32        S16, S16, S15                                          ; +0x314, 0x3a711c\nVDIV.F32        S15, S17, S18                                          ; +0x318, 0x3a7120\nVMOV            R1, S15; float                                         ; +0x31c, 0x3a7124\nVDIV.F32        S15, S16, S18                                          ; +0x320, 0x3a7128\nVMOV            R2, S15; float                                         ; +0x324, 0x3a712c\nBL              _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0x328, 0x3a7130\nMOV             R2, R7; int                                            ; +0x32c, 0x3a7134\nMOV             R1, R6; cocos2d::CCPoint *                             ; +0x32e, 0x3a7136\nLDR.W           R0, [R4,#0x340]; this                                  ; +0x330, 0x3a7138\nBL              _ZN16LevelEditorLayer18saveEditorPositionERN7cocos2d7CCPointEi; LevelEditorLayer::saveEditorPosition(cocos2d::CCPoint &,int) ; +0x334, 0x3a713c\nLDR             R0, =(aPositionISaved - 0x3A714A); \"Position %i saved.\" ; +0x338, 0x3a7140\nMOV             R1, R7; char *                                         ; +0x33a, 0x3a7142\nADD             R6, SP, #0x38+var_20                                   ; +0x33c, 0x3a7144\nADD             R0, PC; \"Position %i saved.\"                           ; +0x33e, 0x3a7146\nADD             R7, SP, #0x38+var_28                                   ; +0x340, 0x3a7148\nBL              _ZN7cocos2d8CCString16createWithFormatEPKcz; cocos2d::CCString::createWithFormat(char const*,...) ; +0x342, 0x3a714a\nBL              _ZNK7cocos2d8CCString10getCStringEv; cocos2d::CCString::getCString(void) ; +0x346, 0x3a714e\nMOV             R2, R6                                                 ; +0x34a, 0x3a7152\nMOV             R1, R0; char *                                         ; +0x34c, 0x3a7154\nMOV             R0, R7; int                                            ; +0x34e, 0x3a7156\nBL              sub_776584                                             ; +0x350, 0x3a7158\nLDR             R3, [R4]                                               ; +0x354, 0x3a715c\nMOV             R0, R8                                                 ; +0x356, 0x3a715e\nMOV             R1, R7                                                 ; +0x358, 0x3a7160\nLDR.W           R10, [R3,#0xE0]                                        ; +0x35a, 0x3a7162\nBL              sub_775C20                                             ; +0x35e, 0x3a7166\nLDR             R1, =(unk_939830 - 0x3A7174)                           ; +0x362, 0x3a716a\nMOV             R0, R6; int                                            ; +0x364, 0x3a716c\nADD             R2, SP, #0x38+var_2C                                   ; +0x366, 0x3a716e\nADD             R1, PC; unk_939830 ; char *                            ; +0x368, 0x3a7170\nBL              sub_776584                                             ; +0x36a, 0x3a7172\nSTR             R6, [SP,#0x38+var_38]                                  ; +0x36e, 0x3a7176\nMOV             R0, R8                                                 ; +0x370, 0x3a7178\nMOV.W           R1, #0x3F000000                                        ; +0x372, 0x3a717a\nLDR             R2, =0x3F19999A                                        ; +0x376, 0x3a717e\nMOVS            R3, #0x96                                              ; +0x378, 0x3a7180\nBL              _ZN14TextAlertPopup6createESsffiSs; TextAlertPopup::create(std::string,float,float,int,std::string) ; +0x37a, 0x3a7182\nMOV             R1, R0                                                 ; +0x37e, 0x3a7186\nMOVS            R2, #0x64 ; 'd'                                        ; +0x380, 0x3a7188\nMOV             R0, R4                                                 ; +0x382, 0x3a718a\nBLX             R10                                                    ; +0x384, 0x3a718c\nMOV             R0, R6                                                 ; +0x386, 0x3a718e\nBL              sub_774008                                             ; +0x388, 0x3a7190\nMOV             R0, R8                                                 ; +0x38c, 0x3a7194\nB               loc_3A7296                                             ; +0x38e, 0x3a7196\nVMLS.F32        S17, S14, S18                                          ; +0x390, 0x3a7198\nLDR.W           R3, [R4,#0x340]                                        ; +0x394, 0x3a719c\nADD             R6, SP, #0x38+var_C                                    ; +0x398, 0x3a71a0\nLDR.W           R7, [R3,#0x9F0]                                        ; +0x39a, 0x3a71a2\nMOV             R0, R6; this                                           ; +0x39e, 0x3a71a6\nLDR             R3, [R7]                                               ; +0x3a0, 0x3a71a8\nLDR.W           R8, [R3,#0x5C]                                         ; +0x3a2, 0x3a71aa\nVMLS.F32        S16, S15, S18                                          ; +0x3a6, 0x3a71ae\nVMOV            R1, S17; float                                         ; +0x3aa, 0x3a71b2\nVMOV            R2, S16; float                                         ; +0x3ae, 0x3a71b6\nBL              _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0x3b2, 0x3a71ba\nMOV             R0, R7                                                 ; +0x3b6, 0x3a71be\nMOV             R1, R6                                                 ; +0x3b8, 0x3a71c0\nBLX             R8                                                     ; +0x3ba, 0x3a71c2\nB               loc_3A6F76                                             ; +0x3bc, 0x3a71c4\nCMP             R5, #0xD                                               ; +0x3be, 0x3a71c6\nBEQ.W           loc_3A7408                                             ; +0x3c0, 0x3a71c8\nCMP             R5, #0x70 ; 'p'                                        ; +0x3c4, 0x3a71cc\nBNE.W           loc_3A741E                                             ; +0x3c6, 0x3a71ce\nLDR.W           R3, [R4,#0x340]                                        ; +0x3ca, 0x3a71d2\nADD             R6, SP, #0x38+var_C                                    ; +0x3ce, 0x3a71d6\nLDR.W           R0, [R3,#0x9F0]                                        ; +0x3d0, 0x3a71d8\nLDR             R3, [R0]                                               ; +0x3d4, 0x3a71dc\nLDR             R3, [R3,#0x54]                                         ; +0x3d6, 0x3a71de\nBLX             R3                                                     ; +0x3d8, 0x3a71e0\nVMOV            S18, R0; this                                          ; +0x3da, 0x3a71e2\nBL              _ZN7cocos2d10CCDirector14sharedDirectorEv; cocos2d::CCDirector::sharedDirector(void) ; +0x3de, 0x3a71e6\nMOV             R1, R0                                                 ; +0x3e2, 0x3a71ea\nADD             R0, SP, #0x38+var_1C; this                             ; +0x3e4, 0x3a71ec\nBL              _ZN7cocos2d10CCDirector10getWinSizeEv; cocos2d::CCDirector::getWinSize(void) ; +0x3e6, 0x3a71ee\nVMOV.F32        S15, #0.5                                              ; +0x3ea, 0x3a71f2\nVLDR            S16, [R4,#0x23C]                                       ; +0x3ee, 0x3a71f6\nLDR.W           R3, [R4,#0x340]                                        ; +0x3f2, 0x3a71fa\nVLDR            S14, [SP,#0x38+var_18]                                 ; +0x3f6, 0x3a71fe\nLDR.W           R0, [R3,#0x9F0]                                        ; +0x3fa, 0x3a7202\nVLDR            S17, [SP,#0x38+var_1C]                                 ; +0x3fe, 0x3a7206\nLDR             R3, [R0]                                               ; +0x402, 0x3a720a\nVMUL.F32        S16, S16, S15                                          ; +0x404, 0x3a720c\nLDR             R3, [R3,#0x60]                                         ; +0x408, 0x3a7210\nVMLA.F32        S16, S14, S15                                          ; +0x40a, 0x3a7212\nVMUL.F32        S17, S17, S15                                          ; +0x40e, 0x3a7216\nBLX             R3                                                     ; +0x412, 0x3a721a\nMOV             R1, R0; cocos2d::CCPoint *                             ; +0x414, 0x3a721c\nADD             R0, SP, #0x38+var_14; this                             ; +0x416, 0x3a721e\nBL              _ZN7cocos2d7CCPointC1ERKS0_; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const&) ; +0x418, 0x3a7220\nVLDR            S15, [SP,#0x38+var_14]                                 ; +0x41c, 0x3a7224\nLDR.W           R7, [R4,#0x340]                                        ; +0x420, 0x3a7228\nMOV             R0, R6; this                                           ; +0x424, 0x3a722c\nADD.W           R7, R7, #0x2F40                                        ; +0x426, 0x3a722e\nVSUB.F32        S17, S17, S15                                          ; +0x42a, 0x3a7232\nADDS            R7, #0xC                                               ; +0x42e, 0x3a7236\nVLDR            S15, [SP,#0x38+var_10]                                 ; +0x430, 0x3a7238\nVSUB.F32        S16, S16, S15                                          ; +0x434, 0x3a723c\nVDIV.F32        S15, S17, S18                                          ; +0x438, 0x3a7240\nVMOV            R1, S15; float                                         ; +0x43c, 0x3a7244\nVDIV.F32        S15, S16, S18                                          ; +0x440, 0x3a7248\nVMOV            R2, S15; float                                         ; +0x444, 0x3a724c\nBL              _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0x448, 0x3a7250\nMOV             R0, R7                                                 ; +0x44c, 0x3a7254\nMOV             R1, R6                                                 ; +0x44e, 0x3a7256\nADD             R7, SP, #0x38+var_20                                   ; +0x450, 0x3a7258\nBL              _ZN7cocos2d7CCPointaSERKS0_; cocos2d::CCPoint::operator=(cocos2d::CCPoint const&) ; +0x452, 0x3a725a\nLDR             R3, [R4]                                               ; +0x456, 0x3a725e\nLDR             R1, =(aPreviewLocked - 0x3A726A); \"Preview Locked\"     ; +0x458, 0x3a7260\nADD             R2, SP, #0x38+var_28                                   ; +0x45a, 0x3a7262\nMOV             R0, R7; int                                            ; +0x45c, 0x3a7264\nADD             R1, PC; \"Preview Locked\"                               ; +0x45e, 0x3a7266\nLDR.W           R8, [R3,#0xE0]                                         ; +0x460, 0x3a7268\nBL              sub_776584                                             ; +0x464, 0x3a726c\nLDR             R1, =(unk_939830 - 0x3A727A)                           ; +0x468, 0x3a7270\nMOV             R0, R6; int                                            ; +0x46a, 0x3a7272\nADD             R2, SP, #0x38+var_24                                   ; +0x46c, 0x3a7274\nADD             R1, PC; unk_939830 ; char *                            ; +0x46e, 0x3a7276\nBL              sub_776584                                             ; +0x470, 0x3a7278\nSTR             R6, [SP,#0x38+var_38]                                  ; +0x474, 0x3a727c\nMOV             R0, R7                                                 ; +0x476, 0x3a727e\nMOV.W           R1, #0x3F000000                                        ; +0x478, 0x3a7280\nLDR             R2, =0x3F19999A                                        ; +0x47c, 0x3a7284\nMOVS            R3, #0x96                                              ; +0x47e, 0x3a7286\nBL              _ZN14TextAlertPopup6createESsffiSs; TextAlertPopup::create(std::string,float,float,int,std::string) ; +0x480, 0x3a7288\nMOV             R1, R0                                                 ; +0x484, 0x3a728c\nMOVS            R2, #0x64 ; 'd'                                        ; +0x486, 0x3a728e\nMOV             R0, R4                                                 ; +0x488, 0x3a7290\nBLX             R8                                                     ; +0x48a, 0x3a7292\nMOV             R0, R6                                                 ; +0x48c, 0x3a7294\nBL              sub_774008                                             ; +0x48e, 0x3a7296\nMOV             R0, R7                                                 ; +0x492, 0x3a729a\nBL              sub_774008                                             ; +0x494, 0x3a729c\nB               loc_3A6F76                                             ; +0x498, 0x3a72a0\nMOV             R0, R6                                                 ; +0x49a, 0x3a72a2\nBL              sub_774008                                             ; +0x49c, 0x3a72a4\nB               loc_3A72AA                                             ; +0x4a0, 0x3a72a8\nMOV             R0, R8                                                 ; +0x4a2, 0x3a72aa\nB               loc_3A72B2                                             ; +0x4a4, 0x3a72ac\nB               loc_3A72B8                                             ; +0x4a6, 0x3a72ae\nMOV             R0, R6                                                 ; +0x4a8, 0x3a72b0\nBL              sub_774008                                             ; +0x4aa, 0x3a72b2\nB               loc_3A72B8                                             ; +0x4ae, 0x3a72b6\nMOV             R0, R7                                                 ; +0x4b0, 0x3a72b8\nBL              sub_774008                                             ; +0x4b2, 0x3a72ba\nBL              __cxa_end_cleanup                                      ; +0x4b6, 0x3a72be\nCMP             R5, #0x31 ; '1'                                        ; +0x4ba, 0x3a72c2\nBNE.W           loc_3A704E                                             ; +0x4bc, 0x3a72c4\nMOV             R0, R4; this                                           ; +0x4c0, 0x3a72c8\nLDR.W           R1, [R4,#0x270]; cocos2d::CCObject *                   ; +0x4c2, 0x3a72ca\nBL              _ZN8EditorUI10toggleModeEPN7cocos2d8CCObjectE; EditorUI::toggleMode(cocos2d::CCObject *) ; +0x4c6, 0x3a72ce\nB               loc_3A7768                                             ; +0x4ca, 0x3a72d2\nMOV             R0, R4; this                                           ; +0x4cc, 0x3a72d4\nMOVS            R1, #0; cocos2d::CCObject *                            ; +0x4ce, 0x3a72d6\nBL              _ZN8EditorUI24activateTransformControlEPN7cocos2d8CCObjectE; EditorUI::activateTransformControl(cocos2d::CCObject *) ; +0x4d0, 0x3a72d8\nB               loc_3A6F76                                             ; +0x4d4, 0x3a72dc\nCMP             R5, #0x51 ; 'Q'                                        ; +0x4d6, 0x3a72de\nBNE             loc_3A72FE                                             ; +0x4d8, 0x3a72e0\nBL              _ZN7cocos2d10CCDirector14sharedDirectorEv; cocos2d::CCDirector::sharedDirector(void) ; +0x4da, 0x3a72e2\nLDR             R3, [R0]                                               ; +0x4de, 0x3a72e6\nLDR             R3, [R3,#0x60]                                         ; +0x4e0, 0x3a72e8\nBLX             R3                                                     ; +0x4e2, 0x3a72ea\nLDRB.W          R3, [R0,#0x46]                                         ; +0x4e4, 0x3a72ec\nCBNZ            R3, loc_3A72F8                                         ; +0x4e8, 0x3a72f0\nMOV             R0, R4                                                 ; +0x4ea, 0x3a72f2\nMOVS            R1, #0x18                                              ; +0x4ec, 0x3a72f4\nB               loc_3A731A                                             ; +0x4ee, 0x3a72f6\nMOV             R0, R4                                                 ; +0x4f0, 0x3a72f8\nMOVS            R1, #0x15                                              ; +0x4f2, 0x3a72fa\nB               loc_3A731A                                             ; +0x4f4, 0x3a72fc\nCMP             R5, #0x45 ; 'E'                                        ; +0x4f6, 0x3a72fe\nBNE             loc_3A733E                                             ; +0x4f8, 0x3a7300\nBL              _ZN7cocos2d10CCDirector14sharedDirectorEv; cocos2d::CCDirector::sharedDirector(void) ; +0x4fa, 0x3a7302\nLDR             R3, [R0]                                               ; +0x4fe, 0x3a7306\nLDR             R3, [R3,#0x60]                                         ; +0x500, 0x3a7308\nBLX             R3                                                     ; +0x502, 0x3a730a\nLDRB.W          R3, [R0,#0x46]                                         ; +0x504, 0x3a730c\nMOV             R0, R4                                                 ; +0x508, 0x3a7310\nCMP             R3, #0                                                 ; +0x50a, 0x3a7312\nBNE.W           loc_3A76C4                                             ; +0x50c, 0x3a7314\nMOVS            R1, #0x17                                              ; +0x510, 0x3a7318\nBL              _ZN8EditorUI19transformObjectCallE11EditCommand; EditorUI::transformObjectCall(EditCommand) ; +0x512, 0x3a731a\nB               loc_3A6F76                                             ; +0x516, 0x3a731e\nBL              _ZN7cocos2d10CCDirector14sharedDirectorEv; cocos2d::CCDirector::sharedDirector(void) ; +0x518, 0x3a7320\nLDR             R3, [R0]                                               ; +0x51c, 0x3a7324\nLDR             R3, [R3,#0x60]                                         ; +0x51e, 0x3a7326\nBLX             R3                                                     ; +0x520, 0x3a7328\nLDRB.W          R3, [R0,#0x45]                                         ; +0x522, 0x3a732a\nCMP             R3, #0                                                 ; +0x526, 0x3a732e\nBEQ.W           loc_3A6EDC                                             ; +0x528, 0x3a7330\nMOV             R0, R4; this                                           ; +0x52c, 0x3a7334\nMOVS            R1, #0; cocos2d::CCObject *                            ; +0x52e, 0x3a7336\nBL              _ZN8EditorUI14undoLastActionEPN7cocos2d8CCObjectE; EditorUI::undoLastAction(cocos2d::CCObject *) ; +0x530, 0x3a7338\nB               loc_3A6F76                                             ; +0x534, 0x3a733c\nCMP             R5, #0x41 ; 'A'                                        ; +0x536, 0x3a733e\nBNE             loc_3A735C                                             ; +0x538, 0x3a7340\nBL              _ZN7cocos2d10CCDirector14sharedDirectorEv; cocos2d::CCDirector::sharedDirector(void) ; +0x53a, 0x3a7342\nLDR             R3, [R0]                                               ; +0x53e, 0x3a7346\nLDR             R3, [R3,#0x60]                                         ; +0x540, 0x3a7348\nBLX             R3                                                     ; +0x542, 0x3a734a\nLDRB.W          R3, [R0,#0x44]                                         ; +0x544, 0x3a734c\nMOV             R0, R4                                                 ; +0x548, 0x3a7350\nCMP             R3, #0                                                 ; +0x54a, 0x3a7352\nITE NE                                                                 ; +0x54c, 0x3a7354\nMOVNE           R1, #1                                                 ; +0x54e, 0x3a7356\nMOVEQ           R1, #5                                                 ; +0x550, 0x3a7358\nB               loc_3A7378                                             ; +0x552, 0x3a735a\nCMP             R5, #0x44 ; 'D'                                        ; +0x554, 0x3a735c\nBNE             loc_3A737E                                             ; +0x556, 0x3a735e\nBL              _ZN7cocos2d10CCDirector14sharedDirectorEv; cocos2d::CCDirector::sharedDirector(void) ; +0x558, 0x3a7360\nLDR             R3, [R0]                                               ; +0x55c, 0x3a7364\nLDR             R3, [R3,#0x60]                                         ; +0x55e, 0x3a7366\nBLX             R3                                                     ; +0x560, 0x3a7368\nLDRB.W          R3, [R0,#0x44]                                         ; +0x562, 0x3a736a\nMOV             R0, R4                                                 ; +0x566, 0x3a736e\nCMP             R3, #0                                                 ; +0x568, 0x3a7370\nITE NE                                                                 ; +0x56a, 0x3a7372\nMOVNE           R1, #2                                                 ; +0x56c, 0x3a7374\nMOVEQ           R1, #6                                                 ; +0x56e, 0x3a7376\nBL              _ZN8EditorUI14moveObjectCallE11EditCommand; EditorUI::moveObjectCall(EditCommand) ; +0x570, 0x3a7378\nB               loc_3A6F76                                             ; +0x574, 0x3a737c\nCMP             R5, #0x57 ; 'W'                                        ; +0x576, 0x3a737e\nBNE             loc_3A73BC                                             ; +0x578, 0x3a7380\nBL              _ZN7cocos2d10CCDirector14sharedDirectorEv; cocos2d::CCDirector::sharedDirector(void) ; +0x57a, 0x3a7382\nLDR             R3, [R0]                                               ; +0x57e, 0x3a7386\nLDR             R3, [R3,#0x60]                                         ; +0x580, 0x3a7388\nBLX             R3                                                     ; +0x582, 0x3a738a\nLDRB.W          R3, [R0,#0x44]                                         ; +0x584, 0x3a738c\nMOV             R0, R4                                                 ; +0x588, 0x3a7390\nCMP             R3, #0                                                 ; +0x58a, 0x3a7392\nITE NE                                                                 ; +0x58c, 0x3a7394\nMOVNE           R1, #3                                                 ; +0x58e, 0x3a7396\nMOVEQ           R1, #7                                                 ; +0x590, 0x3a7398\nB               loc_3A7378                                             ; +0x592, 0x3a739a\nDCD 0xC1200000                                                         ; +0x594, 0x3a739c\nDCFS 10.0                                                              ; +0x598, 0x3a73a0\nDCD 0x3F19999A                                                         ; +0x59c, 0x3a73a4\nDCD __stack_chk_guard_ptr - 0x3A6E1E                                   ; +0x5a0, 0x3a73a8\nDCD aPositionISaved - 0x3A714A                                         ; +0x5a4, 0x3a73ac\nDCD unk_939830 - 0x3A7174                                              ; +0x5a8, 0x3a73b0\nDCD aPreviewLocked - 0x3A726A                                          ; +0x5ac, 0x3a73b4\nDCD unk_939830 - 0x3A727A                                              ; +0x5b0, 0x3a73b8\nCMP             R5, #0x53 ; 'S'                                        ; +0x5b4, 0x3a73bc\nBNE             loc_3A73DA                                             ; +0x5b6, 0x3a73be\nBL              _ZN7cocos2d10CCDirector14sharedDirectorEv; cocos2d::CCDirector::sharedDirector(void) ; +0x5b8, 0x3a73c0\nLDR             R3, [R0]                                               ; +0x5bc, 0x3a73c4\nLDR             R3, [R3,#0x60]                                         ; +0x5be, 0x3a73c6\nBLX             R3                                                     ; +0x5c0, 0x3a73c8\nLDRB.W          R3, [R0,#0x44]                                         ; +0x5c2, 0x3a73ca\nMOV             R0, R4                                                 ; +0x5c6, 0x3a73ce\nCMP             R3, #0                                                 ; +0x5c8, 0x3a73d0\nITE NE                                                                 ; +0x5ca, 0x3a73d2\nMOVNE           R1, #4                                                 ; +0x5cc, 0x3a73d4\nMOVEQ           R1, #8                                                 ; +0x5ce, 0x3a73d6\nB               loc_3A7378                                             ; +0x5d0, 0x3a73d8\nCMP             R5, #0x52 ; 'R'                                        ; +0x5d2, 0x3a73da\nBNE             loc_3A73E8                                             ; +0x5d4, 0x3a73dc\nMOV             R0, R4; this                                           ; +0x5d6, 0x3a73de\nMOVS            R1, #0; cocos2d::CCObject *                            ; +0x5d8, 0x3a73e0\nBL              _ZN8EditorUI18toggleEnableRotateEPN7cocos2d8CCObjectE; EditorUI::toggleEnableRotate(cocos2d::CCObject *) ; +0x5da, 0x3a73e2\nB               loc_3A6F76                                             ; +0x5de, 0x3a73e6\nCMP             R5, #0x46 ; 'F'                                        ; +0x5e0, 0x3a73e8\nBNE.W           loc_3A70E2                                             ; +0x5e2, 0x3a73ea\nMOV             R0, R4; this                                           ; +0x5e6, 0x3a73ee\nMOVS            R1, #0; cocos2d::CCObject *                            ; +0x5e8, 0x3a73f0\nBL              _ZN8EditorUI14toggleFreeMoveEPN7cocos2d8CCObjectE; EditorUI::toggleFreeMove(cocos2d::CCObject *) ; +0x5ea, 0x3a73f2\nB               loc_3A6F76                                             ; +0x5ee, 0x3a73f6\nCMP             R5, #0x47 ; 'G'                                        ; +0x5f0, 0x3a73f8\nBNE.W           loc_3A71C6                                             ; +0x5f2, 0x3a73fa\nMOV             R0, R4; this                                           ; +0x5f6, 0x3a73fe\nMOVS            R1, #0; cocos2d::CCObject *                            ; +0x5f8, 0x3a7400\nBL              _ZN8EditorUI10toggleSnapEPN7cocos2d8CCObjectE; EditorUI::toggleSnap(cocos2d::CCObject *) ; +0x5fa, 0x3a7402\nB               loc_3A6F76                                             ; +0x5fe, 0x3a7406\nBL              _ZN7cocos2d10CCDirector14sharedDirectorEv; cocos2d::CCDirector::sharedDirector(void) ; +0x600, 0x3a7408\nLDR             R3, [R0]                                               ; +0x604, 0x3a740c\nLDR             R3, [R3,#0x60]                                         ; +0x606, 0x3a740e\nBLX             R3                                                     ; +0x608, 0x3a7410\nLDRB.W          R3, [R0,#0x45]                                         ; +0x60a, 0x3a7412\nCMP             R3, #0                                                 ; +0x60e, 0x3a7416\nBNE.W           loc_3A772A                                             ; +0x610, 0x3a7418\nB               loc_3A7424                                             ; +0x614, 0x3a741c\nCMP             R5, #0x71 ; 'q'                                        ; +0x616, 0x3a741e\nBEQ.W           loc_3A76C8                                             ; +0x618, 0x3a7420\nSUB.W           R3, R5, #0x72 ; 'r'                                    ; +0x61c, 0x3a7424\nCMP             R3, #6                                                 ; +0x620, 0x3a7428\nBHI.W           loc_3A7680                                             ; +0x622, 0x3a742a\nADD             R7, SP, #0x38+var_1C                                   ; +0x626, 0x3a742e\nADD.W           R8, SP, #0x38+var_C                                    ; +0x628, 0x3a7430\nLDR             R1, =(unk_939830 - 0x3A743E)                           ; +0x62c, 0x3a7434\nMOV             R0, R7; int                                            ; +0x62e, 0x3a7436\nMOV             R2, R8                                                 ; +0x630, 0x3a7438\nADD             R1, PC; unk_939830 ; char *                            ; +0x632, 0x3a743a\nBL              sub_776584                                             ; +0x634, 0x3a743c\nCMP             R5, #0x75 ; 'u'                                        ; +0x638, 0x3a7440\nBNE             loc_3A7466                                             ; +0x63a, 0x3a7442\nBL              _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0x63c, 0x3a7444\nLDR             R1, =(a0121 - 0x3A744E); \"0121\"                        ; +0x640, 0x3a7448\nADD             R1, PC; \"0121\"                                         ; +0x642, 0x3a744a\nBL              _ZN11GameManager18toggleGameVariableEPKc; GameManager::toggleGameVariable(char const*) ; +0x644, 0x3a744c\nBL              _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0x648, 0x3a7450\nLDR             R1, =(a0121 - 0x3A745A); \"0121\"                        ; +0x64c, 0x3a7454\nADD             R1, PC; \"0121\"                                         ; +0x64e, 0x3a7456\nBL              _ZN11GameManager15getGameVariableEPKc; GameManager::getGameVariable(char const*) ; +0x650, 0x3a7458\nLDR             R1, =(aHideInvisible - 0x3A7466); \"Hide Invisible: \"   ; +0x654, 0x3a745c\nMOV             R6, R0                                                 ; +0x656, 0x3a745e\nMOV             R0, R7                                                 ; +0x658, 0x3a7460\nADD             R1, PC; \"Hide Invisible: \"                             ; +0x65a, 0x3a7462\nB               loc_3A7536                                             ; +0x65c, 0x3a7464\nCMP             R5, #0x74 ; 't'                                        ; +0x65e, 0x3a7466\nBNE             loc_3A7494                                             ; +0x660, 0x3a7468\nBL              _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0x662, 0x3a746a\nLDR             R1, =(a0045 - 0x3A7474); \"0045\"                        ; +0x666, 0x3a746e\nADD             R1, PC; \"0045\"                                         ; +0x668, 0x3a7470\nBL              _ZN11GameManager18toggleGameVariableEPKc; GameManager::toggleGameVariable(char const*) ; +0x66a, 0x3a7472\nLDR.W           R0, [R4,#0x340]; this                                  ; +0x66e, 0x3a7476\nBL              _ZN16LevelEditorLayer13updateOptionsEv; LevelEditorLayer::updateOptions(void) ; +0x672, 0x3a747a\nBL              _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0x676, 0x3a747e\nLDR             R1, =(a0045 - 0x3A7488); \"0045\"                        ; +0x67a, 0x3a7482\nADD             R1, PC; \"0045\"                                         ; +0x67c, 0x3a7484\nBL              _ZN11GameManager15getGameVariableEPKc; GameManager::getGameVariable(char const*) ; +0x67e, 0x3a7486\nLDR             R1, =(aShowHitboxes - 0x3A7494); \"Show Hitboxes: \"     ; +0x682, 0x3a748a\nMOV             R6, R0                                                 ; +0x684, 0x3a748c\nMOV             R0, R7                                                 ; +0x686, 0x3a748e\nADD             R1, PC; \"Show Hitboxes: \"                              ; +0x688, 0x3a7490\nB               loc_3A7536                                             ; +0x68a, 0x3a7492\nCMP             R5, #0x73 ; 's'                                        ; +0x68c, 0x3a7494\nBNE             loc_3A74C6                                             ; +0x68e, 0x3a7496\nBL              _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0x690, 0x3a7498\nLDR             R1, =(a0137 - 0x3A74A2); \"0137\"                        ; +0x694, 0x3a749c\nADD             R1, PC; \"0137\"                                         ; +0x696, 0x3a749e\nBL              _ZN11GameManager18toggleGameVariableEPKc; GameManager::toggleGameVariable(char const*) ; +0x698, 0x3a74a0\nLDR.W           R0, [R4,#0x340]; this                                  ; +0x69c, 0x3a74a4\nBL              _ZN16LevelEditorLayer22updatePreviewParticlesEv; LevelEditorLayer::updatePreviewParticles(void) ; +0x6a0, 0x3a74a8\nBL              _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0x6a4, 0x3a74ac\nLDR             R1, =(a0137 - 0x3A74B6); \"0137\"                        ; +0x6a8, 0x3a74b0\nADD             R1, PC; \"0137\"                                         ; +0x6aa, 0x3a74b2\nBL              _ZN11GameManager15getGameVariableEPKc; GameManager::getGameVariable(char const*) ; +0x6ac, 0x3a74b4\nEOR.W           R0, R0, #1                                             ; +0x6b0, 0x3a74b8\nLDR             R1, =(aParticleIcons - 0x3A74C4); \"Particle Icons: \"   ; +0x6b4, 0x3a74bc\nUXTB            R6, R0                                                 ; +0x6b6, 0x3a74be\nADD             R1, PC; \"Particle Icons: \"                             ; +0x6b8, 0x3a74c0\nMOV             R0, R7                                                 ; +0x6ba, 0x3a74c2\nB               loc_3A7536                                             ; +0x6bc, 0x3a74c4\nCMP             R5, #0x72 ; 'r'                                        ; +0x6be, 0x3a74c6\nBNE             loc_3A74F4                                             ; +0x6c0, 0x3a74c8\nBL              _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0x6c2, 0x3a74ca\nLDR             R1, =(a0036 - 0x3A74D4); \"0036\"                        ; +0x6c6, 0x3a74ce\nADD             R1, PC; \"0036\"                                         ; +0x6c8, 0x3a74d0\nBL              _ZN11GameManager18toggleGameVariableEPKc; GameManager::toggleGameVariable(char const*) ; +0x6ca, 0x3a74d2\nLDR.W           R0, [R4,#0x340]; this                                  ; +0x6ce, 0x3a74d6\nBL              _ZN16LevelEditorLayer16updateEditorModeEv; LevelEditorLayer::updateEditorMode(void) ; +0x6d2, 0x3a74da\nBL              _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0x6d6, 0x3a74de\nLDR             R1, =(a0036 - 0x3A74E8); \"0036\"                        ; +0x6da, 0x3a74e2\nADD             R1, PC; \"0036\"                                         ; +0x6dc, 0x3a74e4\nBL              _ZN11GameManager15getGameVariableEPKc; GameManager::getGameVariable(char const*) ; +0x6de, 0x3a74e6\nLDR             R1, =(aPreviewMode - 0x3A74F4); \"Preview Mode: \"       ; +0x6e2, 0x3a74ea\nMOV             R6, R0                                                 ; +0x6e4, 0x3a74ec\nMOV             R0, R7                                                 ; +0x6e6, 0x3a74ee\nADD             R1, PC; \"Preview Mode: \"                               ; +0x6e8, 0x3a74f0\nB               loc_3A7536                                             ; +0x6ea, 0x3a74f2\nCMP             R5, #0x76 ; 'v'                                        ; +0x6ec, 0x3a74f4\nBNE             loc_3A753C                                             ; +0x6ee, 0x3a74f6\nBL              _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0x6f0, 0x3a74f8\nLDR             R1, =(a0097 - 0x3A7502); \"0097\"                        ; +0x6f4, 0x3a74fc\nADD             R1, PC; \"0097\"                                         ; +0x6f6, 0x3a74fe\nBL              _ZN11GameManager15getGameVariableEPKc; GameManager::getGameVariable(char const*) ; +0x6f8, 0x3a7500\nCMP             R0, #0                                                 ; +0x6fc, 0x3a7504\nBEQ.W           loc_3A7678                                             ; +0x6fe, 0x3a7506\nBL              _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0x702, 0x3a750a\nLDR             R1, =(a0180 - 0x3A7514); \"0180\"                        ; +0x706, 0x3a750e\nADD             R1, PC; \"0180\"                                         ; +0x708, 0x3a7510\nBL              _ZN11GameManager18toggleGameVariableEPKc; GameManager::toggleGameVariable(char const*) ; +0x70a, 0x3a7512\nBL              _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0x70e, 0x3a7516\nLDR             R1, =(a0180 - 0x3A7520); \"0180\"                        ; +0x712, 0x3a751a\nADD             R1, PC; \"0180\"                                         ; +0x714, 0x3a751c\nBL              _ZN11GameManager15getGameVariableEPKc; GameManager::getGameVariable(char const*) ; +0x716, 0x3a751e\nSTRB.W          R0, [R4,#0x248]                                        ; +0x71a, 0x3a7522\nEOR.W           R6, R0, #1                                             ; +0x71e, 0x3a7526\nMOV             R0, R4; this                                           ; +0x722, 0x3a752a\nBL              _ZN8EditorUI13updateButtonsEv; EditorUI::updateButtons(void) ; +0x724, 0x3a752c\nLDR             R1, =(aLinkMode - 0x3A7538); \"Link Mode: \"             ; +0x728, 0x3a7530\nMOV             R0, R7; int                                            ; +0x72a, 0x3a7532\nADD             R1, PC; \"Link Mode: \"                                  ; +0x72c, 0x3a7534\nBL              sub_7753D4                                             ; +0x72e, 0x3a7536\nB               loc_3A75DE                                             ; +0x732, 0x3a753a\nCMP             R5, #0x77 ; 'w'                                        ; +0x734, 0x3a753c\nBNE             loc_3A757E                                             ; +0x736, 0x3a753e\nLDR.W           R0, [R4,#0x260]; this                                  ; +0x738, 0x3a7540\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x73c, 0x3a7544\nCMP             R0, #0                                                 ; +0x740, 0x3a7548\nBNE.W           loc_3A7678                                             ; +0x742, 0x3a754a\nLDR.W           R3, [R4,#0x374]                                        ; +0x746, 0x3a754e\nMOVW            R2, #0x2FA8                                            ; +0x74a, 0x3a7552\nLDR.W           R1, [R4,#0x340]                                        ; +0x74e, 0x3a7556\nCBZ             R3, loc_3A7564                                         ; +0x752, 0x3a755a\nLDR             R0, [R1,R2]                                            ; +0x754, 0x3a755c\nCMP             R0, R3                                                 ; +0x756, 0x3a755e\nIT EQ                                                                  ; +0x758, 0x3a7560\nMOVEQ           R3, #0                                                 ; +0x75a, 0x3a7562\nSTR             R3, [R1,R2]                                            ; +0x75c, 0x3a7564\nMOVW            R3, #0x2FA8                                            ; +0x75e, 0x3a7566\nLDR.W           R2, [R4,#0x340]                                        ; +0x762, 0x3a756a\nMOV             R0, R7                                                 ; +0x766, 0x3a756e\nLDR             R1, =(aTraceIn - 0x3A7578); \"Trace In: \"               ; +0x768, 0x3a7570\nLDR             R6, [R2,R3]                                            ; +0x76a, 0x3a7572\nADD             R1, PC; \"Trace In: \"                                   ; +0x76c, 0x3a7574\nADDS            R6, #0                                                 ; +0x76e, 0x3a7576\nIT NE                                                                  ; +0x770, 0x3a7578\nMOVNE           R6, #1                                                 ; +0x772, 0x3a757a\nB               loc_3A75CE                                             ; +0x774, 0x3a757c\nCMP             R5, #0x78 ; 'x'                                        ; +0x776, 0x3a757e\nBNE             loc_3A75F8                                             ; +0x778, 0x3a7580\nLDR.W           R0, [R4,#0x260]; this                                  ; +0x77a, 0x3a7582\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x77e, 0x3a7586\nCMP             R0, #0                                                 ; +0x782, 0x3a758a\nBNE             loc_3A7678                                             ; +0x784, 0x3a758c\nLDR.W           R3, [R4,#0x374]                                        ; +0x786, 0x3a758e\nMOVW            R1, #0x2FAC                                            ; +0x78a, 0x3a7592\nLDR.W           R2, [R4,#0x340]                                        ; +0x78e, 0x3a7596\nCMP             R3, #0                                                 ; +0x792, 0x3a759a\nBEQ.W           loc_3A773E                                             ; +0x794, 0x3a759c\nLDR             R0, [R2,R1]                                            ; +0x798, 0x3a75a0\nCMP             R0, R3                                                 ; +0x79a, 0x3a75a2\nBEQ             loc_3A75B0                                             ; +0x79c, 0x3a75a4\nLDR.W           R0, [R3,#0x434]                                        ; +0x79e, 0x3a75a6\nCMP             R0, #1                                                 ; +0x7a2, 0x3a75aa\nBEQ.W           loc_3A773E                                             ; +0x7a4, 0x3a75ac\nMOVW            R3, #0x2FAC                                            ; +0x7a8, 0x3a75b0\nMOVS            R1, #0                                                 ; +0x7ac, 0x3a75b4\nSTR             R1, [R2,R3]                                            ; +0x7ae, 0x3a75b6\nLDR.W           R2, [R4,#0x340]                                        ; +0x7b0, 0x3a75b8\nMOVW            R3, #0x2FAC                                            ; +0x7b4, 0x3a75bc\nLDR             R1, =(aTraceOut - 0x3A75CA); \"Trace Out: \"             ; +0x7b8, 0x3a75c0\nMOV             R0, R7; int                                            ; +0x7ba, 0x3a75c2\nLDR             R6, [R2,R3]                                            ; +0x7bc, 0x3a75c4\nADD             R1, PC; \"Trace Out: \"                                  ; +0x7be, 0x3a75c6\nADDS            R6, #0                                                 ; +0x7c0, 0x3a75c8\nIT NE                                                                  ; +0x7c2, 0x3a75ca\nMOVNE           R6, #1                                                 ; +0x7c4, 0x3a75cc\nBL              sub_7753D4                                             ; +0x7c6, 0x3a75ce\nLDR.W           R2, [R4,#0x340]                                        ; +0x7ca, 0x3a75d2\nMOVW            R3, #0x2FEE                                            ; +0x7ce, 0x3a75d6\nMOVS            R1, #1                                                 ; +0x7d2, 0x3a75da\nSTRB            R1, [R2,R3]                                            ; +0x7d4, 0x3a75dc\nCBZ             R6, loc_3A75F8                                         ; +0x7d6, 0x3a75de\nLDR             R1, =(aOn - 0x3A75E8); \"On\"                            ; +0x7d8, 0x3a75e0\nMOV             R0, R7; int                                            ; +0x7da, 0x3a75e2\nADD             R1, PC; \"On\"                                           ; +0x7dc, 0x3a75e4\nBL              sub_774544                                             ; +0x7de, 0x3a75e6\nADD             R6, SP, #0x38+var_14                                   ; +0x7e2, 0x3a75ea\nLDR             R1, [SP,#0x38+var_1C]; char *                          ; +0x7e4, 0x3a75ec\nADD             R2, SP, #0x38+var_24                                   ; +0x7e6, 0x3a75ee\nMOV             R0, R6; int                                            ; +0x7e8, 0x3a75f0\nBL              sub_776584                                             ; +0x7ea, 0x3a75f2\nB               loc_3A7600                                             ; +0x7ee, 0x3a75f6\nLDR             R1, =(aOff - 0x3A7600); \"Off\"                          ; +0x7f0, 0x3a75f8\nMOV             R0, R7                                                 ; +0x7f2, 0x3a75fa\nADD             R1, PC; \"Off\"                                          ; +0x7f4, 0x3a75fc\nB               loc_3A75E6                                             ; +0x7f6, 0x3a75fe\nLDR             R1, =(aChatfontFnt - 0x3A760A); \"chatFont.fnt\"         ; +0x7f8, 0x3a7600\nMOV             R0, R8; int                                            ; +0x7fa, 0x3a7602\nADD             R2, SP, #0x38+var_20                                   ; +0x7fc, 0x3a7604\nADD             R1, PC; \"chatFont.fnt\"                                 ; +0x7fe, 0x3a7606\nBL              sub_776584                                             ; +0x800, 0x3a7608\nLDR             R1, =0x3F19999A                                        ; +0x804, 0x3a760c\nMOV             R0, R6                                                 ; +0x806, 0x3a760e\nSTR.W           R8, [SP,#0x38+var_38]                                  ; +0x808, 0x3a7610\nMOVS            R3, #0x64 ; 'd'                                        ; +0x80c, 0x3a7614\nMOV             R2, R1                                                 ; +0x80e, 0x3a7616\nBL              _ZN14TextAlertPopup6createESsffiSs; TextAlertPopup::create(std::string,float,float,int,std::string) ; +0x810, 0x3a7618\nMOV             R10, R0                                                ; +0x814, 0x3a761c\nMOV             R0, R8                                                 ; +0x816, 0x3a761e\nBL              sub_774008                                             ; +0x818, 0x3a7620\nMOV             R0, R6                                                 ; +0x81c, 0x3a7624\nBL              sub_774008                                             ; +0x81e, 0x3a7626\nLDR             R2, =(word_9AA83C - 0x3A7632)                          ; +0x822, 0x3a762a\nMOV             R0, R10                                                ; +0x824, 0x3a762c\nADD             R2, PC; word_9AA83C                                    ; +0x826, 0x3a762e\nLDRB            R1, [R2,#(byte_9AA843 - 0x9AA83C)]                     ; +0x828, 0x3a7630\nLDRB            R3, [R2,#(byte_9AA842 - 0x9AA83C)]                     ; +0x82a, 0x3a7632\nORR.W           R3, R3, R1,LSL#8                                       ; +0x82c, 0x3a7634\nLDRB            R1, [R2,#(byte_9AA844 - 0x9AA83C)]                     ; +0x830, 0x3a7638\nORR.W           R1, R3, R1,LSL#16                                      ; +0x832, 0x3a763a\nBL              _ZN14TextAlertPopup13setLabelColorEN7cocos2d10_ccColor3BE; TextAlertPopup::setLabelColor(cocos2d::_ccColor3B) ; +0x836, 0x3a763e\nMOV             R0, R6; this                                           ; +0x83a, 0x3a7642\nMOVS            R1, #0; float                                          ; +0x83c, 0x3a7644\nMOV.W           R2, #0x3F800000; float                                 ; +0x83e, 0x3a7646\nBL              _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0x842, 0x3a764a\nMOV             R0, R8; this                                           ; +0x846, 0x3a764e\nLDR             R1, flt_3A7784; float                                  ; +0x848, 0x3a7650\nLDR             R2, flt_3A7788; float                                  ; +0x84a, 0x3a7652\nBL              _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0x84c, 0x3a7654\nMOV             R0, R10                                                ; +0x850, 0x3a7658\nMOV             R1, R6                                                 ; +0x852, 0x3a765a\nMOV             R2, R8                                                 ; +0x854, 0x3a765c\nBL              _ZN14TextAlertPopup16setAlertPositionEN7cocos2d7CCPointES1_; TextAlertPopup::setAlertPosition(cocos2d::CCPoint,cocos2d::CCPoint) ; +0x856, 0x3a765e\nLDR             R3, [R4]                                               ; +0x85a, 0x3a7662\nMOV             R0, R4                                                 ; +0x85c, 0x3a7664\nMOV             R1, R10                                                ; +0x85e, 0x3a7666\nMOVS            R2, #0x64 ; 'd'                                        ; +0x860, 0x3a7668\nLDR.W           R3, [R3,#0xE0]                                         ; +0x862, 0x3a766a\nBLX             R3                                                     ; +0x866, 0x3a766e\nMOV             R0, R7                                                 ; +0x868, 0x3a7670\nBL              sub_774008                                             ; +0x86a, 0x3a7672\nB               loc_3A6EB8                                             ; +0x86e, 0x3a7676\nMOV             R0, R7                                                 ; +0x870, 0x3a7678\nBL              sub_774008                                             ; +0x872, 0x3a767a\nB               loc_3A7768                                             ; +0x876, 0x3a767e\nCMP             R5, #0x27 ; '''                                        ; +0x878, 0x3a7680\nBNE             loc_3A768E                                             ; +0x87a, 0x3a7682\nMOV             R0, R4; this                                           ; +0x87c, 0x3a7684\nMOVS            R1, #0; cocos2d::CCObject *                            ; +0x87e, 0x3a7686\nBL              _ZN8EditorUI9onGroupUpEPN7cocos2d8CCObjectE; EditorUI::onGroupUp(cocos2d::CCObject *) ; +0x880, 0x3a7688\nB               loc_3A6F76                                             ; +0x884, 0x3a768c\nCMP             R5, #0x25 ; '%'                                        ; +0x886, 0x3a768e\nBNE             loc_3A769C                                             ; +0x888, 0x3a7690\nMOV             R0, R4; this                                           ; +0x88a, 0x3a7692\nMOVS            R1, #0; cocos2d::CCObject *                            ; +0x88c, 0x3a7694\nBL              _ZN8EditorUI11onGroupDownEPN7cocos2d8CCObjectE; EditorUI::onGroupDown(cocos2d::CCObject *) ; +0x88e, 0x3a7696\nB               loc_3A6F76                                             ; +0x892, 0x3a769a\nBL              _ZN7cocos2d10CCDirector14sharedDirectorEv; cocos2d::CCDirector::sharedDirector(void) ; +0x894, 0x3a769c\nLDR             R3, [R0]                                               ; +0x898, 0x3a76a0\nLDR             R3, [R3,#0x60]                                         ; +0x89a, 0x3a76a2\nBLX             R3                                                     ; +0x89c, 0x3a76a4\nLDRB.W          R3, [R0,#0x46]                                         ; +0x89e, 0x3a76a6\nCMP             R3, #0                                                 ; +0x8a2, 0x3a76aa\nBEQ             loc_3A7742                                             ; +0x8a4, 0x3a76ac\nCMP             R5, #0x26 ; '&'                                        ; +0x8a6, 0x3a76ae\nBNE             loc_3A7742                                             ; +0x8a8, 0x3a76b0\nMOV             R0, R4                                                 ; +0x8aa, 0x3a76b2\nMOVS            R1, #1                                                 ; +0x8ac, 0x3a76b4\nB               loc_3A7762                                             ; +0x8ae, 0x3a76b6\nMOV             R0, R8                                                 ; +0x8b0, 0x3a76b8\nBL              sub_774008                                             ; +0x8b2, 0x3a76ba\nB               loc_3A72B0                                             ; +0x8b6, 0x3a76be\nB               loc_3A72B0                                             ; +0x8b8, 0x3a76c0\nB               loc_3A72B8                                             ; +0x8ba, 0x3a76c2\nMOVS            R1, #0x16                                              ; +0x8bc, 0x3a76c4\nB               loc_3A731A                                             ; +0x8be, 0x3a76c6\nLDR.W           R0, [R4,#0x340]                                        ; +0x8c0, 0x3a76c8\nADD             R6, SP, #0x38+var_14                                   ; +0x8c4, 0x3a76cc\nLDR             R1, =(flt_AC5D38 - 0x3A76DA)                           ; +0x8c6, 0x3a76ce\nADD             R7, SP, #0x38+var_C                                    ; +0x8c8, 0x3a76d0\nADD.W           R0, R0, #0x2F40                                        ; +0x8ca, 0x3a76d2\nADD             R1, PC; flt_AC5D38                                     ; +0x8ce, 0x3a76d6\nADDS            R0, #0xC                                               ; +0x8d0, 0x3a76d8\nBL              _ZN7cocos2d7CCPointaSERKS0_; cocos2d::CCPoint::operator=(cocos2d::CCPoint const&) ; +0x8d2, 0x3a76da\nLDR             R3, [R4]                                               ; +0x8d6, 0x3a76de\nLDR             R1, =(aPreviewUnlocke - 0x3A76EA); \"Preview Unlocked\"  ; +0x8d8, 0x3a76e0\nADD             R2, SP, #0x38+var_20                                   ; +0x8da, 0x3a76e2\nMOV             R0, R6; int                                            ; +0x8dc, 0x3a76e4\nADD             R1, PC; \"Preview Unlocked\"                             ; +0x8de, 0x3a76e6\nLDR.W           R8, [R3,#0xE0]                                         ; +0x8e0, 0x3a76e8\nBL              sub_776584                                             ; +0x8e4, 0x3a76ec\nLDR             R1, =(unk_939830 - 0x3A76FA)                           ; +0x8e8, 0x3a76f0\nMOV             R0, R7; int                                            ; +0x8ea, 0x3a76f2\nADD             R2, SP, #0x38+var_1C                                   ; +0x8ec, 0x3a76f4\nADD             R1, PC; unk_939830 ; char *                            ; +0x8ee, 0x3a76f6\nBL              sub_776584                                             ; +0x8f0, 0x3a76f8\nSTR             R7, [SP,#0x38+var_38]                                  ; +0x8f4, 0x3a76fc\nMOV             R0, R6                                                 ; +0x8f6, 0x3a76fe\nMOV.W           R1, #0x3F000000                                        ; +0x8f8, 0x3a7700\nLDR             R2, =0x3F19999A                                        ; +0x8fc, 0x3a7704\nMOVS            R3, #0x96                                              ; +0x8fe, 0x3a7706\nBL              _ZN14TextAlertPopup6createESsffiSs; TextAlertPopup::create(std::string,float,float,int,std::string) ; +0x900, 0x3a7708\nMOV             R1, R0                                                 ; +0x904, 0x3a770c\nMOVS            R2, #0x64 ; 'd'                                        ; +0x906, 0x3a770e\nMOV             R0, R4                                                 ; +0x908, 0x3a7710\nBLX             R8                                                     ; +0x90a, 0x3a7712\nMOV             R0, R7                                                 ; +0x90c, 0x3a7714\nBL              sub_774008                                             ; +0x90e, 0x3a7716\nMOV             R0, R6                                                 ; +0x912, 0x3a771a\nB               loc_3A729C                                             ; +0x914, 0x3a771c\nMOV             R0, R7                                                 ; +0x916, 0x3a771e\nBL              sub_774008                                             ; +0x918, 0x3a7720\nB               loc_3A7726                                             ; +0x91c, 0x3a7724\nMOV             R0, R6                                                 ; +0x91e, 0x3a7726\nB               loc_3A72BA                                             ; +0x920, 0x3a7728\nLDR.W           R3, [R4,#0x1F8]                                        ; +0x922, 0x3a772a\nADDS            R3, #1                                                 ; +0x926, 0x3a772e\nBNE.W           loc_3A6F76                                             ; +0x928, 0x3a7730\nMOV             R0, R4; this                                           ; +0x92c, 0x3a7734\nMOVS            R1, #0; cocos2d::CCObject *                            ; +0x92e, 0x3a7736\nBL              _ZN8EditorUI10onPlaybackEPN7cocos2d8CCObjectE; EditorUI::onPlayback(cocos2d::CCObject *) ; +0x930, 0x3a7738\nB               loc_3A6F76                                             ; +0x934, 0x3a773c\nSTR             R3, [R2,R1]                                            ; +0x936, 0x3a773e\nB               loc_3A75B8                                             ; +0x938, 0x3a7740\nBL              _ZN7cocos2d10CCDirector14sharedDirectorEv; cocos2d::CCDirector::sharedDirector(void) ; +0x93a, 0x3a7742\nLDR             R3, [R0]                                               ; +0x93e, 0x3a7746\nLDR             R3, [R3,#0x60]                                         ; +0x940, 0x3a7748\nBLX             R3                                                     ; +0x942, 0x3a774a\nLDRB.W          R3, [R0,#0x46]                                         ; +0x944, 0x3a774c\nCMP             R3, #0                                                 ; +0x948, 0x3a7750\nBEQ.W           loc_3A6EB8                                             ; +0x94a, 0x3a7752\nCMP             R5, #0x28 ; '('                                        ; +0x94e, 0x3a7756\nBNE.W           loc_3A6EB8                                             ; +0x950, 0x3a7758\nMOV             R0, R4; this                                           ; +0x954, 0x3a775c\nMOV.W           R1, #0xFFFFFFFF; int                                   ; +0x956, 0x3a775e\nBL              _ZN8EditorUI16onTargetIDChangeEi; EditorUI::onTargetIDChange(int) ; +0x95a, 0x3a7762\nB               loc_3A6F76                                             ; +0x95e, 0x3a7766\nLDR             R2, [SP,#0x38+var_4]                                   ; +0x960, 0x3a7768\nLDR.W           R3, [R9]                                               ; +0x962, 0x3a776a\nCMP             R2, R3                                                 ; +0x966, 0x3a776e\nBEQ             loc_3A7776                                             ; +0x968, 0x3a7770\nBLX             __stack_chk_fail                                       ; +0x96a, 0x3a7772\nADD             SP, SP, #0x38 ; '8'                                    ; +0x96e, 0x3a7776\nVPOP            {D8-D9}                                                ; +0x970, 0x3a7778\nPOP.W           {R4-R10,PC}                                            ; +0x974, 0x3a777c", "xrefs": ["`non-virtual thunk to'EditorUI::keyDown @ 0x3a77f8"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}