# 只执行原GetStat之后的客户端STA门/规则跳板;末端用明确STOP替身,不验证原getter或真实Move速度。 # Executes only the client STA gate/rule trampoline after the original GetStat; the end uses an explicit STOP stand-in, and neither the original getter nor the real Move speed is verified. import sys,struct from pathlib import Path from unicorn import Uc,UC_ARCH_ARM64,UC_MODE_ARM,UC_HOOK_CODE from unicorn.arm64_const import * b=Path(sys.argv[1]).read_bytes();u=Uc(UC_ARCH_ARM64,UC_MODE_ARM);u.mem_map(0,0x4000000);u.mem_write(0,b);u.mem_map(0x7000000,0x10000) UNIT=0x7001000;ctx={} def hook(u,a,n,d): if a in [0x4ac36c,0x4ac3f4]:ctx['target']=a;u.emu_stop() u.hook_add(UC_HOOK_CODE,hook);bad=0;n=0 for kind in [0,1,2,3,4,5,6,99]: for sta in [0,1,22016,0xffffffff]: ctx.clear();u.mem_write(UNIT,struct.pack('