Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Veni's Mono/IL2CPP Smart Invoker

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Extensions
View previous topic :: View next topic  
Author Message
Veni
How do I cheat?
Reputation: 0

Joined: 23 Apr 2025
Posts: 3

PostPosted: Thu Dec 18, 2025 7:29 am    Post subject: Veni's Mono/IL2CPP Smart Invoker Reply with quote

Veni's Mono/IL2CPP Smart Invoker

Author: Veni
Discord: ._.veni._.


Description
This is a robust Lua tool for Cheat Engine that automates the process of finding Class Instances ("this" pointers) and Invoking methods in Unity games (Mono & IL2CPP).

It solves common crashing issues by using safe 64-bit absolute addressing and automatic instruction alignment calculation. It generates a clean Cheat Table script that logs the instance address and lets you call any function with arguments on the fly.

Features

  • Auto-Detection: Detects if the game is using Mono or IL2CPP.
  • Smart Hooking: Automatically calculates instruction sizes to prevent cutting instructions in half (Anti-Crash).
  • Safe Addressing: Uses absolute 64-bit addressing to prevent "Jump to far" or memory allocation crashes.
  • Method Invoker: Invoke any void or parameterized method directly from the table.
  • Argument Support: Supports passing arguments (int, string, bool, etc.) to functions.
  • Clean Output: Generates named symbols based on the class/method names (no random hex addresses).


How to use

  1. Attach Cheat Engine to the game.
  2. Open the Lua Engine (Ctrl+L).
  3. File -> Open Script and load: VENI_SMART_MONOIL2CPP_INVOKER.lua
  4. Click Execute.
  5. Follow the prompts:

    • Namespace: (e.g., leave empty or Assembly-CSharp)
    • Class: (e.g., PlayerHealth)
    • Hook Method: A method that runs often to grab the instance (e.g., Update)
    • Invoke Method: The method you want to call (e.g., Heal)

  6. Enable the generated "Instance Hook" script in your table.
  7. Wait a second for the "Instance Address" to populate.
  8. Click the "INVOKE" script to call your function.



VENI_SMART_MONOIL2CPP_INVOKER.lua
 Description:

Download
 Filename:  VENI_SMART_MONOIL2CPP_INVOKER.lua
 Filesize:  3.79 KB
 Downloaded:  3 Time(s)

Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Extensions All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites