[Source] Angle changing bypass

1 Replies, 788 Views

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.
[Image: Vu4Z2r4.gif] 


(04-27-2021, 08:44 PM)Alioxa Wrote: 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:
ty



Possibly Related Threads…
Thread Author Replies Views Last Post
  [SOURCE] 2d radar based on Striekcarl's release Alioxa 13 3,718 05-28-2022, 08:22 AM
Last Post: pacifist668
  [Source] PUBG External & Internal Decrypt (Xenuine) Alioxa 19 2,898 05-28-2022, 08:20 AM
Last Post: pacifist668
  [Source] Bypass XE code integrity checks Alioxa 1 756 04-13-2022, 01:03 PM
Last Post: u1337



Users browsing this thread: 1 Guest(s)