mirror of
https://github.com/thunderbrewhq/binana.git
synced 2026-02-04 00:39:08 +00:00
feat(core): CheatEngine script loaders
This commit is contained in:
parent
f9fe6ca3e7
commit
4ca5f1bbe5
15 changed files with 4578 additions and 17 deletions
48
cheatengine/cmapbaseobj.lua
Normal file
48
cheatengine/cmapbaseobj.lua
Normal file
|
|
@ -0,0 +1,48 @@
|
|||
-- #include "StructDef.lua"
|
||||
|
||||
local CImVector = Struct("CImVector")
|
||||
:field("r", "uint8")
|
||||
:field("g", "uint8")
|
||||
:field("b", "uint8")
|
||||
:field("a", "uint8")
|
||||
|
||||
local C3Vector = Struct("C3Vector")
|
||||
:field("x", "float")
|
||||
:field("y", "float")
|
||||
:field("z", "float")
|
||||
|
||||
local C2iVector = Struct("C2iVector")
|
||||
:field("x", "int32")
|
||||
:field("y", "int32")
|
||||
|
||||
local CAaBox = Struct("CAaBox")
|
||||
:embed("top", C3Vector)
|
||||
:embed("bottom", C3Vector)
|
||||
|
||||
local CAaSphere = Struct("CAaSphere")
|
||||
:embed("center", C3Vector)
|
||||
:field("d", "float")
|
||||
|
||||
local C44Matrix = Struct("C44Matrix")
|
||||
:array('m', 'float', 16)
|
||||
|
||||
local TSGrowableArray = Struct("TSGrowableArray")
|
||||
:field('m_alloc', 'uint32')
|
||||
:field('m_count', 'uint32')
|
||||
:ptr('data')
|
||||
:field('m_chunk', 'uint32')
|
||||
|
||||
local TSExplicitList = Struct("TSExplicitList")
|
||||
:field("m_linkOffset", "uint32")
|
||||
:ptr("ptr1")
|
||||
:ptr("ptr2")
|
||||
|
||||
local CMapBaseObj = Struct("CMapBaseObj")
|
||||
:ptr("void*", "vtable")
|
||||
:field("objectIndex", "uint32")
|
||||
:field("type", "uint16")
|
||||
:field("refCount", "uint16")
|
||||
:field("unk_C", "int32")
|
||||
:ptr("prev")
|
||||
:ptr("next")
|
||||
:embed("objLink", TSExplicitList)
|
||||
Loading…
Add table
Add a link
Reference in a new issue