Skip to content
Guest Big Announcement

Need help creating Theos-based mod for Unity game (jailed device)

Featured Replies

Hey everyone,
I’m trying to build a Unity game mod using Theos for a non-jailbroken (jailed) setup. Most of the guides and templates I’ve found are either outdated or targeted at jailbroken environments.

Here’s where I’m stuck:

What I’ve tried

  • Used SilentPwn template by @10738750-batch. The project builds and injects fine, but the actual patch doesn’t work.

  • Using offsets found via dnSpy:

    • If I use them directly, the game crashes.

    • If I add the UnityFramework base address, nothing happens.

    • If I use the SilentPwn as base, still no effect.

  • The H5GG method works. It generates a patched UnityFramework file on first run, which I can replace, re-sign, and sideload successfully.

  • I found the GitHub repo itsPow45/iOS-Jailed-Runtime-Offset-Patching-and-Hooking, which claims to be a Theos alternative to H5GG, but I can’t figure out how to integrate or use it.

What I want to know

  1. How should I correctly calculate runtime patch offsets for Unity games on jailed setups?

  2. How does Theos handle image slides and base address adjustments in this context?

  3. Is there any working example or minimal setup using itsPow45 (or similar) that performs runtime offset patching or creates a patched binary like H5GG does?

  4. Any known pitfalls when patching UnityFramework specifically for jailed devices?

Setup

  • Device: iPhone 16 Pro

  • iOS: 26.0.1

  • Game: Subway Surf

  • Binary of interest: UnityFramework

  • Toolchain: Theos (latest build)

If anyone can point me toward a current workflow or working example for jailed runtime patching with Theos, that’d be great.

On 11/3/2025 at 9:04 PM, Bennie.re said:

I’m facing the same problem, let me know if you find anything 

On a jailed setup Theos won’t patch directly. For Unity you need native RVAs from Il2CppDumper/IDA, then inject or patch the IPA before installing. H5GG/itsPow45 show the right flow: generate a patched UnityFramework, re‑sign, and sideload.

Create an account or sign in to comment

Featured Content

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.