auto_assemble
Apply or revert code-injection cheats (godmode, infinite ammo) by running Cheat Engine Auto Assembler scripts with enable/disable control.
Instructions
Run a Cheat Engine Auto Assembler script — the core of code-injection cheats (godmode, infinite ammo, etc.).
Pass enable=False to run the script's [DISABLE] section to revert.
Example godmode skeleton::
[ENABLE]
aobscanmodule(hook,game.exe,29 87 ?? ?? ?? ??) // sub [edi+x],eax
alloc(newmem,128,hook)
label(ret)
newmem:
// do nothing instead of subtracting health
jmp ret
hook:
jmp newmem
nop 2
ret:
[DISABLE]
hook:
db 29 87 ?? ?? ?? ??
dealloc(newmem)
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"script": "<script>"
},
"name": "auto_assemble"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| enable | No | ||
| script | Yes |