Cheat Engine is open source. Think about what about it interests you most and check out the source for that part. There's also a forum on their main site if you have a specific question to ask