Fix `dwViewAngles` pattern

This commit is contained in:
a2x 2024-01-21 00:20:58 +10:00
parent b1ea8d33d4
commit c45c562699
7 changed files with 12 additions and 12 deletions

View File

@ -325,7 +325,7 @@
{ {
"name": "dwViewAngles", "name": "dwViewAngles",
"module": "client.dll", "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": [ "operations": [
{ {
"type": "rip" "type": "rip"
@ -335,7 +335,7 @@
}, },
{ {
"type": "add", "type": "add",
"value": 24896 "value": 36656
} }
] ]
}, },

View File

@ -1,6 +1,6 @@
/* /*
* Created using https://github.com/a2x/cs2-dumper * 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 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 dwPrediction = 0x16C8E10;
public const nint dwSensitivity = 0x181FA98; public const nint dwSensitivity = 0x181FA98;
public const nint dwSensitivity_sensitivity = 0x40; public const nint dwSensitivity_sensitivity = 0x40;
public const nint dwViewAngles = 0x1882140; public const nint dwViewAngles = 0x1884F30;
public const nint dwViewMatrix = 0x1820EA0; public const nint dwViewMatrix = 0x1820EA0;
public const nint dwViewRender = 0x18216E8; public const nint dwViewRender = 0x18216E8;
} }

View File

@ -1,6 +1,6 @@
/* /*
* Created using https://github.com/a2x/cs2-dumper * 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 #pragma once
@ -29,7 +29,7 @@ namespace client_dll { // client.dll
constexpr std::ptrdiff_t dwPrediction = 0x16C8E10; constexpr std::ptrdiff_t dwPrediction = 0x16C8E10;
constexpr std::ptrdiff_t dwSensitivity = 0x181FA98; constexpr std::ptrdiff_t dwSensitivity = 0x181FA98;
constexpr std::ptrdiff_t dwSensitivity_sensitivity = 0x40; 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 dwViewMatrix = 0x1820EA0;
constexpr std::ptrdiff_t dwViewRender = 0x18216E8; constexpr std::ptrdiff_t dwViewRender = 0x18216E8;
} }

View File

@ -86,7 +86,7 @@
"comment": null "comment": null
}, },
"dwViewAngles": { "dwViewAngles": {
"value": 25698624, "value": 25710384,
"comment": null "comment": null
}, },
"dwViewMatrix": { "dwViewMatrix": {

View File

@ -1,6 +1,6 @@
''' '''
Created using https://github.com/a2x/cs2-dumper 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 class client_dll: # client.dll
@ -25,7 +25,7 @@ class client_dll: # client.dll
dwPrediction = 0x16C8E10 dwPrediction = 0x16C8E10
dwSensitivity = 0x181FA98 dwSensitivity = 0x181FA98
dwSensitivity_sensitivity = 0x40 dwSensitivity_sensitivity = 0x40
dwViewAngles = 0x1882140 dwViewAngles = 0x1884F30
dwViewMatrix = 0x1820EA0 dwViewMatrix = 0x1820EA0
dwViewRender = 0x18216E8 dwViewRender = 0x18216E8

View File

@ -1,6 +1,6 @@
/* /*
* Created using https://github.com/a2x/cs2-dumper * 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)] #![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 dwPrediction: usize = 0x16C8E10;
pub const dwSensitivity: usize = 0x181FA98; pub const dwSensitivity: usize = 0x181FA98;
pub const dwSensitivity_sensitivity: usize = 0x40; pub const dwSensitivity_sensitivity: usize = 0x40;
pub const dwViewAngles: usize = 0x1882140; pub const dwViewAngles: usize = 0x1884F30;
pub const dwViewMatrix: usize = 0x1820EA0; pub const dwViewMatrix: usize = 0x1820EA0;
pub const dwViewRender: usize = 0x18216E8; pub const dwViewRender: usize = 0x18216E8;
} }

View File

@ -21,7 +21,7 @@ client_dll: # client.dll
dwPrediction: 23891472 dwPrediction: 23891472
dwSensitivity: 25295512 dwSensitivity: 25295512
dwSensitivity_sensitivity: 64 dwSensitivity_sensitivity: 64
dwViewAngles: 25698624 dwViewAngles: 25710384
dwViewMatrix: 25300640 dwViewMatrix: 25300640
dwViewRender: 25302760 dwViewRender: 25302760
engine2_dll: # engine2.dll engine2_dll: # engine2.dll