Greasy Fork is available in English.

AssaultBots Hack v2

Assault Bots hack script [ infinite ammo, rapid fire, no overheat, no recoil, godmode, unchain]

// ==UserScript==
// @name         AssaultBots Hack v2
// @version      0.00000000000.2
// @description  Assault Bots hack script [ infinite ammo, rapid fire, no overheat, no recoil, godmode, unchain]
// @author       nekocell
// @namespace    https://greasyfork.org/ja/users/762895-nekocell
// @match        https://games.crazygames.com/en_US/bot-machines/index.html
// @icon         https://www.google.com/s2/favicons?domain=crazygames.com
// @require      https://greasyfork.org/scripts/440816-wasm-patcher-v2/code/wasm_patcher_v2.js?version=1023576
// ==/UserScript==


!function(wasm) {
    const successLog = function(patchName) {
        console.log(`${patchName}`);
    };

    wasm.instantiateStreaming = async function (source, importObject) {
        successLog("HOOK")
        let bufferSource = null;

        if (source instanceof Promise) {
            const response = await source;
            bufferSource = await response.arrayBuffer();
        }
        else if (source instanceof Response) {
            bufferSource = await source.arrayBuffer();
        }

        const patcher = new WasmPatcher(bufferSource);

        patcher.aobPatch({
            scan: '21 1 23 E C 2 B 20 0 41 1 | 3A ? ? ? 41 0 24 9',
            code: [
                OP.drop,
                OP.i32.const, VAR.s32(0)
            ],
            onsuccess: () => successLog('unchain')
        });

        patcher.aobPatch({
            scan: '2 0 20 0 41 1 |',
            code: [
                OP.drop,
                OP.i32.const, VAR.s32(0)
            ],
            onsuccess: () => successLog('unchain')
        });

        patcher.aobPatch({
            scan: '2A 2 EC 1 [ 43 0 0 80 3F ] 92 38 2 EC 1',
            code: [ OP.f32.const, VAR.f32(0) ],
            onsuccess: () => successLog('no overheat')
        });

        patcher.aobPatch({
            scan: '2C ? ? ? D 1 20 0 20 0 28 ? ? ? [ 41 1 ] 6B 36 ? ? ?',
            code: [
                OP.i32.const, VAR.u32(0)
            ],
            onsuccess: () => successLog('infinite ammo')
        });

        patcher.aobPatch({
            scan: 'B 20 0 41 0 10 ? ? ? | 38 ? ? ? 40',
            code: [
                OP.drop,
                OP.f32.const, VAR.f32(0)
            ],
            onsuccess: () => successLog('rapid fire')
        });

        patcher.aobPatch({
            scan: '20 ? 41 D0 1 6A 22 ? 20 ? 29 2 0 | 37 2 0 20 ? 20 ? 28 2 8 36 2 8 20 ? 41 D0 1 6A',
            code: [
                OP.drop,
                OP.i64.const, VAR.u32(0)
            ],
            onsuccess: (codeIndex) => successLog('no recoil', codeIndex) //91885
        });

        patcher.aobPatch({
            scan: '5E 45 D 0 20 0 41 1 | 3A 0 ? ? B 2 40',
            code: [
                OP.drop,
                OP.i32.const, VAR.u32(0)
            ],
            onsuccess: (codeIndex) => successLog('sustainable shield (when finished shield time)', codeIndex)
        });

        patcher.aobPatch({
            scan: '20 ? 41 1 | 3A 0 ? ? B 20 ? 20 ? 29 ? ? ? 37 ? ?',
            code: [
                OP.drop,
                OP.i32.const, VAR.u32(0)
            ],
            onsuccess: (codeIndex) => successLog('sustainable shield (when move)', codeIndex)
        });

        patcher.aobPatch({
            scan: '20 ? 41 1 | 3A 0 ? ? B B 20 ? 28 2 18',
            code: [
                OP.drop,
                OP.i32.const, VAR.u32(0)
            ],
            onsuccess: (codeIndex) => successLog('sustainable shield (when fire)', codeIndex)
        });

        patcher.aobPatch({
            scan: '20 ? 41 1 | 3A ? ? ? B B 41 ? ? ? ? 28 ? ? 28 ? ?',
            code: [
                OP.drop,
                OP.i32.const, VAR.u32(0)
            ],
            onsuccess: (codeIndex) => successLog('sustainable shield (when move [heavy bot])', codeIndex)
        });

        patcher.aobPatch({
            scan: '5E 4 40 20 0 41 1 | 3A ? ? ? B B',
            code: [
                OP.drop,
                OP.i32.const, VAR.u32(0)
            ],
            onsuccess: (codeIndex) => successLog('sustainable shield (when jump)', codeIndex)
        });

        patcher.aobPatch({
            scan: '20 ? 41 1 | 3A ? ? ? 41 ? ? ? ? 28 ? ? 28 ? ? 28 ? ?',
            code: [
                OP.drop,
                OP.i32.const, VAR.u32(0)
            ],
            onsuccess: (codeIndex) => successLog('sustainable shield (when use attachment)', codeIndex)
        });

        const newBuffer = patcher.patch();

        const result = await wasm.instantiate(newBuffer, importObject);

        return result;
    };
}(WebAssembly);