From 2378c280ab1ec4e5d8a83e95a14b7f45654ebc7b Mon Sep 17 00:00:00 2001 From: a2x <45197573+a2x@users.noreply.github.com> Date: Fri, 3 Nov 2023 17:39:02 +1000 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=A6=20Game=20Update=2013966=20(2)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config.json | 70 +++++++++++++++++------------- generated/animationsystem.dll.cs | 2 +- generated/animationsystem.dll.hpp | 2 +- generated/animationsystem.dll.py | 2 +- generated/animationsystem.dll.rs | 2 +- generated/client.dll.cs | 2 +- generated/client.dll.hpp | 2 +- generated/client.dll.py | 2 +- generated/client.dll.rs | 2 +- generated/engine2.dll.cs | 2 +- generated/engine2.dll.hpp | 2 +- generated/engine2.dll.py | 2 +- generated/engine2.dll.rs | 2 +- generated/host.dll.cs | 2 +- generated/host.dll.hpp | 2 +- generated/host.dll.py | 2 +- generated/host.dll.rs | 2 +- generated/interfaces.cs | 36 +++++++-------- generated/interfaces.hpp | 36 +++++++-------- generated/interfaces.json | 34 +++++++-------- generated/interfaces.py | 36 +++++++-------- generated/interfaces.rs | 36 +++++++-------- generated/materialsystem2.dll.cs | 2 +- generated/materialsystem2.dll.hpp | 2 +- generated/materialsystem2.dll.py | 2 +- generated/materialsystem2.dll.rs | 2 +- generated/networksystem.dll.cs | 2 +- generated/networksystem.dll.hpp | 2 +- generated/networksystem.dll.py | 2 +- generated/networksystem.dll.rs | 2 +- generated/offsets.cs | 47 ++++++++++---------- generated/offsets.hpp | 47 ++++++++++---------- generated/offsets.json | 54 ++++++++++++++--------- generated/offsets.py | 47 ++++++++++---------- generated/offsets.rs | 47 ++++++++++---------- generated/particles.dll.cs | 2 +- generated/particles.dll.hpp | 2 +- generated/particles.dll.py | 2 +- generated/particles.dll.rs | 2 +- generated/pulse_system.dll.cs | 2 +- generated/pulse_system.dll.hpp | 2 +- generated/pulse_system.dll.py | 2 +- generated/pulse_system.dll.rs | 2 +- generated/rendersystemdx11.dll.cs | 2 +- generated/rendersystemdx11.dll.hpp | 2 +- generated/rendersystemdx11.dll.py | 2 +- generated/rendersystemdx11.dll.rs | 2 +- generated/resourcesystem.dll.cs | 2 +- generated/resourcesystem.dll.hpp | 2 +- generated/resourcesystem.dll.py | 2 +- generated/resourcesystem.dll.rs | 2 +- generated/scenesystem.dll.cs | 2 +- generated/scenesystem.dll.hpp | 2 +- generated/scenesystem.dll.py | 2 +- generated/scenesystem.dll.rs | 2 +- generated/schemasystem.dll.cs | 2 +- generated/schemasystem.dll.hpp | 2 +- generated/schemasystem.dll.py | 2 +- generated/schemasystem.dll.rs | 2 +- generated/server.dll.cs | 2 +- generated/server.dll.hpp | 2 +- generated/server.dll.py | 2 +- generated/server.dll.rs | 2 +- generated/soundsystem.dll.cs | 2 +- generated/soundsystem.dll.hpp | 2 +- generated/soundsystem.dll.py | 2 +- generated/soundsystem.dll.rs | 2 +- generated/vphysics2.dll.cs | 2 +- generated/vphysics2.dll.hpp | 2 +- generated/vphysics2.dll.py | 2 +- generated/vphysics2.dll.rs | 2 +- generated/worldrenderer.dll.cs | 2 +- generated/worldrenderer.dll.hpp | 2 +- generated/worldrenderer.dll.py | 2 +- generated/worldrenderer.dll.rs | 2 +- src/config.rs | 16 ++++--- src/dumper/offsets.rs | 8 ++-- src/util/module.rs | 2 +- src/util/process.rs | 7 +-- 79 files changed, 344 insertions(+), 307 deletions(-) diff --git a/config.json b/config.json index 11c324a..7449080 100644 --- a/config.json +++ b/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 } diff --git a/generated/animationsystem.dll.cs b/generated/animationsystem.dll.cs index 4ef80b6..1939c66 100644 --- a/generated/animationsystem.dll.cs +++ b/generated/animationsystem.dll.cs @@ -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 { diff --git a/generated/animationsystem.dll.hpp b/generated/animationsystem.dll.hpp index 9da02c2..a9f9023 100644 --- a/generated/animationsystem.dll.hpp +++ b/generated/animationsystem.dll.hpp @@ -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 diff --git a/generated/animationsystem.dll.py b/generated/animationsystem.dll.py index d5662da..4cb5875 100644 --- a/generated/animationsystem.dll.py +++ b/generated/animationsystem.dll.py @@ -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: diff --git a/generated/animationsystem.dll.rs b/generated/animationsystem.dll.rs index 5908de0..4eb47cb 100644 --- a/generated/animationsystem.dll.rs +++ b/generated/animationsystem.dll.rs @@ -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)] diff --git a/generated/client.dll.cs b/generated/client.dll.cs index 90ac6ac..26914ad 100644 --- a/generated/client.dll.cs +++ b/generated/client.dll.cs @@ -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 { diff --git a/generated/client.dll.hpp b/generated/client.dll.hpp index edd6531..58458a9 100644 --- a/generated/client.dll.hpp +++ b/generated/client.dll.hpp @@ -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 diff --git a/generated/client.dll.py b/generated/client.dll.py index 8d3d336..c9adc54 100644 --- a/generated/client.dll.py +++ b/generated/client.dll.py @@ -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: diff --git a/generated/client.dll.rs b/generated/client.dll.rs index 1672174..022b1a6 100644 --- a/generated/client.dll.rs +++ b/generated/client.dll.rs @@ -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)] diff --git a/generated/engine2.dll.cs b/generated/engine2.dll.cs index eb61001..c474911 100644 --- a/generated/engine2.dll.cs +++ b/generated/engine2.dll.cs @@ -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 { diff --git a/generated/engine2.dll.hpp b/generated/engine2.dll.hpp index f4b88f5..65525ad 100644 --- a/generated/engine2.dll.hpp +++ b/generated/engine2.dll.hpp @@ -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 diff --git a/generated/engine2.dll.py b/generated/engine2.dll.py index 79ddd2d..c31ea88 100644 --- a/generated/engine2.dll.py +++ b/generated/engine2.dll.py @@ -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: diff --git a/generated/engine2.dll.rs b/generated/engine2.dll.rs index 6552938..bf1f6ff 100644 --- a/generated/engine2.dll.rs +++ b/generated/engine2.dll.rs @@ -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)] diff --git a/generated/host.dll.cs b/generated/host.dll.cs index 2caa7ae..1a4748d 100644 --- a/generated/host.dll.cs +++ b/generated/host.dll.cs @@ -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 { diff --git a/generated/host.dll.hpp b/generated/host.dll.hpp index c49ab66..27cefaf 100644 --- a/generated/host.dll.hpp +++ b/generated/host.dll.hpp @@ -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 diff --git a/generated/host.dll.py b/generated/host.dll.py index e076470..e5342e3 100644 --- a/generated/host.dll.py +++ b/generated/host.dll.py @@ -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: diff --git a/generated/host.dll.rs b/generated/host.dll.rs index b8b3386..59a603e 100644 --- a/generated/host.dll.rs +++ b/generated/host.dll.rs @@ -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)] diff --git a/generated/interfaces.cs b/generated/interfaces.cs index 3a5bbb8..056eeb3 100644 --- a/generated/interfaces.cs +++ b/generated/interfaces.cs @@ -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; } diff --git a/generated/interfaces.hpp b/generated/interfaces.hpp index aaaa1e4..6548b0a 100644 --- a/generated/interfaces.hpp +++ b/generated/interfaces.hpp @@ -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; } diff --git a/generated/interfaces.json b/generated/interfaces.json index 9d7205f..6cf348f 100644 --- a/generated/interfaces.json +++ b/generated/interfaces.json @@ -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 } }, diff --git a/generated/interfaces.py b/generated/interfaces.py index 6d274ac..8c5c121 100644 --- a/generated/interfaces.py +++ b/generated/interfaces.py @@ -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 diff --git a/generated/interfaces.rs b/generated/interfaces.rs index 6b4a7b8..4c7a9a7 100644 --- a/generated/interfaces.rs +++ b/generated/interfaces.rs @@ -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; } diff --git a/generated/materialsystem2.dll.cs b/generated/materialsystem2.dll.cs index 5d59ef7..e0b61fc 100644 --- a/generated/materialsystem2.dll.cs +++ b/generated/materialsystem2.dll.cs @@ -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 diff --git a/generated/materialsystem2.dll.hpp b/generated/materialsystem2.dll.hpp index 6a71bd1..e764401 100644 --- a/generated/materialsystem2.dll.hpp +++ b/generated/materialsystem2.dll.hpp @@ -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 diff --git a/generated/materialsystem2.dll.py b/generated/materialsystem2.dll.py index feb7336..6ca7df2 100644 --- a/generated/materialsystem2.dll.py +++ b/generated/materialsystem2.dll.py @@ -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 diff --git a/generated/materialsystem2.dll.rs b/generated/materialsystem2.dll.rs index aea2638..fb616ce 100644 --- a/generated/materialsystem2.dll.rs +++ b/generated/materialsystem2.dll.rs @@ -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)] diff --git a/generated/networksystem.dll.cs b/generated/networksystem.dll.cs index 407c5ef..2d344e8 100644 --- a/generated/networksystem.dll.cs +++ b/generated/networksystem.dll.cs @@ -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 { diff --git a/generated/networksystem.dll.hpp b/generated/networksystem.dll.hpp index 085af06..dbd5348 100644 --- a/generated/networksystem.dll.hpp +++ b/generated/networksystem.dll.hpp @@ -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 diff --git a/generated/networksystem.dll.py b/generated/networksystem.dll.py index bcf6ae4..3285e62 100644 --- a/generated/networksystem.dll.py +++ b/generated/networksystem.dll.py @@ -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: diff --git a/generated/networksystem.dll.rs b/generated/networksystem.dll.rs index 8b85c7c..6b5d8c3 100644 --- a/generated/networksystem.dll.rs +++ b/generated/networksystem.dll.rs @@ -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)] diff --git a/generated/offsets.cs b/generated/offsets.cs index b42574f..e46e111 100644 --- a/generated/offsets.cs +++ b/generated/offsets.cs @@ -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 diff --git a/generated/offsets.hpp b/generated/offsets.hpp index b26870e..f1717a8 100644 --- a/generated/offsets.hpp +++ b/generated/offsets.hpp @@ -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 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 diff --git a/generated/offsets.json b/generated/offsets.json index 7152ede..4b6ae11 100644 --- a/generated/offsets.json +++ b/generated/offsets.json @@ -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 } }, diff --git a/generated/offsets.py b/generated/offsets.py index b5ee58b..a120166 100644 --- a/generated/offsets.py +++ b/generated/offsets.py @@ -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 diff --git a/generated/offsets.rs b/generated/offsets.rs index fa26bda..595de54 100644 --- a/generated/offsets.rs +++ b/generated/offsets.rs @@ -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 diff --git a/generated/particles.dll.cs b/generated/particles.dll.cs index 7816c9f..1051f5b 100644 --- a/generated/particles.dll.cs +++ b/generated/particles.dll.cs @@ -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 diff --git a/generated/particles.dll.hpp b/generated/particles.dll.hpp index dbefbb7..ef71811 100644 --- a/generated/particles.dll.hpp +++ b/generated/particles.dll.hpp @@ -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 diff --git a/generated/particles.dll.py b/generated/particles.dll.py index 58e82aa..a20ad0f 100644 --- a/generated/particles.dll.py +++ b/generated/particles.dll.py @@ -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 diff --git a/generated/particles.dll.rs b/generated/particles.dll.rs index 9d4b308..cd94255 100644 --- a/generated/particles.dll.rs +++ b/generated/particles.dll.rs @@ -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)] diff --git a/generated/pulse_system.dll.cs b/generated/pulse_system.dll.cs index a4cc36a..0279775 100644 --- a/generated/pulse_system.dll.cs +++ b/generated/pulse_system.dll.cs @@ -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 { diff --git a/generated/pulse_system.dll.hpp b/generated/pulse_system.dll.hpp index 67745d7..80bf3b7 100644 --- a/generated/pulse_system.dll.hpp +++ b/generated/pulse_system.dll.hpp @@ -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 diff --git a/generated/pulse_system.dll.py b/generated/pulse_system.dll.py index e01f3b6..9a71e7f 100644 --- a/generated/pulse_system.dll.py +++ b/generated/pulse_system.dll.py @@ -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: diff --git a/generated/pulse_system.dll.rs b/generated/pulse_system.dll.rs index 4a1dc72..4508647 100644 --- a/generated/pulse_system.dll.rs +++ b/generated/pulse_system.dll.rs @@ -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)] diff --git a/generated/rendersystemdx11.dll.cs b/generated/rendersystemdx11.dll.cs index 56daeb8..6c12a8e 100644 --- a/generated/rendersystemdx11.dll.cs +++ b/generated/rendersystemdx11.dll.cs @@ -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 { diff --git a/generated/rendersystemdx11.dll.hpp b/generated/rendersystemdx11.dll.hpp index 5e3de73..66ac456 100644 --- a/generated/rendersystemdx11.dll.hpp +++ b/generated/rendersystemdx11.dll.hpp @@ -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 diff --git a/generated/rendersystemdx11.dll.py b/generated/rendersystemdx11.dll.py index 2bf7309..efd467b 100644 --- a/generated/rendersystemdx11.dll.py +++ b/generated/rendersystemdx11.dll.py @@ -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: diff --git a/generated/rendersystemdx11.dll.rs b/generated/rendersystemdx11.dll.rs index 99fe29e..b3b5144 100644 --- a/generated/rendersystemdx11.dll.rs +++ b/generated/rendersystemdx11.dll.rs @@ -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)] diff --git a/generated/resourcesystem.dll.cs b/generated/resourcesystem.dll.cs index 345f3cc..2c7ac7a 100644 --- a/generated/resourcesystem.dll.cs +++ b/generated/resourcesystem.dll.cs @@ -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 { diff --git a/generated/resourcesystem.dll.hpp b/generated/resourcesystem.dll.hpp index 560c1be..484eac2 100644 --- a/generated/resourcesystem.dll.hpp +++ b/generated/resourcesystem.dll.hpp @@ -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 diff --git a/generated/resourcesystem.dll.py b/generated/resourcesystem.dll.py index b957432..1e37b8d 100644 --- a/generated/resourcesystem.dll.py +++ b/generated/resourcesystem.dll.py @@ -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: diff --git a/generated/resourcesystem.dll.rs b/generated/resourcesystem.dll.rs index 8371ad3..1fdf943 100644 --- a/generated/resourcesystem.dll.rs +++ b/generated/resourcesystem.dll.rs @@ -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)] diff --git a/generated/scenesystem.dll.cs b/generated/scenesystem.dll.cs index 89635f7..a850e46 100644 --- a/generated/scenesystem.dll.cs +++ b/generated/scenesystem.dll.cs @@ -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 { diff --git a/generated/scenesystem.dll.hpp b/generated/scenesystem.dll.hpp index be144ec..684b6c8 100644 --- a/generated/scenesystem.dll.hpp +++ b/generated/scenesystem.dll.hpp @@ -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 diff --git a/generated/scenesystem.dll.py b/generated/scenesystem.dll.py index bede329..c54981c 100644 --- a/generated/scenesystem.dll.py +++ b/generated/scenesystem.dll.py @@ -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: diff --git a/generated/scenesystem.dll.rs b/generated/scenesystem.dll.rs index 326b4d6..cd7f619 100644 --- a/generated/scenesystem.dll.rs +++ b/generated/scenesystem.dll.rs @@ -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)] diff --git a/generated/schemasystem.dll.cs b/generated/schemasystem.dll.cs index 7cea4ec..5728200 100644 --- a/generated/schemasystem.dll.cs +++ b/generated/schemasystem.dll.cs @@ -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 { diff --git a/generated/schemasystem.dll.hpp b/generated/schemasystem.dll.hpp index 270085a..b60f2df 100644 --- a/generated/schemasystem.dll.hpp +++ b/generated/schemasystem.dll.hpp @@ -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 diff --git a/generated/schemasystem.dll.py b/generated/schemasystem.dll.py index 9b7f3da..98808c2 100644 --- a/generated/schemasystem.dll.py +++ b/generated/schemasystem.dll.py @@ -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: diff --git a/generated/schemasystem.dll.rs b/generated/schemasystem.dll.rs index a74da33..630ffe7 100644 --- a/generated/schemasystem.dll.rs +++ b/generated/schemasystem.dll.rs @@ -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)] diff --git a/generated/server.dll.cs b/generated/server.dll.cs index 031af7c..2e1db25 100644 --- a/generated/server.dll.cs +++ b/generated/server.dll.cs @@ -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 { diff --git a/generated/server.dll.hpp b/generated/server.dll.hpp index cf2467e..fe6175c 100644 --- a/generated/server.dll.hpp +++ b/generated/server.dll.hpp @@ -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 diff --git a/generated/server.dll.py b/generated/server.dll.py index 3286c35..a789a97 100644 --- a/generated/server.dll.py +++ b/generated/server.dll.py @@ -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: diff --git a/generated/server.dll.rs b/generated/server.dll.rs index 4cc59bf..b8f6471 100644 --- a/generated/server.dll.rs +++ b/generated/server.dll.rs @@ -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)] diff --git a/generated/soundsystem.dll.cs b/generated/soundsystem.dll.cs index 4216b9e..bc36a62 100644 --- a/generated/soundsystem.dll.cs +++ b/generated/soundsystem.dll.cs @@ -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 { diff --git a/generated/soundsystem.dll.hpp b/generated/soundsystem.dll.hpp index da30ed8..f24c59c 100644 --- a/generated/soundsystem.dll.hpp +++ b/generated/soundsystem.dll.hpp @@ -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 diff --git a/generated/soundsystem.dll.py b/generated/soundsystem.dll.py index 9b81413..31a9b4b 100644 --- a/generated/soundsystem.dll.py +++ b/generated/soundsystem.dll.py @@ -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: diff --git a/generated/soundsystem.dll.rs b/generated/soundsystem.dll.rs index 01d1473..aef4bdc 100644 --- a/generated/soundsystem.dll.rs +++ b/generated/soundsystem.dll.rs @@ -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)] diff --git a/generated/vphysics2.dll.cs b/generated/vphysics2.dll.cs index 7d2feef..9ffaadd 100644 --- a/generated/vphysics2.dll.cs +++ b/generated/vphysics2.dll.cs @@ -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 { diff --git a/generated/vphysics2.dll.hpp b/generated/vphysics2.dll.hpp index b17a99a..e372010 100644 --- a/generated/vphysics2.dll.hpp +++ b/generated/vphysics2.dll.hpp @@ -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 diff --git a/generated/vphysics2.dll.py b/generated/vphysics2.dll.py index b2e4a50..5dc94ee 100644 --- a/generated/vphysics2.dll.py +++ b/generated/vphysics2.dll.py @@ -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: diff --git a/generated/vphysics2.dll.rs b/generated/vphysics2.dll.rs index f06fc55..5c535d0 100644 --- a/generated/vphysics2.dll.rs +++ b/generated/vphysics2.dll.rs @@ -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)] diff --git a/generated/worldrenderer.dll.cs b/generated/worldrenderer.dll.cs index 6d299e8..08c8565 100644 --- a/generated/worldrenderer.dll.cs +++ b/generated/worldrenderer.dll.cs @@ -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 { diff --git a/generated/worldrenderer.dll.hpp b/generated/worldrenderer.dll.hpp index 8e1dd44..604b66a 100644 --- a/generated/worldrenderer.dll.hpp +++ b/generated/worldrenderer.dll.hpp @@ -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 diff --git a/generated/worldrenderer.dll.py b/generated/worldrenderer.dll.py index 708137d..fdb927b 100644 --- a/generated/worldrenderer.dll.py +++ b/generated/worldrenderer.dll.py @@ -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: diff --git a/generated/worldrenderer.dll.rs b/generated/worldrenderer.dll.rs index a36210f..30b90cd 100644 --- a/generated/worldrenderer.dll.rs +++ b/generated/worldrenderer.dll.rs @@ -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)] diff --git a/src/config.rs b/src/config.rs index cbde55e..af44da5 100644 --- a/src/config.rs +++ b/src/config.rs @@ -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, }, - /// 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, length: Option, }, - /// 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, length: Option, }, - /// 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 }, diff --git a/src/dumper/offsets.rs b/src/dumper/offsets.rs index dc70392..ef8afc7 100644 --- a/src/dumper/offsets.rs +++ b/src/dumper/offsets.rs @@ -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::(client_base + 0x17F9C18)?; + let local_player_controller = process.read_memory::(client_base + 0x17F9C08)?; let player_name = process.read_string((local_player_controller + 0x610).into())?; diff --git a/src/util/module.rs b/src/util/module.rs index fb886f3..c51c36a 100644 --- a/src/util/module.rs +++ b/src/util/module.rs @@ -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, diff --git a/src/util/process.rs b/src/util/process.rs index 485d96f..41c8218 100644 --- a/src/util/process.rs +++ b/src/util/process.rs @@ -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
` - 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
{ + // The displacement value can be negative. let displacement = self.read_memory::(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
` - 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
{ + // The displacement value can be negative. let displacement = self.read_memory::(address.add(offset))?; Ok(((address.add(length).0 as isize + displacement as isize) as usize).into())