Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
case '\x6d\x6f\x76\x65': _0x3b85fe = 0.1; var _0x14735f = new Laya['\x52\x61\x..
Decoded Output download
<? case 'move':
_0x3b85fe = 0.1;
var _0x14735f = new Laya['Ray'](new Laya['Vector3'](0x0, 0x0, 0x0), new Laya['Vector3'](0x0, 0x0, 0x0));
_0x14735f = new Laya['Ray'](new Laya[(_0x62bbf0(0x1c6))](0x0, 0x0, 0x0), new Laya[(_0x62bbf0(0x1c6))](0x0, 0x0, 0x0)), _0x298e12['mainCamera']['viewportPointToRay'](new Laya[(_0x62bbf0(0x16b))](0x25f, 0xe6), _0x14735f);
var _0x2cb668 = new Laya['Vector3'](0x0, 0x0, 0x0);
if (Laya['Vector3'][_0x62bbf0(0x243)](_0x14735f['direction'], 0x1e, _0x2cb668), Laya[_0x62bbf0(0x1c6)]['add'](_0x298e12['mainCamera']['transform']['position'], _0x2cb668, _0x2cb668), this[_0x62bbf0(0x1ec)]['x'] += this['GetDir'](_0x2cb668['x'] - this[_0x62bbf0(0x1ec)]['x']) * _0x3b85fe * 0x2, this['finalPosition']['y'] += this['GetDir'](_0x2cb668['y'] - this['finalPosition']['y']) * _0x3b85fe * 0x2, this[_0x62bbf0(0x1ec)]['z'] += this['GetDir'](_0x2cb668['z'] - this['finalPosition']['z']) * _0x3b85fe * 0x2, this[_0x62bbf0(0x160)][_0x62bbf0(0x12a)] = new Laya['Vector3'](this['finalPosition']['x'], this['finalPosition']['y'], this['finalPosition']['z']), this[_0x62bbf0(0x243)] += 0.03 * (0.1 - this['scale']), this[_0x62bbf0(0x160)][_0x62bbf0(0x1a2)](new Laya['Vector3'](this['scale'], this[_0x62bbf0(0x243)], this[_0x62bbf0(0x243)])), this[_0x62bbf0(0x243)] <= 0.4) return this['owner']['destroy'](), void(this['state'] = 'over');
}
} ['GetDir'](_0x64b127) {
return _0x64b127; ?>
Did this file decode correctly?
Original Code
case '\x6d\x6f\x76\x65':
_0x3b85fe = 0.1;
var _0x14735f = new Laya['\x52\x61\x79'](new Laya['\x56\x65\x63\x74\x6f\x72\x33'](0x0, 0x0, 0x0), new Laya['\x56\x65\x63\x74\x6f\x72\x33'](0x0, 0x0, 0x0));
_0x14735f = new Laya['\x52\x61\x79'](new Laya[(_0x62bbf0(0x1c6))](0x0, 0x0, 0x0), new Laya[(_0x62bbf0(0x1c6))](0x0, 0x0, 0x0)), _0x298e12['\x6d\x61\x69\x6e\x43\x61\x6d\x65\x72\x61']['\x76\x69\x65\x77\x70\x6f\x72\x74\x50\x6f\x69\x6e\x74\x54\x6f\x52\x61\x79'](new Laya[(_0x62bbf0(0x16b))](0x25f, 0xe6), _0x14735f);
var _0x2cb668 = new Laya['\x56\x65\x63\x74\x6f\x72\x33'](0x0, 0x0, 0x0);
if (Laya['\x56\x65\x63\x74\x6f\x72\x33'][_0x62bbf0(0x243)](_0x14735f['\x64\x69\x72\x65\x63\x74\x69\x6f\x6e'], 0x1e, _0x2cb668), Laya[_0x62bbf0(0x1c6)]['\x61\x64\x64'](_0x298e12['\x6d\x61\x69\x6e\x43\x61\x6d\x65\x72\x61']['\x74\x72\x61\x6e\x73\x66\x6f\x72\x6d']['\x70\x6f\x73\x69\x74\x69\x6f\x6e'], _0x2cb668, _0x2cb668), this[_0x62bbf0(0x1ec)]['\x78'] += this['\x47\x65\x74\x44\x69\x72'](_0x2cb668['\x78'] - this[_0x62bbf0(0x1ec)]['\x78']) * _0x3b85fe * 0x2, this['\x66\x69\x6e\x61\x6c\x50\x6f\x73\x69\x74\x69\x6f\x6e']['\x79'] += this['\x47\x65\x74\x44\x69\x72'](_0x2cb668['\x79'] - this['\x66\x69\x6e\x61\x6c\x50\x6f\x73\x69\x74\x69\x6f\x6e']['\x79']) * _0x3b85fe * 0x2, this[_0x62bbf0(0x1ec)]['\x7a'] += this['\x47\x65\x74\x44\x69\x72'](_0x2cb668['\x7a'] - this['\x66\x69\x6e\x61\x6c\x50\x6f\x73\x69\x74\x69\x6f\x6e']['\x7a']) * _0x3b85fe * 0x2, this[_0x62bbf0(0x160)][_0x62bbf0(0x12a)] = new Laya['\x56\x65\x63\x74\x6f\x72\x33'](this['\x66\x69\x6e\x61\x6c\x50\x6f\x73\x69\x74\x69\x6f\x6e']['\x78'], this['\x66\x69\x6e\x61\x6c\x50\x6f\x73\x69\x74\x69\x6f\x6e']['\x79'], this['\x66\x69\x6e\x61\x6c\x50\x6f\x73\x69\x74\x69\x6f\x6e']['\x7a']), this[_0x62bbf0(0x243)] += 0.03 * (0.1 - this['\x73\x63\x61\x6c\x65']), this[_0x62bbf0(0x160)][_0x62bbf0(0x1a2)](new Laya['\x56\x65\x63\x74\x6f\x72\x33'](this['\x73\x63\x61\x6c\x65'], this[_0x62bbf0(0x243)], this[_0x62bbf0(0x243)])), this[_0x62bbf0(0x243)] <= 0.4) return this['\x6f\x77\x6e\x65\x72']['\x64\x65\x73\x74\x72\x6f\x79'](), void(this['\x73\x74\x61\x74\x65'] = '\x6f\x76\x65\x72');
}
} ['\x47\x65\x74\x44\x69\x72'](_0x64b127) {
return _0x64b127;
Function Calls
None |
Stats
MD5 | 36d40667a24e4b4286f02db2c3a031f0 |
Eval Count | 0 |
Decode Time | 49 ms |