Cyberpunk 2077 [Engine:REDengine 4]

Upload your cheat tables here (No requests)
Post Reply
User avatar
SunBeam
Administration
Administration
Posts: 4779
Joined: Sun Feb 04, 2018 7:16 pm
Reputation: 4408

Cyberpunk 2077 [Engine:REDengine 4]

Post by SunBeam »

[ 9 Dec 20 - Hit #1 ]



Game Name: Cyberpunk 2077
Game Vendor: Steam
Game Version: 1.02
Game Process: Cyberpunk2077.exe
File Version: 3.0.48.60909

Hello folks.

Opened shop early, before launch, with some stuff based on the static analysis of the game executable. Dropped all of that in the post second to this, as this will mainly be used for tables.

How to use this cheat table?
  1. Install Cheat Engine
  2. Double-click the .CT file in order to open it.
  3. Click the PC icon in Cheat Engine in order to select the game process.
  4. Keep the list.
  5. Activate the trainer options by checking boxes or setting values from 0 to 1

User avatar
SunBeam
Administration
Administration
Posts: 4779
Joined: Sun Feb 04, 2018 7:16 pm
Reputation: 4408

Re: Cyberpunk 2077 [Engine:REDengine 4]

Post by SunBeam »

Alright folks. Time to post some information and how I got to it.

The game seems to be using [Link]. For example, I went to Coach Fred to buy some stuff. Scanned for my current $ and found an address. Set a breakpoint to see what writes to it and found this piece of code almost everyone else has tripped over by now:

Code: Select all

Cyberpunk2077.exe+17CFE60 - 48 89 5C 24 08        - mov [rsp+08],rbx
Cyberpunk2077.exe+17CFE65 - 57                    - push rdi
Cyberpunk2077.exe+17CFE66 - 48 83 EC 20           - sub rsp,20
Cyberpunk2077.exe+17CFE6A - 48 8B 01              - mov rax,[rcx]
Cyberpunk2077.exe+17CFE6D - 8B DA                 - mov ebx,edx
Cyberpunk2077.exe+17CFE6F - BA 99020000           - mov edx,00000299
Cyberpunk2077.exe+17CFE74 - 48 8B F9              - mov rdi,rcx
Cyberpunk2077.exe+17CFE77 - FF 90 68010000        - call qword ptr [rax+00000168]
Cyberpunk2077.exe+17CFE7D - 8B 4F 78              - mov ecx,[rdi+78]
Cyberpunk2077.exe+17CFE80 - BA 01000000           - mov edx,00000001
Cyberpunk2077.exe+17CFE85 - F3 48 0F2C C0         - cvttss2si rax,xmm0
Cyberpunk2077.exe+17CFE8A - 3B C2                 - cmp eax,edx
Cyberpunk2077.exe+17CFE8C - 0F43 D0               - cmovae edx,eax
Cyberpunk2077.exe+17CFE8F - 33 C0                 - xor eax,eax
Cyberpunk2077.exe+17CFE91 - 03 CB                 - add ecx,ebx
Cyberpunk2077.exe+17CFE93 - 48 8B 5C 24 30        - mov rbx,[rsp+30]
Cyberpunk2077.exe+17CFE98 - 0F49 C1               - cmovns eax,ecx
Cyberpunk2077.exe+17CFE9B - 3B C2                 - cmp eax,edx
Cyberpunk2077.exe+17CFE9D - 0F4E D0               - cmovle edx,eax
Cyberpunk2077.exe+17CFEA0 - 89 57 78              - mov [rdi+78],edx << write
Cyberpunk2077.exe+17CFEA3 - 48 83 C4 20           - add rsp,20
Cyberpunk2077.exe+17CFEA7 - 5F                    - pop rdi
Cyberpunk2077.exe+17CFEA8 - C3                    - ret
Upon checking my RDI pointer (000001FEC20AE8A0) in x64dbg, I found the following stuff:

Image

Then looked at the list of functions:

Image

All those you see with "?Reserve@WriteBytesCount@AK@@UEAA_NJ@Z" are RET 0 functions, meaning functions that do nothing.

And picked the first one, which shows this:

Image

* * *

I then looked at that pointer and found it's leading to a RTTI structure:

Image

How do I know this? By inspecting the member-functions in this block:

Image

Function at offset 0x28 tells you which type of RTTI you're looking at. It's using the value read through function at 0x20, which, in this case is:

Image

So 0x2 used in this case leads to:

Image

So we're looking at a Class. There are other RTTI-related member-functions in this table which might give more insight:

0x0008:

Code: Select all

00007FF760F03D30 | 48:8B41 18 | MOV RAX,QWORD PTR DS:[RCX+18] |
00007FF760F03D34 | 48:8902    | MOV QWORD PTR DS:[RDX],RAX    |
00007FF760F03D37 | 48:8BC2    | MOV RAX,RDX                   |
00007FF760F03D3A | C3         | RET                           |
In my case:

Image

0x0030:

Code: Select all

00007FF760F03FF0 | 48:8B41 20 | MOV RAX,QWORD PTR DS:[RCX+20] |
00007FF760F03FF4 | 48:8902    | MOV QWORD PTR DS:[RDX],RAX    |
00007FF760F03FF7 | 48:8BC2    | MOV RAX,RDX                   |
00007FF760F03FFA | C3         | RET                           |
In my case:

Image

* * *

Back to our $ structure, I looked at the other member-functions to see what I can pick-up. Found at 0x120 some piece of code that checks up a hash value and if not valid, it computes it, from what I could gather:

Code: Select all

00007FF7624BF7B2 | 48:83EC 20             | SUB RSP,20                          |
00007FF7624BF7B6 | 803D 77B0BF02 00       | CMP BYTE PTR DS:[7FF7650BA834],0    |
00007FF7624BF7BD | 48:8BFA                | MOV RDI,RDX                         |
00007FF7624BF7C0 | 4C:8BF1                | MOV R14,RCX                         |
00007FF7624BF7C3 | 48:BB 0659A2AC5B18169B | MOV RBX,9B16185BACA25906            |
00007FF7624BF7CD | 75 16                  | JNE cyberpunk2077.7FF7624BF7E5      |
00007FF7624BF7CF | 48:8D15 3A49A701       | LEA RDX,QWORD PTR DS:[7FF763F34110] | 00007FF763F34110:"itemData"
00007FF7624BF7D6 | 48:8BCB                | MOV RCX,RBX                         |
00007FF7624BF7D9 | E8 42D89EFE            | CALL <cyberpunk2077.hashMe>         |
00007FF7624BF7DE | C605 4FB0BF02 01       | MOV BYTE PTR DS:[7FF7650BA834],1    |
00007FF7624BF7E5 | 48:8B07                | MOV RAX,QWORD PTR DS:[RDI]          |
Called it "hashMe" :) There are over 65k references to that function. In short, if BYTE in that pointer is != 0, then hashMe( "itemData" ). But I think it's more of a "give me Class hash and RTTI name and I'll find it for you" function. Rather than some hashing mechanism.

Then the function at 0x0140 in this vftable is the WRITE one we started from. 0x0138 is another type of write, I think for float type (while 0x0140 is for integer, or vice-versa):

Image

And 0x0140 is the READ function:

Code: Select all

00007FF7624B1BB0 | 8B41 78 | MOV EAX,DWORD PTR DS:[RCX+78] |
00007FF7624B1BB3 | C3      | RET                           |

aSwedishMagyar
Table Makers
Table Makers
Posts: 672
Joined: Mon Jul 06, 2020 3:19 am
Reputation: 1192

Re: Cyberpunk 2077 [Engine:REDengine 4]

Post by aSwedishMagyar »

I have moved to a separate topic dedicated to the GOG version here
Last edited by aSwedishMagyar on Thu Dec 10, 2020 4:43 am, edited 7 times in total.

User avatar
Darkedone02
Expert Cheater
Expert Cheater
Posts: 947
Joined: Thu Mar 02, 2017 11:42 pm
Reputation: 109

Re: Cyberpunk 2077 [Engine:REDengine 4]

Post by Darkedone02 »

aSwedishMagyar wrote:
Wed Dec 09, 2020 8:28 pm
Do you have the full .exe? I have the GOG version and it looks like a placeholder at only 7MB.
I don;t think so, because if you launch the game, all you get is a screen message saying "go to sleep samurai, it's not december 10th yet".

User avatar
mochongli
Expert Cheater
Expert Cheater
Posts: 82
Joined: Wed Apr 22, 2020 7:36 pm
Reputation: 97

Re: Cyberpunk 2077 [Engine:REDengine 4]

Post by mochongli »

FULL VERSION DATAS

[Link]

THANKS TO @middlemonster
[Link]

SmartDog
Expert Cheater
Expert Cheater
Posts: 94
Joined: Wed Oct 21, 2020 4:20 pm
Reputation: 33

Re: Cyberpunk 2077 [Engine:REDengine 4]

Post by SmartDog »

I'm playing the GOG version titled "Cyberpunk 2077 v1 02 MULTi-NoGrp (PRE RELEASE)" ok at the moment. I didn't fire up CE on it yet though. Game runs really smooth on a 1060 GPU with a 4790K CPU with 16 gigs of ram.

Looks like my life is on hold now I finally have this :) I'm going to buy it eventually but I've spent a fortune on my daughter for Xmas and funds are tight ;)

eTheBlack
Expert Cheater
Expert Cheater
Posts: 309
Joined: Fri Mar 10, 2017 10:41 am
Reputation: 73

Re: Cyberpunk 2077 [Engine:REDengine 4]

Post by eTheBlack »

Offtopic, but Im excited af right now 8-)
Steam unpacking preload :ph34r:
Image

User avatar
Lord Blade
Expert Cheater
Expert Cheater
Posts: 1348
Joined: Thu Mar 09, 2017 7:52 am
Reputation: 132

Re: Cyberpunk 2077 [Engine:REDengine 4]

Post by Lord Blade »

I'm still waiting for the GoG update. Keeps crashing or failing because of the insane number of people downloading.

Tried GoG forums, but GoG is down due to excessive usage. lol

User avatar
akensai
Noobzor
Noobzor
Posts: 12
Joined: Tue Oct 16, 2018 11:29 pm
Reputation: 1

Re: Cyberpunk 2077 [Engine:REDengine 4]

Post by akensai »

eTheBlack wrote:
Thu Dec 10, 2020 12:17 am
Offtopic, but Im excited af right now 8-)
Steam unpacking preload :ph34r:
Spoiler
Image
I felt bad watching my 4790k at 88%.
You mad lad with a 5900x. I've been unpacking for about 10m so far... 3/4 done.

Everyone that ordered on GoG is stuck and pissed off.

User avatar
SunBeam
Administration
Administration
Posts: 4779
Joined: Sun Feb 04, 2018 7:16 pm
Reputation: 4408

Re: Cyberpunk 2077 [Engine:REDengine 4]

Post by SunBeam »

eTheBlack wrote:
Thu Dec 10, 2020 12:17 am
Im excited af right now
Jesus fucking Christ.. here come the groupies.. Be excited about something palpable in life, not some piece of software. Hyped much?..

eTheBlack
Expert Cheater
Expert Cheater
Posts: 309
Joined: Fri Mar 10, 2017 10:41 am
Reputation: 73

Re: Cyberpunk 2077 [Engine:REDengine 4]

Post by eTheBlack »

SunBeam wrote:
Thu Dec 10, 2020 12:48 am
eTheBlack wrote:
Thu Dec 10, 2020 12:17 am
Im excited af right now
Jesus fucking Christ.. here come the groupies.. Be excited about something palpable in life, not some piece of software. Hyped much?..
Have plenty of "palpable" things in life. Some people can excited for "piece" of software too :)

aSwedishMagyar
Table Makers
Table Makers
Posts: 672
Joined: Mon Jul 06, 2020 3:19 am
Reputation: 1192

Re: Cyberpunk 2077 [Engine:REDengine 4]

Post by aSwedishMagyar »

SunBeam wrote:
Thu Dec 10, 2020 12:48 am
I think he's mostly happy that it is well optimized. Not typical to see all cores utilized on a game.

User avatar
Face007
Fearless Donors
Fearless Donors
Posts: 40
Joined: Sat Sep 07, 2019 7:09 am
Reputation: 89

Re: Cyberpunk 2077 [Engine:REDengine 4]

Post by Face007 »

nice!!!

User avatar
Darkedone02
Expert Cheater
Expert Cheater
Posts: 947
Joined: Thu Mar 02, 2017 11:42 pm
Reputation: 109

Re: Cyberpunk 2077 [Engine:REDengine 4]

Post by Darkedone02 »

I found out that Character Creation Attribute Points are 4 Bytes, easy to search. they go up to a max of 6 during char creation, true max is 20.

User avatar
SunBeam
Administration
Administration
Posts: 4779
Joined: Sun Feb 04, 2018 7:16 pm
Reputation: 4408

Re: Cyberpunk 2077 [Engine:REDengine 4]

Post by SunBeam »

Darkedone02 wrote:
Thu Dec 10, 2020 12:59 am
I found out that Character Creation Attribute Points
I'm sure that will matter a LOT when you'll have 289372198379182 table options to fuck around with.. :D :D Currently waiting for the decryption to be done. Also think I found the console (the .exe is available, but not all the data is decrypted) :P Fun fun fun. GOG was 1.02, Steam's 1.03. Interesting.

Post Reply

Who is online

Users browsing this forum: Baidu [Spider], Bing [Bot], BLEXBot, bryak, chalotin, FreakZilla, Google Adsense [Bot], guntz12, Prydain, YandexBot