#1
Today i wanna show how PUBG developers pooped their pants while trying to hide new one peace of code.
While I was reversing this game I found something about how they check actor angles.
So basically I've notice they inlined SetControlRotation function with angles checks.

Some time later I tried to use it in my cheat and it works. I just used pseudocode from IDA to implement my "Angle writing" function. And here we are (easy to implement external version).



[Image: e2K9BiW.png]

code:

Hidden Content


You must register or login to view this content.

[Image: c7lYpMD.png]

The old Version

Code:
/*  UE4 Version  */
void AController::SetControlRotation(const FRotator& NewRotation)
{
    if (!ControlRotation.Equals(NewRotation, 1e-3f))
    {
        ControlRotation = NewRotation;

        if (RootComponent && RootComponent->IsUsingAbsoluteRotation())
        {
            RootComponent->SetWorldRotation(GetControlRotation());
        }
    }
}


The New Version 

Hidden Content


You must register or login to view this content.
Apply Today To be a Partner With GamingForum.to