LLM-Assisted Decompilation: Evolving Strategies and Tools

The article discusses challenges and strategies in LLM-assisted decompilation, particularly using Claude for decompiling Nintendo 64 games like Snowboard Kids 2. Initially, progress involved one-shot decompilation, boosting matched code from around 25% to 58%. However, progress slowed, necessitating a change in approach to eventually reach ~75% matched functions.
A critical strategy involved prioritizing which unmatched functions to tackle, initially using a logistic regression model to estimate difficulty based on features like instruction count and control-flow complexity. When this approach plateaued, exploring function similarity via text embeddings of assembly instructions proved fruitful. This involved computing similar matched functions to provide useful references, thus improving Claude's decompilation performance.
To compute similarity, vector embeddings were discussed, which are often used in RAG systems for fast retrieval. However, for a project with only a few thousand candidates, precise similarity computation was feasible. A composed similarity score factoring normalized instruction n-grams, control-flow patterns, memory access offsets, and structural metrics was initially used, but later, Coddog's simpler method of computing bounded Levenshtein distance over opcode sequences proved just as effective, reducing complexity.
Specialized tooling like gfxdis.f3dex2 and decomp-permuter also enhanced Claude’s performance. Specifically, the use of the F3Dex2 library made dealing with the N64's Reality Display Processor (RDP) microcode more manageable, avoiding the need for custom reverse engineering.
📖 Read the full source: HN LLM Tools
👀 See Also

Pi Coding Agent + Qwen 3.6 27B: Hands-Free Arch Linux Setup via Natural Language
A user running Qwen 3.6 27B through pi coding agent on a miniPC was able to configure Bluetooth, screen scaling, and more on Arch Linux using plain English commands — without touching Wayland configs.

Docs Tab for Claude Desktop: A Code Tab Reskin for Knowledge Workers
A Reddit proposal suggests repurposing Claude Desktop's Code tab agent loop and git workspace into a markdown-first 'Docs' tab for compliance, legal, and ops teams — hiding developer terminology behind familiar document workflow labels.

Meet Claude: A Visual Novel Created Entirely by AI
A developer created a satirical visual novel called Meet Claude using Claude AI for writing, coding, art, music, and deployment. The game explores dependency on AI assistants and is available free on Steam with multiple endings.

OpenClaw agent demonstrates model escalation workflow with Claude Opus
A developer describes how their OpenClaw agent recognized when Codex GPT-5.4 was stuck on a coding task, escalated the problem to Claude Opus 4.6 via Antigravity, discussed the solution, then returned to complete the work autonomously.