Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (function(_0x19610f, _0x5dfbb1) {
- var _0x319fbd = function(_0x5714f8) {
- while (--_0x5714f8) {
- _0x19610f['push'](_0x19610f['shift']());
- }
- };
- _0x319fbd(++_0x5dfbb1);
- }(_0x2627, 0x88));
- var _0x1f7e = function(_0x5ec887, _0x4fa0d1) {
- _0x5ec887 = _0x5ec887 - 0x0;
- var _0x61044a = _0x2627[_0x5ec887];
- return _0x61044a;
- };
- var obfuscation = {
- 'baseModule': 'Tt',
- 'gameUpdate': 'l',
- 'playerClass': 'Ie',
- 'playerPool': 'it',
- 'buildingPool': 'ot',
- 'pool': 'de',
- 'map': 'Ce',
- 'input': 'ge',
- 'circleClass': 'He',
- 'emoteClass': '$e',
- 'obstaclePool': 'Y',
- 'gameInitBase': 'a',
- 'gameEndBase': 'o',
- 'smokeClass': 'Ve',
- 'smokePool': 'e',
- 'gameClass': 'xe',
- 'carepackageClass': 'Ne',
- 'carepackagePool': 'B',
- 'aimClass': 'Se',
- 'cameraClass': 'N',
- 'localPlayer': 'mt',
- 'InputBase': 'K'
- };
- var settings = {
- 'no_ceilings': !![],
- 'see_through_smoke': !![],
- 'see_through_obstacles': {
- 'trees': !![],
- 'bushes': !![],
- 'river_bushes': !![],
- 'tables': !![]
- },
- 'spin_bot': ![],
- 'aim_bot': !![],
- 'auto_fire': !![],
- 'debugging': ![]
- };
- var vars = {
- 'game': null,
- 'MouseIsDown': ![],
- 'TeamId': null,
- 'aim_bot': {
- 'closest_target': null
- }
- };
- var circleIndex = 0x0;
- function SpinBotCircleFunction(_0x3c1ff2, _0x56725d) {
- if (circleIndex == Math['PI'] * 0x2) circleIndex = 0x0;
- circleIndex += 0.5;
- var _0x221347 = _0x3c1ff2 + 0x64 * Math[_0x1f7e('0x0')](circleIndex);
- var _0x41507c = _0x56725d + 0x64 * Math['sin'](circleIndex);
- return {
- 'x': _0x221347,
- 'y': _0x41507c
- };
- }
- function InitializeGameUpdateHooks(_0x571d2e) {
- var _0x1cd8c1 = _0x571d2e[obfuscation[_0x1f7e('0x1')]];
- var _0x54bdfb = _0x571d2e[obfuscation[_0x1f7e('0x1')]][_0x1f7e('0x2')];
- _0x571d2e[obfuscation[_0x1f7e('0x1')]]['onMouseMove'] = function(_0x3418a7) {
- if (settings[_0x1f7e('0x3')] && _0x571d2e[obfuscation['localPlayer']] != null && _0x571d2e[obfuscation[_0x1f7e('0x4')]]['anim'][_0x1f7e('0x5')] != 'none' && !vars[_0x1f7e('0x6')]) return ![];
- if (settings[_0x1f7e('0x7')] && vars['aim_bot'][_0x1f7e('0x8')] != null) return ![];
- _0x54bdfb[_0x1f7e('0x9')](_0x1cd8c1, _0x3418a7);
- };
- var _0x4c098d = _0x571d2e[obfuscation[_0x1f7e('0x1')]][_0x1f7e('0xa')][_0x1f7e('0xb')];
- _0x571d2e[obfuscation[_0x1f7e('0x1')]][_0x1f7e('0xa')][_0x1f7e('0xb')] = function(_0x438d15) {
- vars[_0x1f7e('0x6')] = !![];
- if (settings[_0x1f7e('0x3')]) {
- _0x571d2e[obfuscation[_0x1f7e('0x1')]]['mousePos']['x'] = _0x438d15[_0x1f7e('0xc')];
- _0x571d2e[obfuscation['input']][_0x1f7e('0xd')]['y'] = _0x438d15['clientY'];
- }
- _0x4c098d[_0x1f7e('0x9')](_0x1cd8c1, _0x438d15);
- };
- var _0x11c3a9 = _0x571d2e[obfuscation[_0x1f7e('0x1')]][_0x1f7e('0xa')][_0x1f7e('0xe')];
- _0x571d2e[obfuscation[_0x1f7e('0x1')]][_0x1f7e('0xa')][_0x1f7e('0xe')] = function(_0xf371e8) {
- vars[_0x1f7e('0x6')] = ![];
- _0x11c3a9[_0x1f7e('0x9')](_0x1cd8c1, _0xf371e8);
- };
- }
- var initializedGameUpdateHooks = ![];
- function getDistance(_0xd83038, _0x46cf8e) {
- var _0x151152 = _0x46cf8e['x'] - _0xd83038['x'],
- _0x316fe5 = _0x46cf8e['y'] - _0xd83038['y'];
- return Math[_0x1f7e('0xf')](_0x151152 * _0x151152 + _0x316fe5 * _0x316fe5);
- };
- function isTeammate(_0x4cbe42, _0x5c8d23) {
- if (_0x4cbe42[obfuscation[_0x1f7e('0x10')]]['At'][_0x5c8d23[_0x1f7e('0x11')]][_0x1f7e('0x12')] == vars['TeamId']) return !![];
- return ![];
- }
- function GameUpdate(_0x161ca3) {
- if (settings[_0x1f7e('0x13')]) {
- vars[_0x1f7e('0x14')] = _0x161ca3;
- }
- if (vars[_0x1f7e('0x15')] == null) {
- var _0x33c6b6 = _0x161ca3[obfuscation[_0x1f7e('0x4')]][_0x1f7e('0x11')];
- vars[_0x1f7e('0x15')] = _0x161ca3[obfuscation[_0x1f7e('0x10')]]['At'][_0x33c6b6]['teamId'];
- }
- _0x161ca3[obfuscation[_0x1f7e('0x10')]][obfuscation['playerPool']][obfuscation['pool']][_0x1f7e('0x16')](_0x313d9a => {
- if (settings[_0x1f7e('0x7')]) {
- if (isTeammate(_0x161ca3, _0x313d9a)) return;
- if (_0x313d9a['q']['dead']) return;
- if (_0x313d9a['q'][_0x1f7e('0x17')]) return;
- var _0x4ed51a = getDistance(_0x161ca3[obfuscation['localPlayer']]['pos'], _0x313d9a[_0x1f7e('0x18')]);
- if (_0x4ed51a != 0x0 && _0x4ed51a < 0x1e) {
- if (vars[_0x1f7e('0x7')][_0x1f7e('0x8')] != null) {
- if (getDistance(_0x161ca3[obfuscation[_0x1f7e('0x4')]][_0x1f7e('0x18')], vars['aim_bot'][_0x1f7e('0x8')][_0x1f7e('0x18')]) > _0x4ed51a) vars[_0x1f7e('0x7')][_0x1f7e('0x8')] = _0x313d9a;
- } else {
- vars[_0x1f7e('0x7')][_0x1f7e('0x8')] = _0x313d9a;
- }
- }
- }
- });
- if (settings[_0x1f7e('0x7')] && vars[_0x1f7e('0x7')]['closest_target'] != null) {
- if (vars[_0x1f7e('0x7')][_0x1f7e('0x8')]['q'][_0x1f7e('0x19')] || !vars[_0x1f7e('0x7')][_0x1f7e('0x8')][_0x1f7e('0x1a')] || vars[_0x1f7e('0x7')][_0x1f7e('0x8')][_0x1f7e('0x17')] || getDistance(_0x161ca3[obfuscation[_0x1f7e('0x4')]][_0x1f7e('0x18')], vars[_0x1f7e('0x7')][_0x1f7e('0x8')][_0x1f7e('0x18')]) > 0x1e) vars[_0x1f7e('0x7')]['closest_target'] = null;
- }
- if (settings[_0x1f7e('0x7')] && vars[_0x1f7e('0x7')][_0x1f7e('0x8')] != null) {
- var _0x1b71cb = _0x161ca3[obfuscation['cameraClass']][_0x1f7e('0x1b')](vars[_0x1f7e('0x7')]['closest_target'][_0x1f7e('0x18')]);
- _0x161ca3[obfuscation['input']]['mousePos']['x'] = _0x1b71cb['x'];
- _0x161ca3[obfuscation[_0x1f7e('0x1')]][_0x1f7e('0xd')]['y'] = _0x1b71cb['y'];
- }
- if (_0x161ca3[obfuscation['localPlayer']] != null && _0x161ca3[obfuscation[_0x1f7e('0x4')]][_0x1f7e('0x1c')][_0x1f7e('0x5')] != _0x1f7e('0x1d') && !vars[_0x1f7e('0x6')] && settings['spin_bot']) {
- var _0x1cac1e = SpinBotCircleFunction(_0x161ca3[_0x1f7e('0x1e')][_0x1f7e('0x1f')][_0x1f7e('0x20')][_0x1f7e('0x21')] / 0x2, _0x161ca3[_0x1f7e('0x1e')][_0x1f7e('0x1f')][_0x1f7e('0x20')][_0x1f7e('0x22')] / 0x2);
- _0x161ca3[obfuscation['input']][_0x1f7e('0xd')]['x'] = _0x1cac1e['x'];
- _0x161ca3[obfuscation[_0x1f7e('0x1')]][_0x1f7e('0xd')]['y'] = _0x1cac1e['y'];
- }
- _0x161ca3[obfuscation[_0x1f7e('0x23')]][obfuscation[_0x1f7e('0x24')]][obfuscation['pool']]['forEach'](_0x25ac36 => {
- if (!_0x25ac36[_0x1f7e('0x25')] && !settings[_0x1f7e('0x26')]) return;
- switch (_0x25ac36[_0x1f7e('0x25')]) {
- case 'map-tree-03.img':
- if (settings[_0x1f7e('0x26')][_0x1f7e('0x27')]) _0x25ac36[_0x1f7e('0x28')]['alpha'] = 0.5;
- break;
- case _0x1f7e('0x29'):
- if (settings[_0x1f7e('0x26')][_0x1f7e('0x2a')]) _0x25ac36[_0x1f7e('0x28')][_0x1f7e('0x2b')] = 0.5;
- break;
- case _0x1f7e('0x2c'):
- if (settings[_0x1f7e('0x26')]['river_bushes']) _0x25ac36[_0x1f7e('0x28')][_0x1f7e('0x2b')] = 0.5;
- break;
- case 'map-table-01.img':
- if (settings[_0x1f7e('0x26')]['tables']) _0x25ac36[_0x1f7e('0x28')][_0x1f7e('0x2b')] = 0.5;
- break;
- case _0x1f7e('0x2d'):
- if (settings[_0x1f7e('0x26')][_0x1f7e('0x2a')]) _0x25ac36[_0x1f7e('0x28')][_0x1f7e('0x2b')] = 0.5;
- break;
- }
- });
- _0x161ca3[obfuscation[_0x1f7e('0x23')]][obfuscation[_0x1f7e('0x2e')]][obfuscation[_0x1f7e('0x2f')]][_0x1f7e('0x16')](_0x291f7f => {
- _0x291f7f[_0x1f7e('0x30')][_0x1f7e('0x31')] = 0x0;
- });
- if (settings[_0x1f7e('0x32')]) {
- _0x161ca3[obfuscation['smokeClass']][obfuscation[_0x1f7e('0x33')]][obfuscation[_0x1f7e('0x2f')]][_0x1f7e('0x16')](_0x19211f => {
- if (!_0x19211f['particle']) return;
- _0x19211f['particle'][_0x1f7e('0x28')][_0x1f7e('0x2b')] = 0.1;
- });
- }
- };
- function GameInit(_0x307faf) {}
- function GameEnd(_0x3edc8a) {
- vars[_0x1f7e('0x15')] = null;
- vars[_0x1f7e('0x7')][_0x1f7e('0x8')] = null;
- }
- window[_0x1f7e('0x34')]([0x0], {
- 'webpack_inject': function(_0x14aa27, _0x320bda, _0x4a943c) {
- var _0x44ccbe = _0x4a943c('9b5f96fd')[obfuscation[_0x1f7e('0x35')]];
- var _0x91d968 = _0x44ccbe[_0x1f7e('0x36')][obfuscation[_0x1f7e('0x37')]];
- _0x44ccbe[_0x1f7e('0x36')][obfuscation['gameUpdate']] = function() {
- _0x91d968[_0x1f7e('0x38')](this, arguments);
- if (!initializedGameUpdateHooks) {
- initializedGameUpdateHooks = !![];
- InitializeGameUpdateHooks(this);
- }
- GameUpdate(this);
- };
- var _0x18d47e = _0x44ccbe[_0x1f7e('0x36')][obfuscation[_0x1f7e('0x39')]];
- _0x44ccbe[_0x1f7e('0x36')][obfuscation[_0x1f7e('0x39')]] = function(_0x396c1e, _0x361ad7) {
- if (vars[_0x1f7e('0x6')] && settings[_0x1f7e('0x3a')]) _0x361ad7['shootStart'] = !![];
- return _0x18d47e['call'](this, _0x396c1e, _0x361ad7);
- };
- var _0x2fd49e = _0x44ccbe['prototype'][obfuscation[_0x1f7e('0x3b')]];
- _0x44ccbe[_0x1f7e('0x36')][obfuscation[_0x1f7e('0x3b')]] = function() {
- _0x2fd49e[_0x1f7e('0x38')](this, arguments);
- GameInit(this);
- };
- var _0x3c37af = _0x44ccbe[_0x1f7e('0x36')][obfuscation['gameEndBase']];
- _0x44ccbe[_0x1f7e('0x36')][obfuscation[_0x1f7e('0x3c')]] = function() {
- _0x3c37af[_0x1f7e('0x38')](this, arguments);
- GameEnd(this);
- };
- }
- }, [_0x1f7e('0x3d')]);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement