<!-- Canonical page: https://reversedwithai.com/p/kingdom-hearts-ii-final-mix-slpm-666-75-938ff02e -->
Canonical page: https://reversedwithai.com/p/kingdom-hearts-ii-final-mix-slpm-666-75-938ff02e

# Decompiled Kingdom Hearts II Final Mix (PS2) into a matching C/C++ build with Claude

> A byte-identical decompilation of the Kingdom Hearts II Final Mix main executable.

This project provides a byte-identical C/C++ decompilation of the Kingdom Hearts II Final Mix (SLPM_666.75) main executable. As of November 2026, 67.8% of the code is decompiled, with 3,536 functions named using PS3 debug symbols and deterministic matching.

## Key facts

- Target: Kingdom Hearts II Final Mix (SLPM_666.75)
- Category: Games and mods
- Platform: x86_64 Linux
- Models: Claude
- Tools: ee-gcc 3.2-040921, bubblewrap, patchelf, make
- Outcome: Partial
- Checks: Source available: not reported; Repro steps: not reported; Real hardware: not reported; Verified by others: not reported
- Author: sh1ftmaker
- Added: 2026-11-28
- Updated: 2026-11-28
- Sources reviewed: 2026-11-30 (automated reviewer)

## What was done

The Kingdom Hearts II Final Mix project is a decompilation of the PlayStation 2 game executable (SLPM_666.75). The project maintains a byte-identical build of the main executable using Sony's ee-gcc 3.2-040921 compiler. As of November 26, 2026, 9,401 of 11,509 functions are decompiled to C/C++, representing 67.8% of the code by byte count. The remaining functions utilize assembly or register pins. The project applies 1,458 function names directly from the 2014 PS3 E3 kiosk demo debug symbols, while other names are derived from a total set of 7,636 mapped candidates. AI agents, specifically Claude Fable 5.2 and Claude Opus 5.5, are credited as co-authors on commits involving sandbox management, site generation, and function naming. The project uses a mechanical submission gate to verify that all contributions maintain byte-identical output. Five code overlays remain unstarted. The build process requires a Linux environment with a specific toolchain and a user-provided ISO.

Sources: [Source 1](https://raw.githubusercontent.com/sh1ftmaker/kh2/HEAD/README.md), [Source 2](https://github.com/sh1ftmaker/kh2/commits.atom)

## Human work and limitations

The project distinguishes between functions decompiled to C/C++ and those still using assembly. Function naming relies on deterministic matching against PS3 debug symbols rather than model-generated guesses. The 3,536 named functions include those from the E3 debug symbols and other sources.

## Reproduce it

isoinfo -i "<your iso>" -x '/SLPM_666.75;1' > SLPM_666.75; tools/setup_toolchain.sh <path>/ee-gcc3.2-040921-full.tar.gz ~/ps2; source ~/ps2/env.sh; make

## AI use in the original source

- "Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>" ([source](https://github.com/sh1ftmaker/kh2/commits.atom))

Excerpts checked against the source on 2026-11-26.

## Sources

- [Repository](https://github.com/sh1ftmaker/kh2)

Figures are reported by the author and not measured by this site, except the commit history. Entry drafted with AI from the linked sources and checked against them.

Cite as: sh1ftmaker (2026). Decompiled Kingdom Hearts II Final Mix (PS2) into a matching C/C++ build with Claude. Reversed with AI. https://reversedwithai.com/p/kingdom-hearts-ii-final-mix-slpm-666-75-938ff02e
