fix wayland and allow save editing of equipped weapon

This commit is contained in:
CrafterPika 2026-06-27 08:36:30 +02:00
commit 0c56eb8b89
No known key found for this signature in database
GPG key ID: 68B3920DBA3C6C31
9 changed files with 147 additions and 7 deletions

View file

@ -200,5 +200,13 @@ namespace Func {
return "Game not fully loaded yet...";
}
}
public static string EquippedWep() {
try {
var p_SaveDataMgr = Program.readUInt32((uint)(Program.readUInt32(SaveEditor.SAVEDATAMGR_ROOT_PTR) + 0xC));
return $"{Program.readUInt32((uint)(p_SaveDataMgr + 0x18C))}";
} catch {
return "Game not fully loaded yet...";
}
}
}
}