My help scripts for ida and disassembling
- headerStructToCe
- funcOutRecurse
Using for export structs from ida to Cheat Engine
How to use:
- In IDA window
Local Typesselect all structs that you need - Copy all from structs view
- paste it in any file (example.h)
- And run
python3 headerStructsToCe.py
headerStructsToCe.py [-h] [-o OUTPUT] [--ptr-size {4,8}] [--int-display {unsigned,signed,hex}] input
Generates Cheat Engine .csx from ida structs.
positional arguments:
input Input file
options:
-h, --help show this help message and exit
-o OUTPUT, --output OUTPUT Where generate output for CE (Default stdout)
--ptr-size {4,8} Size of void*(x64 or x86)
--int-display {unsigned,signed,hex} How to display integers in CEIm using it for copy all functions body that uses some main function recursively, in example for gpt prompt.
How to use:
- Open IDA, and go to your function start addr in disasm or decompiler window
- File->Script file...
- Locate this script
- In the window you could enter addr, or leave at as is.
- Locate the output file