1
0
mirror of https://github.com/a2x/cs2-dumper.git synced 2025-04-01 23:35:36 +08:00

Update dwLocalPlayerPawn offset

This commit is contained in:
a2x 2025-01-22 12:32:17 +10:00
parent 72653b261d
commit 13591b7ea4
5 changed files with 8 additions and 8 deletions

@ -1,5 +1,5 @@
// Generated using https://github.com/a2x/cs2-dumper
// 2025-01-22 02:16:57.488530400 UTC
// 2025-01-22 02:31:49.938005200 UTC
namespace CS2Dumper.Offsets {
// Module: client.dll
@ -12,7 +12,7 @@ namespace CS2Dumper.Offsets {
public const nint dwGlobalVars = 0x1861AA8;
public const nint dwGlowManager = 0x1A7F8D0;
public const nint dwLocalPlayerController = 0x1A6A210;
public const nint dwLocalPlayerPawn = 0x186DDE8;
public const nint dwLocalPlayerPawn = 0x186DE00;
public const nint dwPlantedC4 = 0x1A88DA0;
public const nint dwPrediction = 0x186DC80;
public const nint dwSensitivity = 0x1A81018;

@ -1,5 +1,5 @@
// Generated using https://github.com/a2x/cs2-dumper
// 2025-01-22 02:16:57.488530400 UTC
// 2025-01-22 02:31:49.938005200 UTC
#pragma once
@ -17,7 +17,7 @@ namespace cs2_dumper {
constexpr std::ptrdiff_t dwGlobalVars = 0x1861AA8;
constexpr std::ptrdiff_t dwGlowManager = 0x1A7F8D0;
constexpr std::ptrdiff_t dwLocalPlayerController = 0x1A6A210;
constexpr std::ptrdiff_t dwLocalPlayerPawn = 0x186DDE8;
constexpr std::ptrdiff_t dwLocalPlayerPawn = 0x186DE00;
constexpr std::ptrdiff_t dwPlantedC4 = 0x1A88DA0;
constexpr std::ptrdiff_t dwPrediction = 0x186DC80;
constexpr std::ptrdiff_t dwSensitivity = 0x1A81018;

@ -8,7 +8,7 @@
"dwGlobalVars": 25565864,
"dwGlowManager": 27785424,
"dwLocalPlayerController": 27697680,
"dwLocalPlayerPawn": 25615848,
"dwLocalPlayerPawn": 25615872,
"dwPlantedC4": 27823520,
"dwPrediction": 25615488,
"dwSensitivity": 27791384,

@ -1,5 +1,5 @@
// Generated using https://github.com/a2x/cs2-dumper
// 2025-01-22 02:16:57.488530400 UTC
// 2025-01-22 02:31:49.938005200 UTC
#![allow(non_upper_case_globals, unused)]
@ -15,7 +15,7 @@ pub mod cs2_dumper {
pub const dwGlobalVars: usize = 0x1861AA8;
pub const dwGlowManager: usize = 0x1A7F8D0;
pub const dwLocalPlayerController: usize = 0x1A6A210;
pub const dwLocalPlayerPawn: usize = 0x186DDE8;
pub const dwLocalPlayerPawn: usize = 0x186DE00;
pub const dwPlantedC4: usize = 0x1A88DA0;
pub const dwPrediction: usize = 0x186DC80;
pub const dwSensitivity: usize = 0x1A81018;

@ -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 + 0x168);
map.insert("dwLocalPlayerPawn".to_string(), rva + 0x180);
}),
"dwSensitivity" => pattern!("488d0d${[8]'} 440f28c1 0f28f3 0f28fa e8") => None,
"dwSensitivity_sensitivity" => pattern!("ff50u1 4c8bc6 488d55? 488bcf e8${} 84c0 0f85${} 4c8d45? 8bd3 488bcf e8${} e9${} f30f1006") => None,