Fetch view angles offset

This commit is contained in:
a2x
2023-09-09 02:56:47 +10:00
parent 24d56461ff
commit b6b8ee2fde
7 changed files with 47 additions and 14 deletions

View File

@@ -1,5 +1,6 @@
public static class client.dll {
public static class client_dll {
public const ulong entity_list = 0x1623bb8;
public const ulong local_player_controller = 0x1714290;
public const ulong view_angles = 0x1773ab0;
public const ulong view_matrix = 0x1714d00;
}

View File

@@ -2,8 +2,9 @@
#include <cstddef>
namespace client.dll {
namespace client_dll {
constexpr std::ptrdiff_t entity_list = 0x1623bb8;
constexpr std::ptrdiff_t local_player_controller = 0x1714290;
constexpr std::ptrdiff_t view_angles = 0x1773ab0;
constexpr std::ptrdiff_t view_matrix = 0x1714d00;
}

View File

@@ -1,7 +1,8 @@
{
"client.dll": {
"client_dll": {
"entity_list": 23215032,
"local_player_controller": 24199824,
"view_angles": 24591024,
"view_matrix": 24202496
}
}

View File

@@ -1,6 +1,7 @@
#[allow(non_snake_case, non_upper_case_globals)]
pub mod client.dll {
pub mod client_dll {
pub const entity_list: usize = 0x1623bb8;
pub const local_player_controller: usize = 0x1714290;
pub const view_angles: usize = 0x1773ab0;
pub const view_matrix: usize = 0x1714d00;
}