Skip to content
This repository has been archived by the owner on Sep 12, 2021. It is now read-only.

WIP| Rendering reverse #43

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 35 additions & 0 deletions HM3CoreKill/HM3CoreKill/sdk/render/ZRenderMaterialInstanceD3D.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
#pragma once

#include <cstdint>

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

} }
25 changes: 25 additions & 0 deletions HM3CoreKill/HM3CoreKill/sdk/render/ZRenderMaterialSubClassD3D.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
#pragma once

#include <cstdint>

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
};
} }
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#pragma once

#include <sdk/render/ZRenderMaterialSubClassD3D.h>

namespace ioi { namespace hm3 {

class ZRenderMaterialSubClassStandardMeshRigidD3D : public ZRenderMaterialSubClassD3D
{};

} }
16 changes: 16 additions & 0 deletions HM3CoreKill/HM3CoreKill/sdk/render/ZRenderObjectInstanceD3D.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
#pragma once

#include <cstdint>

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)
};

} }
DronCode marked this conversation as resolved.
Show resolved Hide resolved
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#pragma once

#include <sdk/render/ZRenderObjectInstanceD3D.h>

namespace ioi { namespace hm3 {

class ZRenderObjectInstanceStandardMeshD3D : public ZRenderObjectInstanceD3D
{};

} }
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#pragma once

#include <sdk/render/ZRenderObjectInstanceD3D.h>

namespace ioi { namespace hm3 {

class ZRenderObjectInstanceStandardMeshRigidD3D : public ZRenderObjectInstanceD3D
{};

} }