Skip to content

Commit

Permalink
fix: 7.1 Remote Window offsets
Browse files Browse the repository at this point in the history
  • Loading branch information
nt153133 committed Nov 13, 2024
1 parent d4537a1 commit e126102
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions RemoteWindows/RemoteWindow.cs
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,13 @@ protected RemoteWindow(string windowName, AgentInterface agent) : base(windowNam

public abstract class RemoteWindow
{
#if RB_DT
//7.1
#if RB_CN
private const int Offset0 = 0x1DA; //0F BF 93 ? ? ? ? 41 B1 ? 4C 8B 83 ? ? ? ? 48 8B CB C6 44 24 ? ? E8 ? ? ? ? 48 8B CB Add 3 Read32
private const int Offset2 = 0x170; //4C 8B 83 ? ? ? ? 48 8B CB C6 44 24 ? ? E8 ? ? ? ? 48 8B CB Add 3 Read32
#else
private const int Offset0 = 0x1CA;
private const int Offset2 = 0x160;
private const int Offset0 = 0x1E2; //0F BF 93 ? ? ? ? 41 B1 ? 4C 8B 83 ? ? ? ? 48 8B CB C6 44 24 ? ? E8 ? ? ? ? 48 8B CB Add 3 Read32
private const int Offset2 = 0x178 ;//4C 8B 83 ? ? ? ? 48 8B CB C6 44 24 ? ? E8 ? ? ? ? 48 8B CB Add 3 Read32
#endif

public virtual bool IsOpen => WindowByName != null;
Expand Down

0 comments on commit e126102

Please sign in to comment.