Star on GitHubStar2.4k stars

Case study

Harry Potter and the Half-Blood Prince: function-level Windows decompilation

Harry Potter and the Half-Blood Prince — Decompilation reconstructs functions from the Windows hp6.exe as C and readable MASM, then compares rebuilt machine code with the executable. A Capstone-based tool emits C candidates from x86 control flow; the author reports 4,689 exact function matches among 10,992 inventoried functions.

Targets
Game
Category
Independent reconstruction cases
Relationship
Independent reconstruction project
Sources reviewed
Stars
2
Last commit
2026-10-14
Language
C

GitHub data as of 2026-11-09

Copy as MarkdownView JSONCite

Requirements & limits

  • Prerequisites: A local hp6.exe version 1.0.0.1 matching the README fingerprint is required.
  • Prerequisites: Python and an x86 MSVC compiler are required; reproducing current matches uses a compatible VC8 SP1 compiler.
  • Limits: The author reports 4,689 of 10,992 inventoried functions matching exactly; remaining functions include fragments and other difficult cases.
  • License: No licence file in the repository.

Cite

BibTeX

@misc{harry-potter-half-blood-prince-decomp-case,
  title = {{Harry Potter and the Half-Blood Prince: function-level Windows decompilation}},
  howpublished = {\url{https://github.com/MidacoYT/HarryPotterAndTheHalfBloodPrince-Decompilation}},
  url = {https://github.com/MidacoYT/HarryPotterAndTheHalfBloodPrince-Decompilation},
  urldate = {2026-11-06},
  note = {Awesome REA entry: \url{https://awesomerea.org/resources/harry-potter-half-blood-prince-decomp-case/}}
}

Plain text

Harry Potter and the Half-Blood Prince: function-level Windows decompilation. https://github.com/MidacoYT/HarryPotterAndTheHalfBloodPrince-Decompilation (accessed 2026-11-06). Awesome REA entry: https://awesomerea.org/resources/harry-potter-half-blood-prince-decomp-case/

Useful? Star Awesome REA on GitHub2.4k

About this entry

The description was reviewed against primary sources.

Report an outdated entry Suggest a translation fix

Primary sources

  1. README.md GitHub · MidacoYT/HarryPotterAndTheHalfBloodPrince-Decompilation · Revision bd7642e

More in Games

All 2976 entries in GamesGames case studies (2832)

↑↓ move↵ open⌘↵ new tab