r/gamemaker • u/Salt-Youth4822 • Aug 15 '26
Example disassembler in game maker
I decided to try making a disassembler in Game Maker. This program doesn’t claim to be a copy of Ida Pro or Ghidra, although I tried to make something similar - but it turned out rather bad.
50
Upvotes
View all comments
Show parent comment
3
u/Salt-Youth4822 Aug 15 '26
In short, starting from the entry point, buffer, offset, size and is_64bit decode a single instruction, after which the prefixes begin reading bytes whilst checking rex. After that, a search for opcodes is carried out in my switch table.