Add more function signatures

This commit is contained in:
Albert24GG 2024-03-11 22:15:39 +02:00
parent 4dfadff893
commit ea2eee0035
7 changed files with 327 additions and 4 deletions

View File

@ -94,6 +94,60 @@
} }
] ]
}, },
{
"name": "dwGameTypes",
"module": "libmatchmaking.so",
"pattern": "48 8d 05 ? ? ? ? c3 ? ? ? 00 00 00 00 00 48 ? ? 55",
"operations": [
{
"type": "rip"
}
]
},
{
"name": "dwGameTypes_mapName",
"module": "libmatchmaking.so",
"pattern": "48 8d 05 ? ? ? ? c3 ? ? ? 00 00 00 00 00 48 ? ? 55",
"operations": [
{
"type": "rip"
},
{
"type": "add",
"value": 288
}
]
},
{
"name": "dwGlobalVars",
"module": "libclient.so",
"pattern": "48 89 35 ? ? ? ? 48 89 ? ? c3",
"operations": [
{
"type": "rip"
}
]
},
{
"name": "dwGlowManager",
"module": "libclient.so",
"pattern": "48 8b 05 ? ? ? ? c3 ? ? ? 00 00 00 00 00 48 8d 05 ? ? ? ? 48 c7",
"operations": [
{
"type": "rip"
}
]
},
{
"name": "dwInterfaceLinkList",
"module": "libclient.so",
"pattern": "48 8b 1d ? ? ? ? 48 85 db 74 ? 49 89 ? eb",
"operations": [
{
"type": "rip"
}
]
},
{ {
"name": "dwLocalPlayerController", "name": "dwLocalPlayerController",
"module": "libclient.so", "module": "libclient.so",
@ -118,6 +172,89 @@
} }
] ]
}, },
{
"name": "dwNetworkGameClient",
"module": "libengine2.so",
"pattern": "48 89 1d ? ? ? ? 49 8b",
"operations": [
{
"type": "rip"
}
]
},
{
"name": "dwNetworkGameClient_maxClients",
"module": "libengine2.so",
"pattern": "48 8b ? ? ? ? ? c3 ? ? ? 00 00 00 00 00 48 89 ? ? ? ? ? c3 ? ? ? 00 00 00 00 00 8b",
"operations": [
{
"type": "slice",
"start": 3,
"end": 5
}
]
},
{
"name": "dwNetworkGameClient_signOnState",
"module": "libengine2.so",
"pattern": "8b 97 ? ? ? ? 31 c0 45 31 ed",
"operations": [
{
"type": "slice",
"start": 2,
"end": 4
}
]
},
{
"name": "dwPlantedC4",
"module": "libclient.so",
"pattern": "48 8b 05 ? ? ? ? 4c ? ? ? 49 ? ? ? ? 8b ? ? e8",
"operations": [
{
"type": "rip"
}
]
},
{
"name": "dwPrediction",
"module": "libclient.so",
"pattern": "48 8D 05 ? ? ? ? C3 ? ? ? 00 00 00 00 00 C7 47 40",
"operations": [
{
"type": "rip"
}
]
},
{
"name": "dwSensitivity_sensitivity",
"module": "libclient.so",
"pattern": "ff 53 ? 4c 89 ea 4c 89 fe 4c 89 e7 e8 ? ? ? ? 84 c0",
"operations": [
{
"type": "slice",
"start": 2,
"end": 3
}
]
},
{
"name": "dwViewAngles",
"module": "libclient.so",
"pattern": "48 8d 05 ? ? ? ? 48 8b 30 8b",
"operations": [
{
"type": "rip"
},
{
"type": "deref"
},
{
"type": "add",
"value": 21392
}
]
},
{ {
"name": "dwViewMatrix", "name": "dwViewMatrix",
"module": "libclient.so", "module": "libclient.so",
@ -127,6 +264,40 @@
"type": "rip" "type": "rip"
} }
] ]
},
{
"name": "dwViewRender",
"module": "libclient.so",
"pattern": "48 8d 05 ? ? ? ? 48 89 38 48 85 ff",
"operations": [
{
"type": "rip"
}
]
},
{
"name": "dwWindowHeight",
"module": "libengine2.so",
"pattern": "8B 05 ? ? ? ? 89 03",
"operations": [
{
"type": "rip",
"offset": 2,
"length": 6
}
]
},
{
"name": "dwWindowWidth",
"module": "libengine2.so",
"pattern": "8B 05 ? ? ? ? 41 89 ? ? 8b 05",
"operations": [
{
"type": "rip",
"offset": 2,
"length": 6
}
]
} }
] ]
} }

View File

@ -1,6 +1,6 @@
/* /*
* Generated using https://github.com/a2x/cs2-dumper * Generated using https://github.com/a2x/cs2-dumper
* Thu, 7 Mar 2024 22:17:31 +0000 * Mon, 11 Mar 2024 20:06:27 +0000
*/ */
public static class game_info { // Some additional information about the game at dump time public static class game_info { // Some additional information about the game at dump time
@ -14,12 +14,30 @@ public static class libclient_so { // libclient.so
public const nint dwGameEntitySystem = 0x385B700; public const nint dwGameEntitySystem = 0x385B700;
public const nint dwGameEntitySystem_getHighestEntityIndex = 0x1540; public const nint dwGameEntitySystem_getHighestEntityIndex = 0x1540;
public const nint dwGameRules = 0x3731248; public const nint dwGameRules = 0x3731248;
public const nint dwGlobalVars = 0x35669D0;
public const nint dwGlowManager = 0x3735B50;
public const nint dwInterfaceLinkList = 0x37CDF30;
public const nint dwLocalPlayerController = 0x3716778; public const nint dwLocalPlayerController = 0x3716778;
public const nint dwLocalPlayerPawn = 0x3736B38; public const nint dwLocalPlayerPawn = 0x3736B38;
public const nint dwPlantedC4 = 0x374B398;
public const nint dwPrediction = 0x3736A00;
public const nint dwSensitivity_sensitivity = 0x40;
public const nint dwViewAngles = 0x3743870;
public const nint dwViewMatrix = 0x3737660; public const nint dwViewMatrix = 0x3737660;
public const nint dwViewRender = 0x3737810;
} }
public static class libengine2_so { // libengine2.so public static class libengine2_so { // libengine2.so
public const nint dwBuildNumber = 0x6D35F4; public const nint dwBuildNumber = 0x6D35F4;
public const nint dwNetworkGameClient_deltaTick = 0x278; public const nint dwNetworkGameClient_deltaTick = 0x278;
public const nint dwNetworkGameClient = 0x6D3F88;
public const nint dwNetworkGameClient_maxClients = 0x250;
public const nint dwNetworkGameClient_signOnState = 0x260;
public const nint dwWindowHeight = 0x6DCDBC;
public const nint dwWindowWidth = 0x6DCDB8;
}
public static class libmatchmaking_so { // libmatchmaking.so
public const nint dwGameTypes = 0x37C9A0;
public const nint dwGameTypes_mapName = 0x37CAC0;
} }

View File

@ -1,6 +1,6 @@
/* /*
* Generated using https://github.com/a2x/cs2-dumper * Generated using https://github.com/a2x/cs2-dumper
* Thu, 7 Mar 2024 22:17:31 +0000 * Mon, 11 Mar 2024 20:06:27 +0000
*/ */
#pragma once #pragma once
@ -18,12 +18,30 @@ namespace libclient_so { // libclient.so
constexpr std::ptrdiff_t dwGameEntitySystem = 0x385B700; constexpr std::ptrdiff_t dwGameEntitySystem = 0x385B700;
constexpr std::ptrdiff_t dwGameEntitySystem_getHighestEntityIndex = 0x1540; constexpr std::ptrdiff_t dwGameEntitySystem_getHighestEntityIndex = 0x1540;
constexpr std::ptrdiff_t dwGameRules = 0x3731248; constexpr std::ptrdiff_t dwGameRules = 0x3731248;
constexpr std::ptrdiff_t dwGlobalVars = 0x35669D0;
constexpr std::ptrdiff_t dwGlowManager = 0x3735B50;
constexpr std::ptrdiff_t dwInterfaceLinkList = 0x37CDF30;
constexpr std::ptrdiff_t dwLocalPlayerController = 0x3716778; constexpr std::ptrdiff_t dwLocalPlayerController = 0x3716778;
constexpr std::ptrdiff_t dwLocalPlayerPawn = 0x3736B38; constexpr std::ptrdiff_t dwLocalPlayerPawn = 0x3736B38;
constexpr std::ptrdiff_t dwPlantedC4 = 0x374B398;
constexpr std::ptrdiff_t dwPrediction = 0x3736A00;
constexpr std::ptrdiff_t dwSensitivity_sensitivity = 0x40;
constexpr std::ptrdiff_t dwViewAngles = 0x3743870;
constexpr std::ptrdiff_t dwViewMatrix = 0x3737660; constexpr std::ptrdiff_t dwViewMatrix = 0x3737660;
constexpr std::ptrdiff_t dwViewRender = 0x3737810;
} }
namespace libengine2_so { // libengine2.so namespace libengine2_so { // libengine2.so
constexpr std::ptrdiff_t dwBuildNumber = 0x6D35F4; constexpr std::ptrdiff_t dwBuildNumber = 0x6D35F4;
constexpr std::ptrdiff_t dwNetworkGameClient_deltaTick = 0x278; constexpr std::ptrdiff_t dwNetworkGameClient_deltaTick = 0x278;
constexpr std::ptrdiff_t dwNetworkGameClient = 0x6D3F88;
constexpr std::ptrdiff_t dwNetworkGameClient_maxClients = 0x250;
constexpr std::ptrdiff_t dwNetworkGameClient_signOnState = 0x260;
constexpr std::ptrdiff_t dwWindowHeight = 0x6DCDBC;
constexpr std::ptrdiff_t dwWindowWidth = 0x6DCDB8;
}
namespace libmatchmaking_so { // libmatchmaking.so
constexpr std::ptrdiff_t dwGameTypes = 0x37C9A0;
constexpr std::ptrdiff_t dwGameTypes_mapName = 0x37CAC0;
} }

View File

@ -34,6 +34,18 @@
"value": 57872968, "value": 57872968,
"comment": null "comment": null
}, },
"dwGlobalVars": {
"value": 55994832,
"comment": null
},
"dwGlowManager": {
"value": 57891664,
"comment": null
},
"dwInterfaceLinkList": {
"value": 58515248,
"comment": null
},
"dwLocalPlayerController": { "dwLocalPlayerController": {
"value": 57763704, "value": 57763704,
"comment": null "comment": null
@ -42,9 +54,29 @@
"value": 57895736, "value": 57895736,
"comment": null "comment": null
}, },
"dwPlantedC4": {
"value": 57979800,
"comment": null
},
"dwPrediction": {
"value": 57895424,
"comment": null
},
"dwSensitivity_sensitivity": {
"value": 64,
"comment": null
},
"dwViewAngles": {
"value": 57948272,
"comment": null
},
"dwViewMatrix": { "dwViewMatrix": {
"value": 57898592, "value": 57898592,
"comment": null "comment": null
},
"dwViewRender": {
"value": 57899024,
"comment": null
} }
}, },
"comment": "libclient.so" "comment": "libclient.so"
@ -55,11 +87,44 @@
"value": 7157236, "value": 7157236,
"comment": null "comment": null
}, },
"dwNetworkGameClient": {
"value": 7159688,
"comment": null
},
"dwNetworkGameClient_deltaTick": { "dwNetworkGameClient_deltaTick": {
"value": 632, "value": 632,
"comment": null "comment": null
},
"dwNetworkGameClient_maxClients": {
"value": 592,
"comment": null
},
"dwNetworkGameClient_signOnState": {
"value": 608,
"comment": null
},
"dwWindowHeight": {
"value": 7196092,
"comment": null
},
"dwWindowWidth": {
"value": 7196088,
"comment": null
} }
}, },
"comment": "libengine2.so" "comment": "libengine2.so"
},
"libmatchmaking_so": {
"data": {
"dwGameTypes": {
"value": 3656096,
"comment": null
},
"dwGameTypes_mapName": {
"value": 3656384,
"comment": null
}
},
"comment": "libmatchmaking.so"
} }
} }

View File

@ -1,6 +1,6 @@
''' '''
Generated using https://github.com/a2x/cs2-dumper Generated using https://github.com/a2x/cs2-dumper
Thu, 7 Mar 2024 22:17:31 +0000 Mon, 11 Mar 2024 20:06:27 +0000
''' '''
class game_info: # Some additional information about the game at dump time class game_info: # Some additional information about the game at dump time
@ -13,10 +13,27 @@ class libclient_so: # libclient.so
dwGameEntitySystem = 0x385B700 dwGameEntitySystem = 0x385B700
dwGameEntitySystem_getHighestEntityIndex = 0x1540 dwGameEntitySystem_getHighestEntityIndex = 0x1540
dwGameRules = 0x3731248 dwGameRules = 0x3731248
dwGlobalVars = 0x35669D0
dwGlowManager = 0x3735B50
dwInterfaceLinkList = 0x37CDF30
dwLocalPlayerController = 0x3716778 dwLocalPlayerController = 0x3716778
dwLocalPlayerPawn = 0x3736B38 dwLocalPlayerPawn = 0x3736B38
dwPlantedC4 = 0x374B398
dwPrediction = 0x3736A00
dwSensitivity_sensitivity = 0x40
dwViewAngles = 0x3743870
dwViewMatrix = 0x3737660 dwViewMatrix = 0x3737660
dwViewRender = 0x3737810
class libengine2_so: # libengine2.so class libengine2_so: # libengine2.so
dwBuildNumber = 0x6D35F4 dwBuildNumber = 0x6D35F4
dwNetworkGameClient_deltaTick = 0x278 dwNetworkGameClient_deltaTick = 0x278
dwNetworkGameClient = 0x6D3F88
dwNetworkGameClient_maxClients = 0x250
dwNetworkGameClient_signOnState = 0x260
dwWindowHeight = 0x6DCDBC
dwWindowWidth = 0x6DCDB8
class libmatchmaking_so: # libmatchmaking.so
dwGameTypes = 0x37C9A0
dwGameTypes_mapName = 0x37CAC0

View File

@ -1,6 +1,6 @@
/* /*
* Generated using https://github.com/a2x/cs2-dumper * Generated using https://github.com/a2x/cs2-dumper
* Thu, 7 Mar 2024 22:17:31 +0000 * Mon, 11 Mar 2024 20:06:27 +0000
*/ */
#![allow(non_snake_case, non_upper_case_globals)] #![allow(non_snake_case, non_upper_case_globals)]
@ -16,12 +16,30 @@ pub mod libclient_so { // libclient.so
pub const dwGameEntitySystem: usize = 0x385B700; pub const dwGameEntitySystem: usize = 0x385B700;
pub const dwGameEntitySystem_getHighestEntityIndex: usize = 0x1540; pub const dwGameEntitySystem_getHighestEntityIndex: usize = 0x1540;
pub const dwGameRules: usize = 0x3731248; pub const dwGameRules: usize = 0x3731248;
pub const dwGlobalVars: usize = 0x35669D0;
pub const dwGlowManager: usize = 0x3735B50;
pub const dwInterfaceLinkList: usize = 0x37CDF30;
pub const dwLocalPlayerController: usize = 0x3716778; pub const dwLocalPlayerController: usize = 0x3716778;
pub const dwLocalPlayerPawn: usize = 0x3736B38; pub const dwLocalPlayerPawn: usize = 0x3736B38;
pub const dwPlantedC4: usize = 0x374B398;
pub const dwPrediction: usize = 0x3736A00;
pub const dwSensitivity_sensitivity: usize = 0x40;
pub const dwViewAngles: usize = 0x3743870;
pub const dwViewMatrix: usize = 0x3737660; pub const dwViewMatrix: usize = 0x3737660;
pub const dwViewRender: usize = 0x3737810;
} }
pub mod libengine2_so { // libengine2.so pub mod libengine2_so { // libengine2.so
pub const dwBuildNumber: usize = 0x6D35F4; pub const dwBuildNumber: usize = 0x6D35F4;
pub const dwNetworkGameClient_deltaTick: usize = 0x278; pub const dwNetworkGameClient_deltaTick: usize = 0x278;
pub const dwNetworkGameClient: usize = 0x6D3F88;
pub const dwNetworkGameClient_maxClients: usize = 0x250;
pub const dwNetworkGameClient_signOnState: usize = 0x260;
pub const dwWindowHeight: usize = 0x6DCDBC;
pub const dwWindowWidth: usize = 0x6DCDB8;
}
pub mod libmatchmaking_so { // libmatchmaking.so
pub const dwGameTypes: usize = 0x37C9A0;
pub const dwGameTypes_mapName: usize = 0x37CAC0;
} }

View File

@ -8,9 +8,25 @@ libclient_so: # libclient.so
dwGameEntitySystem: 59094784 dwGameEntitySystem: 59094784
dwGameEntitySystem_getHighestEntityIndex: 5440 dwGameEntitySystem_getHighestEntityIndex: 5440
dwGameRules: 57872968 dwGameRules: 57872968
dwGlobalVars: 55994832
dwGlowManager: 57891664
dwInterfaceLinkList: 58515248
dwLocalPlayerController: 57763704 dwLocalPlayerController: 57763704
dwLocalPlayerPawn: 57895736 dwLocalPlayerPawn: 57895736
dwPlantedC4: 57979800
dwPrediction: 57895424
dwSensitivity_sensitivity: 64
dwViewAngles: 57948272
dwViewMatrix: 57898592 dwViewMatrix: 57898592
dwViewRender: 57899024
libengine2_so: # libengine2.so libengine2_so: # libengine2.so
dwBuildNumber: 7157236 dwBuildNumber: 7157236
dwNetworkGameClient_deltaTick: 632 dwNetworkGameClient_deltaTick: 632
dwNetworkGameClient: 7159688
dwNetworkGameClient_maxClients: 592
dwNetworkGameClient_signOnState: 608
dwWindowHeight: 7196092
dwWindowWidth: 7196088
libmatchmaking_so: # libmatchmaking.so
dwGameTypes: 3656096
dwGameTypes_mapName: 3656384