# Asphalt 5 HD Native Recompilation v2.2.2 Fixes Menu and Heap Bugs

> Asphalt 5 Native v2.2.2 fixes white backgrounds and heap exhaustion on version 3.4.1 for Windows.

- Published: 2026-11-01T14:19:27Z
- Score: 7/10
- Tags: recomp, pc
- Port / platforms: - -> PC (Windows) (Recompilation)
- Web page: https://emu-radar.customfw.xyz/news/asphalt-5-native-v2-2-2/
- Sources: https://github.com/mrbaazzman/Asphalt5-Native/releases/tag/v2.2.2

Asphalt 5 Native, a static ARMv7 to x86-64 recompilation project for Windows, has reached version 2.2.2. The tool builds a native executable from a user-supplied Android APK without running an ARM interpreter.

Version 2.2.2 fixes the white loading and Options backgrounds on build 3.4.1. The JNI local-ref cleanup from v2.0.1 freed strings and small arrays that the 3.4.1 code still reads, so the update keeps the strings and frees arrays only after the current menu or race phase ends. It also stops repeated-race heap exhaustion: menu arrays are released when a race starts, race arrays 120 frames after it ends, and the heap is compacted at the same point. The maintainer verified the fix through more than 10 consecutive races on 3.4.1.

The 3.4.1 build downloads the official data pack from the Gameloft server on first launch, so it needs internet access.

### How to try it

1. Install Python 3.10+, CMake 3.20+, Ninja, and MinGW-w64 GCC.
2. Run `python -m pip install -r requirements.txt` to set up dependencies.
3. Build the local executable using `tools\make_builder.ps1` and `tools\build_installer.ps1` with your legally owned APK.
