experimental/ai_gap.py

Download file

Release 2026-11-04-r2 · SHA256 3827ce1d149e2723c7f958c73d91d5641c6aff0a298ba80994b66ff735bed7f8 · Click a line number for a direct link.

1"""Guarded Hard-only defender containment and slot protection."""2ORIGIN=0x2DC00034def install(data,assemble,patch):5    code=assemble('ai_gap',ORIGIN)6    assert len(code)<=0x280,'defensive gap overlaps keeper-pass module at2DC280'7    patch(ORIGIN,b'\xff'*len(code),code)8    patch(0xCF8A,bytes.fromhex('207c0000e59461003436'),b'\x4e\xb9'+ORIGIN.to_bytes(4,'big')+bytes.fromhex('4e714e71'))9