# LEGO City Undercover: a matching Nintendo Switch decompilation

> LEGO City Undercover Decompilation reconstructs functions from the Nintendo Switch game in C++. The project uses symbols from the game's dumped main executable and checks rebuilt functions against the original binary, with contributor instructions for analysis in IDA or Ghidra.

- Type: Case study
- Targets: Game
- Category: Independent reconstruction cases
- Relationship: Independent reconstruction project
- Sources reviewed: 2026-11-06
- Added to the catalog: 2026-11-09
- Original resource: <https://github.com/Nintendocustom/Lego-City-Undercover-Decompilation>
- Primary source: <https://github.com/Nintendocustom/Lego-City-Undercover-Decompilation/blob/2b45c422e2e3a8697372f6f25692a7793d118e06/README.md>
- Catalog page: <https://awesomerea.org/resources/lego-city-undercover-decomp-case/>
- Record JSON: <https://awesomerea.org/resources/lego-city-undercover-decomp-case/record.json>
- Chinese version: [简体中文](https://awesomerea.org/zh/resources/lego-city-undercover-decomp-case/index.md)

## Requirements & limits

- A dumped main executable from the EU v1.0.3 update is required.
- The documented toolchain uses Python 3.6 or later, Ninja, CMake 3.13 or later and other build dependencies.
- The US v1.0.2 release is untested; the Japanese release is unsupported.

## Primary sources

1. <https://github.com/Nintendocustom/Lego-City-Undercover-Decompilation/blob/2b45c422e2e3a8697372f6f25692a7793d118e06/README.md>
2. <https://github.com/Nintendocustom/Lego-City-Undercover-Decompilation/blob/2b45c422e2e3a8697372f6f25692a7793d118e06/docs/CONTRIBUTING.md>

## More in Games

- [LEGO Island: source reconstruction with separately reported exact rebuilds](https://awesomerea.org/resources/lego-island-decomp-case/index.md) · Case study
- [LEGO Racers: a function-matched decompilation of the 1999 Windows game](https://awesomerea.org/resources/lego-racers-decomp-case/index.md) · Case study
- [Lego Star Wars III: an in-progress Wii decompilation](https://awesomerea.org/resources/lego-clone-wars-wii-case/index.md) · Case study
- [Link: The Faces of Evil: matching CD-i program decompilation](https://awesomerea.org/resources/link-faces-of-evil-decomp-case/index.md) · Case study
- [LittleBigPlanet PSP: a matching decompilation of EBOOT.BIN](https://awesomerea.org/resources/lbp-psp-decomp-case/index.md) · Case study
- [Lode Runner: a byte-exact ZX Spectrum disassembly](https://awesomerea.org/resources/lode-runner-spectrum-disassembly-case/index.md) · Case study

## About this entry

The description was reviewed against primary sources.
Original editorial content: MIT. Linked projects, papers and assets retain their own rights and licenses.
