Awesome REA
English
Back to all cases

TH04: recovering PC-98 bullet-ring angles

Target: Touhou TH04 PC-98 DOS MZ, 16-bit real-mode program

Author / attribution: REA showcase team; original project authors credited in sources

Source review date:

Review status: Sources reviewed; author tests not independently rerun.

The question

How are bullets evenly distributed around a ring and aimed toward the player?

What REA did

REA and Ghidra check the loading layout, analyze helper functions and read instructions and raw bytes. The existing reconstruction project supplies context for fixed-point angles, integer division and wrapping.

Author-reported results

The showcase presents new REA checks alongside historical Turbo C++ verification: a 2,139-byte region containing the helper matches.

Limitations and unverified claims

The historical source reconstruction and compilation checks belong to the TH04 project. The new REA investigation is only part of the evidence, not proof of full-game equivalence or sole REA authorship.

What to learn

Confirm the loading model and address mapping on old platforms, then connect algorithm explanations to compiler checks.

REA usage evidence in the source

The page adds a fresh inspection of the supplied original target through REA on 7 October 2026.

Excerpt formatting is simplified. Read the original source for full context.

Original sources

Independent editorial summary. Credit belongs to the original authors. Target software, installers and complete decompiler output are not redistributed here.

View this case on GitHub · Suggest a correction