Jump to content

Introducing il2cpp-bridge-rs: A Rust Library for Unity IL2CPP Modding and Debugging [All platforms]


3 posts in this topic

Recommended Posts

Updated (edited)

Introducing il2cpp-bridge-rs (https://crates.io/crates/il2cpp-bridge-rs

I just published il2cpp-bridge-rs, a Rust library for interacting with Unity's IL2CPP runtime from native code.

This project is aimed at people building Unity game modding, runtime debugging, reverse engineering, and IL2CPP tooling in Rust. If you have ever wanted to work with IL2CPP from Rust without rebuilding the usual layers around export resolution, metadata lookup, method binding, and thread attachment, that is the problem space I wanted to improve.

Why I built it

Working with IL2CPP natively usually means rebuilding the same foundations over and over:

- resolving exports from the loaded runtime
- walking assemblies and classes manually
- finding and invoking methods
- handling runtime/thread attachment correctly
- wrapping Unity objects in something usable
- dumping metadata for inspection and debugging

That works, but it is tedious and easy to get wrong.

I wanted a Rust-first foundation for this kind of work: something ergonomic enough for day-to-day use, but still close to the runtime model IL2CPP actually exposes.

What il2cpp-bridge-rs does

il2cpp-bridge-rs is a native Rust library for exploring and interacting with Unity's IL2CPP runtime at runtime.

It provides support for:

- resolving IL2CPP exports dynamically
- building and reusing a metadata cache
- looking up assemblies, classes, fields, properties, and methods
- invoking static and instance methods
- dumping runtime metadata
- accessing common Unity objects and wrappers
- working across platforms including iOS, macOS, Linux, Android, and Windows

The goal is not to hide what IL2CPP is doing. The goal is to make common workflows cleaner, more repeatable, and less error-prone.

Who this is for

This library is useful if you are building:

- native mods or injected libraries for Unity games
- IL2CPP debugging and inspection tools
- runtime diagnostics
- wrappers around raw Unity/IL2CPP metadata
- reverse engineering workflows that need runtime interaction

It is not meant to be a full mod loader or a complete game patching framework by itself. It is a building block for lower-level tooling.

Download
The library is published on https://crates.io/crates/il2cpp-bridge-rs so you can just do: 

cargo add il2cpp-bridge-rs

Or if you want you can build it locally by cloning the repo out of github: https://github.com/Batchhh/il2cpp-bridge-rs

Why Rust here makes sense

Rust is a strong fit for this space.

You still have to deal with runtime-owned memory and unsafe boundaries, because IL2CPP integration is fundamentally native and pointer-heavy. But Rust helps tighten the edges around that work. It gives you a better foundation for organizing wrappers, isolating unsafe code, and building tools that do not immediately turn into fragile C++ glue.

This crate does not magically make IL2CPP “safe.” That would be dishonest. What it does do is make the experience much more structured.

What’s next

This is an early release, but the foundation is there. I want to keep improving the ergonomics, wrappers, documentation, and real-world workflows around modding and debugging Unity IL2CPP games.

If you work in this area and want to try it, break it, or build on top of it, take a look:

https://github.com/Batchhh/il2cpp-bridge-rs

https://crates.io/crates/il2cpp-bridge-rs

If you have feedback from actual modding, debugging, or reverse engineering use cases, that is the kind of input I care about most.

Don't forget to star the project to keep up with the updates! ❤️ 


Credits
- @Batch (https://x.com/BatchhRE

Updated by Batch
  • Winner 1

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Our picks

    • SoulGuardians 2 PLUS - GranAge +2 Cheats
      Mod APK Game Name: SoulGuardians 2 PLUS - GranAge
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=com.proximadx.projectsoul

       

      🤩 Hack Features

      - Damage Multiplier
      - Defense Multiplier

       

      ⬇️ Android Mod APK Download Link


      Hidden Content

      Download Modded APK







       

      📖 Android Installation Instructions

      STEP 1: Download the modded APK file from the link above using your preferred Android browser or download manager.
      STEP 2: Once the download is complete, open your file manager and locate the downloaded .apk file (usually in the Downloads folder).
      STEP 3: Tap the APK file, then select Install. If prompted, enable Install from Unknown Sources in your device settings.
      STEP 3A: If the mod includes an OBB file, extract it if it’s inside an archive. Then move the folder to: /Android/obb/
      STEP 3B: If the mod includes a DATA file, extract it if it’s archived. Then move the folder to: /Android/data/
      STEP 4: Once installed, open the game and toggle your desired cheats & features through the APK mod menu. Enjoy!

       

      NOTE: If you have any questions or issues, read our Frequently Asked Questions topic. If you still need help, post your issue below and we’ll assist you as soon as possible. If the mod works for you, please share your feedback to help other members!

       

      🙌 Credits

      - AlyssaX64

       

      📷 Cheat Video/Screenshots

      N/A

       

       iOS & iPadOS App Hacks
      If you’re looking for Non-Jailbroken & No Jailbreak required iOS IPA hacks, visit the iOS Game Cheats & Hacks or the iOSGods App for a variety of modded games and apps for non-jailbroken iOS devices.
        • Agree
        • Winner
        • Like
      • 11 replies
    • Frozen Island +2 Cheats
      Mod APK Game Name: Frozen Island By Linkify Limited
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=leyi.frozenislandpro

       

      🤩 Hack Features

      - Damage Multiplier
      - Defense Multiplier

       

      ⬇️ Android Mod APK Download Link


      Hidden Content

      Download via the iOSGods App for Android







       

      📖 Android Installation Instructions

      STEP 1: Download the modded APK file from the link above using your preferred Android browser or download manager.
      STEP 2: Once the download is complete, open your file manager and locate the downloaded .apk file (usually in the Downloads folder).
      STEP 3: Tap the APK file, then select Install. If prompted, enable Install from Unknown Sources in your device settings.
      STEP 3A: If the mod includes an OBB file, extract it if it’s inside an archive. Then move the folder to: /Android/obb/
      STEP 3B: If the mod includes a DATA file, extract it if it’s archived. Then move the folder to: /Android/data/
      STEP 4: Once installed, open the game and toggle your desired cheats & features through the APK mod menu. Enjoy!

       

      NOTE: If you have any questions or issues, read our Frequently Asked Questions topic. If you still need help, post your issue below and we’ll assist you as soon as possible. If the mod works for you, please share your feedback to help other members!

       

      🙌 Credits

      - AlyssaX64

       

      📷 Cheat Video/Screenshots

      N/A

       

       iOS & iPadOS App Hacks
      If you’re looking for Non-Jailbroken & No Jailbreak required iOS IPA hacks, visit the iOS Game Cheats & Hacks or the iOSGods App for a variety of modded games and apps for non-jailbroken iOS devices.
        • Winner
      • 1 reply
    • Touhou Incident Idle Clicker +1 Cheat
      Mod APK Game Name: Touhou Incident Idle Clicker By yuichiro takei
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=jp.pluszero.ihen

       

      🤩 Hack Features

      - Loot/Drop Multiplier

       

      ⬇️ Android Mod APK Download Link


      Hidden Content

      Download via the iOSGods App for Android







       

      📖 Android Installation Instructions

      STEP 1: Download the modded APK file from the link above using your preferred Android browser or download manager.
      STEP 2: Once the download is complete, open your file manager and locate the downloaded .apk file (usually in the Downloads folder).
      STEP 3: Tap the APK file, then select Install. If prompted, enable Install from Unknown Sources in your device settings.
      STEP 3A: If the mod includes an OBB file, extract it if it’s inside an archive. Then move the folder to: /Android/obb/
      STEP 3B: If the mod includes a DATA file, extract it if it’s archived. Then move the folder to: /Android/data/
      STEP 4: Once installed, open the game and toggle your desired cheats & features through the APK mod menu. Enjoy!

       

      NOTE: If you have any questions or issues, read our Frequently Asked Questions topic. If you still need help, post your issue below and we’ll assist you as soon as possible. If the mod works for you, please share your feedback to help other members!

       

      🙌 Credits

      - AlyssaX64

       

      📷 Cheat Video/Screenshots

      N/A

       

       iOS & iPadOS App Hacks
      If you’re looking for Non-Jailbroken & No Jailbreak required iOS IPA hacks, visit the iOS Game Cheats & Hacks or the iOSGods App for a variety of modded games and apps for non-jailbroken iOS devices.
        • Winner
      • 3 replies
    • Fortias Saga: Idle RPG v1.1.05 +5 Cheats
      Mod APK Game Name: Fortias Saga: Idle RPG By ONDI TECHNOLOGY JSC
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=com.ondi.fortias.saga

       

      🤩 Hack Features

      - Damage Multiplier
      - Defense Multiplier
      - Shards & Items Multiplier → Disable When Do Spending
      - Currencies Multiplier → Disable When Do Spending
      - No Ads

       

      ⬇️ Android Mod APK Download Link


      Hidden Content

      Download Modded APK







       

      📖 Android Installation Instructions

      STEP 1: Download the modded APK file from the link above using your preferred Android browser or download manager.
      STEP 2: Once the download is complete, open your file manager and locate the downloaded .apk file (usually in the Downloads folder).
      STEP 3: Tap the APK file, then select Install. If prompted, enable Install from Unknown Sources in your device settings.
      STEP 3A: If the mod includes an OBB file, extract it if it’s inside an archive. Then move the folder to: /Android/obb/
      STEP 3B: If the mod includes a DATA file, extract it if it’s archived. Then move the folder to: /Android/data/
      STEP 4: Once installed, open the game and toggle your desired cheats & features through the APK mod menu. Enjoy!

       

      NOTE: If you have any questions or issues, read our Frequently Asked Questions topic. If you still need help, post your issue below and we’ll assist you as soon as possible. If the mod works for you, please share your feedback to help other members!

       

      🙌 Credits

      - AlyssaX64

       

      📷 Cheat Video/Screenshots

      N/A

       

       iOS & iPadOS App Hacks
      If you’re looking for Non-Jailbroken & No Jailbreak required iOS IPA hacks, visit the iOS Game Cheats & Hacks or the iOSGods App for a variety of modded games and apps for non-jailbroken iOS devices.
        • Agree
        • Thanks
        • Winner
        • Like
      • 8 replies
    • Transcender : Idle RPG +3 Cheats
      Mod APK Game Name: Transcender : Idle RPG By Rookie Project Co., Ltd.
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=com.playgames.transcender

       

      🤩 Hack Features

      - Damage Multiplier
      - Never Die
      - Guest Login

       

      ⬇️ Android Mod APK Download Link


      Hidden Content

      Download Modded APK







       

      📖 Android Installation Instructions

      STEP 1: Download the modded APK file from the link above using your preferred Android browser or download manager.
      STEP 2: Once the download is complete, open your file manager and locate the downloaded .apk file (usually in the Downloads folder).
      STEP 3: Tap the APK file, then select Install. If prompted, enable Install from Unknown Sources in your device settings.
      STEP 3A: If the mod includes an OBB file, extract it if it’s inside an archive. Then move the folder to: /Android/obb/
      STEP 3B: If the mod includes a DATA file, extract it if it’s archived. Then move the folder to: /Android/data/
      STEP 4: Once installed, open the game and toggle your desired cheats & features through the APK mod menu. Enjoy!

       

      NOTE: If you have any questions or issues, read our Frequently Asked Questions topic. If you still need help, post your issue below and we’ll assist you as soon as possible. If the mod works for you, please share your feedback to help other members!

       

      🙌 Credits

      - AlyssaX64

       

      📷 Cheat Video/Screenshots

      N/A

       

       iOS & iPadOS App Hacks
      If you’re looking for Non-Jailbroken & No Jailbreak required iOS IPA hacks, visit the iOS Game Cheats & Hacks or the iOSGods App for a variety of modded games and apps for non-jailbroken iOS devices.
        • Informative
        • Agree
        • Thanks
        • Winner
        • Like
      • 19 replies
    • Jurassic World Alive v3.18.34 +3 Cheats
      Mod APK Game Name: Jurassic World Alive By Ludia Games inc.
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=com.ludia.jw

       

      🤩 Hack Features

      - Dumb Dinos
      - Inf. Battery
      - VIP Enabled

       

      ⬇️ Android Mod APK Download Link


      Hidden Content

      Download Modded APK







       

      📖 Android Installation Instructions

      STEP 1: Download the modded APK file from the link above using your preferred Android browser or download manager.
      STEP 2: Once the download is complete, open your file manager and locate the downloaded .apk file (usually in the Downloads folder).
      STEP 3: Tap the APK file, then select Install. If prompted, enable Install from Unknown Sources in your device settings.
      STEP 3A: If the mod includes an OBB file, extract it if it’s inside an archive. Then move the folder to: /Android/obb/
      STEP 3B: If the mod includes a DATA file, extract it if it’s archived. Then move the folder to: /Android/data/
      STEP 4: Once installed, open the game and toggle your desired cheats & features through the APK mod menu. Enjoy!

       

      NOTE: If you have any questions or issues, read our Frequently Asked Questions topic. If you still need help, post your issue below and we’ll assist you as soon as possible. If the mod works for you, please share your feedback to help other members!

       

      🙌 Credits

      - AlyssaX64

       

      📷 Cheat Video/Screenshots

      N/A

       

       iOS & iPadOS App Hacks
      If you’re looking for Non-Jailbroken & No Jailbreak required iOS IPA hacks, visit the iOS Game Cheats & Hacks or the iOSGods App for a variety of modded games and apps for non-jailbroken iOS devices.
        • Agree
        • Haha
        • Winner
        • Like
      • 14 replies
    • Sherlock: Mystery Merge v7.0 [ +4 Jailed ] Currency Max
      Modded/Hacked App: Sherlock: Mystery Merge By AppGuruz
      Bundle ID: com.appguruz.sherlock.mysterymerge
      iTunes Store Link: https://apps.apple.com/us/app/sherlock-mystery-merge/id6740312377?uo=4

      🚀 Hack Features

      - Gems [ Get & Use ]
      - Coins [ Get & Use ]
      - Energy [ Get & Use ]
      - LvL & EXP MAX [ Get & Use ]
        • Like
      • 5 replies
    • Sherlock: Mystery Merge v7.0 [ +4 Cheats ] Currency Max
      Modded/Hacked App: Sherlock: Mystery Merge By AppGuruz
      Bundle ID: com.appguruz.sherlock.mysterymerge
      iTunes Store Link: https://apps.apple.com/us/app/sherlock-mystery-merge/id6740312377?uo=4

      🚀 Hack Features

      - Gems [ Get & Use ]
      - Coins [ Get & Use ]
      - Energy [ Get & Use ]
      - LvL & EXP MAX [ Get & Use ]
        • Like
      • 5 replies
    • Nonograms Katana v13.120 [ +1 Cheats ] Hint Unlimited
      Modded/Hacked App: Nonograms Katana By Ucdevs Interaction DOO
      Bundle ID: com.ucdevs.iJCross
      iTunes Store Link: https://apps.apple.com/us/app/nonograms-katana/id1037710023?uo=4

      Hack Features:
      - Hint Unlimited / Spend Some
        • Like
      • 5 replies
    • Nonograms Katana v13.120 [ +1 Jailed ] Hint Unlimited
      Modded/Hacked App: Nonograms Katana By Ucdevs Interaction DOO
      Bundle ID: com.ucdevs.iJCross
      App Store Link: https://apps.apple.com/us/app/nonograms-katana/id1037710023?uo=4

      🤩 Hack Features

      - Hint Unlimited / Spend Some
      • 0 replies
    • Cooking Live Restaurant diary v0.42.0 [ +6 Cheats ] Currency Max
      Modded/Hacked App: Cooking Live: Restaurant diary By MATRYOSHKA GAMES CY LTD
      Bundle ID: com.matryoshka.cookingliveprod
      App Store Link: https://apps.apple.com/us/app/cooking-live-restaurant-diary/id1595075449?uo=4
      Hack Features:
      - NO ADS
      - Unlimited Gems 
      - Unlimited Coins
      - Unlimited Star
      - Groceries Max
      - Booster Max / Unlocked 
        • Thanks
        • Winner
        • Like
      • 7 replies
    • Cooking Live Restaurant diary v0.42.0 [ +6 Jailed ] Currency Max
      Modded/Hacked App: Cooking Live: Restaurant diary By MATRYOSHKA GAMES CY LTD
      Bundle ID: com.matryoshka.cookingliveprod
      App Store Link: https://apps.apple.com/us/app/cooking-live-restaurant-diary/id1595075449?uo=4

      🤩 Hack Features

      - NO ADS
      - Unlimited Gems 
      - Unlimited Coins
      - Unlimited Star
      - Groceries Max
      - Booster Max / Unlocked 
      • 0 replies
×
  • Create New...

Important Information

We would like to place cookies on your device to help make this website better. The website cannot give you the best user experience without cookies. You can accept or decline our cookies. You may also adjust your cookie settings. Privacy Policy - Guidelines