mirror of
https://github.com/thunderbrewhq/binana.git
synced 2026-02-04 00:39:08 +00:00
feat(core): CheatEngine item container coprse loaders
This commit is contained in:
parent
52bd97bc47
commit
89a8691959
14 changed files with 2787 additions and 106 deletions
12
cheatengine/load_bagpack_item.lua
Normal file
12
cheatengine/load_bagpack_item.lua
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
local addr, typ = GetCGObjectAddr(readQword(0xC79D10)) -- local player GUID from game connection class
|
||||
if addr then
|
||||
if typ == "player" then
|
||||
local bagpackOffset = 0x1F20
|
||||
for i = 0, 15, 1 do
|
||||
local addr, typ = GetCGObjectAddr(readQword(addr + bagpackOffset + i * 8))
|
||||
if addr ~= 0 and typ == "item" then
|
||||
loadStructToTable(CGItem, addr)
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue