1v1.www

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

您需要先安裝使用者腳本管理器擴展,如 TampermonkeyGreasemonkeyViolentmonkey 之後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyUserscripts 後才能安裝該腳本。

你需要先安裝一款使用者腳本管理器擴展,比如 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);
};