Skip to content

Commit

Permalink
fix for Fortnite 19.40 (guttir14#78)
Browse files Browse the repository at this point in the history
* Fixing for Fortnite v19.3 (CL: 19027703)

* fix for Fortnite 19.40
  • Loading branch information
LeleDerGrasshalmi authored Mar 1, 2022
1 parent 8c6c944 commit 3aa93f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dumper/engine.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,7 @@ struct {
jmp rax
*/
uint8 trampoline[] = { 0x48, 0x89, 0x5C, 0x24, 0x08, 0x57, 0x48, 0x83, 0xEC, 0x20, 0x89, 0xD3, 0x48, 0x89, 0xCF, 0x48, 0xB8, 0xEF, 0xBE, 0xAD, 0xDE, 0xEF, 0xBE, 0xAD, 0xDE, 0xFF, 0xE0 };
*(uint64*)(trampoline + 17) = (uint64)((uint8*)decryptAnsi + 0x2A); // https://i.imgur.com/zWtMDar.png
*(uint64*)(trampoline + 17) = (uint64)((uint8*)decryptAnsi + 0x4A); // https://i.imgur.com/zWtMDar.png
Decrypt_ANSI = (ansi_fn)VirtualAlloc(0, sizeof(trampoline), MEM_COMMIT, PAGE_EXECUTE_READWRITE);
if (Decrypt_ANSI) {
memcpy((void*)Decrypt_ANSI, trampoline, sizeof(trampoline));
Expand Down

0 comments on commit 3aa93f2

Please sign in to comment.