Is This How They Hack Your Game?
Transcript
Machine-transcribed by YouTube. Expect errors in names, commands and version numbers.
So, I'm curious as to what this function is about. We hypothesize that this might be a function that installs a hook. So, let's see. Follow this jump. [music] And we can see an allocation. This is always a good sign. These two are the same. Let's follow it. This doesn't specifically jump out to me as anything [music] interesting. So, let's go back. That's the same point. So, let's follow this. And here we go. So, we see a whole bunch of things here. But, one thing that jumps out to me are these [music] two comparisons, right? We have these comparisons against five. So, this is probably the function that actually installs the hook. Now, [music] probably somewhere within this function we are going to be calling Virtual Protect. And if we follow this jump, >> [music] >> and we can see that Virtual Protect is actually called here. This is just some classic this indexing. That's fine. And this class is actually using this instance of the class to actually keep track of the old protection. And we're probably going to be seeing this later on in the function. So, let's actually go back. Let's actually call this change protection.