Added `dwGameTypes` and `dwGameTypes_mapName`

This commit is contained in:
a2x 2024-02-17 12:21:21 +10:00
parent b4da9a1f38
commit d267a60b7d
7 changed files with 63 additions and 4 deletions

View File

@ -166,6 +166,30 @@
} }
] ]
}, },
{
"name": "dwGameTypes",
"module": "matchmaking.dll",
"pattern": "48 8D 0D ? ? ? ? E9 ? ? ? ? CC CC CC CC 48 8D 0D ? ? ? ? E9 ? ? ? ? CC CC CC CC 48 83 EC ? F0 81 0D",
"operations": [
{
"type": "rip"
}
]
},
{
"name": "dwGameTypes_mapName",
"module": "matchmaking.dll",
"pattern": "48 8D 0D ? ? ? ? E9 ? ? ? ? CC CC CC CC 48 8D 0D ? ? ? ? E9 ? ? ? ? CC CC CC CC 48 83 EC ? F0 81 0D",
"operations": [
{
"type": "rip"
},
{
"type": "add",
"value": 288
}
]
},
{ {
"name": "dwGlobalVars", "name": "dwGlobalVars",
"module": "client.dll", "module": "client.dll",

View File

@ -1,6 +1,6 @@
/* /*
* Created using https://github.com/a2x/cs2-dumper * Created using https://github.com/a2x/cs2-dumper
* Sat, 17 Feb 2024 01:42:30 +0000 * Sat, 17 Feb 2024 02:19:06 +0000
*/ */
public static class client_dll { // client.dll public static class client_dll { // client.dll
@ -47,3 +47,8 @@ public static class game_info { // Some additional information about the game at
public static class inputsystem_dll { // inputsystem.dll public static class inputsystem_dll { // inputsystem.dll
public const nint dwInputSystem = 0x367A0; public const nint dwInputSystem = 0x367A0;
} }
public static class matchmaking_dll { // matchmaking.dll
public const nint dwGameTypes = 0x1D21E0;
public const nint dwGameTypes_mapName = 0x1D2300;
}

View File

@ -1,6 +1,6 @@
/* /*
* Created using https://github.com/a2x/cs2-dumper * Created using https://github.com/a2x/cs2-dumper
* Sat, 17 Feb 2024 01:42:30 +0000 * Sat, 17 Feb 2024 02:19:06 +0000
*/ */
#pragma once #pragma once
@ -51,3 +51,8 @@ namespace game_info { // Some additional information about the game at dump time
namespace inputsystem_dll { // inputsystem.dll namespace inputsystem_dll { // inputsystem.dll
constexpr std::ptrdiff_t dwInputSystem = 0x367A0; constexpr std::ptrdiff_t dwInputSystem = 0x367A0;
} }
namespace matchmaking_dll { // matchmaking.dll
constexpr std::ptrdiff_t dwGameTypes = 0x1D21E0;
constexpr std::ptrdiff_t dwGameTypes_mapName = 0x1D2300;
}

View File

@ -150,5 +150,18 @@
} }
}, },
"comment": "inputsystem.dll" "comment": "inputsystem.dll"
},
"matchmaking_dll": {
"data": {
"dwGameTypes": {
"value": 1909216,
"comment": null
},
"dwGameTypes_mapName": {
"value": 1909504,
"comment": null
}
},
"comment": "matchmaking.dll"
} }
} }

View File

@ -1,6 +1,6 @@
''' '''
Created using https://github.com/a2x/cs2-dumper Created using https://github.com/a2x/cs2-dumper
Sat, 17 Feb 2024 01:42:30 +0000 Sat, 17 Feb 2024 02:19:06 +0000
''' '''
class client_dll: # client.dll class client_dll: # client.dll
@ -43,3 +43,7 @@ class game_info: # Some additional information about the game at dump time
class inputsystem_dll: # inputsystem.dll class inputsystem_dll: # inputsystem.dll
dwInputSystem = 0x367A0 dwInputSystem = 0x367A0
class matchmaking_dll: # matchmaking.dll
dwGameTypes = 0x1D21E0
dwGameTypes_mapName = 0x1D2300

View File

@ -1,6 +1,6 @@
/* /*
* Created using https://github.com/a2x/cs2-dumper * Created using https://github.com/a2x/cs2-dumper
* Sat, 17 Feb 2024 01:42:30 +0000 * Sat, 17 Feb 2024 02:19:06 +0000
*/ */
#![allow(non_snake_case, non_upper_case_globals)] #![allow(non_snake_case, non_upper_case_globals)]
@ -49,3 +49,8 @@ pub mod game_info { // Some additional information about the game at dump time
pub mod inputsystem_dll { // inputsystem.dll pub mod inputsystem_dll { // inputsystem.dll
pub const dwInputSystem: usize = 0x367A0; pub const dwInputSystem: usize = 0x367A0;
} }
pub mod matchmaking_dll { // matchmaking.dll
pub const dwGameTypes: usize = 0x1D21E0;
pub const dwGameTypes_mapName: usize = 0x1D2300;
}

View File

@ -36,3 +36,6 @@ game_info: # Some additional information about the game at dump time
buildNumber: 13994 # Game build number buildNumber: 13994 # Game build number
inputsystem_dll: # inputsystem.dll inputsystem_dll: # inputsystem.dll
dwInputSystem: 223136 dwInputSystem: 223136
matchmaking_dll: # matchmaking.dll
dwGameTypes: 1909216
dwGameTypes_mapName: 1909504