Skip to content

Commit

Permalink
Update macOS patches to 0.4.26
Browse files Browse the repository at this point in the history
  • Loading branch information
geniiii committed Jun 21, 2020
1 parent 7f863ee commit 0831d65
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/checks.c
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ CHECK(version_check, 0x3B36C0, "0.4.26");
#elif __linux__
CHECK(version_check, 0x4C949D, "0.4.26");
#elif __APPLE__
CHECK(version_check, 0x479846, "0.4.25");
CHECK(version_check, 0x47FE10, "0.4.26");
#endif

const check* checks[] = {&version_check};
Expand Down
6 changes: 3 additions & 3 deletions src/patches.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ PATCH(cooldown, 0x169BC0, {0xB8, 0x01, 0x00, 0x00, 0x00, 0xC3});

const patch* patches[] = {&deleted_message_details, &deleted_message_append, &cooldown};
#elif __APPLE__
PATCH(deleted_message_details, 0x15EE50,
PATCH(deleted_message_details, 0x163C80,
{0xB8, 0x01, 0x00, 0x00, 0x00, 0xC3});
PATCH(deleted_message_append, 0x204DC9, {0xE9, 0x83, 0x00, 0x00});
PATCH(cooldown, 0x11A210, {0xB8, 0x01, 0x00, 0x00, 0x00, 0xC3});
PATCH(deleted_message_append, 0x209669, {0xE9, 0x83, 0x00, 0x00});
PATCH(cooldown, 0x11ECD0, {0xB8, 0x01, 0x00, 0x00, 0x00, 0xC3});

const patch* patches[] = {&deleted_message_details, &deleted_message_append, &cooldown};
#endif
Expand Down

0 comments on commit 0831d65

Please sign in to comment.