Fetch `dwGameRules`

This commit is contained in:
a2x 2023-10-12 11:10:42 +10:00
parent 5aa6df73f8
commit 1a4041f7a9
5 changed files with 17 additions and 3 deletions

View File

@ -140,6 +140,16 @@
}
]
},
{
"name": "dwGameRules",
"module": "client.dll",
"pattern": "48 89 0D ? ? ? ? 8B 0D",
"operations": [
{
"type": "ripRelative"
}
]
},
{
"name": "dwGlobalVars",
"module": "client.dll",

View File

@ -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;

View File

@ -3,7 +3,7 @@
#include <cstddef>
// 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;

View File

@ -9,6 +9,7 @@
"dwForceJump": 23667072,
"dwForceLeft": 23666640,
"dwForceRight": 23666784,
"dwGameRules": 25060680,
"dwGlobalVars": 23649632,
"dwGlowManager": 25058504,
"dwInterfaceLinkList": 26676552,

View File

@ -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;