Update `dwLocalPlayerPawn` offset

This commit is contained in:
a2x 2024-08-15 10:47:26 +10:00
parent a4f60ea9ce
commit f84fb77ad6
5 changed files with 8 additions and 8 deletions

View File

@ -1,5 +1,5 @@
// Generated using https://github.com/a2x/cs2-dumper
// 2024-08-15 00:27:06.034027100 UTC
// 2024-08-15 00:46:46.997594900 UTC
namespace CS2Dumper.Offsets {
// Module: client.dll
@ -12,7 +12,7 @@ namespace CS2Dumper.Offsets {
public const nint dwGlobalVars = 0x17C8708;
public const nint dwGlowManager = 0x19C6560;
public const nint dwLocalPlayerController = 0x19B91A8;
public const nint dwLocalPlayerPawn = 0x17D47C8;
public const nint dwLocalPlayerPawn = 0x17D47E0;
public const nint dwPlantedC4 = 0x19D0018;
public const nint dwPrediction = 0x17D4680;
public const nint dwSensitivity = 0x19C7B18;

View File

@ -1,5 +1,5 @@
// Generated using https://github.com/a2x/cs2-dumper
// 2024-08-15 00:27:06.034027100 UTC
// 2024-08-15 00:46:46.997594900 UTC
#pragma once
@ -17,7 +17,7 @@ namespace cs2_dumper {
constexpr std::ptrdiff_t dwGlobalVars = 0x17C8708;
constexpr std::ptrdiff_t dwGlowManager = 0x19C6560;
constexpr std::ptrdiff_t dwLocalPlayerController = 0x19B91A8;
constexpr std::ptrdiff_t dwLocalPlayerPawn = 0x17D47C8;
constexpr std::ptrdiff_t dwLocalPlayerPawn = 0x17D47E0;
constexpr std::ptrdiff_t dwPlantedC4 = 0x19D0018;
constexpr std::ptrdiff_t dwPrediction = 0x17D4680;
constexpr std::ptrdiff_t dwSensitivity = 0x19C7B18;

View File

@ -8,7 +8,7 @@
"dwGlobalVars": 24938248,
"dwGlowManager": 27026784,
"dwLocalPlayerController": 26972584,
"dwLocalPlayerPawn": 24987592,
"dwLocalPlayerPawn": 24987616,
"dwPlantedC4": 27066392,
"dwPrediction": 24987264,
"dwSensitivity": 27032344,

View File

@ -1,5 +1,5 @@
// Generated using https://github.com/a2x/cs2-dumper
// 2024-08-15 00:27:06.034027100 UTC
// 2024-08-15 00:46:46.997594900 UTC
#![allow(non_upper_case_globals, unused)]
@ -15,7 +15,7 @@ pub mod cs2_dumper {
pub const dwGlobalVars: usize = 0x17C8708;
pub const dwGlowManager: usize = 0x19C6560;
pub const dwLocalPlayerController: usize = 0x19B91A8;
pub const dwLocalPlayerPawn: usize = 0x17D47C8;
pub const dwLocalPlayerPawn: usize = 0x17D47E0;
pub const dwPlantedC4: usize = 0x19D0018;
pub const dwPrediction: usize = 0x17D4680;
pub const dwSensitivity: usize = 0x19C7B18;

View File

@ -88,7 +88,7 @@ pattern_map! {
"dwLocalPlayerController" => pattern!("488905${'} 8b9e") => None,
"dwPlantedC4" => pattern!("488b15${'} 41ffc0") => None,
"dwPrediction" => pattern!("488d05${'} c3 cccccccccccccccc 4883ec? 8b0d") => Some(|_view, map, rva| {
map.insert("dwLocalPlayerPawn".to_string(), rva + 0x148);
map.insert("dwLocalPlayerPawn".to_string(), rva + 0x160);
}),
"dwSensitivity" => pattern!("488b05${'} 488b40? f3410f59f4") => None,
"dwSensitivity_sensitivity" => pattern!("ff50u1 4c8bc6 488d55? 488bcf e8${} 84c0 0f85${} 4c8d45? 8bd3 488bcf e8${} e9${} f30f1006") => None,