Skip to content

Commit

Permalink
Update ReconstructionBoxManager
Browse files Browse the repository at this point in the history
  • Loading branch information
Haselnussbomber committed Dec 22, 2023
1 parent edc7543 commit 28777d1
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
20 changes: 9 additions & 11 deletions FFXIVClientStructs/FFXIV/Client/Game/ReconstructionBoxManager.cs
Original file line number Diff line number Diff line change
@@ -1,19 +1,17 @@
namespace FFXIVClientStructs.FFXIV.Client.Game;

[StructLayout(LayoutKind.Explicit, Size = 0x10)]
[StructLayout(LayoutKind.Explicit, Size = 0xA8)]
public unsafe partial struct ReconstructionBoxManager {
[StaticAddress("48 8B 15 ?? ?? ?? ?? 48 8B C8 48 8B 5C 24", 3)]
[StaticAddress("48 8B 15 ?? ?? ?? ?? 48 8B C8 48 8B 5C 24", 3, isPointer: true)]
public static partial ReconstructionBoxManager* Instance();

[FieldOffset(0x00)] public ReconstructionBoxData* ReconstructionBoxData;
[FieldOffset(0x08)] public void* UnknownDataPointer;
}
[FieldOffset(0x8)] public bool Loaded;

[StructLayout(LayoutKind.Explicit, Size = 0xA8)]
public struct ReconstructionBoxData {
[FieldOffset(0xA0)]
public ushort Donated;
[FieldOffset(0xA0)] public ushort Donated;
[FieldOffset(0xA2)] public ushort Progress;

/// <remarks> Add 100 to get the correct value. </remarks>
[FieldOffset(0xA4)] public byte Factor;

[FieldOffset(0xA6)]
public ushort Allowance;
[FieldOffset(0xA6)] public ushort Allowance;
}
2 changes: 2 additions & 0 deletions ida/data.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7479,6 +7479,8 @@ classes:
instances:
- ea: 0x1421F63C0
pointer: False
vtbls:
- ea: 0x141A67948
funcs:
0x1408E6320: ctor
0x1408E63D0: dtor
Expand Down

0 comments on commit 28777d1

Please sign in to comment.