{
  "api_version": "1.0.0",
  "slug": "hulk-ultimate-destruction-xbox-decomp-llm",
  "url": "https://reversedwithai.com/p/hulk-ultimate-destruction-xbox-decomp-llm",
  "markdown_url": "https://reversedwithai.com/p/hulk-ultimate-destruction-xbox-decomp-llm.md",
  "json_url": "https://reversedwithai.com/p/hulk-ultimate-destruction-xbox-decomp-llm.json",
  "title": "Thunderclap: Hulk: Ultimate Destruction (Xbox) decompilation with verified source for 100% of the game, using an LLM farm",
  "tagline": "Verified source for 27,436 of 27,437 game functions, toward a native port.",
  "summary": "matthewfcarlson built Thunderclap, a decompilation of Hulk: Ultimate Destruction made with LLM help, byte-matching functions against the original MSVC compiler or proving them equivalent.",
  "target": {
    "name": "The Incredible Hulk: Ultimate Destruction (Xbox, 2005)",
    "type": "game",
    "type_label": "Games and mods"
  },
  "platform": "Xbox",
  "models": [
    "Claude Opus 5.5",
    "Codex"
  ],
  "tools": [
    "Claude Code",
    "xemu"
  ],
  "outcome": "partial",
  "outcome_label": "Partial",
  "human_effort": null,
  "time_spent": null,
  "cost": null,
  "license": null,
  "checks": {
    "source_available": "yes",
    "repro_steps": null,
    "real_hardware": null,
    "independently_verified": null
  },
  "author": {
    "name": "matthewfcarlson",
    "url": "https://github.com/matthewfcarlson"
  },
  "sources": {
    "repository": "https://github.com/matthewfcarlson/thunderclap",
    "writeup": null,
    "discussions": [],
    "all": [
      "https://github.com/matthewfcarlson/thunderclap"
    ]
  },
  "image": {
    "url": "https://covers.reversedwithai.com/hulk-ultimate-destruction-xbox-decomp-llm.webp",
    "credit": "Image: GitHub (matthewfcarlson/thunderclap)"
  },
  "commit_history": {
    "commits": 2441,
    "ai_commits": 1762,
    "ai_days": 36,
    "first_ai_commit": "2026-10-08",
    "last_ai_commit": "2026-11-16",
    "credited_models": [
      {
        "name": "Claude Opus 5.5",
        "commits": 1736
      },
      {
        "name": "Claude Sonnet 5.5",
        "commits": 67
      },
      {
        "name": "Claude (version not given)",
        "commits": 2
      }
    ]
  },
  "added_at": "2026-10-17T09:29:50.481323+00:00",
  "updated_at": "2026-10-17T09:29:50.481323+00:00",
  "sources_reviewed_at": "2026-10-17T09:29:50.481323+00:00",
  "reviewed_by": "editor",
  "human_notes": null,
  "reproduce": null,
  "body_md": "Thunderclap is a decompilation of The Incredible Hulk: Ultimate Destruction for the original Xbox, built with LLM help. The aim is a native port that builds for x86-64 SteamOS, arm64 macOS and arm64 Android handhelds, not Windows. Commits carry Claude co-author trailers, and the docs describe Claude subagent batches. The README says a farm of cheap models did the matching, and Claude subagent batches did part of the equivalence proofs. The farm was retired at the 2026-11-10 source merge.\n\n## Matching and proving\n\nFunctions are byte-matched against the original compiler (MSVC 7.1) where that is cheap. A large function passes if an equivalence tool finds no behavioural difference across fuzzed and directed inputs. A farm of cheaper models and scripts handles the bulk, and stuck functions get a deeper investigation whose fix goes into the agent brief as a recipe. The repository holds no game code or assets.\n\nThe README, with its status dated 2026-11-11, reports verified source for 27,436 of 27,437 game functions (100.0 percent, 100.0%): 22,337 byte-matched (81.4%) and 5,099 proven equivalent (18.6%). The one address left is 304 bytes of data, not a function. The hybrid XBE build was retired when the source tree was merged on 2026-11-10.\n\n## What the 100 percent covers\n\n\"Verified source\" counts the 27,437 functions of the game's own code (2.73 MB, excluding Xbox XDK, C runtime and Bink library code). By bytes the split is 32.7 percent byte-matched and 67.3 percent proven equivalent, because large functions were written for readability and then proven rather than matched. An equivalent block must pass a fresh run of the repository's equivalence checker, which runs the original and the new code side by side in an emulator and compares calls, memory writes and return values. The README says the checker was tightened over 29 rounds and has 400 regression cases. A byte match is rechecked with the compiler and a relocation check that every reference hits the right symbol.\n\n## What is not decompiled\n\nThe XDK, CRT, Direct3D and Bink code is reimplemented from its interfaces and never decompiled. Game code reaches the Xbox through 182 such functions in four seams, which the SDL3 layer reimplements over bgfx and FFmpeg. Headers were recovered from runtime type information (4,244 classes). Missions are Lua bytecode, with 749 C++ bindings inventoried. The README states clean-room rules: no leaked source or leaked XDK material is used.\n\n## The port\n\nThe tree builds into a 32-bit Windows image that runs under Wine, and a live session reaches the first mission with keyboard control, sound and movies. Native 64-bit builds for x86-64 SteamOS, arm64 macOS and arm64 Android compile and link, but start-up is still being brought up. Windows is not a target, and there is no playable release. A later remaster that changes rendering and gameplay behind flags is planned alongside the faithful 2005 port.\n\nYou need your own copy of the game; the repo holds no game code or assets. Setup needs macOS or Linux, Python 3.12 or newer, Node 22 or newer and your own disc image unpacked with xdvdfs, and the work is done with the repo's tools rather than a download.\n\nSources:\n- https://github.com/matthewfcarlson/thunderclap",
  "ai_use_excerpts": null
}
