mirror of
https://github.com/a2x/cs2-dumper.git
synced 2025-11-29 07:20:02 +08:00
Refactored code
This commit is contained in:
@@ -596,6 +596,14 @@ public static class CBoneConstraintPoseSpaceBone_Input_t {
|
||||
public const ulong m_outputTransformList = 0x10;
|
||||
}
|
||||
|
||||
public static class CBoneConstraintPoseSpaceMorph {
|
||||
public const ulong m_sBoneName = 0x28;
|
||||
public const ulong m_sAttachmentName = 0x30;
|
||||
public const ulong m_outputMorph = 0x38;
|
||||
public const ulong m_inputList = 0x50;
|
||||
public const ulong m_bClamp = 0x68;
|
||||
}
|
||||
|
||||
public static class CBoneConstraintPoseSpaceMorph_Input_t {
|
||||
public const ulong m_inputValue = 0x0;
|
||||
public const ulong m_outputWeightList = 0x10;
|
||||
|
||||
@@ -600,6 +600,14 @@ namespace CBoneConstraintPoseSpaceBone_Input_t {
|
||||
constexpr std::ptrdiff_t m_outputTransformList = 0x10;
|
||||
}
|
||||
|
||||
namespace CBoneConstraintPoseSpaceMorph {
|
||||
constexpr std::ptrdiff_t m_sBoneName = 0x28;
|
||||
constexpr std::ptrdiff_t m_sAttachmentName = 0x30;
|
||||
constexpr std::ptrdiff_t m_outputMorph = 0x38;
|
||||
constexpr std::ptrdiff_t m_inputList = 0x50;
|
||||
constexpr std::ptrdiff_t m_bClamp = 0x68;
|
||||
}
|
||||
|
||||
namespace CBoneConstraintPoseSpaceMorph_Input_t {
|
||||
constexpr std::ptrdiff_t m_inputValue = 0x0;
|
||||
constexpr std::ptrdiff_t m_outputWeightList = 0x10;
|
||||
|
||||
@@ -513,6 +513,13 @@
|
||||
"m_inputValue": 0,
|
||||
"m_outputTransformList": 16
|
||||
},
|
||||
"CBoneConstraintPoseSpaceMorph": {
|
||||
"m_bClamp": 104,
|
||||
"m_inputList": 80,
|
||||
"m_outputMorph": 56,
|
||||
"m_sAttachmentName": 48,
|
||||
"m_sBoneName": 40
|
||||
},
|
||||
"CBoneConstraintPoseSpaceMorph_Input_t": {
|
||||
"m_inputValue": 0,
|
||||
"m_outputWeightList": 16
|
||||
|
||||
@@ -598,6 +598,14 @@ pub mod CBoneConstraintPoseSpaceBone_Input_t {
|
||||
pub const m_outputTransformList: usize = 0x10;
|
||||
}
|
||||
|
||||
pub mod CBoneConstraintPoseSpaceMorph {
|
||||
pub const m_sBoneName: usize = 0x28;
|
||||
pub const m_sAttachmentName: usize = 0x30;
|
||||
pub const m_outputMorph: usize = 0x38;
|
||||
pub const m_inputList: usize = 0x50;
|
||||
pub const m_bClamp: usize = 0x68;
|
||||
}
|
||||
|
||||
pub mod CBoneConstraintPoseSpaceMorph_Input_t {
|
||||
pub const m_inputValue: usize = 0x0;
|
||||
pub const m_outputWeightList: usize = 0x10;
|
||||
|
||||
@@ -2606,6 +2606,18 @@ public static class C_FuncElectrifiedVolume {
|
||||
public const ulong m_bState = 0xcd0;
|
||||
}
|
||||
|
||||
public static class C_FuncLadder {
|
||||
public const ulong m_vecLadderDir = 0xcc0;
|
||||
public const ulong m_Dismounts = 0xcd0;
|
||||
public const ulong m_vecLocalTop = 0xce8;
|
||||
public const ulong m_vecPlayerMountPositionTop = 0xcf4;
|
||||
public const ulong m_vecPlayerMountPositionBottom = 0xd00;
|
||||
public const ulong m_flAutoRideSpeed = 0xd0c;
|
||||
public const ulong m_bDisabled = 0xd10;
|
||||
public const ulong m_bFakeLadder = 0xd11;
|
||||
public const ulong m_bHasSlack = 0xd12;
|
||||
}
|
||||
|
||||
public static class C_FuncMonitor {
|
||||
public const ulong m_targetCamera = 0xcc0;
|
||||
public const ulong m_nResolutionEnum = 0xcc8;
|
||||
|
||||
@@ -2610,6 +2610,18 @@ namespace C_FuncElectrifiedVolume {
|
||||
constexpr std::ptrdiff_t m_bState = 0xcd0;
|
||||
}
|
||||
|
||||
namespace C_FuncLadder {
|
||||
constexpr std::ptrdiff_t m_vecLadderDir = 0xcc0;
|
||||
constexpr std::ptrdiff_t m_Dismounts = 0xcd0;
|
||||
constexpr std::ptrdiff_t m_vecLocalTop = 0xce8;
|
||||
constexpr std::ptrdiff_t m_vecPlayerMountPositionTop = 0xcf4;
|
||||
constexpr std::ptrdiff_t m_vecPlayerMountPositionBottom = 0xd00;
|
||||
constexpr std::ptrdiff_t m_flAutoRideSpeed = 0xd0c;
|
||||
constexpr std::ptrdiff_t m_bDisabled = 0xd10;
|
||||
constexpr std::ptrdiff_t m_bFakeLadder = 0xd11;
|
||||
constexpr std::ptrdiff_t m_bHasSlack = 0xd12;
|
||||
}
|
||||
|
||||
namespace C_FuncMonitor {
|
||||
constexpr std::ptrdiff_t m_targetCamera = 0xcc0;
|
||||
constexpr std::ptrdiff_t m_nResolutionEnum = 0xcc8;
|
||||
|
||||
@@ -2438,6 +2438,17 @@
|
||||
"m_bState": 3280,
|
||||
"m_nAmbientEffect": 3264
|
||||
},
|
||||
"C_FuncLadder": {
|
||||
"m_Dismounts": 3280,
|
||||
"m_bDisabled": 3344,
|
||||
"m_bFakeLadder": 3345,
|
||||
"m_bHasSlack": 3346,
|
||||
"m_flAutoRideSpeed": 3340,
|
||||
"m_vecLadderDir": 3264,
|
||||
"m_vecLocalTop": 3304,
|
||||
"m_vecPlayerMountPositionBottom": 3328,
|
||||
"m_vecPlayerMountPositionTop": 3316
|
||||
},
|
||||
"C_FuncMonitor": {
|
||||
"m_bDraw3DSkybox": 3293,
|
||||
"m_bEnabled": 3292,
|
||||
|
||||
@@ -2608,6 +2608,18 @@ pub mod C_FuncElectrifiedVolume {
|
||||
pub const m_bState: usize = 0xcd0;
|
||||
}
|
||||
|
||||
pub mod C_FuncLadder {
|
||||
pub const m_vecLadderDir: usize = 0xcc0;
|
||||
pub const m_Dismounts: usize = 0xcd0;
|
||||
pub const m_vecLocalTop: usize = 0xce8;
|
||||
pub const m_vecPlayerMountPositionTop: usize = 0xcf4;
|
||||
pub const m_vecPlayerMountPositionBottom: usize = 0xd00;
|
||||
pub const m_flAutoRideSpeed: usize = 0xd0c;
|
||||
pub const m_bDisabled: usize = 0xd10;
|
||||
pub const m_bFakeLadder: usize = 0xd11;
|
||||
pub const m_bHasSlack: usize = 0xd12;
|
||||
}
|
||||
|
||||
pub mod C_FuncMonitor {
|
||||
pub const m_targetCamera: usize = 0xcc0;
|
||||
pub const m_nResolutionEnum: usize = 0xcc8;
|
||||
|
||||
44
generated/config.json
Normal file
44
generated/config.json
Normal file
@@ -0,0 +1,44 @@
|
||||
{
|
||||
"signatures": [
|
||||
{
|
||||
"name": "entity_list",
|
||||
"module": "client.dll",
|
||||
"pattern": "48 8B 0D ? ? ? ? 48 89 7C 24 ? 8B FA C1 EB",
|
||||
"relative": true,
|
||||
"levels": 0,
|
||||
"offset": 0
|
||||
},
|
||||
{
|
||||
"name": "global_vars",
|
||||
"module": "client.dll",
|
||||
"pattern": "48 89 0D ? ? ? ? 48 89 41",
|
||||
"relative": true,
|
||||
"levels": 0,
|
||||
"offset": 0
|
||||
},
|
||||
{
|
||||
"name": "local_player_controller",
|
||||
"module": "client.dll",
|
||||
"pattern": "48 8B 05 ? ? ? ? 48 85 C0 74 4F",
|
||||
"relative": true,
|
||||
"levels": 0,
|
||||
"offset": 0
|
||||
},
|
||||
{
|
||||
"name": "view_angles",
|
||||
"module": "client.dll",
|
||||
"pattern": "48 8B 0D ? ? ? ? 48 8B 01 48 FF 60 30",
|
||||
"relative": true,
|
||||
"levels": 1,
|
||||
"offset": 17680
|
||||
},
|
||||
{
|
||||
"name": "view_matrix",
|
||||
"module": "client.dll",
|
||||
"pattern": "48 8D 0D ? ? ? ? 48 C1 E0 06",
|
||||
"relative": true,
|
||||
"levels": 0,
|
||||
"offset": 0
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -357,6 +357,13 @@ public static class FeTaperedCapsuleRigid_t {
|
||||
public const ulong nFlags = 0x26;
|
||||
}
|
||||
|
||||
public static class FeTaperedCapsuleStretch_t {
|
||||
public const ulong nNode = 0x0;
|
||||
public const ulong nCollisionMask = 0x4;
|
||||
public const ulong nDummy = 0x6;
|
||||
public const ulong flRadius = 0x8;
|
||||
}
|
||||
|
||||
public static class FeTreeChildren_t {
|
||||
public const ulong nChild = 0x0;
|
||||
}
|
||||
|
||||
@@ -361,6 +361,13 @@ namespace FeTaperedCapsuleRigid_t {
|
||||
constexpr std::ptrdiff_t nFlags = 0x26;
|
||||
}
|
||||
|
||||
namespace FeTaperedCapsuleStretch_t {
|
||||
constexpr std::ptrdiff_t nNode = 0x0;
|
||||
constexpr std::ptrdiff_t nCollisionMask = 0x4;
|
||||
constexpr std::ptrdiff_t nDummy = 0x6;
|
||||
constexpr std::ptrdiff_t flRadius = 0x8;
|
||||
}
|
||||
|
||||
namespace FeTreeChildren_t {
|
||||
constexpr std::ptrdiff_t nChild = 0x0;
|
||||
}
|
||||
|
||||
@@ -310,6 +310,12 @@
|
||||
"nVertexMapIndex": 36,
|
||||
"vSphere": 0
|
||||
},
|
||||
"FeTaperedCapsuleStretch_t": {
|
||||
"flRadius": 8,
|
||||
"nCollisionMask": 4,
|
||||
"nDummy": 6,
|
||||
"nNode": 0
|
||||
},
|
||||
"FeTreeChildren_t": {
|
||||
"nChild": 0
|
||||
},
|
||||
|
||||
@@ -359,6 +359,13 @@ pub mod FeTaperedCapsuleRigid_t {
|
||||
pub const nFlags: usize = 0x26;
|
||||
}
|
||||
|
||||
pub mod FeTaperedCapsuleStretch_t {
|
||||
pub const nNode: usize = 0x0;
|
||||
pub const nCollisionMask: usize = 0x4;
|
||||
pub const nDummy: usize = 0x6;
|
||||
pub const flRadius: usize = 0x8;
|
||||
}
|
||||
|
||||
pub mod FeTreeChildren_t {
|
||||
pub const nChild: usize = 0x0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user