when i use il2cppdumper, get il2cpp.h, then run il2cpp_header_to_ghidra.py and after that trying to open il2cpp_ghidra.h with ghidra (File > Parse C source > add il2cpp_ghidra.h to list > parse program) i'm getting error in il2cpp_ghidra.h:
Error: Encountered " " * " "* "" at line 9916, column 37.
Was expecting one of:
<VOLATILE> ...
"static" ...
<CONST> ...
<CDECL> ...
"__declspec" ...
"__readableTo" ...
etc...
9916 line in il2cpp_ghidra.h is
struct System_Reflection_RuntimeConstructorInfo_o* m_serializationCtor;
i use newest versions of both ghidra and il2cppdumper. maybe downgrading to some other version of the ghidra or il2cppdumper will help? (i don't know to which version)