From 1a4041f7a966e2d57ada4891cf49766587d1627f Mon Sep 17 00:00:00 2001 From: a2x <45197573+a2x@users.noreply.github.com> Date: Thu, 12 Oct 2023 11:10:42 +1000 Subject: [PATCH] Fetch `dwGameRules` --- config.json | 10 ++++++++++ generated/offsets.cs | 3 ++- generated/offsets.hpp | 3 ++- generated/offsets.json | 1 + generated/offsets.rs | 3 ++- 5 files changed, 17 insertions(+), 3 deletions(-) diff --git a/config.json b/config.json index 4168a850..1de075a9 100644 --- a/config.json +++ b/config.json @@ -140,6 +140,16 @@ } ] }, + { + "name": "dwGameRules", + "module": "client.dll", + "pattern": "48 89 0D ? ? ? ? 8B 0D", + "operations": [ + { + "type": "ripRelative" + } + ] + }, { "name": "dwGlobalVars", "module": "client.dll", diff --git a/generated/offsets.cs b/generated/offsets.cs index 0f3eb63a..7e781675 100644 --- a/generated/offsets.cs +++ b/generated/offsets.cs @@ -1,5 +1,5 @@ // Created using https://github.com/a2x/cs2-dumper -// 2023-10-11 03:22:33.060043700 UTC +// 2023-10-12 01:09:26.709104200 UTC public static class client_dll { public const nint dwEntityList = 0x178A808; @@ -11,6 +11,7 @@ public static class client_dll { public const nint dwForceJump = 0x1692180; public const nint dwForceLeft = 0x1691FD0; public const nint dwForceRight = 0x1692060; + public const nint dwGameRules = 0x17E6548; public const nint dwGlobalVars = 0x168DD60; public const nint dwGlowManager = 0x17E5CC8; public const nint dwInterfaceLinkList = 0x1970D48; diff --git a/generated/offsets.hpp b/generated/offsets.hpp index 9e081fda..8a671d3c 100644 --- a/generated/offsets.hpp +++ b/generated/offsets.hpp @@ -3,7 +3,7 @@ #include // Created using https://github.com/a2x/cs2-dumper -// 2023-10-11 03:22:33.059568400 UTC +// 2023-10-12 01:09:26.708632200 UTC namespace client_dll { constexpr std::ptrdiff_t dwEntityList = 0x178A808; @@ -15,6 +15,7 @@ namespace client_dll { constexpr std::ptrdiff_t dwForceJump = 0x1692180; constexpr std::ptrdiff_t dwForceLeft = 0x1691FD0; constexpr std::ptrdiff_t dwForceRight = 0x1692060; + constexpr std::ptrdiff_t dwGameRules = 0x17E6548; constexpr std::ptrdiff_t dwGlobalVars = 0x168DD60; constexpr std::ptrdiff_t dwGlowManager = 0x17E5CC8; constexpr std::ptrdiff_t dwInterfaceLinkList = 0x1970D48; diff --git a/generated/offsets.json b/generated/offsets.json index 7cd5e68d..92b5bf27 100644 --- a/generated/offsets.json +++ b/generated/offsets.json @@ -9,6 +9,7 @@ "dwForceJump": 23667072, "dwForceLeft": 23666640, "dwForceRight": 23666784, + "dwGameRules": 25060680, "dwGlobalVars": 23649632, "dwGlowManager": 25058504, "dwInterfaceLinkList": 26676552, diff --git a/generated/offsets.rs b/generated/offsets.rs index 18b409da..03a3ae7c 100644 --- a/generated/offsets.rs +++ b/generated/offsets.rs @@ -1,7 +1,7 @@ #![allow(non_snake_case, non_upper_case_globals)] // Created using https://github.com/a2x/cs2-dumper -// 2023-10-11 03:22:33.060775500 UTC +// 2023-10-12 01:09:26.709828300 UTC pub mod client_dll { pub const dwEntityList: usize = 0x178A808; @@ -13,6 +13,7 @@ pub mod client_dll { pub const dwForceJump: usize = 0x1692180; pub const dwForceLeft: usize = 0x1691FD0; pub const dwForceRight: usize = 0x1692060; + pub const dwGameRules: usize = 0x17E6548; pub const dwGlobalVars: usize = 0x168DD60; pub const dwGlowManager: usize = 0x17E5CC8; pub const dwInterfaceLinkList: usize = 0x1970D48;