use minhook library instead of CPatch