Skip to content

A limited disassembler that will search for a running Wesnoth process and then disassemble 0x50 bytes starting at 0x7ccd91.

License

Notifications You must be signed in to change notification settings

GameHackingAcademy/Disassembler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

Disassembler

Referenced in https://gamehacking.academy/lesson/7/4.

A limited disassembler that will search for a running Wesnoth process and then disassemble 0x50 bytes starting at 0x7ccd91. These instructions are responsible for subtracting gold from a player when recruiting a unit.

The disassembler works by using CreateToolhelp32Snapshot to find the Wesnoth process and the main Wesnoth module. Once it is located, a buffer is created and the module's memory is read into that buffer. The module's memory mainly contains opcodes for instruction. Once they are loaded, we loop through all the bytes in the buffer and disassemble them based on the reference provided by Intel here.

About

A limited disassembler that will search for a running Wesnoth process and then disassemble 0x50 bytes starting at 0x7ccd91.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages