Skip to content
/ il2mod Public

il2cpp scripting and hooking framework via LUA.

Notifications You must be signed in to change notification settings

callr4x/il2mod

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

il2mod

il2cpp scripting and hooking framework via LUA.

Usage

  • Install polyhook2 with vcpkg and compile the dll

  • Create scripts folder in the game root dir, then create test.lua

  • Inject the dll in the game using your favourite dll injector

  • For usage examples look at scripts folder

Limitations

  • JIT Calls params has to be size of void* (0x8) as it's hardcoded

  • No clear way to differnciate the hook functions in the JIT stub so your LUA code has to make sure the params are correct.