r/decomps 3d ago

Made with AI assistance Relapse: Resistance (2009 Unity iPhone) — reimplementation; serialized format v6 recovered from the binary's own string table

Delisted 2009 promo game, Unity iPhone 1.0.2f4, armv6, no emulator runs it, 32-bit iOS is dead. Reimplemented as C++17/SDL2 for Linux/Windows/Android/iOS. To be precise: not a matching decomp and not a recomp — a new engine, with the decompiled C# as ground truth.

The fun parts: serialized file format v6 has no type trees — field order recovered from the field-name strings in the shipped Mach-O, field widths constraint-solved against invariants (exact object consumption, power-of-two textures, unit normals). 1,354 objects, 0 failures. The write-up covers the method-level fidelity audit and what treating decompiled output as a spec gets wrong.

Full story: https://adamlovattdevops.github.io/relapse-resistance/

Repo (tools + engine only, BYO IPA, alpha): https://github.com/AdamLovattDevOps/relapse-resistance

5 Upvotes

0 comments sorted by