Skip to content

Commit

Permalink
Update InputManager.cs
Browse files Browse the repository at this point in the history
change sig cause cmp sigs don't work
  • Loading branch information
pohky committed Feb 11, 2025
1 parent 37edce5 commit cbbfddf
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ public unsafe partial struct InputManager {
[MemberFunction("E8 ?? ?? ?? ?? 44 0F B6 C8 4C 8B C7")]
public static partial bool IsAutoRunning();

[StaticAddress("75 09 83 3D ?? ?? ?? ?? ?? 75 12", 4)]
[StaticAddress("8B 05 ?? ?? ?? ?? 41 8B DF", 2)]
public static partial MouseButtonHoldState* GetMouseButtonHoldState();

public static bool IsLeftMouseDown() => GetMouseButtonHoldState()->HasFlag(MouseButtonHoldState.Left);
Expand Down

0 comments on commit cbbfddf

Please sign in to comment.