mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-31 21:03:43 +01:00
Initial commit
This commit is contained in:
commit
ac838687f8
157 changed files with 27905 additions and 0 deletions
16
Dalamud/Game/Internal/Libc/LibcFunctionAddressResolver.cs
Normal file
16
Dalamud/Game/Internal/Libc/LibcFunctionAddressResolver.cs
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
using System;
|
||||
using System.Security.Policy;
|
||||
|
||||
namespace Dalamud.Game.Internal.Libc {
|
||||
public sealed class LibcFunctionAddressResolver : BaseAddressResolver {
|
||||
private delegate IntPtr StringFromCString();
|
||||
|
||||
public IntPtr StdStringFromCstring { get; private set; }
|
||||
public IntPtr StdStringDeallocate { get; private set; }
|
||||
|
||||
protected override void Setup64Bit(SigScanner sig) {
|
||||
StdStringFromCstring = sig.ScanText("48895C2408 4889742410 57 4883EC20 488D4122 66C741200101 488901 498BD8");
|
||||
StdStringDeallocate = sig.ScanText("80792100 7512 488B5108 41B833000000 488B09 E9??????00 C3");
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue