mirror of
https://github.com/goatcorp/Dalamud.git
synced 2026-02-17 13:27:43 +01:00
feat: new actor table shenanigans
This commit is contained in:
parent
03e4a4d25c
commit
f80a4e7432
5 changed files with 26 additions and 52 deletions
|
|
@ -5,19 +5,22 @@ namespace Dalamud.Game.ClientState
|
|||
{
|
||||
public sealed class ClientStateAddressResolver : BaseAddressResolver {
|
||||
// Static offsets
|
||||
public IntPtr ViewportActorTable { get; private set; }
|
||||
public IntPtr ActorTable { get; private set; }
|
||||
//public IntPtr ViewportActorTable { get; private set; }
|
||||
public IntPtr LocalContentId { get; private set; }
|
||||
public IntPtr JobGaugeData { get; private set; }
|
||||
public IntPtr KeyboardState { get; private set; }
|
||||
|
||||
// Functions
|
||||
public IntPtr SetupTerritoryType { get; private set; }
|
||||
public IntPtr SomeActorTableAccess { get; private set; }
|
||||
//public IntPtr SomeActorTableAccess { get; private set; }
|
||||
public IntPtr PartyListUpdate { get; private set; }
|
||||
|
||||
protected override void Setup64Bit(SigScanner sig) {
|
||||
ViewportActorTable = sig.GetStaticAddressFromSig("48 8D 0D ?? ?? ?? ?? 85 ED", 0) + 0x148;
|
||||
SomeActorTableAccess = sig.ScanText("E8 ?? ?? ?? ?? 48 8D 55 A0 48 8D 8E ?? ?? ?? ??");
|
||||
// We don't need those anymore, but maybe someone else will - let's leave them here for good measure
|
||||
//ViewportActorTable = sig.GetStaticAddressFromSig("48 8D 0D ?? ?? ?? ?? 85 ED", 0) + 0x148;
|
||||
//SomeActorTableAccess = sig.ScanText("E8 ?? ?? ?? ?? 48 8D 55 A0 48 8D 8E ?? ?? ?? ??");
|
||||
ActorTable = sig.GetStaticAddressFromSig("88 91 ?? ?? ?? ?? 48 8D 3D ?? ?? ?? ??", 0x0);
|
||||
|
||||
LocalContentId = sig.GetStaticAddressFromSig("48 8B 05 ?? ?? ?? ?? 48 89 86 ?? ?? ?? ??", 0);
|
||||
JobGaugeData = sig.GetStaticAddressFromSig("E8 ?? ?? ?? ?? FF C6 48 8D 5B 0C", 0xB9) + 0x10;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue