mirror of
https://github.com/a2x/cs2-dumper.git
synced 2025-04-24 19:25:34 +08:00
📦 Game Update 13966 (2)
This commit is contained in:
parent
1d32f72cd5
commit
2378c280ab
70
config.json
70
config.json
@ -6,7 +6,7 @@
|
||||
"pattern": "E8 ? ? ? ? F3 0F 10 4C 3B ?",
|
||||
"operations": [
|
||||
{
|
||||
"type": "jmp"
|
||||
"type": "resolveJmp"
|
||||
}
|
||||
]
|
||||
},
|
||||
@ -16,7 +16,7 @@
|
||||
"pattern": "8B 05 ? ? ? ? C3 CC CC CC CC CC CC CC CC CC 48 8B 0D ? ? ? ? 48 8D 05",
|
||||
"operations": [
|
||||
{
|
||||
"type": "ripRelative",
|
||||
"type": "resolveRip",
|
||||
"offset": 2,
|
||||
"length": 6
|
||||
}
|
||||
@ -28,7 +28,7 @@
|
||||
"pattern": "48 8B 0D ? ? ? ? 48 89 7C 24 ? 8B FA C1 EB",
|
||||
"operations": [
|
||||
{
|
||||
"type": "ripRelative"
|
||||
"type": "resolveRip"
|
||||
}
|
||||
]
|
||||
},
|
||||
@ -38,7 +38,7 @@
|
||||
"pattern": "48 8D 0D ? ? ? ? E9 84 44 B4 FF",
|
||||
"operations": [
|
||||
{
|
||||
"type": "ripRelative"
|
||||
"type": "resolveRip"
|
||||
},
|
||||
{
|
||||
"type": "add",
|
||||
@ -52,7 +52,7 @@
|
||||
"pattern": "48 8D 0D ? ? ? ? E9 34 45 B4 FF",
|
||||
"operations": [
|
||||
{
|
||||
"type": "ripRelative"
|
||||
"type": "resolveRip"
|
||||
},
|
||||
{
|
||||
"type": "add",
|
||||
@ -66,7 +66,7 @@
|
||||
"pattern": "48 8B 05 ? ? ? ? 4C 8D 1D",
|
||||
"operations": [
|
||||
{
|
||||
"type": "ripRelative"
|
||||
"type": "resolveRip"
|
||||
},
|
||||
{
|
||||
"type": "add",
|
||||
@ -80,7 +80,7 @@
|
||||
"pattern": "48 8B 05 ? ? ? ? 4C 8D 3D ? ? ? ? 48 89 45",
|
||||
"operations": [
|
||||
{
|
||||
"type": "ripRelative"
|
||||
"type": "resolveRip"
|
||||
},
|
||||
{
|
||||
"type": "add",
|
||||
@ -94,7 +94,7 @@
|
||||
"pattern": "48 8B 05 ? ? ? ? 4C 8D 0D ? ? ? ? 48 89 45",
|
||||
"operations": [
|
||||
{
|
||||
"type": "ripRelative"
|
||||
"type": "resolveRip"
|
||||
},
|
||||
{
|
||||
"type": "add",
|
||||
@ -108,7 +108,7 @@
|
||||
"pattern": "48 8B 05 ? ? ? ? 48 8D 1D ? ? ? ? 48 89 45",
|
||||
"operations": [
|
||||
{
|
||||
"type": "ripRelative"
|
||||
"type": "resolveRip"
|
||||
},
|
||||
{
|
||||
"type": "add",
|
||||
@ -122,7 +122,7 @@
|
||||
"pattern": "48 8B 05 ? ? ? ? 48 8D 0D ? ? ? ? 44 8B 15",
|
||||
"operations": [
|
||||
{
|
||||
"type": "ripRelative"
|
||||
"type": "resolveRip"
|
||||
},
|
||||
{
|
||||
"type": "add",
|
||||
@ -136,7 +136,7 @@
|
||||
"pattern": "48 8B 05 ? ? ? ? 48 8D 15 ? ? ? ? 48 89 45",
|
||||
"operations": [
|
||||
{
|
||||
"type": "ripRelative"
|
||||
"type": "resolveRip"
|
||||
},
|
||||
{
|
||||
"type": "add",
|
||||
@ -150,7 +150,7 @@
|
||||
"pattern": "48 8B 1D ? ? ? ? 48 89 1D",
|
||||
"operations": [
|
||||
{
|
||||
"type": "ripRelative"
|
||||
"type": "resolveRip"
|
||||
}
|
||||
]
|
||||
},
|
||||
@ -164,7 +164,7 @@
|
||||
"value": 2
|
||||
},
|
||||
{
|
||||
"type": "jmp"
|
||||
"type": "resolveJmp"
|
||||
}
|
||||
]
|
||||
},
|
||||
@ -178,7 +178,7 @@
|
||||
"value": 2
|
||||
},
|
||||
{
|
||||
"type": "jmp"
|
||||
"type": "resolveJmp"
|
||||
}
|
||||
]
|
||||
},
|
||||
@ -188,7 +188,7 @@
|
||||
"pattern": "48 89 0D ? ? ? ? 8B 0D",
|
||||
"operations": [
|
||||
{
|
||||
"type": "ripRelative"
|
||||
"type": "resolveRip"
|
||||
}
|
||||
]
|
||||
},
|
||||
@ -198,7 +198,7 @@
|
||||
"pattern": "48 89 0D ? ? ? ? 48 89 41",
|
||||
"operations": [
|
||||
{
|
||||
"type": "ripRelative"
|
||||
"type": "resolveRip"
|
||||
}
|
||||
]
|
||||
},
|
||||
@ -208,7 +208,7 @@
|
||||
"pattern": "48 8B 05 ? ? ? ? C3 CC CC CC CC CC CC CC CC 48 89 5C 24 ? 48 89 6C 24",
|
||||
"operations": [
|
||||
{
|
||||
"type": "ripRelative"
|
||||
"type": "resolveRip"
|
||||
}
|
||||
]
|
||||
},
|
||||
@ -218,7 +218,7 @@
|
||||
"pattern": "48 89 05 ? ? ? ? 48 8D 05",
|
||||
"operations": [
|
||||
{
|
||||
"type": "ripRelative"
|
||||
"type": "resolveRip"
|
||||
}
|
||||
]
|
||||
},
|
||||
@ -228,7 +228,7 @@
|
||||
"pattern": "4C 8B 0D ? ? ? ? 4C 8B D2 4C 8B D9",
|
||||
"operations": [
|
||||
{
|
||||
"type": "ripRelative"
|
||||
"type": "resolveRip"
|
||||
}
|
||||
]
|
||||
},
|
||||
@ -238,17 +238,17 @@
|
||||
"pattern": "48 8B 05 ? ? ? ? 48 85 C0 74 4F",
|
||||
"operations": [
|
||||
{
|
||||
"type": "ripRelative"
|
||||
"type": "resolveRip"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "dwLocalPlayerPawn",
|
||||
"module": "client.dll",
|
||||
"pattern": "48 8B 0D ? ? ? ? E9 ? ? ? ? CC CC CC CC 48 89 5C 24 ? 4C 8B D9",
|
||||
"pattern": "48 8D 05 ? ? ? ? C3 CC CC CC CC CC CC CC CC 48 83 EC ? 8B 0D",
|
||||
"operations": [
|
||||
{
|
||||
"type": "ripRelative"
|
||||
"type": "resolveRip"
|
||||
},
|
||||
{
|
||||
"type": "add",
|
||||
@ -262,7 +262,7 @@
|
||||
"pattern": "48 89 3D ? ? ? ? 48 8D 15",
|
||||
"operations": [
|
||||
{
|
||||
"type": "ripRelative"
|
||||
"type": "resolveRip"
|
||||
}
|
||||
]
|
||||
},
|
||||
@ -312,7 +312,17 @@
|
||||
"pattern": "48 8B 15 ? ? ? ? FF C0 48 8D 4C 24",
|
||||
"operations": [
|
||||
{
|
||||
"type": "ripRelative"
|
||||
"type": "resolveRip"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "dwPrediction",
|
||||
"module": "client.dll",
|
||||
"pattern": "48 8D 05 ? ? ? ? C3 CC CC CC CC CC CC CC CC 48 83 EC ? 8B 0D",
|
||||
"operations": [
|
||||
{
|
||||
"type": "resolveRip"
|
||||
}
|
||||
]
|
||||
},
|
||||
@ -322,14 +332,14 @@
|
||||
"pattern": "48 8B 0D ? ? ? ? 48 8B 01 48 FF 60 30",
|
||||
"operations": [
|
||||
{
|
||||
"type": "ripRelative"
|
||||
"type": "resolveRip"
|
||||
},
|
||||
{
|
||||
"type": "dereference"
|
||||
},
|
||||
{
|
||||
"type": "add",
|
||||
"value": 17680
|
||||
"value": 17688
|
||||
}
|
||||
]
|
||||
},
|
||||
@ -339,7 +349,7 @@
|
||||
"pattern": "48 8D 0D ? ? ? ? 48 C1 E0 06",
|
||||
"operations": [
|
||||
{
|
||||
"type": "ripRelative"
|
||||
"type": "resolveRip"
|
||||
}
|
||||
]
|
||||
},
|
||||
@ -349,7 +359,7 @@
|
||||
"pattern": "48 89 05 ? ? ? ? 48 8B C8 48 85 C0",
|
||||
"operations": [
|
||||
{
|
||||
"type": "ripRelative"
|
||||
"type": "resolveRip"
|
||||
}
|
||||
]
|
||||
},
|
||||
@ -359,7 +369,7 @@
|
||||
"pattern": "8B 05 ? ? ? ? 89 03",
|
||||
"operations": [
|
||||
{
|
||||
"type": "ripRelative",
|
||||
"type": "resolveRip",
|
||||
"offset": 2,
|
||||
"length": 6
|
||||
}
|
||||
@ -371,7 +381,7 @@
|
||||
"pattern": "8B 05 ? ? ? ? 89 07",
|
||||
"operations": [
|
||||
{
|
||||
"type": "ripRelative",
|
||||
"type": "resolveRip",
|
||||
"offset": 2,
|
||||
"length": 6
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
/*
|
||||
* Created using https://github.com/a2x/cs2-dumper
|
||||
* Fri, 3 Nov 2023 01:49:47 +0000
|
||||
* Fri, 3 Nov 2023 09:09:51 +0000
|
||||
*/
|
||||
|
||||
public static class AimMatrixOpFixedSettings_t {
|
||||
|
@ -1,6 +1,6 @@
|
||||
/*
|
||||
* Created using https://github.com/a2x/cs2-dumper
|
||||
* Fri, 3 Nov 2023 01:49:47 +0000
|
||||
* Fri, 3 Nov 2023 09:09:51 +0000
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
@ -1,6 +1,6 @@
|
||||
'''
|
||||
Created using https://github.com/a2x/cs2-dumper
|
||||
Fri, 3 Nov 2023 01:49:47 +0000
|
||||
Fri, 3 Nov 2023 09:09:51 +0000
|
||||
'''
|
||||
|
||||
class AimMatrixOpFixedSettings_t:
|
||||
|
@ -1,6 +1,6 @@
|
||||
/*
|
||||
* Created using https://github.com/a2x/cs2-dumper
|
||||
* Fri, 3 Nov 2023 01:49:47 +0000
|
||||
* Fri, 3 Nov 2023 09:09:52 +0000
|
||||
*/
|
||||
|
||||
#![allow(non_snake_case, non_upper_case_globals)]
|
||||
|
@ -1,6 +1,6 @@
|
||||
/*
|
||||
* Created using https://github.com/a2x/cs2-dumper
|
||||
* Fri, 3 Nov 2023 01:49:49 +0000
|
||||
* Fri, 3 Nov 2023 09:09:52 +0000
|
||||
*/
|
||||
|
||||
public static class ActiveModelConfig_t {
|
||||
|
@ -1,6 +1,6 @@
|
||||
/*
|
||||
* Created using https://github.com/a2x/cs2-dumper
|
||||
* Fri, 3 Nov 2023 01:49:49 +0000
|
||||
* Fri, 3 Nov 2023 09:09:52 +0000
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
@ -1,6 +1,6 @@
|
||||
'''
|
||||
Created using https://github.com/a2x/cs2-dumper
|
||||
Fri, 3 Nov 2023 01:49:49 +0000
|
||||
Fri, 3 Nov 2023 09:09:52 +0000
|
||||
'''
|
||||
|
||||
class ActiveModelConfig_t:
|
||||
|
@ -1,6 +1,6 @@
|
||||
/*
|
||||
* Created using https://github.com/a2x/cs2-dumper
|
||||
* Fri, 3 Nov 2023 01:49:49 +0000
|
||||
* Fri, 3 Nov 2023 09:09:53 +0000
|
||||
*/
|
||||
|
||||
#![allow(non_snake_case, non_upper_case_globals)]
|
||||
|
@ -1,6 +1,6 @@
|
||||
/*
|
||||
* Created using https://github.com/a2x/cs2-dumper
|
||||
* Fri, 3 Nov 2023 01:49:47 +0000
|
||||
* Fri, 3 Nov 2023 09:09:51 +0000
|
||||
*/
|
||||
|
||||
public static class CEmptyEntityInstance {
|
||||
|
@ -1,6 +1,6 @@
|
||||
/*
|
||||
* Created using https://github.com/a2x/cs2-dumper
|
||||
* Fri, 3 Nov 2023 01:49:47 +0000
|
||||
* Fri, 3 Nov 2023 09:09:51 +0000
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
@ -1,6 +1,6 @@
|
||||
'''
|
||||
Created using https://github.com/a2x/cs2-dumper
|
||||
Fri, 3 Nov 2023 01:49:47 +0000
|
||||
Fri, 3 Nov 2023 09:09:51 +0000
|
||||
'''
|
||||
|
||||
class CEmptyEntityInstance:
|
||||
|
@ -1,6 +1,6 @@
|
||||
/*
|
||||
* Created using https://github.com/a2x/cs2-dumper
|
||||
* Fri, 3 Nov 2023 01:49:47 +0000
|
||||
* Fri, 3 Nov 2023 09:09:51 +0000
|
||||
*/
|
||||
|
||||
#![allow(non_snake_case, non_upper_case_globals)]
|
||||
|
@ -1,6 +1,6 @@
|
||||
/*
|
||||
* Created using https://github.com/a2x/cs2-dumper
|
||||
* Fri, 3 Nov 2023 01:49:49 +0000
|
||||
* Fri, 3 Nov 2023 09:09:53 +0000
|
||||
*/
|
||||
|
||||
public static class CAnimScriptBase {
|
||||
|
@ -1,6 +1,6 @@
|
||||
/*
|
||||
* Created using https://github.com/a2x/cs2-dumper
|
||||
* Fri, 3 Nov 2023 01:49:49 +0000
|
||||
* Fri, 3 Nov 2023 09:09:53 +0000
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
@ -1,6 +1,6 @@
|
||||
'''
|
||||
Created using https://github.com/a2x/cs2-dumper
|
||||
Fri, 3 Nov 2023 01:49:49 +0000
|
||||
Fri, 3 Nov 2023 09:09:53 +0000
|
||||
'''
|
||||
|
||||
class CAnimScriptBase:
|
||||
|
@ -1,6 +1,6 @@
|
||||
/*
|
||||
* Created using https://github.com/a2x/cs2-dumper
|
||||
* Fri, 3 Nov 2023 01:49:49 +0000
|
||||
* Fri, 3 Nov 2023 09:09:53 +0000
|
||||
*/
|
||||
|
||||
#![allow(non_snake_case, non_upper_case_globals)]
|
||||
|
@ -1,6 +1,6 @@
|
||||
/*
|
||||
* Created using https://github.com/a2x/cs2-dumper
|
||||
* Fri, 3 Nov 2023 01:49:49 +0000
|
||||
* Fri, 3 Nov 2023 09:09:53 +0000
|
||||
*/
|
||||
|
||||
public static class animationsystem_dll { // animationsystem.dll
|
||||
@ -9,14 +9,14 @@ public static class animationsystem_dll { // animationsystem.dll
|
||||
}
|
||||
|
||||
public static class client_dll { // client.dll
|
||||
public const nint LegacyGameUI001 = 0x8996A0;
|
||||
public const nint Source2ClientUI001 = 0x8883C0;
|
||||
public const nint Source2ClientPrediction001 = 0x7A1860;
|
||||
public const nint ClientToolsInfo_001 = 0x72D800;
|
||||
public const nint Source2Client002 = 0x72D820;
|
||||
public const nint GameClientExports001 = 0x72D810;
|
||||
public const nint EmptyWorldService001_Client = 0x48DEB0;
|
||||
public const nint Source2ClientConfig001 = 0x474EC0;
|
||||
public const nint LegacyGameUI001 = 0x8996E0;
|
||||
public const nint Source2ClientUI001 = 0x888400;
|
||||
public const nint Source2ClientPrediction001 = 0x7A18A0;
|
||||
public const nint ClientToolsInfo_001 = 0x72D840;
|
||||
public const nint Source2Client002 = 0x72D860;
|
||||
public const nint GameClientExports001 = 0x72D850;
|
||||
public const nint EmptyWorldService001_Client = 0x48DEF0;
|
||||
public const nint Source2ClientConfig001 = 0x474F00;
|
||||
}
|
||||
|
||||
public static class engine2_dll { // engine2.dll
|
||||
@ -157,15 +157,15 @@ public static class schemasystem_dll { // schemasystem.dll
|
||||
}
|
||||
|
||||
public static class server_dll { // server.dll
|
||||
public const nint NavGameTest001 = 0xA346B0;
|
||||
public const nint ServerToolsInfo_001 = 0x838410;
|
||||
public const nint Source2GameClients001 = 0x838420;
|
||||
public const nint Source2GameEntities001 = 0x838430;
|
||||
public const nint Source2Server001 = 0x838440;
|
||||
public const nint EmptyWorldService001_Server = 0x58D6A0;
|
||||
public const nint Source2ServerConfig001 = 0x56D6B0;
|
||||
public const nint EntitySubclassUtilsV001 = 0x2CD440;
|
||||
public const nint customnavsystem001 = 0x24A370;
|
||||
public const nint NavGameTest001 = 0xA34720;
|
||||
public const nint ServerToolsInfo_001 = 0x838480;
|
||||
public const nint Source2GameClients001 = 0x838490;
|
||||
public const nint Source2GameEntities001 = 0x8384A0;
|
||||
public const nint Source2Server001 = 0x8384B0;
|
||||
public const nint EmptyWorldService001_Server = 0x58D710;
|
||||
public const nint Source2ServerConfig001 = 0x56D720;
|
||||
public const nint EntitySubclassUtilsV001 = 0x2CD480;
|
||||
public const nint customnavsystem001 = 0x24A3B0;
|
||||
public const nint Source2GameDirector001 = 0x151E80;
|
||||
}
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
/*
|
||||
* Created using https://github.com/a2x/cs2-dumper
|
||||
* Fri, 3 Nov 2023 01:49:49 +0000
|
||||
* Fri, 3 Nov 2023 09:09:53 +0000
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
@ -13,14 +13,14 @@ namespace animationsystem_dll { // animationsystem.dll
|
||||
}
|
||||
|
||||
namespace client_dll { // client.dll
|
||||
constexpr std::ptrdiff_t LegacyGameUI001 = 0x8996A0;
|
||||
constexpr std::ptrdiff_t Source2ClientUI001 = 0x8883C0;
|
||||
constexpr std::ptrdiff_t Source2ClientPrediction001 = 0x7A1860;
|
||||
constexpr std::ptrdiff_t ClientToolsInfo_001 = 0x72D800;
|
||||
constexpr std::ptrdiff_t Source2Client002 = 0x72D820;
|
||||
constexpr std::ptrdiff_t GameClientExports001 = 0x72D810;
|
||||
constexpr std::ptrdiff_t EmptyWorldService001_Client = 0x48DEB0;
|
||||
constexpr std::ptrdiff_t Source2ClientConfig001 = 0x474EC0;
|
||||
constexpr std::ptrdiff_t LegacyGameUI001 = 0x8996E0;
|
||||
constexpr std::ptrdiff_t Source2ClientUI001 = 0x888400;
|
||||
constexpr std::ptrdiff_t Source2ClientPrediction001 = 0x7A18A0;
|
||||
constexpr std::ptrdiff_t ClientToolsInfo_001 = 0x72D840;
|
||||
constexpr std::ptrdiff_t Source2Client002 = 0x72D860;
|
||||
constexpr std::ptrdiff_t GameClientExports001 = 0x72D850;
|
||||
constexpr std::ptrdiff_t EmptyWorldService001_Client = 0x48DEF0;
|
||||
constexpr std::ptrdiff_t Source2ClientConfig001 = 0x474F00;
|
||||
}
|
||||
|
||||
namespace engine2_dll { // engine2.dll
|
||||
@ -161,15 +161,15 @@ namespace schemasystem_dll { // schemasystem.dll
|
||||
}
|
||||
|
||||
namespace server_dll { // server.dll
|
||||
constexpr std::ptrdiff_t NavGameTest001 = 0xA346B0;
|
||||
constexpr std::ptrdiff_t ServerToolsInfo_001 = 0x838410;
|
||||
constexpr std::ptrdiff_t Source2GameClients001 = 0x838420;
|
||||
constexpr std::ptrdiff_t Source2GameEntities001 = 0x838430;
|
||||
constexpr std::ptrdiff_t Source2Server001 = 0x838440;
|
||||
constexpr std::ptrdiff_t EmptyWorldService001_Server = 0x58D6A0;
|
||||
constexpr std::ptrdiff_t Source2ServerConfig001 = 0x56D6B0;
|
||||
constexpr std::ptrdiff_t EntitySubclassUtilsV001 = 0x2CD440;
|
||||
constexpr std::ptrdiff_t customnavsystem001 = 0x24A370;
|
||||
constexpr std::ptrdiff_t NavGameTest001 = 0xA34720;
|
||||
constexpr std::ptrdiff_t ServerToolsInfo_001 = 0x838480;
|
||||
constexpr std::ptrdiff_t Source2GameClients001 = 0x838490;
|
||||
constexpr std::ptrdiff_t Source2GameEntities001 = 0x8384A0;
|
||||
constexpr std::ptrdiff_t Source2Server001 = 0x8384B0;
|
||||
constexpr std::ptrdiff_t EmptyWorldService001_Server = 0x58D710;
|
||||
constexpr std::ptrdiff_t Source2ServerConfig001 = 0x56D720;
|
||||
constexpr std::ptrdiff_t EntitySubclassUtilsV001 = 0x2CD480;
|
||||
constexpr std::ptrdiff_t customnavsystem001 = 0x24A3B0;
|
||||
constexpr std::ptrdiff_t Source2GameDirector001 = 0x151E80;
|
||||
}
|
||||
|
||||
|
@ -15,35 +15,35 @@
|
||||
"client_dll": {
|
||||
"data": {
|
||||
"ClientToolsInfo_001": {
|
||||
"value": 7526400,
|
||||
"value": 7526464,
|
||||
"comment": null
|
||||
},
|
||||
"EmptyWorldService001_Client": {
|
||||
"value": 4775600,
|
||||
"value": 4775664,
|
||||
"comment": null
|
||||
},
|
||||
"GameClientExports001": {
|
||||
"value": 7526416,
|
||||
"value": 7526480,
|
||||
"comment": null
|
||||
},
|
||||
"LegacyGameUI001": {
|
||||
"value": 9016992,
|
||||
"value": 9017056,
|
||||
"comment": null
|
||||
},
|
||||
"Source2Client002": {
|
||||
"value": 7526432,
|
||||
"value": 7526496,
|
||||
"comment": null
|
||||
},
|
||||
"Source2ClientConfig001": {
|
||||
"value": 4673216,
|
||||
"value": 4673280,
|
||||
"comment": null
|
||||
},
|
||||
"Source2ClientPrediction001": {
|
||||
"value": 8001632,
|
||||
"value": 8001696,
|
||||
"comment": null
|
||||
},
|
||||
"Source2ClientUI001": {
|
||||
"value": 8946624,
|
||||
"value": 8946688,
|
||||
"comment": null
|
||||
}
|
||||
},
|
||||
@ -453,23 +453,23 @@
|
||||
"server_dll": {
|
||||
"data": {
|
||||
"EmptyWorldService001_Server": {
|
||||
"value": 5822112,
|
||||
"value": 5822224,
|
||||
"comment": null
|
||||
},
|
||||
"EntitySubclassUtilsV001": {
|
||||
"value": 2937920,
|
||||
"value": 2937984,
|
||||
"comment": null
|
||||
},
|
||||
"NavGameTest001": {
|
||||
"value": 10700464,
|
||||
"value": 10700576,
|
||||
"comment": null
|
||||
},
|
||||
"ServerToolsInfo_001": {
|
||||
"value": 8619024,
|
||||
"value": 8619136,
|
||||
"comment": null
|
||||
},
|
||||
"Source2GameClients001": {
|
||||
"value": 8619040,
|
||||
"value": 8619152,
|
||||
"comment": null
|
||||
},
|
||||
"Source2GameDirector001": {
|
||||
@ -477,19 +477,19 @@
|
||||
"comment": null
|
||||
},
|
||||
"Source2GameEntities001": {
|
||||
"value": 8619056,
|
||||
"value": 8619168,
|
||||
"comment": null
|
||||
},
|
||||
"Source2Server001": {
|
||||
"value": 8619072,
|
||||
"value": 8619184,
|
||||
"comment": null
|
||||
},
|
||||
"Source2ServerConfig001": {
|
||||
"value": 5691056,
|
||||
"value": 5691168,
|
||||
"comment": null
|
||||
},
|
||||
"customnavsystem001": {
|
||||
"value": 2401136,
|
||||
"value": 2401200,
|
||||
"comment": null
|
||||
}
|
||||
},
|
||||
|
@ -1,6 +1,6 @@
|
||||
'''
|
||||
Created using https://github.com/a2x/cs2-dumper
|
||||
Fri, 3 Nov 2023 01:49:49 +0000
|
||||
Fri, 3 Nov 2023 09:09:53 +0000
|
||||
'''
|
||||
|
||||
class animationsystem_dll: # animationsystem.dll
|
||||
@ -8,14 +8,14 @@ class animationsystem_dll: # animationsystem.dll
|
||||
AnimationSystem_001 = 0x5F1D0
|
||||
|
||||
class client_dll: # client.dll
|
||||
LegacyGameUI001 = 0x8996A0
|
||||
Source2ClientUI001 = 0x8883C0
|
||||
Source2ClientPrediction001 = 0x7A1860
|
||||
ClientToolsInfo_001 = 0x72D800
|
||||
Source2Client002 = 0x72D820
|
||||
GameClientExports001 = 0x72D810
|
||||
EmptyWorldService001_Client = 0x48DEB0
|
||||
Source2ClientConfig001 = 0x474EC0
|
||||
LegacyGameUI001 = 0x8996E0
|
||||
Source2ClientUI001 = 0x888400
|
||||
Source2ClientPrediction001 = 0x7A18A0
|
||||
ClientToolsInfo_001 = 0x72D840
|
||||
Source2Client002 = 0x72D860
|
||||
GameClientExports001 = 0x72D850
|
||||
EmptyWorldService001_Client = 0x48DEF0
|
||||
Source2ClientConfig001 = 0x474F00
|
||||
|
||||
class engine2_dll: # engine2.dll
|
||||
SimpleEngineLoopService_001 = 0x1E32D0
|
||||
@ -134,15 +134,15 @@ class schemasystem_dll: # schemasystem.dll
|
||||
SchemaSystem_001 = 0xA930
|
||||
|
||||
class server_dll: # server.dll
|
||||
NavGameTest001 = 0xA346B0
|
||||
ServerToolsInfo_001 = 0x838410
|
||||
Source2GameClients001 = 0x838420
|
||||
Source2GameEntities001 = 0x838430
|
||||
Source2Server001 = 0x838440
|
||||
EmptyWorldService001_Server = 0x58D6A0
|
||||
Source2ServerConfig001 = 0x56D6B0
|
||||
EntitySubclassUtilsV001 = 0x2CD440
|
||||
customnavsystem001 = 0x24A370
|
||||
NavGameTest001 = 0xA34720
|
||||
ServerToolsInfo_001 = 0x838480
|
||||
Source2GameClients001 = 0x838490
|
||||
Source2GameEntities001 = 0x8384A0
|
||||
Source2Server001 = 0x8384B0
|
||||
EmptyWorldService001_Server = 0x58D710
|
||||
Source2ServerConfig001 = 0x56D720
|
||||
EntitySubclassUtilsV001 = 0x2CD480
|
||||
customnavsystem001 = 0x24A3B0
|
||||
Source2GameDirector001 = 0x151E80
|
||||
|
||||
class soundsystem_dll: # soundsystem.dll
|
||||
|
@ -1,6 +1,6 @@
|
||||
/*
|
||||
* Created using https://github.com/a2x/cs2-dumper
|
||||
* Fri, 3 Nov 2023 01:49:49 +0000
|
||||
* Fri, 3 Nov 2023 09:09:53 +0000
|
||||
*/
|
||||
|
||||
#![allow(non_snake_case, non_upper_case_globals)]
|
||||
@ -11,14 +11,14 @@ pub mod animationsystem_dll { // animationsystem.dll
|
||||
}
|
||||
|
||||
pub mod client_dll { // client.dll
|
||||
pub const LegacyGameUI001: usize = 0x8996A0;
|
||||
pub const Source2ClientUI001: usize = 0x8883C0;
|
||||
pub const Source2ClientPrediction001: usize = 0x7A1860;
|
||||
pub const ClientToolsInfo_001: usize = 0x72D800;
|
||||
pub const Source2Client002: usize = 0x72D820;
|
||||
pub const GameClientExports001: usize = 0x72D810;
|
||||
pub const EmptyWorldService001_Client: usize = 0x48DEB0;
|
||||
pub const Source2ClientConfig001: usize = 0x474EC0;
|
||||
pub const LegacyGameUI001: usize = 0x8996E0;
|
||||
pub const Source2ClientUI001: usize = 0x888400;
|
||||
pub const Source2ClientPrediction001: usize = 0x7A18A0;
|
||||
pub const ClientToolsInfo_001: usize = 0x72D840;
|
||||
pub const Source2Client002: usize = 0x72D860;
|
||||
pub const GameClientExports001: usize = 0x72D850;
|
||||
pub const EmptyWorldService001_Client: usize = 0x48DEF0;
|
||||
pub const Source2ClientConfig001: usize = 0x474F00;
|
||||
}
|
||||
|
||||
pub mod engine2_dll { // engine2.dll
|
||||
@ -159,15 +159,15 @@ pub mod schemasystem_dll { // schemasystem.dll
|
||||
}
|
||||
|
||||
pub mod server_dll { // server.dll
|
||||
pub const NavGameTest001: usize = 0xA346B0;
|
||||
pub const ServerToolsInfo_001: usize = 0x838410;
|
||||
pub const Source2GameClients001: usize = 0x838420;
|
||||
pub const Source2GameEntities001: usize = 0x838430;
|
||||
pub const Source2Server001: usize = 0x838440;
|
||||
pub const EmptyWorldService001_Server: usize = 0x58D6A0;
|
||||
pub const Source2ServerConfig001: usize = 0x56D6B0;
|
||||
pub const EntitySubclassUtilsV001: usize = 0x2CD440;
|
||||
pub const customnavsystem001: usize = 0x24A370;
|
||||
pub const NavGameTest001: usize = 0xA34720;
|
||||
pub const ServerToolsInfo_001: usize = 0x838480;
|
||||
pub const Source2GameClients001: usize = 0x838490;
|
||||
pub const Source2GameEntities001: usize = 0x8384A0;
|
||||
pub const Source2Server001: usize = 0x8384B0;
|
||||
pub const EmptyWorldService001_Server: usize = 0x58D710;
|
||||
pub const Source2ServerConfig001: usize = 0x56D720;
|
||||
pub const EntitySubclassUtilsV001: usize = 0x2CD480;
|
||||
pub const customnavsystem001: usize = 0x24A3B0;
|
||||
pub const Source2GameDirector001: usize = 0x151E80;
|
||||
}
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
/*
|
||||
* Created using https://github.com/a2x/cs2-dumper
|
||||
* Fri, 3 Nov 2023 01:49:47 +0000
|
||||
* Fri, 3 Nov 2023 09:09:51 +0000
|
||||
*/
|
||||
|
||||
public static class MaterialParamBuffer_t { // MaterialParam_t
|
||||
|
@ -1,6 +1,6 @@
|
||||
/*
|
||||
* Created using https://github.com/a2x/cs2-dumper
|
||||
* Fri, 3 Nov 2023 01:49:47 +0000
|
||||
* Fri, 3 Nov 2023 09:09:51 +0000
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
@ -1,6 +1,6 @@
|
||||
'''
|
||||
Created using https://github.com/a2x/cs2-dumper
|
||||
Fri, 3 Nov 2023 01:49:47 +0000
|
||||
Fri, 3 Nov 2023 09:09:51 +0000
|
||||
'''
|
||||
|
||||
class MaterialParamBuffer_t: # MaterialParam_t
|
||||
|
@ -1,6 +1,6 @@
|
||||
/*
|
||||
* Created using https://github.com/a2x/cs2-dumper
|
||||
* Fri, 3 Nov 2023 01:49:47 +0000
|
||||
* Fri, 3 Nov 2023 09:09:51 +0000
|
||||
*/
|
||||
|
||||
#![allow(non_snake_case, non_upper_case_globals)]
|
||||
|
@ -1,6 +1,6 @@
|
||||
/*
|
||||
* Created using https://github.com/a2x/cs2-dumper
|
||||
* Fri, 3 Nov 2023 01:49:47 +0000
|
||||
* Fri, 3 Nov 2023 09:09:51 +0000
|
||||
*/
|
||||
|
||||
public static class ChangeAccessorFieldPathIndex_t {
|
||||
|
@ -1,6 +1,6 @@
|
||||
/*
|
||||
* Created using https://github.com/a2x/cs2-dumper
|
||||
* Fri, 3 Nov 2023 01:49:47 +0000
|
||||
* Fri, 3 Nov 2023 09:09:51 +0000
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
@ -1,6 +1,6 @@
|
||||
'''
|
||||
Created using https://github.com/a2x/cs2-dumper
|
||||
Fri, 3 Nov 2023 01:49:47 +0000
|
||||
Fri, 3 Nov 2023 09:09:51 +0000
|
||||
'''
|
||||
|
||||
class ChangeAccessorFieldPathIndex_t:
|
||||
|
@ -1,6 +1,6 @@
|
||||
/*
|
||||
* Created using https://github.com/a2x/cs2-dumper
|
||||
* Fri, 3 Nov 2023 01:49:47 +0000
|
||||
* Fri, 3 Nov 2023 09:09:51 +0000
|
||||
*/
|
||||
|
||||
#![allow(non_snake_case, non_upper_case_globals)]
|
||||
|
@ -1,30 +1,33 @@
|
||||
/*
|
||||
* Created using https://github.com/a2x/cs2-dumper
|
||||
* Fri, 3 Nov 2023 01:49:49 +0000
|
||||
* Fri, 3 Nov 2023 09:10:10 +0000
|
||||
*/
|
||||
|
||||
public static class client_dll { // client.dll
|
||||
public const nint dwBaseEntityModel_setModel = 0x5812D0;
|
||||
public const nint dwEntityList = 0x17AA8F8;
|
||||
public const nint dwForceBackward = 0x16AF570;
|
||||
public const nint dwForceCrouch = 0x16AF840;
|
||||
public const nint dwForceForward = 0x16AF4E0;
|
||||
public const nint dwForceJump = 0x16AF7B0;
|
||||
public const nint dwForceLeft = 0x16AF600;
|
||||
public const nint dwForceRight = 0x16AF690;
|
||||
public const nint dwGameEntitySystem = 0x1964168;
|
||||
public const nint dwGameEntitySystem_getBaseEntity = 0x6048E0;
|
||||
public const nint dwGameEntitySystem_getHighestEntityIndex = 0x5F65D0;
|
||||
public const nint dwGameRules = 0x1806F58;
|
||||
public const nint dwGlobalVars = 0x16AB2E0;
|
||||
public const nint dwGlowManager = 0x18066B8;
|
||||
public const nint dwInterfaceLinkList = 0x1991E78;
|
||||
public const nint dwLocalPlayerController = 0x17F9C18;
|
||||
public const nint dwLocalPlayerPawn = 0x16B6318;
|
||||
public const nint dwPlantedC4 = 0x189DB08;
|
||||
public const nint dwViewAngles = 0x18F8090;
|
||||
public const nint dwViewMatrix = 0x1899080;
|
||||
public const nint dwViewRender = 0x1899A58;
|
||||
public const nint dwBaseEntityModel_setModel = 0x581310;
|
||||
public const nint dwEntityList = 0x17AA8E8;
|
||||
public const nint dwForceAttack = 0x16AF290;
|
||||
public const nint dwForceAttack2 = 0x16AF320;
|
||||
public const nint dwForceBackward = 0x16AF560;
|
||||
public const nint dwForceCrouch = 0x16AF830;
|
||||
public const nint dwForceForward = 0x16AF4D0;
|
||||
public const nint dwForceJump = 0x16AF7A0;
|
||||
public const nint dwForceLeft = 0x16AF5F0;
|
||||
public const nint dwForceRight = 0x16AF680;
|
||||
public const nint dwGameEntitySystem = 0x1964158;
|
||||
public const nint dwGameEntitySystem_getBaseEntity = 0x604920;
|
||||
public const nint dwGameEntitySystem_getHighestEntityIndex = 0x5F6610;
|
||||
public const nint dwGameRules = 0x1806F48;
|
||||
public const nint dwGlobalVars = 0x16AB2D0;
|
||||
public const nint dwGlowManager = 0x18066A8;
|
||||
public const nint dwInterfaceLinkList = 0x1991E68;
|
||||
public const nint dwLocalPlayerController = 0x17F9C08;
|
||||
public const nint dwLocalPlayerPawn = 0x16B6320;
|
||||
public const nint dwPlantedC4 = 0x189DAF8;
|
||||
public const nint dwPrediction = 0x16B61F0;
|
||||
public const nint dwViewAngles = 0x18F8088;
|
||||
public const nint dwViewMatrix = 0x1899070;
|
||||
public const nint dwViewRender = 0x1899A48;
|
||||
}
|
||||
|
||||
public static class engine2_dll { // engine2.dll
|
||||
|
@ -1,6 +1,6 @@
|
||||
/*
|
||||
* Created using https://github.com/a2x/cs2-dumper
|
||||
* Fri, 3 Nov 2023 01:49:49 +0000
|
||||
* Fri, 3 Nov 2023 09:10:10 +0000
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
@ -8,27 +8,30 @@
|
||||
#include <cstddef>
|
||||
|
||||
namespace client_dll { // client.dll
|
||||
constexpr std::ptrdiff_t dwBaseEntityModel_setModel = 0x5812D0;
|
||||
constexpr std::ptrdiff_t dwEntityList = 0x17AA8F8;
|
||||
constexpr std::ptrdiff_t dwForceBackward = 0x16AF570;
|
||||
constexpr std::ptrdiff_t dwForceCrouch = 0x16AF840;
|
||||
constexpr std::ptrdiff_t dwForceForward = 0x16AF4E0;
|
||||
constexpr std::ptrdiff_t dwForceJump = 0x16AF7B0;
|
||||
constexpr std::ptrdiff_t dwForceLeft = 0x16AF600;
|
||||
constexpr std::ptrdiff_t dwForceRight = 0x16AF690;
|
||||
constexpr std::ptrdiff_t dwGameEntitySystem = 0x1964168;
|
||||
constexpr std::ptrdiff_t dwGameEntitySystem_getBaseEntity = 0x6048E0;
|
||||
constexpr std::ptrdiff_t dwGameEntitySystem_getHighestEntityIndex = 0x5F65D0;
|
||||
constexpr std::ptrdiff_t dwGameRules = 0x1806F58;
|
||||
constexpr std::ptrdiff_t dwGlobalVars = 0x16AB2E0;
|
||||
constexpr std::ptrdiff_t dwGlowManager = 0x18066B8;
|
||||
constexpr std::ptrdiff_t dwInterfaceLinkList = 0x1991E78;
|
||||
constexpr std::ptrdiff_t dwLocalPlayerController = 0x17F9C18;
|
||||
constexpr std::ptrdiff_t dwLocalPlayerPawn = 0x16B6318;
|
||||
constexpr std::ptrdiff_t dwPlantedC4 = 0x189DB08;
|
||||
constexpr std::ptrdiff_t dwViewAngles = 0x18F8090;
|
||||
constexpr std::ptrdiff_t dwViewMatrix = 0x1899080;
|
||||
constexpr std::ptrdiff_t dwViewRender = 0x1899A58;
|
||||
constexpr std::ptrdiff_t dwBaseEntityModel_setModel = 0x581310;
|
||||
constexpr std::ptrdiff_t dwEntityList = 0x17AA8E8;
|
||||
constexpr std::ptrdiff_t dwForceAttack = 0x16AF290;
|
||||
constexpr std::ptrdiff_t dwForceAttack2 = 0x16AF320;
|
||||
constexpr std::ptrdiff_t dwForceBackward = 0x16AF560;
|
||||
constexpr std::ptrdiff_t dwForceCrouch = 0x16AF830;
|
||||
constexpr std::ptrdiff_t dwForceForward = 0x16AF4D0;
|
||||
constexpr std::ptrdiff_t dwForceJump = 0x16AF7A0;
|
||||
constexpr std::ptrdiff_t dwForceLeft = 0x16AF5F0;
|
||||
constexpr std::ptrdiff_t dwForceRight = 0x16AF680;
|
||||
constexpr std::ptrdiff_t dwGameEntitySystem = 0x1964158;
|
||||
constexpr std::ptrdiff_t dwGameEntitySystem_getBaseEntity = 0x604920;
|
||||
constexpr std::ptrdiff_t dwGameEntitySystem_getHighestEntityIndex = 0x5F6610;
|
||||
constexpr std::ptrdiff_t dwGameRules = 0x1806F48;
|
||||
constexpr std::ptrdiff_t dwGlobalVars = 0x16AB2D0;
|
||||
constexpr std::ptrdiff_t dwGlowManager = 0x18066A8;
|
||||
constexpr std::ptrdiff_t dwInterfaceLinkList = 0x1991E68;
|
||||
constexpr std::ptrdiff_t dwLocalPlayerController = 0x17F9C08;
|
||||
constexpr std::ptrdiff_t dwLocalPlayerPawn = 0x16B6320;
|
||||
constexpr std::ptrdiff_t dwPlantedC4 = 0x189DAF8;
|
||||
constexpr std::ptrdiff_t dwPrediction = 0x16B61F0;
|
||||
constexpr std::ptrdiff_t dwViewAngles = 0x18F8088;
|
||||
constexpr std::ptrdiff_t dwViewMatrix = 0x1899070;
|
||||
constexpr std::ptrdiff_t dwViewRender = 0x1899A48;
|
||||
}
|
||||
|
||||
namespace engine2_dll { // engine2.dll
|
||||
|
@ -2,87 +2,99 @@
|
||||
"client_dll": {
|
||||
"data": {
|
||||
"dwBaseEntityModel_setModel": {
|
||||
"value": 5771984,
|
||||
"value": 5772048,
|
||||
"comment": null
|
||||
},
|
||||
"dwEntityList": {
|
||||
"value": 24815864,
|
||||
"value": 24815848,
|
||||
"comment": null
|
||||
},
|
||||
"dwForceAttack": {
|
||||
"value": 23786128,
|
||||
"comment": null
|
||||
},
|
||||
"dwForceAttack2": {
|
||||
"value": 23786272,
|
||||
"comment": null
|
||||
},
|
||||
"dwForceBackward": {
|
||||
"value": 23786864,
|
||||
"value": 23786848,
|
||||
"comment": null
|
||||
},
|
||||
"dwForceCrouch": {
|
||||
"value": 23787584,
|
||||
"value": 23787568,
|
||||
"comment": null
|
||||
},
|
||||
"dwForceForward": {
|
||||
"value": 23786720,
|
||||
"value": 23786704,
|
||||
"comment": null
|
||||
},
|
||||
"dwForceJump": {
|
||||
"value": 23787440,
|
||||
"value": 23787424,
|
||||
"comment": null
|
||||
},
|
||||
"dwForceLeft": {
|
||||
"value": 23787008,
|
||||
"value": 23786992,
|
||||
"comment": null
|
||||
},
|
||||
"dwForceRight": {
|
||||
"value": 23787152,
|
||||
"value": 23787136,
|
||||
"comment": null
|
||||
},
|
||||
"dwGameEntitySystem": {
|
||||
"value": 26624360,
|
||||
"value": 26624344,
|
||||
"comment": null
|
||||
},
|
||||
"dwGameEntitySystem_getBaseEntity": {
|
||||
"value": 6310112,
|
||||
"value": 6310176,
|
||||
"comment": null
|
||||
},
|
||||
"dwGameEntitySystem_getHighestEntityIndex": {
|
||||
"value": 6251984,
|
||||
"value": 6252048,
|
||||
"comment": null
|
||||
},
|
||||
"dwGameRules": {
|
||||
"value": 25194328,
|
||||
"value": 25194312,
|
||||
"comment": null
|
||||
},
|
||||
"dwGlobalVars": {
|
||||
"value": 23769824,
|
||||
"value": 23769808,
|
||||
"comment": null
|
||||
},
|
||||
"dwGlowManager": {
|
||||
"value": 25192120,
|
||||
"value": 25192104,
|
||||
"comment": null
|
||||
},
|
||||
"dwInterfaceLinkList": {
|
||||
"value": 26812024,
|
||||
"value": 26812008,
|
||||
"comment": null
|
||||
},
|
||||
"dwLocalPlayerController": {
|
||||
"value": 25140248,
|
||||
"value": 25140232,
|
||||
"comment": null
|
||||
},
|
||||
"dwLocalPlayerPawn": {
|
||||
"value": 23814936,
|
||||
"value": 23814944,
|
||||
"comment": null
|
||||
},
|
||||
"dwPlantedC4": {
|
||||
"value": 25811720,
|
||||
"value": 25811704,
|
||||
"comment": null
|
||||
},
|
||||
"dwPrediction": {
|
||||
"value": 23814640,
|
||||
"comment": null
|
||||
},
|
||||
"dwViewAngles": {
|
||||
"value": 26181776,
|
||||
"value": 26181768,
|
||||
"comment": null
|
||||
},
|
||||
"dwViewMatrix": {
|
||||
"value": 25792640,
|
||||
"value": 25792624,
|
||||
"comment": null
|
||||
},
|
||||
"dwViewRender": {
|
||||
"value": 25795160,
|
||||
"value": 25795144,
|
||||
"comment": null
|
||||
}
|
||||
},
|
||||
|
@ -1,30 +1,33 @@
|
||||
'''
|
||||
Created using https://github.com/a2x/cs2-dumper
|
||||
Fri, 3 Nov 2023 01:49:49 +0000
|
||||
Fri, 3 Nov 2023 09:10:10 +0000
|
||||
'''
|
||||
|
||||
class client_dll: # client.dll
|
||||
dwBaseEntityModel_setModel = 0x5812D0
|
||||
dwEntityList = 0x17AA8F8
|
||||
dwForceBackward = 0x16AF570
|
||||
dwForceCrouch = 0x16AF840
|
||||
dwForceForward = 0x16AF4E0
|
||||
dwForceJump = 0x16AF7B0
|
||||
dwForceLeft = 0x16AF600
|
||||
dwForceRight = 0x16AF690
|
||||
dwGameEntitySystem = 0x1964168
|
||||
dwGameEntitySystem_getBaseEntity = 0x6048E0
|
||||
dwGameEntitySystem_getHighestEntityIndex = 0x5F65D0
|
||||
dwGameRules = 0x1806F58
|
||||
dwGlobalVars = 0x16AB2E0
|
||||
dwGlowManager = 0x18066B8
|
||||
dwInterfaceLinkList = 0x1991E78
|
||||
dwLocalPlayerController = 0x17F9C18
|
||||
dwLocalPlayerPawn = 0x16B6318
|
||||
dwPlantedC4 = 0x189DB08
|
||||
dwViewAngles = 0x18F8090
|
||||
dwViewMatrix = 0x1899080
|
||||
dwViewRender = 0x1899A58
|
||||
dwBaseEntityModel_setModel = 0x581310
|
||||
dwEntityList = 0x17AA8E8
|
||||
dwForceAttack = 0x16AF290
|
||||
dwForceAttack2 = 0x16AF320
|
||||
dwForceBackward = 0x16AF560
|
||||
dwForceCrouch = 0x16AF830
|
||||
dwForceForward = 0x16AF4D0
|
||||
dwForceJump = 0x16AF7A0
|
||||
dwForceLeft = 0x16AF5F0
|
||||
dwForceRight = 0x16AF680
|
||||
dwGameEntitySystem = 0x1964158
|
||||
dwGameEntitySystem_getBaseEntity = 0x604920
|
||||
dwGameEntitySystem_getHighestEntityIndex = 0x5F6610
|
||||
dwGameRules = 0x1806F48
|
||||
dwGlobalVars = 0x16AB2D0
|
||||
dwGlowManager = 0x18066A8
|
||||
dwInterfaceLinkList = 0x1991E68
|
||||
dwLocalPlayerController = 0x17F9C08
|
||||
dwLocalPlayerPawn = 0x16B6320
|
||||
dwPlantedC4 = 0x189DAF8
|
||||
dwPrediction = 0x16B61F0
|
||||
dwViewAngles = 0x18F8088
|
||||
dwViewMatrix = 0x1899070
|
||||
dwViewRender = 0x1899A48
|
||||
|
||||
class engine2_dll: # engine2.dll
|
||||
dwBuildNumber = 0x488514
|
||||
|
@ -1,32 +1,35 @@
|
||||
/*
|
||||
* Created using https://github.com/a2x/cs2-dumper
|
||||
* Fri, 3 Nov 2023 01:49:49 +0000
|
||||
* Fri, 3 Nov 2023 09:10:10 +0000
|
||||
*/
|
||||
|
||||
#![allow(non_snake_case, non_upper_case_globals)]
|
||||
|
||||
pub mod client_dll { // client.dll
|
||||
pub const dwBaseEntityModel_setModel: usize = 0x5812D0;
|
||||
pub const dwEntityList: usize = 0x17AA8F8;
|
||||
pub const dwForceBackward: usize = 0x16AF570;
|
||||
pub const dwForceCrouch: usize = 0x16AF840;
|
||||
pub const dwForceForward: usize = 0x16AF4E0;
|
||||
pub const dwForceJump: usize = 0x16AF7B0;
|
||||
pub const dwForceLeft: usize = 0x16AF600;
|
||||
pub const dwForceRight: usize = 0x16AF690;
|
||||
pub const dwGameEntitySystem: usize = 0x1964168;
|
||||
pub const dwGameEntitySystem_getBaseEntity: usize = 0x6048E0;
|
||||
pub const dwGameEntitySystem_getHighestEntityIndex: usize = 0x5F65D0;
|
||||
pub const dwGameRules: usize = 0x1806F58;
|
||||
pub const dwGlobalVars: usize = 0x16AB2E0;
|
||||
pub const dwGlowManager: usize = 0x18066B8;
|
||||
pub const dwInterfaceLinkList: usize = 0x1991E78;
|
||||
pub const dwLocalPlayerController: usize = 0x17F9C18;
|
||||
pub const dwLocalPlayerPawn: usize = 0x16B6318;
|
||||
pub const dwPlantedC4: usize = 0x189DB08;
|
||||
pub const dwViewAngles: usize = 0x18F8090;
|
||||
pub const dwViewMatrix: usize = 0x1899080;
|
||||
pub const dwViewRender: usize = 0x1899A58;
|
||||
pub const dwBaseEntityModel_setModel: usize = 0x581310;
|
||||
pub const dwEntityList: usize = 0x17AA8E8;
|
||||
pub const dwForceAttack: usize = 0x16AF290;
|
||||
pub const dwForceAttack2: usize = 0x16AF320;
|
||||
pub const dwForceBackward: usize = 0x16AF560;
|
||||
pub const dwForceCrouch: usize = 0x16AF830;
|
||||
pub const dwForceForward: usize = 0x16AF4D0;
|
||||
pub const dwForceJump: usize = 0x16AF7A0;
|
||||
pub const dwForceLeft: usize = 0x16AF5F0;
|
||||
pub const dwForceRight: usize = 0x16AF680;
|
||||
pub const dwGameEntitySystem: usize = 0x1964158;
|
||||
pub const dwGameEntitySystem_getBaseEntity: usize = 0x604920;
|
||||
pub const dwGameEntitySystem_getHighestEntityIndex: usize = 0x5F6610;
|
||||
pub const dwGameRules: usize = 0x1806F48;
|
||||
pub const dwGlobalVars: usize = 0x16AB2D0;
|
||||
pub const dwGlowManager: usize = 0x18066A8;
|
||||
pub const dwInterfaceLinkList: usize = 0x1991E68;
|
||||
pub const dwLocalPlayerController: usize = 0x17F9C08;
|
||||
pub const dwLocalPlayerPawn: usize = 0x16B6320;
|
||||
pub const dwPlantedC4: usize = 0x189DAF8;
|
||||
pub const dwPrediction: usize = 0x16B61F0;
|
||||
pub const dwViewAngles: usize = 0x18F8088;
|
||||
pub const dwViewMatrix: usize = 0x1899070;
|
||||
pub const dwViewRender: usize = 0x1899A48;
|
||||
}
|
||||
|
||||
pub mod engine2_dll { // engine2.dll
|
||||
|
@ -1,6 +1,6 @@
|
||||
/*
|
||||
* Created using https://github.com/a2x/cs2-dumper
|
||||
* Fri, 3 Nov 2023 01:49:48 +0000
|
||||
* Fri, 3 Nov 2023 09:09:52 +0000
|
||||
*/
|
||||
|
||||
public static class CBaseRendererSource2 { // CParticleFunctionRenderer
|
||||
|
@ -1,6 +1,6 @@
|
||||
/*
|
||||
* Created using https://github.com/a2x/cs2-dumper
|
||||
* Fri, 3 Nov 2023 01:49:48 +0000
|
||||
* Fri, 3 Nov 2023 09:09:52 +0000
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
@ -1,6 +1,6 @@
|
||||
'''
|
||||
Created using https://github.com/a2x/cs2-dumper
|
||||
Fri, 3 Nov 2023 01:49:48 +0000
|
||||
Fri, 3 Nov 2023 09:09:52 +0000
|
||||
'''
|
||||
|
||||
class CBaseRendererSource2: # CParticleFunctionRenderer
|
||||
|
@ -1,6 +1,6 @@
|
||||
/*
|
||||
* Created using https://github.com/a2x/cs2-dumper
|
||||
* Fri, 3 Nov 2023 01:49:48 +0000
|
||||
* Fri, 3 Nov 2023 09:09:52 +0000
|
||||
*/
|
||||
|
||||
#![allow(non_snake_case, non_upper_case_globals)]
|
||||
|
@ -1,6 +1,6 @@
|
||||
/*
|
||||
* Created using https://github.com/a2x/cs2-dumper
|
||||
* Fri, 3 Nov 2023 01:49:47 +0000
|
||||
* Fri, 3 Nov 2023 09:09:52 +0000
|
||||
*/
|
||||
|
||||
public static class CBasePulseGraphInstance {
|
||||
|
@ -1,6 +1,6 @@
|
||||
/*
|
||||
* Created using https://github.com/a2x/cs2-dumper
|
||||
* Fri, 3 Nov 2023 01:49:47 +0000
|
||||
* Fri, 3 Nov 2023 09:09:52 +0000
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
@ -1,6 +1,6 @@
|
||||
'''
|
||||
Created using https://github.com/a2x/cs2-dumper
|
||||
Fri, 3 Nov 2023 01:49:47 +0000
|
||||
Fri, 3 Nov 2023 09:09:52 +0000
|
||||
'''
|
||||
|
||||
class CBasePulseGraphInstance:
|
||||
|
@ -1,6 +1,6 @@
|
||||
/*
|
||||
* Created using https://github.com/a2x/cs2-dumper
|
||||
* Fri, 3 Nov 2023 01:49:47 +0000
|
||||
* Fri, 3 Nov 2023 09:09:52 +0000
|
||||
*/
|
||||
|
||||
#![allow(non_snake_case, non_upper_case_globals)]
|
||||
|
@ -1,6 +1,6 @@
|
||||
/*
|
||||
* Created using https://github.com/a2x/cs2-dumper
|
||||
* Fri, 3 Nov 2023 01:49:47 +0000
|
||||
* Fri, 3 Nov 2023 09:09:51 +0000
|
||||
*/
|
||||
|
||||
public static class RenderInputLayoutField_t {
|
||||
|
@ -1,6 +1,6 @@
|
||||
/*
|
||||
* Created using https://github.com/a2x/cs2-dumper
|
||||
* Fri, 3 Nov 2023 01:49:47 +0000
|
||||
* Fri, 3 Nov 2023 09:09:51 +0000
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
@ -1,6 +1,6 @@
|
||||
'''
|
||||
Created using https://github.com/a2x/cs2-dumper
|
||||
Fri, 3 Nov 2023 01:49:47 +0000
|
||||
Fri, 3 Nov 2023 09:09:51 +0000
|
||||
'''
|
||||
|
||||
class RenderInputLayoutField_t:
|
||||
|
@ -1,6 +1,6 @@
|
||||
/*
|
||||
* Created using https://github.com/a2x/cs2-dumper
|
||||
* Fri, 3 Nov 2023 01:49:47 +0000
|
||||
* Fri, 3 Nov 2023 09:09:51 +0000
|
||||
*/
|
||||
|
||||
#![allow(non_snake_case, non_upper_case_globals)]
|
||||
|
@ -1,6 +1,6 @@
|
||||
/*
|
||||
* Created using https://github.com/a2x/cs2-dumper
|
||||
* Fri, 3 Nov 2023 01:49:47 +0000
|
||||
* Fri, 3 Nov 2023 09:09:51 +0000
|
||||
*/
|
||||
|
||||
public static class AABB_t {
|
||||
|
@ -1,6 +1,6 @@
|
||||
/*
|
||||
* Created using https://github.com/a2x/cs2-dumper
|
||||
* Fri, 3 Nov 2023 01:49:47 +0000
|
||||
* Fri, 3 Nov 2023 09:09:51 +0000
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
@ -1,6 +1,6 @@
|
||||
'''
|
||||
Created using https://github.com/a2x/cs2-dumper
|
||||
Fri, 3 Nov 2023 01:49:47 +0000
|
||||
Fri, 3 Nov 2023 09:09:51 +0000
|
||||
'''
|
||||
|
||||
class AABB_t:
|
||||
|
@ -1,6 +1,6 @@
|
||||
/*
|
||||
* Created using https://github.com/a2x/cs2-dumper
|
||||
* Fri, 3 Nov 2023 01:49:47 +0000
|
||||
* Fri, 3 Nov 2023 09:09:51 +0000
|
||||
*/
|
||||
|
||||
#![allow(non_snake_case, non_upper_case_globals)]
|
||||
|
@ -1,6 +1,6 @@
|
||||
/*
|
||||
* Created using https://github.com/a2x/cs2-dumper
|
||||
* Fri, 3 Nov 2023 01:49:47 +0000
|
||||
* Fri, 3 Nov 2023 09:09:52 +0000
|
||||
*/
|
||||
|
||||
public static class CSSDSEndFrameViewInfo {
|
||||
|
@ -1,6 +1,6 @@
|
||||
/*
|
||||
* Created using https://github.com/a2x/cs2-dumper
|
||||
* Fri, 3 Nov 2023 01:49:47 +0000
|
||||
* Fri, 3 Nov 2023 09:09:52 +0000
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
@ -1,6 +1,6 @@
|
||||
'''
|
||||
Created using https://github.com/a2x/cs2-dumper
|
||||
Fri, 3 Nov 2023 01:49:47 +0000
|
||||
Fri, 3 Nov 2023 09:09:52 +0000
|
||||
'''
|
||||
|
||||
class CSSDSEndFrameViewInfo:
|
||||
|
@ -1,6 +1,6 @@
|
||||
/*
|
||||
* Created using https://github.com/a2x/cs2-dumper
|
||||
* Fri, 3 Nov 2023 01:49:47 +0000
|
||||
* Fri, 3 Nov 2023 09:09:52 +0000
|
||||
*/
|
||||
|
||||
#![allow(non_snake_case, non_upper_case_globals)]
|
||||
|
@ -1,6 +1,6 @@
|
||||
/*
|
||||
* Created using https://github.com/a2x/cs2-dumper
|
||||
* Fri, 3 Nov 2023 01:49:47 +0000
|
||||
* Fri, 3 Nov 2023 09:09:51 +0000
|
||||
*/
|
||||
|
||||
public static class CExampleSchemaVData_Monomorphic {
|
||||
|
@ -1,6 +1,6 @@
|
||||
/*
|
||||
* Created using https://github.com/a2x/cs2-dumper
|
||||
* Fri, 3 Nov 2023 01:49:47 +0000
|
||||
* Fri, 3 Nov 2023 09:09:51 +0000
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
@ -1,6 +1,6 @@
|
||||
'''
|
||||
Created using https://github.com/a2x/cs2-dumper
|
||||
Fri, 3 Nov 2023 01:49:47 +0000
|
||||
Fri, 3 Nov 2023 09:09:51 +0000
|
||||
'''
|
||||
|
||||
class CExampleSchemaVData_Monomorphic:
|
||||
|
@ -1,6 +1,6 @@
|
||||
/*
|
||||
* Created using https://github.com/a2x/cs2-dumper
|
||||
* Fri, 3 Nov 2023 01:49:47 +0000
|
||||
* Fri, 3 Nov 2023 09:09:51 +0000
|
||||
*/
|
||||
|
||||
#![allow(non_snake_case, non_upper_case_globals)]
|
||||
|
@ -1,6 +1,6 @@
|
||||
/*
|
||||
* Created using https://github.com/a2x/cs2-dumper
|
||||
* Fri, 3 Nov 2023 01:49:48 +0000
|
||||
* Fri, 3 Nov 2023 09:09:52 +0000
|
||||
*/
|
||||
|
||||
public static class ActiveModelConfig_t {
|
||||
|
@ -1,6 +1,6 @@
|
||||
/*
|
||||
* Created using https://github.com/a2x/cs2-dumper
|
||||
* Fri, 3 Nov 2023 01:49:48 +0000
|
||||
* Fri, 3 Nov 2023 09:09:52 +0000
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
@ -1,6 +1,6 @@
|
||||
'''
|
||||
Created using https://github.com/a2x/cs2-dumper
|
||||
Fri, 3 Nov 2023 01:49:48 +0000
|
||||
Fri, 3 Nov 2023 09:09:52 +0000
|
||||
'''
|
||||
|
||||
class ActiveModelConfig_t:
|
||||
|
@ -1,6 +1,6 @@
|
||||
/*
|
||||
* Created using https://github.com/a2x/cs2-dumper
|
||||
* Fri, 3 Nov 2023 01:49:48 +0000
|
||||
* Fri, 3 Nov 2023 09:09:52 +0000
|
||||
*/
|
||||
|
||||
#![allow(non_snake_case, non_upper_case_globals)]
|
||||
|
@ -1,6 +1,6 @@
|
||||
/*
|
||||
* Created using https://github.com/a2x/cs2-dumper
|
||||
* Fri, 3 Nov 2023 01:49:47 +0000
|
||||
* Fri, 3 Nov 2023 09:09:52 +0000
|
||||
*/
|
||||
|
||||
public static class CDSPMixgroupModifier {
|
||||
|
@ -1,6 +1,6 @@
|
||||
/*
|
||||
* Created using https://github.com/a2x/cs2-dumper
|
||||
* Fri, 3 Nov 2023 01:49:47 +0000
|
||||
* Fri, 3 Nov 2023 09:09:52 +0000
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
@ -1,6 +1,6 @@
|
||||
'''
|
||||
Created using https://github.com/a2x/cs2-dumper
|
||||
Fri, 3 Nov 2023 01:49:47 +0000
|
||||
Fri, 3 Nov 2023 09:09:52 +0000
|
||||
'''
|
||||
|
||||
class CDSPMixgroupModifier:
|
||||
|
@ -1,6 +1,6 @@
|
||||
/*
|
||||
* Created using https://github.com/a2x/cs2-dumper
|
||||
* Fri, 3 Nov 2023 01:49:47 +0000
|
||||
* Fri, 3 Nov 2023 09:09:52 +0000
|
||||
*/
|
||||
|
||||
#![allow(non_snake_case, non_upper_case_globals)]
|
||||
|
@ -1,6 +1,6 @@
|
||||
/*
|
||||
* Created using https://github.com/a2x/cs2-dumper
|
||||
* Fri, 3 Nov 2023 01:49:47 +0000
|
||||
* Fri, 3 Nov 2023 09:09:52 +0000
|
||||
*/
|
||||
|
||||
public static class CFeIndexedJiggleBone {
|
||||
|
@ -1,6 +1,6 @@
|
||||
/*
|
||||
* Created using https://github.com/a2x/cs2-dumper
|
||||
* Fri, 3 Nov 2023 01:49:47 +0000
|
||||
* Fri, 3 Nov 2023 09:09:52 +0000
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
@ -1,6 +1,6 @@
|
||||
'''
|
||||
Created using https://github.com/a2x/cs2-dumper
|
||||
Fri, 3 Nov 2023 01:49:47 +0000
|
||||
Fri, 3 Nov 2023 09:09:52 +0000
|
||||
'''
|
||||
|
||||
class CFeIndexedJiggleBone:
|
||||
|
@ -1,6 +1,6 @@
|
||||
/*
|
||||
* Created using https://github.com/a2x/cs2-dumper
|
||||
* Fri, 3 Nov 2023 01:49:47 +0000
|
||||
* Fri, 3 Nov 2023 09:09:52 +0000
|
||||
*/
|
||||
|
||||
#![allow(non_snake_case, non_upper_case_globals)]
|
||||
|
@ -1,6 +1,6 @@
|
||||
/*
|
||||
* Created using https://github.com/a2x/cs2-dumper
|
||||
* Fri, 3 Nov 2023 01:49:47 +0000
|
||||
* Fri, 3 Nov 2023 09:09:52 +0000
|
||||
*/
|
||||
|
||||
public static class AggregateLODSetup_t {
|
||||
|
@ -1,6 +1,6 @@
|
||||
/*
|
||||
* Created using https://github.com/a2x/cs2-dumper
|
||||
* Fri, 3 Nov 2023 01:49:47 +0000
|
||||
* Fri, 3 Nov 2023 09:09:52 +0000
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
@ -1,6 +1,6 @@
|
||||
'''
|
||||
Created using https://github.com/a2x/cs2-dumper
|
||||
Fri, 3 Nov 2023 01:49:47 +0000
|
||||
Fri, 3 Nov 2023 09:09:52 +0000
|
||||
'''
|
||||
|
||||
class AggregateLODSetup_t:
|
||||
|
@ -1,6 +1,6 @@
|
||||
/*
|
||||
* Created using https://github.com/a2x/cs2-dumper
|
||||
* Fri, 3 Nov 2023 01:49:47 +0000
|
||||
* Fri, 3 Nov 2023 09:09:52 +0000
|
||||
*/
|
||||
|
||||
#![allow(non_snake_case, non_upper_case_globals)]
|
||||
|
@ -9,7 +9,7 @@ pub enum Operation {
|
||||
/// `value` is the value to add.
|
||||
Add { value: usize },
|
||||
|
||||
/// Represents a dereference operation with optional parameters for the number of times to dereference
|
||||
/// Represents a "dereference" operation with optional parameters for the number of times to dereference
|
||||
/// and the size of the resulting value.
|
||||
///
|
||||
/// `times` is the number of times to dereference the address. If `None`, the number of times will be `1`.
|
||||
@ -19,31 +19,33 @@ pub enum Operation {
|
||||
size: Option<usize>,
|
||||
},
|
||||
|
||||
/// Represents a jump instruction with an optional offset and length.
|
||||
/// Represents an operation to resolve the absolute address of a relative "jmp" with an optional
|
||||
/// offset and length.
|
||||
///
|
||||
/// `offset` is the offset of the displacement value. If `None`, the offset will be `0x1`.
|
||||
/// `length` is the length of the instruction. If `None`, the length will be `0x5`.
|
||||
Jmp {
|
||||
ResolveJmp {
|
||||
offset: Option<usize>,
|
||||
length: Option<usize>,
|
||||
},
|
||||
|
||||
/// Represents a relative instruction pointer (RIP) with an optional offset and length.
|
||||
/// Represents an operation to resolve the absolute address of a RIP-relative address with an optional
|
||||
/// offset and length.
|
||||
///
|
||||
/// `offset` is the offset of the displacement value. If `None`, the offset will be `0x3`.
|
||||
/// `length` is the length of the instruction. If `None`, the length will be `0x7`.
|
||||
RipRelative {
|
||||
ResolveRip {
|
||||
offset: Option<usize>,
|
||||
length: Option<usize>,
|
||||
},
|
||||
|
||||
/// Represents a slice operation with a start and end index.
|
||||
/// Represents a "slice" operation with a start and end index.
|
||||
///
|
||||
/// `start` is the start index of the slice.
|
||||
/// `end` is the end index of the slice.
|
||||
Slice { start: usize, end: usize },
|
||||
|
||||
/// Represents a subtract operation with a given value.
|
||||
/// Represents a "subtract" operation with a given value.
|
||||
///
|
||||
/// `value` is the value to subtract.
|
||||
Subtract { value: usize },
|
||||
|
@ -74,12 +74,12 @@ pub fn dump_offsets(
|
||||
)?;
|
||||
}
|
||||
}
|
||||
Jmp { offset, length } => {
|
||||
ResolveJmp { offset, length } => {
|
||||
address = process
|
||||
.resolve_jmp(address, offset.unwrap_or(0x1), length.unwrap_or(0x5))?
|
||||
.into()
|
||||
}
|
||||
RipRelative { offset, length } => {
|
||||
ResolveRip { offset, length } => {
|
||||
address = process
|
||||
.resolve_rip(address, offset.unwrap_or(0x3), length.unwrap_or(0x7))?
|
||||
.into()
|
||||
@ -216,7 +216,7 @@ mod tests {
|
||||
.expect("Failed to find client.dll")
|
||||
.base();
|
||||
|
||||
let global_vars = process.read_memory::<*const GlobalVarsBase>(client_base + 0x16AB2E0)?;
|
||||
let global_vars = process.read_memory::<*const GlobalVarsBase>(client_base + 0x16AB2D0)?;
|
||||
|
||||
let current_map_name = unsafe {
|
||||
(*global_vars)
|
||||
@ -238,7 +238,7 @@ mod tests {
|
||||
.expect("Failed to find client.dll")
|
||||
.base();
|
||||
|
||||
let local_player_controller = process.read_memory::<usize>(client_base + 0x17F9C18)?;
|
||||
let local_player_controller = process.read_memory::<usize>(client_base + 0x17F9C08)?;
|
||||
|
||||
let player_name = process.read_string((local_player_controller + 0x610).into())?;
|
||||
|
||||
|
@ -8,7 +8,7 @@ use goblin::pe::options::ParseOptions;
|
||||
use goblin::pe::section_table::SectionTable;
|
||||
use goblin::pe::PE;
|
||||
|
||||
/// Represents a module loaded into the process.
|
||||
/// Represents a module loaded in a Windows process.
|
||||
pub struct Module<'a> {
|
||||
/// The name of the module.
|
||||
pub name: &'a str,
|
||||
|
@ -229,8 +229,7 @@ impl Process {
|
||||
Ok(String::from_utf8(buffer)?)
|
||||
}
|
||||
|
||||
/// Resolves a jump instruction at the given address by calculating the target address based on the
|
||||
/// displacement value at the given offset.
|
||||
/// Resolves the absolute address of relative "jmp".
|
||||
///
|
||||
/// # Arguments
|
||||
///
|
||||
@ -243,12 +242,13 @@ impl Process {
|
||||
///
|
||||
/// * `Result<Address>` - A `Result` containing the absolute address if successful, or an error if the memory read fails.
|
||||
pub fn resolve_jmp(&self, address: Address, offset: usize, length: usize) -> Result<Address> {
|
||||
// The displacement value can be negative.
|
||||
let displacement = self.read_memory::<i32>(address.add(offset))?;
|
||||
|
||||
Ok(((address.add(length).0 as isize + displacement as isize) as usize).into())
|
||||
}
|
||||
|
||||
/// Resolves the absolute address of a relative instruction pointer (RIP) address.
|
||||
/// Resolves the absolute address of a RIP-relative address.
|
||||
///
|
||||
/// # Arguments
|
||||
///
|
||||
@ -261,6 +261,7 @@ impl Process {
|
||||
///
|
||||
/// * `Result<Address>` - A `Result` containing the absolute address if successful, or an error if the memory read fails.
|
||||
pub fn resolve_rip(&self, address: Address, offset: usize, length: usize) -> Result<Address> {
|
||||
// The displacement value can be negative.
|
||||
let displacement = self.read_memory::<i32>(address.add(offset))?;
|
||||
|
||||
Ok(((address.add(length).0 as isize + displacement as isize) as usize).into())
|
||||
|
Loading…
x
Reference in New Issue
Block a user