Binary Ninja Plugin for IL2CPPDumper
-
Run
Il2CppDumper <GameAssembly.dll> <Global-Metadata.dat> <Output-Dir>. -
Add the Plugin to Binary Ninja's Plugin folder.
-
Run
ConvertHeaders.jlin theOutput-Dir. -
Load
il2cpp-binja.hinto Binary Ninja via Analysis > Import Header file. -
Run the Plugin, selecting
script.json. -
When analyzing the function, use
current_function.type = current_function.get_function_tags(tag_type = "Signature")[0].datain the Python Console to add the type information. This is as adding the signatures directly will make the analysis too slow.
This code is based on https://github.com/Perfare/Il2CppDumper/tree/master/Il2CppDumper/Il2CppBinaryNinja , modified to work with Binary Ninja updates and my use-case.