Skip to content

Commit

Permalink
update offset for 2.8.0 build 198822
Browse files Browse the repository at this point in the history
  • Loading branch information
Kxnrl committed May 5, 2021
1 parent 63ee6bb commit aeeacda
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
10 changes: 5 additions & 5 deletions NetEaseMusic-DiscordRPC/MemoryUtil.cs
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ public static void LoadMemory(int pid, ref double rate, ref double lens)
// offset 2.7.1 -> 0x8ADA70
// offset 2.7.3 -> 0x8BDAD0
// offset 2.7.6 -> 0x8BEAD8
// offset 2.8.0 -> 0x939B48
if (!ReadProcessMemory(EntryPoint, BaseAddress + 0x939B48, buffer, sizeof(double), IntPtr.Zero))
// offset 2.8.0 -> 0x939B50
if (!ReadProcessMemory(EntryPoint, BaseAddress + 0x939B50, buffer, sizeof(double), IntPtr.Zero))
{
Debug.Print($"Failed to load memory at 0x{(BaseAddress + 0x939B48).ToString("X")}");
return;
Expand All @@ -57,9 +57,9 @@ public static void LoadMemory(int pid, ref double rate, ref double lens)

// offset 2.7.1 -> 0x8CDF88
// offset 2.7.3 -> 0x8DEB98
// offset 2.7.6 -> 0x8DFC08
// offset 2.8.0 -> 0x961DA8
if (!ReadProcessMemory(EntryPoint, BaseAddress + 0x961DA8, buffer, sizeof(double), IntPtr.Zero))
// offset 2.7.6 -> 0x8DFC080
// offset 2.8.0 -> 0x961D98
if (!ReadProcessMemory(EntryPoint, BaseAddress + 0x961D98, buffer, sizeof(double), IntPtr.Zero))
{
Debug.Print($"Failed to load memory at 0x{(BaseAddress + 0x961DA8).ToString("X")}");
return;
Expand Down
6 changes: 3 additions & 3 deletions NetEaseMusic-DiscordRPC/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("")]
[assembly: AssemblyCopyright("©2020 Kyle")]
[assembly: AssemblyCopyright("©2021 Kyle")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]

Expand All @@ -32,5 +32,5 @@
// 可以指定所有值,也可以使用以下所示的 "*" 预置版本号和修订号
// 方法是按如下所示使用“*”: :
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("2.1.1")]
[assembly: AssemblyFileVersion("2.1")]
[assembly: AssemblyVersion("2.0.2")]
[assembly: AssemblyFileVersion("2.0.2")]

0 comments on commit aeeacda

Please sign in to comment.