Skip to content

Commit

Permalink
ChaosMod: GetGameBuild fix for 34XX (#3707)
Browse files Browse the repository at this point in the history
Tested on game builds 2944 and 3411
  • Loading branch information
holysnipz authored Jan 30, 2025
1 parent cb9e016 commit 75ddc53
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ChaosMod/Memory/Memory.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -297,11 +297,11 @@ namespace Memory
{
static auto gameBuild = []() -> std::string
{
auto handle = Memory::FindPattern("33 DB 38 1D ? ? ? ? 89 5C 24 38");
auto handle = Memory::FindPattern("80 3D ? ? ? ? 00 0F 57 C0 48");
if (!handle.IsValid())
return {};

std::string buildStr = handle.At(3).Into().Get<char>();
std::string buildStr = handle.At(1).Into().At(1).Get<char>();
if (buildStr.empty())
return {};

Expand Down

0 comments on commit 75ddc53

Please sign in to comment.