From aa0bea14ec7a6f0695880fc98e04012f9a581852 Mon Sep 17 00:00:00 2001 From: DronCode Date: Fri, 6 Mar 2020 22:47:35 +0300 Subject: [PATCH] Initial commit. Added classes and some connections between them --- .../sdk/render/ZRenderMaterialInstanceD3D.h | 35 +++++++++++++++++++ .../sdk/render/ZRenderMaterialSubClassD3D.h | 25 +++++++++++++ ...nderMaterialSubClassStandardMeshRigidD3D.h | 10 ++++++ .../sdk/render/ZRenderObjectInstanceD3D.h | 16 +++++++++ .../ZRenderObjectInstanceStandardMeshD3D.h | 10 ++++++ ...RenderObjectInstanceStandardMeshRigidD3D.h | 10 ++++++ 6 files changed, 106 insertions(+) create mode 100644 HM3CoreKill/HM3CoreKill/sdk/render/ZRenderMaterialInstanceD3D.h create mode 100644 HM3CoreKill/HM3CoreKill/sdk/render/ZRenderMaterialSubClassD3D.h create mode 100644 HM3CoreKill/HM3CoreKill/sdk/render/ZRenderMaterialSubClassStandardMeshRigidD3D.h create mode 100644 HM3CoreKill/HM3CoreKill/sdk/render/ZRenderObjectInstanceD3D.h create mode 100644 HM3CoreKill/HM3CoreKill/sdk/render/ZRenderObjectInstanceStandardMeshD3D.h create mode 100644 HM3CoreKill/HM3CoreKill/sdk/render/ZRenderObjectInstanceStandardMeshRigidD3D.h diff --git a/HM3CoreKill/HM3CoreKill/sdk/render/ZRenderMaterialInstanceD3D.h b/HM3CoreKill/HM3CoreKill/sdk/render/ZRenderMaterialInstanceD3D.h new file mode 100644 index 0000000..847c1e7 --- /dev/null +++ b/HM3CoreKill/HM3CoreKill/sdk/render/ZRenderMaterialInstanceD3D.h @@ -0,0 +1,35 @@ +#pragma once + +#include + +namespace ioi { namespace hm3 { + + class ZRenderMaterialSubClassD3D; + + class ZRenderBinderList + { + public: + virtual void Function_0000(); //#0 +0x0 (.rdata:007627E8) + }; + + class ZRenderMaterialInstanceD3D + { + public: + char* m_name; //0x0004 + ZRenderMaterialSubClassD3D* m_materialSubClass; //0x0008 + uint32_t m_params; //0x000C + ZRenderBinderList* m_binders[18]; //0x0010 + int32_t m_unk0; //0x0058 + int32_t m_unk1; //0x005C + + virtual void Function0(); + virtual void Function1(); + virtual void Function2(); + virtual void Function3(); + virtual void Function4(); + virtual void Function5(); + virtual void Function6(); + virtual void Function7(); + }; //Size: 0x0060 + +} } \ No newline at end of file diff --git a/HM3CoreKill/HM3CoreKill/sdk/render/ZRenderMaterialSubClassD3D.h b/HM3CoreKill/HM3CoreKill/sdk/render/ZRenderMaterialSubClassD3D.h new file mode 100644 index 0000000..6c97488 --- /dev/null +++ b/HM3CoreKill/HM3CoreKill/sdk/render/ZRenderMaterialSubClassD3D.h @@ -0,0 +1,25 @@ +#pragma once + +#include + +namespace ioi { namespace hm3 { + class ZRenderMaterialSubClassD3D + { + public: + virtual void Function_0000(); //#0 +0 .rdata:007642ac + virtual void Function_0001(); //#1 +4 .rdata:007642b0 + virtual void Function_0002(); //#2 +8 .rdata:007642b4 + virtual void Function_0003(); //#3 +c .rdata:007642b8 + virtual void Function_0004(); //#4 +10 .rdata:007642bc + virtual void Function_0005(); //#5 +14 .rdata:007642c0 + virtual int draw(std::uintptr_t* materialInstance, std::uintptr_t* context); //#6 +18 .rdata:007642c4 [render] + virtual void Function_0007(); //#7 +1c .rdata:007642c8 + virtual void Function_0008(); //#8 +20 .rdata:007642cc + virtual void Function_0009(); //#9 +24 .rdata:007642d0 + virtual void Function_0010(); //#10 +28 .rdata:007642d4 [pure] + virtual void Function_0011(); //#11 +2c .rdata:007642d8 + virtual void Function_0012(); //#12 +30 .rdata:007642dc + virtual void Function_0013(); //#13 +34 .rdata:007642e0 + virtual void Function_0014(); //#14 +38 .rdata:007642e4 + }; +} } \ No newline at end of file diff --git a/HM3CoreKill/HM3CoreKill/sdk/render/ZRenderMaterialSubClassStandardMeshRigidD3D.h b/HM3CoreKill/HM3CoreKill/sdk/render/ZRenderMaterialSubClassStandardMeshRigidD3D.h new file mode 100644 index 0000000..2cd32a2 --- /dev/null +++ b/HM3CoreKill/HM3CoreKill/sdk/render/ZRenderMaterialSubClassStandardMeshRigidD3D.h @@ -0,0 +1,10 @@ +#pragma once + +#include + +namespace ioi { namespace hm3 { + + class ZRenderMaterialSubClassStandardMeshRigidD3D : public ZRenderMaterialSubClassD3D + {}; + +} } \ No newline at end of file diff --git a/HM3CoreKill/HM3CoreKill/sdk/render/ZRenderObjectInstanceD3D.h b/HM3CoreKill/HM3CoreKill/sdk/render/ZRenderObjectInstanceD3D.h new file mode 100644 index 0000000..6e2b8d6 --- /dev/null +++ b/HM3CoreKill/HM3CoreKill/sdk/render/ZRenderObjectInstanceD3D.h @@ -0,0 +1,16 @@ +#pragma once + +#include + +namespace ioi { namespace hm3 { + + class ZRenderObjectInstanceD3D + { + public: + virtual void Function_0000(); //#0 +0x00 (.rdata:0076423C) + virtual void draw(std::uintptr_t* context); //#1 +0x04 (.rdata:00764240) + virtual bool Function_0002(); //#2 +0x08 (.rdata:00764244) + virtual void Function_0003(); //#3 +0x0C (.rdata:00764248) + }; + +} } \ No newline at end of file diff --git a/HM3CoreKill/HM3CoreKill/sdk/render/ZRenderObjectInstanceStandardMeshD3D.h b/HM3CoreKill/HM3CoreKill/sdk/render/ZRenderObjectInstanceStandardMeshD3D.h new file mode 100644 index 0000000..ae9d270 --- /dev/null +++ b/HM3CoreKill/HM3CoreKill/sdk/render/ZRenderObjectInstanceStandardMeshD3D.h @@ -0,0 +1,10 @@ +#pragma once + +#include + +namespace ioi { namespace hm3 { + + class ZRenderObjectInstanceStandardMeshD3D : public ZRenderObjectInstanceD3D + {}; + +} } \ No newline at end of file diff --git a/HM3CoreKill/HM3CoreKill/sdk/render/ZRenderObjectInstanceStandardMeshRigidD3D.h b/HM3CoreKill/HM3CoreKill/sdk/render/ZRenderObjectInstanceStandardMeshRigidD3D.h new file mode 100644 index 0000000..b7ac712 --- /dev/null +++ b/HM3CoreKill/HM3CoreKill/sdk/render/ZRenderObjectInstanceStandardMeshRigidD3D.h @@ -0,0 +1,10 @@ +#pragma once + +#include + +namespace ioi { namespace hm3 { + + class ZRenderObjectInstanceStandardMeshRigidD3D : public ZRenderObjectInstanceD3D + {}; + +} } \ No newline at end of file