Skip to content
This repository has been archived by the owner on Aug 28, 2024. It is now read-only.

Commit

Permalink
fix: fixed the hook bug.
Browse files Browse the repository at this point in the history
  • Loading branch information
ArchiDog1998 committed May 3, 2023
1 parent 16c63aa commit a5f7cf0
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions Resources/AnimationLockTime.json
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,8 @@
"16146": 0.70000005,
"16147": 0.5,
"16150": 0.77000004,
"16151": 0.6,
"16152": 0.6,
"16153": 0.6,
"16154": 0.6,
"16156": 0.6,
Expand Down
2 changes: 1 addition & 1 deletion RotationSolver/Updaters/MovingController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ internal class MovingController : IDisposable
private delegate bool MovingControllerDelegate(IntPtr ptr);

[Signature("40 55 53 48 8D 6C 24 ?? 48 81 EC ?? ?? ?? ?? 48 83 79 ?? ??", DetourName = nameof(MovingDetour))]
private static readonly Hook<MovingControllerDelegate> movingHook = null;
private static Hook<MovingControllerDelegate> movingHook = null;
internal static unsafe bool IsMoving
{
set => _posLocker = !value;
Expand Down
2 changes: 1 addition & 1 deletion RotationSolver/Watcher.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public class Watcher : IDisposable
/// https://github.com/Tischel/ActionTimeline/blob/master/ActionTimeline/Helpers/TimelineManager.cs#L86
/// </summary>
[Signature("4C 89 44 24 ?? 55 56 41 54 41 55 41 56", DetourName = nameof(ReceiveAbilityEffect))]
private static readonly Hook<ReceiveAbilityDelegate> _receiveAbilityHook;
private static Hook<ReceiveAbilityDelegate> _receiveAbilityHook;


public static ICallGateSubscriber<object, object> IpcSubscriber;
Expand Down

0 comments on commit a5f7cf0

Please sign in to comment.