<!-- Canonical page: https://reversedwithai.com/p/avatar-the-last-airbender-game-boy-advance-bqze-6f40ff76 -->
Canonical page: https://reversedwithai.com/p/avatar-the-last-airbender-game-boy-advance-bqze-6f40ff76

# Recompiled Avatar: The Last Airbender (GBA) into a native PC port with Claude

> Static recompilation of the GBA game Avatar: The Last Airbender (BQZE) to native C++.

This project performs static recompilation of the GBA game Avatar: The Last Airbender into native C++ code. It utilizes a custom GBA hardware reimplementation and achieves high-performance execution with verified functional parity against the original ROM.

## Key facts

- Target: Avatar: The Last Airbender (Game Boy Advance, BQZE)
- Category: Games and mods
- Platform: Windows 10/11
- Models: Claude
- Tools: Visual Studio 2022 Build Tools, CMake, Ninja, Python 3.10+
- Outcome: Works
- Checks: Source available: not reported; Repro steps: not reported; Real hardware: not reported; Verified by others: not reported
- Author: PedroVitor-Dev
- Added: 2026-11-28
- Updated: 2026-11-28
- Sources reviewed: 2026-11-30 (automated reviewer)

## What was done

The project implements a static recompilation of the Game Boy Advance title Avatar: The Last Airbender (ROM BQZE) into native C++ code. The process involves translating ARM/Thumb instructions into C++ functions, which then execute on a reimplemented GBA hardware runtime. The author reports that the recompilation process successfully handles 3,640 functions, with only two instructions requiring the interpretor over a 7,000-frame test sequence. Performance benchmarks indicate the recompilation achieves approximately 216x the speed of the original GBA hardware when rendering is disabled. The project includes a comprehensive testing suite, including differential testing between the interpretor and the recompilation, which reports zero divergences. Verification tools include a fuzzer for ARM/Thumb instructions and mutation testing to validate the runtime's integrity. The author documents the architecture and performance metrics in docs/PERFORMANCE.md. Development and verification were assisted by Claude Opus 5.5.

Sources: [Source 1](https://raw.githubusercontent.com/pedrovitor-dev/the_last_airbender_recomp/HEAD/README.md), [Source 2](https://github.com/pedrovitor-dev/the_last_airbender_recomp/commits.atom)

## Human work and limitations

The project uses a multi-stage build process involving a custom decoder, analyzer, and C++ emitter. It relies on a specific ROM dump (SHA-1: 9d864e9b3ccce4e5e1b1c566afa0d06088e88dfd).

## Reproduce it

.\scripts\build.ps1; .\build\release\tlarecomp.exe emit "roms\<sua-rom>.gba"; .\scripts\build.ps1; .\build\release\tlagba.exe "roms\<sua-rom>.gba"

## AI use in the original source

- "Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>" ([source](https://github.com/pedrovitor-dev/the_last_airbender_recomp/commits.atom))

Excerpts checked against the source on 2026-11-25.

## Sources

- [Repository](https://github.com/PedroVitor-Dev/The_Last_Airbender_Recomp)

Figures are reported by the author and not measured by this site, except the commit history. Entry drafted with AI from the linked sources and checked against them.

Cite as: PedroVitor-Dev (2026). Recompiled Avatar: The Last Airbender (GBA) into a native PC port with Claude. Reversed with AI. https://reversedwithai.com/p/avatar-the-last-airbender-game-boy-advance-bqze-6f40ff76
