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


function main(_0x2a3068) {
    if (!JSON['parse'](_0x2a3068['getServer']()['getStates']()['getString']('timeData'))['freezed']) {
        return;
    }
    let _0x25d186 = _0x2a3068['getSubject']();
    let _0x5e0741 = JSON['parse'](_0x25d186['getStates']()['getString']('skin'));
    let _0x1faaff = mappet['createUI'](_0x2a3068, 'handler')['background']();
    let _0x44f91d = _0x1faaff['layout']();
    _0x44f91d['current']['id']('mainMenu')['rxy'](0.5, 0.5)['wh'](0x82, 0xeb)['anchor'](0.5)['visible'](!![]);
    let _0x1908ab = _0x44f91d['graphics']()['rxy'](0x0, 0x0)['rwh'](0x1, 0x1);
    _0x1908ab['rect'](0x0, 0x0, 0x1, 0x1, 0xff191919)['rwh'](0x1, 0x1);
    _0x1908ab['rect'](0x0, 0x0, 0x1, 0x1, 0xff252525)['xy'](0x0, 0x0)['rw'](0x1)['h'](-0xf);
    _0x44f91d['icon']('close')['id']('exit')['rx'](0x1, -0xa)['ry'](0x0, -0x7)['wh'](0xa, 0xa)['anchor'](0.5)['tooltip']('Закрыть');
    let _0x340025 = _0x44f91d['label']('Кастомизация')['id']('lblСustom')['rx'](0.5)['y'](-0x2)['wh'](0x82, 0xa)['anchor'](0.5, 0x1)['labelAnchor'](0.5);
    let _0x29510d = _0x44f91d['morph'](mappet['createMorph']('{Skin:"' + JSON['parse'](_0x25d186['getStates']()['getString']('skin'))['link'] + '",Name:"chameleon.hnt_' + (JSON['parse'](_0x25d186['getStates']()['getString']('skin'))['type'] == 'fred' ? 'male' : 'female') + '"}'))['id']('morphPlayer');
    _0x29510d['rxy'](0.5, 0x0)['wh'](0x82, 0xc8)['anchor'](0.5, 0x0)['position'](0.013, 1.05, -0.01)['rotation'](0x3, -0x1d)['distance'](1.8)['fov'](0x46);
    let _0x1266d0 = _0x44f91d['label']('Текущий скин')['id']('lblInfo')['rx'](0.5)['y'](0xcd)['wh'](0x82, 0xa)['anchor'](0.5, 0x0)['labelAnchor'](0.5);
    let _0x4f19e2 = _0x44f91d['row'](0x3, 0x3);
    _0x4f19e2['current']['rxy'](0.5, 0x1)['wh'](0x82, 0x1e)['anchor'](0.5, 0x1)['visible'](!![]);
    let _0x3d8231 = _0x4f19e2['button']('Ely')['id']('elyBtn')['anchor'](0.5)['wh'](0x14, 0xf)['tooltip']('Система скинов Ely.by')['background'](0x264b24);
    let _0x52b8d5 = _0x4f19e2['button']('TL')['id']('tlBtn')['anchor'](0.5)['wh'](0x14, 0xf)['tooltip']('Система скинов TLauncher')['background'](0x264b24);
    let _0x3add96 = _0x4f19e2['button']('Свой URL')['id']('customBtn')['anchor'](0.5)['wh'](0x19, 0xf)['tooltip']('Вставить свой URL адрес скина из буфера обмена')['background'](0x264b24);
    let _0x1f3e43 = _0x4f19e2['toggle']('', _0x5e0741['type'] == 'fred' ? ![] : !![])['id']('alex')['rxy'](0x1, 0x1)['anchor'](0x1, 0x1)['wh'](0x14, 0xf)['tooltip']('Тип скина alex?');
    let _0x7a468e = _0x44f91d['button']('Лицензия')['id']('licBtn')['rxy'](0.5, 0x1)['anchor'](0.5, 0x0)['wh'](0x82, 0xf)['tooltip']('Официальная система скинов.          [4Не работает на пиратке')['background'](0x264b24);
    _0x2a3068['getSubject']()['openUI'](_0x1faaff);
}

function handler(_0x342c9e) {
    try {
        let _0x1dd69e = _0x342c9e['getSubject']();
        let _0x5c3089 = JSON['parse'](_0x1dd69e['getStates']()['getString']('skin'));
        let _0x3b7783 = _0x1dd69e['getUIContext']();
        if (_0x3b7783['isClosed']()) {
            _0x1dd69e['setMorph'](null);
            _0x1dd69e['setMorph'](mappet['createMorph']('{Hitbox:{Eye:0.9f,Sneak:1.65f,Enabled:1b,Height:1.8f},Pose:{Pose:{head:{},right_knee:{},right_arm:{},left_leg:{},torso:{},left_arm:{},right_leg:{},model:{SX:0.925f,SY:0.925f,SZ:0.925f,Y:-0.65625f},right_elbow:{},left_knee:{},left_elbow:{}}},Skin:"' + JSON['parse'](_0x1dd69e['getStates']()['getString']('skin'))['link'] + '",Name:"chameleon.hnt_' + (JSON['parse'](_0x1dd69e['getStates']()['getString']('skin'))['type'] == 'fred' ? 'male' : 'female') + '"}'));
        }
        if (_0x3b7783['getLast']() === 'exit') {
            _0x1dd69e['closeUI']();
        }
        if (_0x3b7783['getLast']() === 'elyBtn') {
            let _0x30ddf7 = getSkin(_0x1dd69e['getName'](), 'ely');
            _0x5c3089['link'] = _0x30ddf7['getLink']();
            _0x1dd69e['getStates']()['setString']('skin', JSON['stringify'](_0x5c3089));
            _0x3b7783['get']('morphPlayer')['morph'](mappet['createMorph']('{Skin:"' + JSON['parse'](_0x1dd69e['getStates']()['getString']('skin'))['link'] + '",Name:"chameleon.hnt_' + (JSON['parse'](_0x1dd69e['getStates']()['getString']('skin'))['type'] == 'fred' ? 'male' : 'female') + '"}'));
        }
        if (_0x3b7783['getLast']() === 'licBtn') {
            try {
                _0x5c3089['link'] = _0x1dd69e['getSkin']();
            } catch (_0x48a2ff) {
                _0x1dd69e['send']('ошибка при получении лицензионного скина');
            }
            _0x1dd69e['getStates']()['setString']('skin', JSON['stringify'](_0x5c3089));
            _0x3b7783['get']('morphPlayer')['morph'](mappet['createMorph']('{Skin:"' + JSON['parse'](_0x1dd69e['getStates']()['getString']('skin'))['link'] + '",Name:"chameleon.hnt_' + (JSON['parse'](_0x1dd69e['getStates']()['getString']('skin'))['type'] == 'fred' ? 'male' : 'female') + '"}'));
        }
        if (_0x3b7783['getLast']() === 'tlBtn') {
            let _0x3c34f9 = getSkin(_0x1dd69e['getName'](), 'tl');
            _0x5c3089['link'] = _0x3c34f9['getLink']();
            _0x1dd69e['getStates']()['setString']('skin', JSON['stringify'](_0x5c3089));
            _0x3b7783['get']('morphPlayer')['morph'](mappet['createMorph']('{Skin:"' + JSON['parse'](_0x1dd69e['getStates']()['getString']('skin'))['link'] + '",Name:"chameleon.hnt_' + (JSON['parse'](_0x1dd69e['getStates']()['getString']('skin'))['type'] == 'fred' ? 'male' : 'female') + '"}'));
        }
        if (_0x3b7783['getLast']() === 'customBtn') {
            _0x1dd69e['getClipboard'](function(_0x2baaa4) {
                if (_0x2baaa4 == '') {
                    return;
                }
                _0x5c3089['link'] = _0x2baaa4;
                _0x1dd69e['getStates']()['setString']('skin', JSON['stringify'](_0x5c3089));
                _0x3b7783['get']('morphPlayer')['morph'](mappet['createMorph']('{Skin:"' + JSON['parse'](_0x1dd69e['getStates']()['getString']('skin'))['link'] + '",Name:"chameleon.hnt_' + (JSON['parse'](_0x1dd69e['getStates']()['getString']('skin'))['type'] == 'fred' ? 'male' : 'female') + '"}'));
                _0x3b7783['sendToPlayer']();
            });
        }
        if (_0x3b7783['getLast']() === 'alex') {
            _0x5c3089['type'] = _0x5c3089['type'] == 'fred' ? 'alex' : 'fred';
            _0x1dd69e['getStates']()['setString']('skin', JSON['stringify'](_0x5c3089));
            _0x3b7783['get']('morphPlayer')['morph'](mappet['createMorph']('{Skin:"' + JSON['parse'](_0x1dd69e['getStates']()['getString']('skin'))['link'] + '",Name:"chameleon.hnt_' + (JSON['parse'](_0x1dd69e['getStates']()['getString']('skin'))['type'] == 'fred' ? 'male' : 'female') + '"}'));
        }
    } catch (_0x3d22a7) {
        _0x342c9e['send'](_0x3d22a7);
    }
}



© 2023 Quttera Ltd. All rights reserved.