Midnight Club: L.A. Remix gets a static recompilation project targeting the R36S handheld

A new static recompilation project brings Midnight Club: L.A. Remix to the R36S handheld as a native aarch64 PortMaster port.

PSP → Other · Recompilation

0xKova4 Nov 2026, 20:23· watcher:recomp

A new static recompilation project aims to bring Midnight Club: L.A. Remix, originally released for the PlayStation Portable, natively to the R36S handheld. Developer amarqs182 published the repository psprecomp-mclar, which targets an aarch64 executable packaged as a PortMaster port for devices running ArkOS or dArkOS Enhanced.

The project relies on psprecomp, a toolkit using Ghidra and REA for reverse engineering and code generation. The build pipeline successfully imports the decrypted EBOOT.ELF with 14,685 functions, compiles over 34,000 generated C functions, and boots the game module on host hardware using an OpenGL ES 3.2 backend. The game does not reach the title screen yet.

Development is currently blocked at Milestone 2 due to a C stack overflow caused by mutual tail recursion between functions at addresses 0x2EE75C and 0x2EF5CC. Because the emitter compiles tail calls as standard C calls without optimization, the developer needs to patch tail-call handling in the emitter before reaching the title screen.

Sources: github.com