This is a bit more complicated, since if you have raw memory this is not equal to normal DLL file that you have on your drive, since in order to run DLL you have to inject it, thus depending on what type of injection is it, there is need to "fix" such dumped DLL, and to do it, you would have to understand how windows loader is doing it, or how manual mapping is working, and this is not that simple thing. Thus If you really want to do it, I would rather start with basic things such as learn cpp, and then try to understand how manual map injection is working, after that "fixing" such DLL would make some sense. Also cheat might have some extra security, thus the thing you ask about might be very complex, in other words there is no point in that.