From ba926d781c350c92b74c0f43645cf067fad84bf2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=88=9A=28noham=29=C2=B2?= <100566912+NohamR@users.noreply.github.com> Date: Thu, 15 Oct 2026 18:29:06 +0200 Subject: [PATCH] Update patch for Master PDF Editor 5.9.99 --- .gitignore | 3 +++ README.md | 4 ++-- main.m | 8 ++++---- 3 files changed, 9 insertions(+), 6 deletions(-) diff --git a/.gitignore b/.gitignore index 796e279..2362521 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,6 @@ *.a !tinyhook/*.a .DS_Store +/src +/build +.vscode/settings.json diff --git a/README.md b/README.md index 42e2f24..c6d1ec5 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Master PDF Editor Patch -Bypasses license validation for **Master PDF Editor 5.9.98** using inline hooking via [tinyhook](https://github.com/Antibioticss/tinyhook). +Bypasses license validation for **Master PDF Editor 5.9.99** using inline hooking via [tinyhook](https://github.com/Antibioticss/tinyhook). Supports both **Apple Silicon (arm64)** and **Intel (x86_64)** architectures. @@ -36,4 +36,4 @@ DYLD_INSERT_LIBRARIES=/path/to/MasterPDFEditor.dylib '/Applications/Master PDF E ## Analysis -Full reverse engineering write-up: [noham.dev](https://noh.am/en/posts/master-pdf-editor-patch-analysis/) \ No newline at end of file +Full reverse engineering write-up: [noh.am](https://noh.am/en/posts/master-pdf-editor-patch-analysis/) \ No newline at end of file diff --git a/main.m b/main.m index fcbe800..ab15140 100644 --- a/main.m +++ b/main.m @@ -3,11 +3,11 @@ #include "tinyhook/include/tinyhook.h" #if defined(__arm64__) || defined(__aarch64__) -#define kValidateLicenseAddress 0x10034D4F0 -#define kSetRegProgramAddress 0x10026C430 +#define kValidateLicenseAddress 0x10034E5B8 +#define kSetRegProgramAddress 0x10026D1AC #elif defined(__x86_64__) -#define kValidateLicenseAddress 0x10038E2D0 -#define kSetRegProgramAddress 0x100296D90 +#define kValidateLicenseAddress 0x10038F630 +#define kSetRegProgramAddress 0x100297DA0 #endif #define kGuardFlagOffset 107