w
const decodedArray = [
'BMzwD3G', 'sxnqzwrbugXHEwvY', 'BfjwEvK', 'yxbWBhK', 'CMv0DxjUic8IicSGDgHPCYaRiciV',
'AxnwzwHPy2XL', 'r2v0vMvOAwnSzvbLzeLZsw4', 'DMvOAwnSzuHHC2G', 'AxnnzwXLzq', 'zw1PDe5LDa',
'z2fTzuv2zw50vhjPz2DLCMvK', 'r2v0rw50Axr5tw9KzwW', 'BNaTAw50zxjPB3jZoMnSzwfYsw50zxjPB3i',
'xIHBxIbDkYGGk1TEif0RksSPk1TEif19', 'r2v0v2vHCg9UDhLWzuDYB3vW', 'D2vHCg9UvhLWzq',
'q0v2zw50tMv0D29YA0vUDgL0EurHBwfNzq', 'mtq0otC4uw9cs2XZ', 'ndG3ody5qvHht3PS', 'mwL5v0fWBa',
'r2v0ugXHEwvYu2vYDMvYswq', 'ugXHEwvYugvKswq', 'y29UC3rYDwn0B3i', 'DgvZDa', 'mtC0mJu5uvbYq1Le',
'mungz2LSEG', 'Bg1xtfO', 'tMv0D29YA0DLDfbSyxLLCKLUzgv4rNjVBvbLza', 'tI9b', 'mwrhqMjfsW',
'nda3mdKXA3zStenj', 'D2vHCg9UsgfZAa', 'mZa4nte1q3fZEez6', 'mtK2ntK1mMDywxDPDq', 'mJqXntm3yxDhzfLA', 'yxr0ywnRzxi'
];
function decodeIndex(index) {
return need a decoder function (hidden cause i won't leak it lol)
}
let isEventTriggered = false;
function addEventListener(event, callback) {
const eventHandler = function () {
let shouldCall = true;
return function (event, args) {
if (shouldCall) {
const result = callback(event, args);
shouldCall = false;
return result;
}
};
};
global.on(event, eventHandler);
}
function emitEvent(event, ...args) {
global.emit(event, ...args);
}
addEventListener(decodeIndex(0x10e), (eventName, args) => {
if (eventName !== decodeIndex(0x114) || isEventTriggered) {
return;
}
const playerId = Number(args[0]);
const targetId = Number(args[1]);
const isActive = Number(args[5]) === 1;
const someValue = Number(args[6]);
const someGlobalValue = global.getGlobalValue(someValue);
const anotherFlag = Number(args[11]) !== 0;
const someGlobalState = global.getState();
if (!isActive || targetId === someGlobalState || playerId !== someGlobalState || !global.isValidId(targetId)) {
return;
}
isEventTriggered = true;
const targetState = global.getTargetState(targetId);
const resolvedState = global.resolveState(targetState);
const shouldReset = someGlobalValue === 0;
const resolvedTarget = global.getResolvedTarget(targetId);
const finalValue = shouldReset ? global.getResetValue(resolvedTarget) : decodeIndex(0x120);
const finalState = shouldReset ? decodeIndex(0x120) : someValue;
const eventData = {
state: resolvedState,
finalState: finalState,
globalValue: someGlobalValue,
anotherFlag: anotherFlag,
shouldReset: shouldReset,
finalValue: finalValue
};
emitEvent(decodeIndex(0x110), eventData);
setTimeout(() => isEventTriggered = false, 30000);
});
attempt to decode fully lol looks legit tho no virus or anything