File size: 557 Bytes
7e9dc27
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
--[[
	Project: SA Memory
	Authors: LUCHARE, FYP
	Website: blast.hk

	All structures are taken from plugin-sdk.
	plugin-sdk is available from https://github.com/DK22Pac/plugin-sdk
]]

local shared = require 'SAMemory.shared'

shared.require('RenderWare')

shared.ffidef[[
	struct CMatrix {
		RwV3D      right;
	 	unsigned int flags;
	 	RwV3D      up;
	 	unsigned int pad1;
	 	RwV3D      at;
	 	unsigned int pad2;
	 	RwV3D      pos;
	 	unsigned int pad3;

 		RwMatrix *pAttachMatrix;
 		bool bOwnsAttachedMatrix;
	};
]]

shared.validate_size('CMatrix', 0x48)