MCPcopy Create free account
hub / github.com/Semporia/Scripts / doLuckDrawEntrance

Function doLuckDrawEntrance

jd_redPacket.js:279–376  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

277}
278
279function doLuckDrawEntrance() {
280 var _0x2d8ba8 = {
281 'PtFMC': _0x5c3d('69', 'Ykax'),
282 'JWjKW': function (_0x54a1c9, _0x1e41cf) {
283 return _0x54a1c9 !== _0x1e41cf;
284 },
285 'WlnFb': _0x5c3d('6a', 'fCgc'),
286 'mLXhv': function (_0x4d7ec2, _0x4aab2e) {
287 return _0x4d7ec2 === _0x4aab2e;
288 },
289 'SLnRl': _0x5c3d('6b', 'o7vD'),
290 'oyFMf': _0x5c3d('6c', '8ye]'),
291 'BCqMn': _0x5c3d('6d', 'OghG'),
292 'dhJSE': 'esyld',
293 'wQeAQ': function (_0x35e64a) {
294 return _0x35e64a();
295 },
296 'PJEil': 'result',
297 'JYUuJ': _0x5c3d('6e', 'J(]D'),
298 'HXwNK': _0x5c3d('6f', 'o7vD'),
299 'DHYQj': _0x5c3d('70', 'o%Hs'),
300 'WjKEm': 'keep-alive',
301 'EKCYp': 'application/json,\x20text/plain,\x20*/*',
302 'IoYgJ': 'zh-cn',
303 'XYskb': 'gzip,\x20deflate,\x20br'
304 };
305 return new Promise(_0x3d43ca => {
306 var _0x55ffbc = {'JDPbl': _0x2d8ba8[_0x5c3d('71', ')4(@')], 'KIKDy': _0x2d8ba8[_0x5c3d('72', 'qi!x')]};
307 const _0x441d8b = {
308 'url': _0x2d8ba8['HXwNK'],
309 'headers': {
310 'Host': 'api.m.jd.com',
311 'Origin': _0x2d8ba8['DHYQj'],
312 'Cookie': cookie,
313 'Content-Length': '0',
314 'Connection': _0x2d8ba8[_0x5c3d('73', 'oaTe')],
315 'Accept': _0x2d8ba8['EKCYp'],
316 'User-Agent': _0x5c3d('74', 'OghG'),
317 'Accept-Language': _0x2d8ba8[_0x5c3d('75', 'lR53')],
318 'Referer': _0x5c3d('76', 'm)@n'),
319 'Accept-Encoding': _0x2d8ba8[_0x5c3d('77', 'J(]D')]
320 }
321 };
322 $[_0x5c3d('78', '4%Cg')](_0x441d8b, async (_0x446f01, _0x352ba9, _0x41b7f) => {
323 if (_0x2d8ba8[_0x5c3d('79', 'XpI[')] === _0x2d8ba8[_0x5c3d('7a', '$[C2')]) {
324 try {
325 if (_0x446f01) {
326 if (_0x2d8ba8[_0x5c3d('7b', ']loZ')](_0x5c3d('7c', '@YZ@'), _0x2d8ba8[_0x5c3d('7d', 'sEZ[')])) {
327 console[_0x5c3d('7e', '1xX6')]('' + JSON[_0x5c3d('7f', 'DI]G')](_0x446f01));
328 console[_0x5c3d('80', 'qt1B')]($[_0x5c3d('81', 'RJ[D')] + _0x5c3d('82', '1xX6'));
329 } else {
330 const _0x4ec2ee = $[_0x5c3d('83', '$lyO')][_0x5c3d('84', 'm0Q1')][_0x55ffbc['JDPbl']][_0x5c3d('85', 's%P1')] || [];
331 for (let _0x9bcdf9 of _0x4ec2ee) {
332 $[_0x5c3d('86', 'XpI[')] += _0x9bcdf9[_0x55ffbc['KIKDy']];
333 }
334 if ($[_0x5c3d('87', 'qt1B')]) $[_0x5c3d('88', 's2t@')] = $[_0x5c3d('89', 'wc[h')][_0x5c3d('8a', '96*f')](0x2);
335 }
336 } else {

Callers

nothing calls this directly

Calls 1

_0x5c3dFunction · 0.85

Tested by

no test coverage detected