@@ -108,9 +108,9 @@ class Renderer
108108 UInt64 unk2588[0x2590 >> 3 ]; // 2588
109109 CRITICAL_SECTION m_renderLock; // 2590
110110
111- DEFINE_MEMBER_FN_4 (CreateTriShape, TriShape*, 0x01813F00 , UInt32* arDataSize, void * apData, UInt64 auiVertexDesc, IndexBuffer* apIndexBuffer);
112- DEFINE_MEMBER_FN_3 (CreateVertexBuffer, VertexBuffer*, 0x01815770 , UInt32* auiDataSize, SInt8* apData, UInt32 auiStride);
113- DEFINE_MEMBER_FN_2 (CreateIndexBuffer, IndexBuffer*, 0x01815A90 , UInt32 auiIndexCount, const UInt16* apIndices);
111+ DEFINE_MEMBER_FN_4 (CreateTriShape, TriShape*, 0x01818640 , UInt32* arDataSize, void * apData, UInt64 auiVertexDesc, IndexBuffer* apIndexBuffer);
112+ DEFINE_MEMBER_FN_3 (CreateVertexBuffer, VertexBuffer*, 0x01819EB0 , UInt32* auiDataSize, SInt8* apData, UInt32 auiStride);
113+ DEFINE_MEMBER_FN_2 (CreateIndexBuffer, IndexBuffer*, 0x0181A1D0 , UInt32 auiIndexCount, const UInt16* apIndices);
114114};
115115STATIC_ASSERT (offsetof(Renderer, m_renderLock) == 0x2590 );
116116
@@ -135,11 +135,11 @@ class RenderTargetManager
135135 UInt8 pad[3 ]; // 1D
136136 };
137137
138- DEFINE_MEMBER_FN_1 (LockTextureType, void , 0x01835FB0 , UInt32 type);
139- DEFINE_MEMBER_FN_1 (ReleaseTextureType, void , 0x01836040 , UInt32 type);
140- DEFINE_MEMBER_FN_4 (GetRenderData, BSRenderData *, 0x01835F10 , UInt32 type, UInt64 unk1, UInt64 unk2, UInt32 unk3); // type, 0, 1, 0
141- DEFINE_MEMBER_FN_3 (Unk_01, void , 0x01835F60 , UInt32 type, BSRenderData *, UInt8 unk3); // type, rendererData, 1
142- DEFINE_MEMBER_FN_4 (CreateRenderTarget, void , 0x01834410 , UInt32 aIndex, const RenderTargetProperties& properties, UInt8 aPersistent);
138+ DEFINE_MEMBER_FN_1 (LockTextureType, void , 0x0183A6F0 , UInt32 type);
139+ DEFINE_MEMBER_FN_1 (ReleaseTextureType, void , 0x0183A780 , UInt32 type);
140+ DEFINE_MEMBER_FN_4 (GetRenderData, BSRenderData *, 0x0183A650 , UInt32 type, UInt64 unk1, UInt64 unk2, UInt32 unk3); // type, 0, 1, 0
141+ DEFINE_MEMBER_FN_3 (Unk_01, void , 0x0183A6A0 , UInt32 type, BSRenderData *, UInt8 unk3); // type, rendererData, 1
142+ DEFINE_MEMBER_FN_4 (CreateRenderTarget, void , 0x01838B50 , UInt32 aIndex, const RenderTargetProperties& properties, UInt8 aPersistent);
143143};
144144}
145145
0 commit comments