Skip to content

Commit

Permalink
Update nethook signatures
Browse files Browse the repository at this point in the history
  • Loading branch information
flameoflust69 committed Jun 24, 2024
1 parent 88e62ee commit f3b0e9c
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions Resources/NetHook2/NetHook2/net.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,11 @@ CNet::CNet() noexcept
BBuildAndAsyncSendFrameFn pBuildFunc = nullptr;
const bool bFoundBuildFunc = steamClientScan.FindFunction(
#ifdef X64BITS
"\x48\x8B\xC4\x55\x53\x48\x8D\x68\xA1\x48\x81\xEC\xCC\xCC\xCC\xCC\x48\x89\x70\x10\x33",
"xxxxxxxxxxxx????xxxxx",
"\x48\x8B\xC4\x55\x48\x8D\x68\x00\x48\x81\xEC\x00\x00\x00\x00\x48\x89\x70\x00\x49\x8B\xF0\x48\x89\x78\x00\x4C\x89\x60",
"xxxxxxx?xxx????xxx?xxxxxx?xxx",
#else
"\x55\x8B\xEC\x83\xEC\x70\xA1\x2A\x2A\x2A\x2A\x53\x8B\xD9",
"xxxxxxx????xxx",
"\x55\x8B\xEC\x83\xEC\x00\xA1\x00\x00\x00\x00\x53\x8B\xD9\x89\x5D\x00\x83\x38\x00\x75\x00\x33\xC0\xEB\x00\x8D\x45\x00\x50\x6A\x00\x68\x00\x00\x00\x00\xFF\x15\x00\x00\x00\x00\x83\xC4\x00\x83\x7B\x00\x00\x89\x45\x00\x74",
"xxxxx?x????xxxxx?xx?x?xxx?xx?xx?x????xx????xx?xx??xx?x",
#endif
(void**)&pBuildFunc
);
Expand All @@ -45,8 +45,8 @@ CNet::CNet() noexcept
"\x48\x8B\xC4\x55\x48\x8D\xA8\xCC\xCC\xCC\xCC\x48\x81\xEC\xCC\xCC\xCC\xCC\x48\x89\x58\x08\x48\x8B",
"xxxxxxx????xxx????xxxxxx",
#else
"\x55\x8B\xEC\x81\xEC\x00\x00\x00\x00\xA1\x00\x00\x00\x00\x56\x57\x8B\xF9",
"xxxxx????x????xxxx",
"\x55\x8B\xEC\x81\xEC\x00\x04\x00\x00\xA1\x00\x00\x00\x00\x56\x57\x8B\xF9",
"xxxxx?x??x????xxxx",
#endif
(void**)&pRecvPktFunc
);
Expand Down

0 comments on commit f3b0e9c

Please sign in to comment.