RED4ext.SDK
RED4ext.SDK copied to clipboard
Zoltan typedefs
this is just a demo header that can be used with zoltan clang frontend the command to run on this is:
zoltan-clang '.\include\RED4ext\Typedefs.hpp' 'C:\Games\Cyberpunk 2077\bin\x64\Cyberpunk2077.exe' -f 'std=c++20' -f 'I.\include' --dwarf-output '.\debug-symbols' --c-output '.\addresses.h'
it generates a header with addresses like:
#define CBASEFUNCTION_EXECUTE_ADDR 0x140206A70
#define CGLOBALFUNCTION_CTOR_ADDR 0x140206380
...
and symbols that can be loaded into IDA:
Can you move the file to a new directory? Maybe zoltan
. If we do this people might get confused with the typedefs
.
the typedefs can replaced with c++-style using type aliases
Nice! Does it also support namespaces? And custom math? Like CBaseFunction_Execute = addr - img_base
so we get only the RVA?
You can use namespaces on the latest version, I've also changed it to output rva in the output headers by default
Nice! Thanks :D