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 _0x35ec5c extends Laya[_0x22b339(0x42c)] { constructor() { super(); } ['\x..
Decoded Output download
<? class _0x35ec5c extends Laya[_0x22b339(0x42c)] {
constructor() {
super();
} ['onEnable']() {
const _0x57e2ca = _0x22b339;
_0x1d03fb[_0x57e2ca(0x1b9)] = null, this[_0x57e2ca(0x1c0)]['visible'] = !0x1, this[_0x57e2ca(0x22b)][_0x57e2ca(0x39d)] = !0x1, this[_0x57e2ca(0x245)][_0x57e2ca(0x39d)] = !0x1, this[_0x57e2ca(0x127)](), _0x4da8b3['winUI'] = this, this[_0x57e2ca(0x209)](), window['SdkUtil']['TDGuanQia'](0x2, _0x1d03fb[_0x57e2ca(0x412)]), window[_0x57e2ca(0x252)][_0x57e2ca(0x42a)] && window[_0x57e2ca(0x252)]['IsShowShareBtn'](), null != this[_0x57e2ca(0x37b)] && SdkUtil['ShowNeiZhiAD'] && SdkUtil['ShowNeiZhiAD'](this[_0x57e2ca(0x37b)], 0x2), SdkUtil[_0x57e2ca(0x1ae)](), SdkUtil[_0x57e2ca(0x36a)](), _0x96702b['SetUserData'](_0x57e2ca(0x40e), _0x1d03fb['curSelectLevel']), _0x96702b['SaveData']();
} [_0x22b339(0x256)]() {} [_0x22b339(0x209)]() {
const _0x495865 = _0x22b339;
_0x1d03fb['curGoldNum'] = 0x64, this['rewardGold'][_0x495865(0x309)] = _0x1d03fb['curGoldNum'], this['getBtn']['on'](Laya['Event']['CLICK'], this, function() {
const _0x4925b3 = _0x495865;
_0x1d03fb['PlaySound'](_0x4925b3(0x3fd)), SdkUtil['TDEvent'](_0x4925b3(0x1de)), window[_0x4925b3(0x252)]['ShowVideo'](function(_0x3528cd) {
0x1 == _0x3528cd && (_0x96702b['AddProp'](0x1, 0x2 * _0x1d03fb['curGoldNum']), _0x96702b['SaveData'](), SdkUtil['TDEvent'](''), this['BackMainUI']());
} [_0x4925b3(0x443)](this));
}), this['closeBtn']['on'](Laya['Event']['CLICK'], this, function() {
const _0xa00a4a = _0x495865;
_0x1d03fb[_0xa00a4a(0x297)]('but'), _0x96702b[_0xa00a4a(0x1a6)](0x1, _0x1d03fb[_0xa00a4a(0x236)]), _0x96702b['SetUserData'](_0xa00a4a(0x363), _0x96702b['GetUserData']('EarnGold') + _0x1d03fb[_0xa00a4a(0x236)]), _0x96702b['SaveData'](), this['BackMainUI']();
});
} ['UpdateGold']() {} ['freeTest']() {
const _0x3e797d = _0x22b339;
this['skeleton'] = new Laya[(_0x3e797d(0x17a))](), this['skeleton'][_0x3e797d(0x22a)](this[_0x3e797d(0x2e4)] / 0x2, this[_0x3e797d(0x12d)] / 0x2 + 0x32), this['skeleton'][_0x3e797d(0x340)]('res/longgu/win.sk', Laya[_0x3e797d(0x216)]['create'](this, this[_0x3e797d(0x20d)])), this['Box']['addChild'](this['skeleton']);
} ['Start']() {
const _0x2212fb = _0x22b339;
this[_0x2212fb(0x1c0)][_0x2212fb(0x39d)] = !0x0, this['getBtn']['visible'] = !0x0, this[_0x2212fb(0x349)]['visible'] = !0x0, this[_0x2212fb(0x245)][_0x2212fb(0x39d)] = !0x0, this['skeleton']['play'](_0x2212fb(0x12c), !0x1), this['skeleton']['on'](Laya['Event'][_0x2212fb(0x1ea)], this, this[_0x2212fb(0x3a5)]), this['ani1']['play'](0x0, !0x0);
} ['overAni']() {
this['skeleton']['play']('win_01', !0x0);
} [_0x22b339(0x1ef)]() {
const _0x8739f5 = _0x22b339;
this['destroy'](), _0x4da8b3['gameUI'] && (_0x4da8b3['gameUI'][_0x8739f5(0x28a)](), _0x4da8b3['gameUI'] = null), _0x4da8b3[_0x8739f5(0x315)]('GameRun');
}
} ?>
Did this file decode correctly?
Original Code
class _0x35ec5c extends Laya[_0x22b339(0x42c)] {
constructor() {
super();
} ['\x6f\x6e\x45\x6e\x61\x62\x6c\x65']() {
const _0x57e2ca = _0x22b339;
_0x1d03fb[_0x57e2ca(0x1b9)] = null, this[_0x57e2ca(0x1c0)]['\x76\x69\x73\x69\x62\x6c\x65'] = !0x1, this[_0x57e2ca(0x22b)][_0x57e2ca(0x39d)] = !0x1, this[_0x57e2ca(0x245)][_0x57e2ca(0x39d)] = !0x1, this[_0x57e2ca(0x127)](), _0x4da8b3['\x77\x69\x6e\x55\x49'] = this, this[_0x57e2ca(0x209)](), window['\x53\x64\x6b\x55\x74\x69\x6c']['\x54\x44\x47\x75\x61\x6e\x51\x69\x61'](0x2, _0x1d03fb[_0x57e2ca(0x412)]), window[_0x57e2ca(0x252)][_0x57e2ca(0x42a)] && window[_0x57e2ca(0x252)]['\x49\x73\x53\x68\x6f\x77\x53\x68\x61\x72\x65\x42\x74\x6e'](), null != this[_0x57e2ca(0x37b)] && SdkUtil['\x53\x68\x6f\x77\x4e\x65\x69\x5a\x68\x69\x41\x44'] && SdkUtil['\x53\x68\x6f\x77\x4e\x65\x69\x5a\x68\x69\x41\x44'](this[_0x57e2ca(0x37b)], 0x2), SdkUtil[_0x57e2ca(0x1ae)](), SdkUtil[_0x57e2ca(0x36a)](), _0x96702b['\x53\x65\x74\x55\x73\x65\x72\x44\x61\x74\x61'](_0x57e2ca(0x40e), _0x1d03fb['\x63\x75\x72\x53\x65\x6c\x65\x63\x74\x4c\x65\x76\x65\x6c']), _0x96702b['\x53\x61\x76\x65\x44\x61\x74\x61']();
} [_0x22b339(0x256)]() {} [_0x22b339(0x209)]() {
const _0x495865 = _0x22b339;
_0x1d03fb['\x63\x75\x72\x47\x6f\x6c\x64\x4e\x75\x6d'] = 0x64, this['\x72\x65\x77\x61\x72\x64\x47\x6f\x6c\x64'][_0x495865(0x309)] = _0x1d03fb['\x63\x75\x72\x47\x6f\x6c\x64\x4e\x75\x6d'], this['\x67\x65\x74\x42\x74\x6e']['\x6f\x6e'](Laya['\x45\x76\x65\x6e\x74']['\x43\x4c\x49\x43\x4b'], this, function() {
const _0x4925b3 = _0x495865;
_0x1d03fb['\x50\x6c\x61\x79\x53\x6f\x75\x6e\x64'](_0x4925b3(0x3fd)), SdkUtil['\x54\x44\x45\x76\x65\x6e\x74'](_0x4925b3(0x1de)), window[_0x4925b3(0x252)]['\x53\x68\x6f\x77\x56\x69\x64\x65\x6f'](function(_0x3528cd) {
0x1 == _0x3528cd && (_0x96702b['\x41\x64\x64\x50\x72\x6f\x70'](0x1, 0x2 * _0x1d03fb['\x63\x75\x72\x47\x6f\x6c\x64\x4e\x75\x6d']), _0x96702b['\x53\x61\x76\x65\x44\x61\x74\x61'](), SdkUtil['\x54\x44\x45\x76\x65\x6e\x74']('\u89c6\u9891\u5b8c\u6210\u53cc\u500d\u91d1\u5e01'), this['\x42\x61\x63\x6b\x4d\x61\x69\x6e\x55\x49']());
} [_0x4925b3(0x443)](this));
}), this['\x63\x6c\x6f\x73\x65\x42\x74\x6e']['\x6f\x6e'](Laya['\x45\x76\x65\x6e\x74']['\x43\x4c\x49\x43\x4b'], this, function() {
const _0xa00a4a = _0x495865;
_0x1d03fb[_0xa00a4a(0x297)]('\x62\x75\x74'), _0x96702b[_0xa00a4a(0x1a6)](0x1, _0x1d03fb[_0xa00a4a(0x236)]), _0x96702b['\x53\x65\x74\x55\x73\x65\x72\x44\x61\x74\x61'](_0xa00a4a(0x363), _0x96702b['\x47\x65\x74\x55\x73\x65\x72\x44\x61\x74\x61']('\x45\x61\x72\x6e\x47\x6f\x6c\x64') + _0x1d03fb[_0xa00a4a(0x236)]), _0x96702b['\x53\x61\x76\x65\x44\x61\x74\x61'](), this['\x42\x61\x63\x6b\x4d\x61\x69\x6e\x55\x49']();
});
} ['\x55\x70\x64\x61\x74\x65\x47\x6f\x6c\x64']() {} ['\x66\x72\x65\x65\x54\x65\x73\x74']() {
const _0x3e797d = _0x22b339;
this['\x73\x6b\x65\x6c\x65\x74\x6f\x6e'] = new Laya[(_0x3e797d(0x17a))](), this['\x73\x6b\x65\x6c\x65\x74\x6f\x6e'][_0x3e797d(0x22a)](this[_0x3e797d(0x2e4)] / 0x2, this[_0x3e797d(0x12d)] / 0x2 + 0x32), this['\x73\x6b\x65\x6c\x65\x74\x6f\x6e'][_0x3e797d(0x340)]('\x72\x65\x73\x2f\x6c\x6f\x6e\x67\x67\x75\x2f\x77\x69\x6e\x2e\x73\x6b', Laya[_0x3e797d(0x216)]['\x63\x72\x65\x61\x74\x65'](this, this[_0x3e797d(0x20d)])), this['\x42\x6f\x78']['\x61\x64\x64\x43\x68\x69\x6c\x64'](this['\x73\x6b\x65\x6c\x65\x74\x6f\x6e']);
} ['\x53\x74\x61\x72\x74']() {
const _0x2212fb = _0x22b339;
this[_0x2212fb(0x1c0)][_0x2212fb(0x39d)] = !0x0, this['\x67\x65\x74\x42\x74\x6e']['\x76\x69\x73\x69\x62\x6c\x65'] = !0x0, this[_0x2212fb(0x349)]['\x76\x69\x73\x69\x62\x6c\x65'] = !0x0, this[_0x2212fb(0x245)][_0x2212fb(0x39d)] = !0x0, this['\x73\x6b\x65\x6c\x65\x74\x6f\x6e']['\x70\x6c\x61\x79'](_0x2212fb(0x12c), !0x1), this['\x73\x6b\x65\x6c\x65\x74\x6f\x6e']['\x6f\x6e'](Laya['\x45\x76\x65\x6e\x74'][_0x2212fb(0x1ea)], this, this[_0x2212fb(0x3a5)]), this['\x61\x6e\x69\x31']['\x70\x6c\x61\x79'](0x0, !0x0);
} ['\x6f\x76\x65\x72\x41\x6e\x69']() {
this['\x73\x6b\x65\x6c\x65\x74\x6f\x6e']['\x70\x6c\x61\x79']('\x77\x69\x6e\x5f\x30\x31', !0x0);
} [_0x22b339(0x1ef)]() {
const _0x8739f5 = _0x22b339;
this['\x64\x65\x73\x74\x72\x6f\x79'](), _0x4da8b3['\x67\x61\x6d\x65\x55\x49'] && (_0x4da8b3['\x67\x61\x6d\x65\x55\x49'][_0x8739f5(0x28a)](), _0x4da8b3['\x67\x61\x6d\x65\x55\x49'] = null), _0x4da8b3[_0x8739f5(0x315)]('\x47\x61\x6d\x65\x52\x75\x6e');
}
}
Function Calls
| None |
Stats
| MD5 | 80616cba55dbb646fd4e7ecdabe4b8de |
| Eval Count | 0 |
| Decode Time | 30 ms |