1v1.www

1v1.LOL hack script - infinite ammo, infinite armor, rapid fire

您需要先安装一个扩展,例如 篡改猴Greasemonkey暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴Userscripts ,之后才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。

您需要先安装用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

作者
رئيس كلان King
日安装量
0
总安装量
13,489
评分
0 0 1
版本
0.1
创建于
2022-01-11
更新于
2022-01-11
大小
1.8 KB
许可证
暂无
适用于

// ==UserScript==
// @name 1v1.www
// @version 0.1
// @description 1v1.LOL hack script - infinite ammo, infinite armor, rapid fire
// @author ;)
// @namespace https://greasyfork.org/ja/users/762895-nekocell
// @match https://1v1.lol/
// @icon https://www.google.com/s2/favicons?domain=1v1.lol
// @connect raw.githubusercontent.com
// @require https://greasyfork.org/scripts/431787-gm-fetch-nekocell/code/GM_fetch%20-%20nekocell.js?version=966477
// @require https://greasyfork.org/scripts/431788-fixedwailloader/code/FixedWailLoader.js?version=966480
// @require https://greasyfork.org/scripts/431845-nekoutil/code/NekoUtil.js?version=966813
// @grant GM_xmlhttpRequest
// ==/UserScript==

const wasm = WebAssembly;

const oldInstantiate = wasm.instantiate;

wasm.instantiate = async function(bufferSource, importObject) {
console.log("1v1.www : WebAssembly.instantiate() intercepted!!");

await FixedWailLoader.load();

const wail = new WailParser(bufferSource);

const infiniteAmmoFuncIndex = wail.getFunctionIndex(36865);
const infiniteArmorFuncIndex = wail.getFunctionIndex(36774);
const rapidFireFuncIndex = wail.getFunctionIndex(36902);

wail.addCodeElementParser(infiniteAmmoFuncIndex, param => {
return param.bytes.replace([40, 2, 32, 65, 1, 107, 54, 2, 32], [40, 2, 32, 65, 1, 26, 54, 2, 32]);
});

wail.addCodeElementParser(infiniteArmorFuncIndex, param => {
return param.bytes.replace([40, 2, 104, 32, 1, 107, 54, 2, 104], [40, 2, 104, 32, 1, 26, 54, 2, 104]);
});

wail.addCodeElementParser(rapidFireFuncIndex, param => {
return param.bytes.replace([42, 2, 28, 56, 2, 16], [42, 2, 28, 26, 67, 0, 0, 0, 0, 56, 2, 16])
});

wail.load(bufferSource);
wail.parse();

return oldInstantiate(wail.write(), importObject);
};