OffSetFix-91403

This commit is contained in:
unknown
2026-01-22 10:09:49 -05:00
committed by guiyomu-dev
parent ec04b2f00d
commit 207eaf12bb
5 changed files with 450 additions and 94 deletions

View File

@@ -8,8 +8,8 @@ import (
)
func (gd *GameReader) GetKeyBindings() data.KeyBindings {
blob := gd.ReadBytesFromMemory(gd.moduleBaseAddressPtr+0x1DE4CC4, 0x500)
blobSkills := gd.ReadBytesFromMemory(gd.offset.KeyBindingsSkillsOffset, 0x500)
blob := gd.ReadBytesFromMemory(gd.moduleBaseAddressPtr+0x18C2894, 0x500)
blobSkills := gd.ReadBytesFromMemory(gd.moduleBaseAddressPtr+0x1CE8510, 0x500)
skillsKB := [16]data.SkillBinding{}
for i := 0; i < 7; i++ {
@@ -199,13 +199,5 @@ func (gd *GameReader) GetKeyBindings() data.KeyBindings {
Key1: [2]byte{blob[0x488], blob[0x489]},
Key2: [2]byte{blob[0x492], blob[0x493]},
},
PreviousStashPage: data.KeyBinding{
Key1: [2]byte{blob[0x4c4], blob[0x4c5]},
Key2: [2]byte{blob[0x4ce], blob[0x4cf]},
},
NextStashPage: data.KeyBinding{
Key1: [2]byte{blob[0x4d8], blob[0x4d9]},
Key2: [2]byte{blob[0x4e2], blob[0x4e3]},
},
}
}