Skip to content

Commit

Permalink
Merge pull request #3 from EntityReborn/master
Browse files Browse the repository at this point in the history
Add support for MelonLoader 0.5.3.
  • Loading branch information
xKiraiChan committed Feb 26, 2022
2 parents 25fe8e4 + a91e965 commit 20778a4
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
2 changes: 1 addition & 1 deletion AstralBypass.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
using System;
using System.Reflection;

[assembly: MelonInfo(typeof(Astrum.AstralBypass), nameof(Astrum.AstralBypass), "0.1.3", downloadLink: "github.com/Astrum-Project/" + nameof(Astrum.AstralBypass))]
[assembly: MelonInfo(typeof(Astrum.AstralBypass), nameof(Astrum.AstralBypass), "0.1.4", downloadLink: "github.com/Astrum-Project/" + nameof(Astrum.AstralBypass))]
[assembly: MelonColor(ConsoleColor.DarkMagenta)]

namespace Astrum
Expand Down
15 changes: 15 additions & 0 deletions IntegrityChecks.cs
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,21 @@ static IntegrityChecks()
"48 8B 4C 24 60" + // mov rcx,qword ptr ss:[rsp+60]
"48 89 4C 24 28", // mov qword ptr ss:[rsp+28],rcx
32
),
["0.5.3"] = (
"FF 15 FA 42 02 00" + // call qword ptr ds:[< &mono_image_close >]
"48 8B 1D ?? ?? ?? ??" + // mov rbx, qword ptr ds:[<&mono_raise_exception>]
"48 8B 05 ?? ?? ?? ??" + // mov rax, qword ptr ds:[<&mono_get_exception_bad_image_format>]
"48 8D 0D ?? ?? ?? ??" + // lea rcx, qword ptr ds:[7FF98C013150]
"FF D0" + // call rax
"48 8B C8" + // mov rcx, rax
"FF D3" + // call rbx
"48 8B 05 ?? ?? ?? ??" + // mov rax, qword ptr ds:[7FF98C01CD48]
"48 8B 4C 24 58" + // mov rcx, qword ptr ss:[rsp+58]
"48 89 4C 24 30" + // mov qword ptr ss:[rsp+30],rcx
"48 8B 4C 24 60" + // mov rcx, qword ptr ss:[rsp+60]
"48 89 4C 24 28", // mov qword ptr ss:[rsp+28],rcx
32
)
};

Expand Down

0 comments on commit 20778a4

Please sign in to comment.