Use MiniGame BGM scene for About tab

This commit is contained in:
Haselnussbomber 2024-11-30 19:59:42 +01:00
parent 1830af59fd
commit da718b64c1
No known key found for this signature in database
GPG key ID: BB905BB49E7295D1
4 changed files with 34 additions and 51 deletions

View file

@ -5,16 +5,6 @@ namespace Dalamud.Game.Gui;
/// </summary>
internal sealed class GameGuiAddressResolver : BaseAddressResolver
{
/// <summary>
/// Gets the base address of the native GuiManager class.
/// </summary>
public IntPtr BaseAddress { get; private set; }
/// <summary>
/// Gets the address of the native SetGlobalBgm method.
/// </summary>
public IntPtr SetGlobalBgm { get; private set; }
/// <summary>
/// Gets the address of the native HandleImm method.
/// </summary>
@ -23,7 +13,6 @@ internal sealed class GameGuiAddressResolver : BaseAddressResolver
/// <inheritdoc/>
protected override void Setup64Bit(ISigScanner sig)
{
this.SetGlobalBgm = sig.ScanText("E8 ?? ?? ?? ?? 8B 2F"); // unnamed in CS
this.HandleImm = sig.ScanText("E8 ?? ?? ?? ?? 84 C0 75 10 48 83 FF 09"); // unnamed in CS
}
}