Online PHP and Javascript Decoder decode hidden script to uncover its real functionality


{
  "namespace": "hud",
  
  "root_panel": {
    "type": "panel",
    "$xp_control_offset|default": [ 0, -13 ],
    "modifications": [
      {
        "array_name": "controls", 
        "operation": "insert_front", 
        "value": {
          "tmgxy": {
                  "anchor_from": "top_right",
                  "anchor_to": "top_right",
                  "layer": 0,
                  "renderer": "live_player_renderer",
                  "size": [14, 14],
                  "offset": [ -88, 500 ],
                  "type": "custom"
        }
      }
    }
  ]
},
  "tmgxy_ui":{
      "renderer":"hud_player_renderer",
      "size":[0,0],
      "anchor_from":"top_right",
      "anchor_to":"top_right",
      "type":"custom"
  },
  "hud_screen@common.base_screen": {
    "always_accepts_input": true,
    "is_showing_menu": false,
    "should_steal_mouse": true,
    "low_frequency_rendering": true,
    "absorbs_input": false,

    "$screen_animations": [
      "@common.screen_exit_animation_push_fade",
      "@common.screen_exit_animation_pop_fade",
      "@common.screen_entrance_animation_push_fade",
      "@common.screen_entrance_animation_pop_fade"
    ],

    "button_mappings": [
      {
        "from_button_id": "button.scoreboard",
        "to_button_id": "button.scoreboard",
        "mapping_type": "global"
      },
      {
        "from_button_id": "button.inventory_left",
        "to_button_id": "button.hotbar_inventory_left",
        "mapping_type": "global"
      },
      {
        "from_button_id": "button.inventory_right",
        "to_button_id": "button.hotbar_inventory_right",
        "mapping_type": "global"
      },
      {
        "from_button_id": "button.hide_gui",
        "to_button_id": "button.hide_gui_all",
        "mapping_type": "global"
      },
      {
        "from_button_id": "button.hide_tooltips",
        "to_button_id": "button.hide_tooltips_hud",
        "mapping_type": "global"
      },
      {
        "from_button_id": "button.hide_paperdoll",
        "to_button_id": "button.hide_paperdoll_hud",
        "mapping_type": "global"
      },
      {
        "from_button_id": "button.slot1",
        "to_button_id": "button.slot_1",
        "mapping_type": "global"
      },
      {
        "from_button_id": "button.slot2",
        "to_button_id": "button.slot_2",
        "mapping_type": "global"
      },
      {
        "from_button_id": "button.slot3",
        "to_button_id": "button.slot_3",
        "mapping_type": "global"
      },
      {
        "from_button_id": "button.slot4",
        "to_button_id": "button.slot_4",
        "mapping_type": "global"
      },
      {
        "from_button_id": "button.slot5",
        "to_button_id": "button.slot_5",
        "mapping_type": "global"
      },
      {
        "from_button_id": "button.slot6",
        "to_button_id": "button.slot_6",
        "mapping_type": "global"
      },
      {
        "from_button_id": "button.slot7",
        "to_button_id": "button.slot_7",
        "mapping_type": "global"
      },
      {
        "from_button_id": "button.slot8",
        "to_button_id": "button.slot_8",
        "mapping_type": "global"
      },
      {
        "from_button_id": "button.slot9",
        "to_button_id": "button.slot_9",
        "mapping_type": "global"
      },
      {
        "from_button_id": "button.slot0",
        "to_button_id": "button.slot_0",
        "mapping_type": "global"
      }
    ]
  },
  "heart_renderer": {
    "visible": false,
    "bindings": []
  },
  "mob_effects_renderer": {
    "visible": false
  },
  "anim_title_text_alpha_out": {
    "anim_type": "alpha",
    "easing": "in_expo",
    "duration": 3,
    "from": 1,
    "to": 0,
    "destroy_at_end": "hud_title_text"
  },
  "hud_actionbar_text": {
    "type": "image",
    "anchor_from": "top_right",
    "anchor_to": "top_right",
    "offset": [ -2, 8 ],
    "size": [ "100%c + 12px", "100%c + 5px" ],
    "texture": "textures/ui/hud_tmgxy1",
    "alpha": "@hud.anim_actionbar_text_background_alpha_out",
    "controls": [
      {
        "actionbar_message": {
          "type": "label",
          "anchor_from": "top_right",
          "anchor_to": "top_right",
          "color": "$tool_tip_text",
          "layer": 1,
          "text": "$actionbar_text",
          "localize": false,
          "font_size": "medium",
          "offset": [ -50, -2 ],
          "alpha": "@hud.anim_actionbar_text_alpha_out"
        }
      }
    ]
  },
  "hud_title_text": {
    "type": "stack_panel",
    "orientation": "vertical",
    "offset": [ 0, -19 ],
    "layer": 1,
    "alpha": "@hud.anim_title_text_alpha_out",
    "propagate_alpha": true,
    "controls": [
      {
        "title_frame": {
          "type": "panel",
          "controls": [
            {
              "title": {
                "type": "label",
                "anchor_from": "top_right",
                "anchor_to": "top_right",
                "color": "$title_command_text_color",
                "text": "#text",
                "layer": 1,
                "localize": false,
                "font_size": "medium",
                "shadow": "true",
                "offset": [ -38, 32 ],
                "text_alignment": "center",
                "bindings": [
                  {
                    "binding_name": "#hud_title_text_string",
                    "binding_name_override": "#text",
                    "binding_type": "global"
                  }
                ]
              }
            }
          ]
        }
      },
      {
        "subtitle_frame": {
          "type": "panel",
          "size": [ "100%", "100%cm" ],
          "anchor_from":"top_right",
          "anchor_to":"top_right",
          "controls": [
            {
              "subtitle": {
                "type": "label",
                "anchor_from": "top_right",
                "anchor_to": "top_right",
                "color": "$title_command_text_color",
                "text": "#text",
                "layer": 1,
                "localize": false,
                "font_size": "small",
                "shadow":true,
                "offset": [ -2, 80 ],
                "alpha":"@hud.anim_title_text_alpha_out",
                "text_alignment":"right",
                "bindings": [
                  {
                    "binding_name": "#hud_subtitle_text_string",
                    "binding_name_override": "#text",
                    "binding_type": "global"
                  }
                ]
              }
            }
          ]
        }
      }
    ]
  },
  "hud_content111": {
    "type": "panel",
    "$hud_size": [ "100%", "100%" ],
    "$hud_player_rend_desktop_offset|default": [ 15, 15 ],
    "variables": [
      {
        "requires": "($is_holographic and not $is_living_room_mode)",
        "$hud_player_rend_desktop_offset": [ 100, 50 ]
      },
      {
        "requires": "($compress_hud_width)",
        "$hud_size": [ "90%", "100%" ]
      }
    ],
    "size": "$hud_size",
    "controls": [
      {
        "root_panel111@hud.root_panel111": {}
      },
      {
        "camera_renderer111@camera_renderer111": {}
      }
    ]
  }
}



© 2023 Quttera Ltd. All rights reserved.