Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
class _0x2473e4 extends Laya['\x53\x63\x72\x69\x70\x74\x33\x44'] { constructor() { ..
Decoded Output download
<? class _0x2473e4 extends Laya['Script3D'] {
constructor() {
var _0x2ba739 = _0x47b9fc;
super(), this[_0x2ba739(0xe6)], this['Door_Positive'], this['num'] = 0x0, this['FuHhao'] = 'Jia', this[_0x2ba739(0x155)] = !0x1, this[_0x2ba739(0x236)], this['E3Fx'];
} ['onAwake']() {
var _0x5f1b91 = _0x47b9fc;
this['Door_Negative'] = this['owner']['getChildByName'](_0x5f1b91(0x8b))['getChildByName']('Door_Negative'), this[_0x5f1b91(0xd5)] = this[_0x5f1b91(0xa1)]['getChildByName'](_0x5f1b91(0x8b))['getChildByName'](_0x5f1b91(0xd5)), this[_0x5f1b91(0x236)] = this['owner']['getChildByName'](_0x5f1b91(0x8b))[_0x5f1b91(0x181)]('MagicBuffYellow'), this[_0x5f1b91(0x122)] = this[_0x5f1b91(0xa1)]['parent']['name'][_0x5f1b91(0x11f)](0x0, this['owner']['parent'][_0x5f1b91(0x163)]['indexOf']('_')), this['num'] = 0x1 * this['owner'][_0x5f1b91(0x10b)]['name']['substring'](this['owner']['parent'][_0x5f1b91(0x163)]['indexOf']('_') + 0x1, this['owner'][_0x5f1b91(0x10b)][_0x5f1b91(0x163)]['length']), _0x5f1b91(0x21d) == this[_0x5f1b91(0x122)] ? (this['Door_Negative'][_0x5f1b91(0x181)]('DoorQuad')['getChildByName']('DoorGreen')['active'] = !0x1, this['Door_Positive']['getChildByName'](_0x5f1b91(0x210))['getChildByName']('DoorGreen')[_0x5f1b91(0x12b)] = !0x1) : (this[_0x5f1b91(0xe6)]['getChildByName']('DoorQuad')['getChildByName']('DoorRed')[_0x5f1b91(0x12b)] = !0x1, this[_0x5f1b91(0xd5)][_0x5f1b91(0x181)]('DoorQuad')['getChildByName']('DoorRed')[_0x5f1b91(0x12b)] = !0x1);
var _0x5167fa = this[_0x5f1b91(0xe6)]['getChildByName']('Text')[_0x5f1b91(0x181)]('FuHhao'),
_0x36a6d7 = this[_0x5f1b91(0xe6)]['getChildByName']('Text')[_0x5f1b91(0x181)](_0x5f1b91(0x1a7)),
_0x39d70b = this[_0x5f1b91(0xd5)]['getChildByName'](_0x5f1b91(0x1e9))['getChildByName'](_0x5f1b91(0x122)),
_0x3942e1 = this[_0x5f1b91(0xd5)][_0x5f1b91(0x181)](_0x5f1b91(0x1e9))[_0x5f1b91(0x181)]('Num');
for (let _0x5a24a4 = 0x0; _0x5a24a4 < _0x5167fa['numChildren']; _0x5a24a4++) _0x5167fa[_0x5f1b91(0x134)](_0x5a24a4)['name'] != this['FuHhao'] && (_0x5167fa['getChildAt'](_0x5a24a4)['active'] = !0x1), _0x39d70b['getChildAt'](_0x5a24a4)[_0x5f1b91(0x163)] != this[_0x5f1b91(0x122)] && (_0x39d70b['getChildAt'](_0x5a24a4)['active'] = !0x1);
for (let _0x12fd87 = 0x0; _0x12fd87 < _0x36a6d7[_0x5f1b91(0xf1)]; _0x12fd87++) _0x36a6d7['getChildAt'](_0x12fd87)[_0x5f1b91(0x12b)] = _0x12fd87 == this[_0x5f1b91(0x119)], _0x3942e1[_0x5f1b91(0x134)](_0x12fd87)['active'] = _0x12fd87 == this['num'];
this['E3Fx'] = _0x298e12['models']['getChildByName']('E3');
} [_0x47b9fc(0x20a)]() {} ['chanagePlayer']() {
var _0xa3b566 = _0x47b9fc;
if (0x1 != this['isChuFa'])
if (this['isChuFa'] = !0x0, _0xa3b566(0x21d) == this[_0xa3b566(0x122)])
for (let _0x32cfd1 = 0x0; _0x32cfd1 < this['num']; _0x32cfd1++) _0x298e12['curPlayerControl']['removePlayer'](null);
else if (_0xa3b566(0x83) == this[_0xa3b566(0x122)]) {
var _0x523f4e = Laya[_0xa3b566(0x187)]['instantiate'](this['E3Fx'], _0x298e12['curScene']);
_0x523f4e['transform'][_0xa3b566(0x12a)] = this['MagicBuffYellow']['transform'][_0xa3b566(0x12a)], _0x523f4e['transform'][_0xa3b566(0x10a)] = this['MagicBuffYellow']['transform']['rotation'], _0x523f4e[_0xa3b566(0x1c0)](_0x1ce2be);
for (let _0x40c131 = 0x0; _0x40c131 < this['num']; _0x40c131++) _0x298e12['curPlayerControl']['addPlayer']();
} else if ('Cheng' == this[_0xa3b566(0x122)]) {
var _0x284101 = _0x298e12[_0xa3b566(0x17a)]['getPlayerNum']() * this['num'];
for (let _0x236c7e = 0x0; _0x236c7e < _0x284101; _0x236c7e++) _0x298e12['curPlayerControl']['addPlayer']();
}
} ['onDisable']() {} ?>
Did this file decode correctly?
Original Code
class _0x2473e4 extends Laya['\x53\x63\x72\x69\x70\x74\x33\x44'] {
constructor() {
var _0x2ba739 = _0x47b9fc;
super(), this[_0x2ba739(0xe6)], this['\x44\x6f\x6f\x72\x5f\x50\x6f\x73\x69\x74\x69\x76\x65'], this['\x6e\x75\x6d'] = 0x0, this['\x46\x75\x48\x68\x61\x6f'] = '\x4a\x69\x61', this[_0x2ba739(0x155)] = !0x1, this[_0x2ba739(0x236)], this['\x45\x33\x46\x78'];
} ['\x6f\x6e\x41\x77\x61\x6b\x65']() {
var _0x5f1b91 = _0x47b9fc;
this['\x44\x6f\x6f\x72\x5f\x4e\x65\x67\x61\x74\x69\x76\x65'] = this['\x6f\x77\x6e\x65\x72']['\x67\x65\x74\x43\x68\x69\x6c\x64\x42\x79\x4e\x61\x6d\x65'](_0x5f1b91(0x8b))['\x67\x65\x74\x43\x68\x69\x6c\x64\x42\x79\x4e\x61\x6d\x65']('\x44\x6f\x6f\x72\x5f\x4e\x65\x67\x61\x74\x69\x76\x65'), this[_0x5f1b91(0xd5)] = this[_0x5f1b91(0xa1)]['\x67\x65\x74\x43\x68\x69\x6c\x64\x42\x79\x4e\x61\x6d\x65'](_0x5f1b91(0x8b))['\x67\x65\x74\x43\x68\x69\x6c\x64\x42\x79\x4e\x61\x6d\x65'](_0x5f1b91(0xd5)), this[_0x5f1b91(0x236)] = this['\x6f\x77\x6e\x65\x72']['\x67\x65\x74\x43\x68\x69\x6c\x64\x42\x79\x4e\x61\x6d\x65'](_0x5f1b91(0x8b))[_0x5f1b91(0x181)]('\x4d\x61\x67\x69\x63\x42\x75\x66\x66\x59\x65\x6c\x6c\x6f\x77'), this[_0x5f1b91(0x122)] = this[_0x5f1b91(0xa1)]['\x70\x61\x72\x65\x6e\x74']['\x6e\x61\x6d\x65'][_0x5f1b91(0x11f)](0x0, this['\x6f\x77\x6e\x65\x72']['\x70\x61\x72\x65\x6e\x74'][_0x5f1b91(0x163)]['\x69\x6e\x64\x65\x78\x4f\x66']('\x5f')), this['\x6e\x75\x6d'] = 0x1 * this['\x6f\x77\x6e\x65\x72'][_0x5f1b91(0x10b)]['\x6e\x61\x6d\x65']['\x73\x75\x62\x73\x74\x72\x69\x6e\x67'](this['\x6f\x77\x6e\x65\x72']['\x70\x61\x72\x65\x6e\x74'][_0x5f1b91(0x163)]['\x69\x6e\x64\x65\x78\x4f\x66']('\x5f') + 0x1, this['\x6f\x77\x6e\x65\x72'][_0x5f1b91(0x10b)][_0x5f1b91(0x163)]['\x6c\x65\x6e\x67\x74\x68']), _0x5f1b91(0x21d) == this[_0x5f1b91(0x122)] ? (this['\x44\x6f\x6f\x72\x5f\x4e\x65\x67\x61\x74\x69\x76\x65'][_0x5f1b91(0x181)]('\x44\x6f\x6f\x72\x51\x75\x61\x64')['\x67\x65\x74\x43\x68\x69\x6c\x64\x42\x79\x4e\x61\x6d\x65']('\x44\x6f\x6f\x72\x47\x72\x65\x65\x6e')['\x61\x63\x74\x69\x76\x65'] = !0x1, this['\x44\x6f\x6f\x72\x5f\x50\x6f\x73\x69\x74\x69\x76\x65']['\x67\x65\x74\x43\x68\x69\x6c\x64\x42\x79\x4e\x61\x6d\x65'](_0x5f1b91(0x210))['\x67\x65\x74\x43\x68\x69\x6c\x64\x42\x79\x4e\x61\x6d\x65']('\x44\x6f\x6f\x72\x47\x72\x65\x65\x6e')[_0x5f1b91(0x12b)] = !0x1) : (this[_0x5f1b91(0xe6)]['\x67\x65\x74\x43\x68\x69\x6c\x64\x42\x79\x4e\x61\x6d\x65']('\x44\x6f\x6f\x72\x51\x75\x61\x64')['\x67\x65\x74\x43\x68\x69\x6c\x64\x42\x79\x4e\x61\x6d\x65']('\x44\x6f\x6f\x72\x52\x65\x64')[_0x5f1b91(0x12b)] = !0x1, this[_0x5f1b91(0xd5)][_0x5f1b91(0x181)]('\x44\x6f\x6f\x72\x51\x75\x61\x64')['\x67\x65\x74\x43\x68\x69\x6c\x64\x42\x79\x4e\x61\x6d\x65']('\x44\x6f\x6f\x72\x52\x65\x64')[_0x5f1b91(0x12b)] = !0x1);
var _0x5167fa = this[_0x5f1b91(0xe6)]['\x67\x65\x74\x43\x68\x69\x6c\x64\x42\x79\x4e\x61\x6d\x65']('\x54\x65\x78\x74')[_0x5f1b91(0x181)]('\x46\x75\x48\x68\x61\x6f'),
_0x36a6d7 = this[_0x5f1b91(0xe6)]['\x67\x65\x74\x43\x68\x69\x6c\x64\x42\x79\x4e\x61\x6d\x65']('\x54\x65\x78\x74')[_0x5f1b91(0x181)](_0x5f1b91(0x1a7)),
_0x39d70b = this[_0x5f1b91(0xd5)]['\x67\x65\x74\x43\x68\x69\x6c\x64\x42\x79\x4e\x61\x6d\x65'](_0x5f1b91(0x1e9))['\x67\x65\x74\x43\x68\x69\x6c\x64\x42\x79\x4e\x61\x6d\x65'](_0x5f1b91(0x122)),
_0x3942e1 = this[_0x5f1b91(0xd5)][_0x5f1b91(0x181)](_0x5f1b91(0x1e9))[_0x5f1b91(0x181)]('\x4e\x75\x6d');
for (let _0x5a24a4 = 0x0; _0x5a24a4 < _0x5167fa['\x6e\x75\x6d\x43\x68\x69\x6c\x64\x72\x65\x6e']; _0x5a24a4++) _0x5167fa[_0x5f1b91(0x134)](_0x5a24a4)['\x6e\x61\x6d\x65'] != this['\x46\x75\x48\x68\x61\x6f'] && (_0x5167fa['\x67\x65\x74\x43\x68\x69\x6c\x64\x41\x74'](_0x5a24a4)['\x61\x63\x74\x69\x76\x65'] = !0x1), _0x39d70b['\x67\x65\x74\x43\x68\x69\x6c\x64\x41\x74'](_0x5a24a4)[_0x5f1b91(0x163)] != this[_0x5f1b91(0x122)] && (_0x39d70b['\x67\x65\x74\x43\x68\x69\x6c\x64\x41\x74'](_0x5a24a4)['\x61\x63\x74\x69\x76\x65'] = !0x1);
for (let _0x12fd87 = 0x0; _0x12fd87 < _0x36a6d7[_0x5f1b91(0xf1)]; _0x12fd87++) _0x36a6d7['\x67\x65\x74\x43\x68\x69\x6c\x64\x41\x74'](_0x12fd87)[_0x5f1b91(0x12b)] = _0x12fd87 == this[_0x5f1b91(0x119)], _0x3942e1[_0x5f1b91(0x134)](_0x12fd87)['\x61\x63\x74\x69\x76\x65'] = _0x12fd87 == this['\x6e\x75\x6d'];
this['\x45\x33\x46\x78'] = _0x298e12['\x6d\x6f\x64\x65\x6c\x73']['\x67\x65\x74\x43\x68\x69\x6c\x64\x42\x79\x4e\x61\x6d\x65']('\x45\x33');
} [_0x47b9fc(0x20a)]() {} ['\x63\x68\x61\x6e\x61\x67\x65\x50\x6c\x61\x79\x65\x72']() {
var _0xa3b566 = _0x47b9fc;
if (0x1 != this['\x69\x73\x43\x68\x75\x46\x61'])
if (this['\x69\x73\x43\x68\x75\x46\x61'] = !0x0, _0xa3b566(0x21d) == this[_0xa3b566(0x122)])
for (let _0x32cfd1 = 0x0; _0x32cfd1 < this['\x6e\x75\x6d']; _0x32cfd1++) _0x298e12['\x63\x75\x72\x50\x6c\x61\x79\x65\x72\x43\x6f\x6e\x74\x72\x6f\x6c']['\x72\x65\x6d\x6f\x76\x65\x50\x6c\x61\x79\x65\x72'](null);
else if (_0xa3b566(0x83) == this[_0xa3b566(0x122)]) {
var _0x523f4e = Laya[_0xa3b566(0x187)]['\x69\x6e\x73\x74\x61\x6e\x74\x69\x61\x74\x65'](this['\x45\x33\x46\x78'], _0x298e12['\x63\x75\x72\x53\x63\x65\x6e\x65']);
_0x523f4e['\x74\x72\x61\x6e\x73\x66\x6f\x72\x6d'][_0xa3b566(0x12a)] = this['\x4d\x61\x67\x69\x63\x42\x75\x66\x66\x59\x65\x6c\x6c\x6f\x77']['\x74\x72\x61\x6e\x73\x66\x6f\x72\x6d'][_0xa3b566(0x12a)], _0x523f4e['\x74\x72\x61\x6e\x73\x66\x6f\x72\x6d'][_0xa3b566(0x10a)] = this['\x4d\x61\x67\x69\x63\x42\x75\x66\x66\x59\x65\x6c\x6c\x6f\x77']['\x74\x72\x61\x6e\x73\x66\x6f\x72\x6d']['\x72\x6f\x74\x61\x74\x69\x6f\x6e'], _0x523f4e[_0xa3b566(0x1c0)](_0x1ce2be);
for (let _0x40c131 = 0x0; _0x40c131 < this['\x6e\x75\x6d']; _0x40c131++) _0x298e12['\x63\x75\x72\x50\x6c\x61\x79\x65\x72\x43\x6f\x6e\x74\x72\x6f\x6c']['\x61\x64\x64\x50\x6c\x61\x79\x65\x72']();
} else if ('\x43\x68\x65\x6e\x67' == this[_0xa3b566(0x122)]) {
var _0x284101 = _0x298e12[_0xa3b566(0x17a)]['\x67\x65\x74\x50\x6c\x61\x79\x65\x72\x4e\x75\x6d']() * this['\x6e\x75\x6d'];
for (let _0x236c7e = 0x0; _0x236c7e < _0x284101; _0x236c7e++) _0x298e12['\x63\x75\x72\x50\x6c\x61\x79\x65\x72\x43\x6f\x6e\x74\x72\x6f\x6c']['\x61\x64\x64\x50\x6c\x61\x79\x65\x72']();
}
} ['\x6f\x6e\x44\x69\x73\x61\x62\x6c\x65']() {}
Function Calls
None |
Stats
MD5 | afd62da5855be71d09c21868ce82afcd |
Eval Count | 0 |
Decode Time | 82 ms |