From c45c562699f92132eff6b34d82b5a3a7e628cda6 Mon Sep 17 00:00:00 2001 From: a2x <45197573+a2x@users.noreply.github.com> Date: Sun, 21 Jan 2024 00:20:58 +1000 Subject: [PATCH] Fix `dwViewAngles` pattern --- config.json | 4 ++-- generated/offsets.cs | 4 ++-- generated/offsets.hpp | 4 ++-- generated/offsets.json | 2 +- generated/offsets.py | 4 ++-- generated/offsets.rs | 4 ++-- generated/offsets.yaml | 2 +- 7 files changed, 12 insertions(+), 12 deletions(-) diff --git a/config.json b/config.json index b26779c..a005421 100644 --- a/config.json +++ b/config.json @@ -325,7 +325,7 @@ { "name": "dwViewAngles", "module": "client.dll", - "pattern": "48 8B 0D ? ? ? ? E9 ? ? ? ? CC CC CC CC 40 55", + "pattern": "48 8B 0D ? ? ? ? E9 ? ? ? ? CC CC CC CC 48 C7 02", "operations": [ { "type": "rip" @@ -335,7 +335,7 @@ }, { "type": "add", - "value": 24896 + "value": 36656 } ] }, diff --git a/generated/offsets.cs b/generated/offsets.cs index 8d3c11f..31b13e5 100644 --- a/generated/offsets.cs +++ b/generated/offsets.cs @@ -1,6 +1,6 @@ /* * Created using https://github.com/a2x/cs2-dumper - * Sat, 20 Jan 2024 07:10:58 +0000 + * Sat, 20 Jan 2024 14:19:41 +0000 */ public static class client_dll { // client.dll @@ -25,7 +25,7 @@ public static class client_dll { // client.dll public const nint dwPrediction = 0x16C8E10; public const nint dwSensitivity = 0x181FA98; public const nint dwSensitivity_sensitivity = 0x40; - public const nint dwViewAngles = 0x1882140; + public const nint dwViewAngles = 0x1884F30; public const nint dwViewMatrix = 0x1820EA0; public const nint dwViewRender = 0x18216E8; } diff --git a/generated/offsets.hpp b/generated/offsets.hpp index 78c8370..2aa8203 100644 --- a/generated/offsets.hpp +++ b/generated/offsets.hpp @@ -1,6 +1,6 @@ /* * Created using https://github.com/a2x/cs2-dumper - * Sat, 20 Jan 2024 07:10:58 +0000 + * Sat, 20 Jan 2024 14:19:41 +0000 */ #pragma once @@ -29,7 +29,7 @@ namespace client_dll { // client.dll constexpr std::ptrdiff_t dwPrediction = 0x16C8E10; constexpr std::ptrdiff_t dwSensitivity = 0x181FA98; constexpr std::ptrdiff_t dwSensitivity_sensitivity = 0x40; - constexpr std::ptrdiff_t dwViewAngles = 0x1882140; + constexpr std::ptrdiff_t dwViewAngles = 0x1884F30; constexpr std::ptrdiff_t dwViewMatrix = 0x1820EA0; constexpr std::ptrdiff_t dwViewRender = 0x18216E8; } diff --git a/generated/offsets.json b/generated/offsets.json index fbeb95c..f160ea1 100644 --- a/generated/offsets.json +++ b/generated/offsets.json @@ -86,7 +86,7 @@ "comment": null }, "dwViewAngles": { - "value": 25698624, + "value": 25710384, "comment": null }, "dwViewMatrix": { diff --git a/generated/offsets.py b/generated/offsets.py index 5c449b5..897b2ec 100644 --- a/generated/offsets.py +++ b/generated/offsets.py @@ -1,6 +1,6 @@ ''' Created using https://github.com/a2x/cs2-dumper -Sat, 20 Jan 2024 07:10:58 +0000 +Sat, 20 Jan 2024 14:19:41 +0000 ''' class client_dll: # client.dll @@ -25,7 +25,7 @@ class client_dll: # client.dll dwPrediction = 0x16C8E10 dwSensitivity = 0x181FA98 dwSensitivity_sensitivity = 0x40 - dwViewAngles = 0x1882140 + dwViewAngles = 0x1884F30 dwViewMatrix = 0x1820EA0 dwViewRender = 0x18216E8 diff --git a/generated/offsets.rs b/generated/offsets.rs index 97f12f4..0447417 100644 --- a/generated/offsets.rs +++ b/generated/offsets.rs @@ -1,6 +1,6 @@ /* * Created using https://github.com/a2x/cs2-dumper - * Sat, 20 Jan 2024 07:10:58 +0000 + * Sat, 20 Jan 2024 14:19:41 +0000 */ #![allow(non_snake_case, non_upper_case_globals)] @@ -27,7 +27,7 @@ pub mod client_dll { // client.dll pub const dwPrediction: usize = 0x16C8E10; pub const dwSensitivity: usize = 0x181FA98; pub const dwSensitivity_sensitivity: usize = 0x40; - pub const dwViewAngles: usize = 0x1882140; + pub const dwViewAngles: usize = 0x1884F30; pub const dwViewMatrix: usize = 0x1820EA0; pub const dwViewRender: usize = 0x18216E8; } diff --git a/generated/offsets.yaml b/generated/offsets.yaml index 73e3106..a39b9fb 100644 --- a/generated/offsets.yaml +++ b/generated/offsets.yaml @@ -21,7 +21,7 @@ client_dll: # client.dll dwPrediction: 23891472 dwSensitivity: 25295512 dwSensitivity_sensitivity: 64 - dwViewAngles: 25698624 + dwViewAngles: 25710384 dwViewMatrix: 25300640 dwViewRender: 25302760 engine2_dll: # engine2.dll