public static void Setup(SigScanner scanner) { _gameAlloc = Marshal.GetDelegateForFunctionPointer <GameAlloc>(scanner.ScanText("E8 ?? ?? ?? ?? 49 83 CF FF 4C 8B F0")); _getGameAllocator = Marshal.GetDelegateForFunctionPointer <GetGameAllocator>(scanner.ScanText("E8 ?? ?? ?? ?? 8B 75 08")); _atkUnitBaseClose = Marshal.GetDelegateForFunctionPointer <AtkUnitBaseClose>(scanner.ScanText("40 53 48 83 EC 50 81 A1")); Ready = true; }
public static void Setup(SigScanner scanner) { _atkTextNodeSetText = Marshal.GetDelegateForFunctionPointer<AtkTextNodeSetText>(scanner.ScanText("E8 ?? ?? ?? ?? 49 8B FC")); _gameAlloc = Marshal.GetDelegateForFunctionPointer<GameAlloc>(scanner.ScanText("E8 ?? ?? ?? ?? 45 8D 67 23")); _getGameAllocator = Marshal.GetDelegateForFunctionPointer<GetGameAllocator>(scanner.ScanText("E8 ?? ?? ?? ?? 8B 75 08")); _atkUnitBaseClose = Marshal.GetDelegateForFunctionPointer<AtkUnitBaseClose>(scanner.ScanText("40 53 48 83 EC 50 81 A1")); _createAtkNode = Marshal.GetDelegateForFunctionPointer<CreateAtkNode>(scanner.ScanText("E8 ?? ?? ?? ?? 48 8B 4C 24 ?? 48 8B 51 08")); Ready = true; }