Unfortunately I do not know how to code programs. Cheat Engine Generated Trainers are easily reversible because all data from the CT/CETrainer files are text and are stored as plain text in those trainers., so that's a no go when you are talking about protection.