0xreversed/with.ai
Games and modsPartialSource available
Target: SOCOM II (SCUS-97275 r0001)

DabDavis/socom2-decomp

by DabDavis Repository0 views
Platform
PlayStation 2
Outcome
Partial

Evidence at a glance

Based on the linked sources. The author's reported result and independent confirmation are separate checks.

AI involvement
Reported models: Claude. Tools: Metrowerks CodeWarrior for PS2 3.0b52, wibo, Unicorn, Python. The writeup below describes the work attributed to AI.
Reported result
Partial. This is the directory's source-based outcome classification.
Independent confirmation
Not reported.
Human work and limitations
The project distinguishes itself from previous attempts by targeting the specific r0001 disc release rather than the r0004 online update. It uses a rigorous verification process where every function must match the shipped bytes exactly. The author notes that previous research often relied on incorrect compiler assumptions or mismatched binary versions.

Original sources

What was done

A reverse-engineering project aiming for a byte-exact decompilation of SOCOM II (r0001). It utilizes custom Python tooling, a hand-kept symbol map, and AI-assisted drafting to verify functions against the original shipped binary.

The socom2-decomp project is a systematic effort to produce a byte-exact, function-by-function decompilation of the PlayStation 2 game SOCOM II (SCUS-97275, build r0001). As of October 2026, the project has achieved 5,119 byte-exact functions, representing approximately 13.95% of the map's bytes. The codebase is structured into hand-written functions and generated drafts, with every function verified against the original shipped binary and all call references resolved to their correct addresses. The author employs offline Python tooling for disassembly, symbol mapping, and verification. Claude Opus 5.5 is credited as a co-author for its contributions to drafting and integrating code units, including AI-state logic and kit-related functions. The project relies on specific compiler settings, such as Metrowerks CodeWarrior for PS2 (build 3.0b52), and requires a specific disc version to ensure bit-for-bit reproduction. A canary script, test_scdecomp.py, serves as a negative control to validate the integrity of the target disc and the decompilation process. The project maintains a hand-kept symbol map and continues to integrate new units through iterative lanes.

Reproduce it

setup
./test_scdecomp.py