diff --git a/output/offsets.cs b/output/offsets.cs index cbba4ef..0fc3eae 100644 --- a/output/offsets.cs +++ b/output/offsets.cs @@ -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; diff --git a/output/offsets.hpp b/output/offsets.hpp index 6a8791d..9a037dd 100644 --- a/output/offsets.hpp +++ b/output/offsets.hpp @@ -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; diff --git a/output/offsets.json b/output/offsets.json index 04f582e..81a76f8 100644 --- a/output/offsets.json +++ b/output/offsets.json @@ -8,7 +8,7 @@ "dwGlobalVars": 25565864, "dwGlowManager": 27785424, "dwLocalPlayerController": 27697680, - "dwLocalPlayerPawn": 25615848, + "dwLocalPlayerPawn": 25615872, "dwPlantedC4": 27823520, "dwPrediction": 25615488, "dwSensitivity": 27791384, diff --git a/output/offsets.rs b/output/offsets.rs index 1266014..623feb2 100644 --- a/output/offsets.rs +++ b/output/offsets.rs @@ -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; diff --git a/src/analysis/offsets.rs b/src/analysis/offsets.rs index 7b2bc6f..294bcd3 100644 --- a/src/analysis/offsets.rs +++ b/src/analysis/offsets.rs @@ -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,