Article may be outdated

This article is 55 days old. Some details may have changed since publication.

Hacker News·4 min read·hard

Show HN: Decomp Academy – Learn to decompile GameCube games into matching C

J
jackpriceburns
Show HN: Decomp Academy – Learn to decompile GameCube games into matching C
AI Summary

Decomp Academy is an interactive educational platform designed to teach users how to decompile GameCube assembly code into matching C code. It uses a real 2001-era compiler to grade submissions, allowing users to practice reverse engineering on actual game functions.

Why it matters

This tool provides a unique, hands-on approach to mastering low-level systems programming and reverse engineering, which are critical skills for game preservation and legacy software maintenance.

Dive DeeperCreate a free account to unlock

Decomp Academy MWCC GC/2.0 GitHub Playground Curriculum Sign in stwu r1, -0x20(r1) mflr r0 stw r0, 0x24(r1) stw r31, 0x1c(r1) mr r31, r3 lwz r3, 0x8(r31) lfs f1, 0x40(r3) lfs f0, 0x44(r3) fmuls f1, f1, f1 fmadds f1, f0, f0, f1 frsqrte f0, f1 fmuls f2, f0, f0 fnmsubs f2, f2, f1, f13 fmadds f0, f0, f2, f0 cmplwi r4, 0 beq- .L_0x4c rlwinm r0, r5, 2, 0, 29 lwzx r6, r3, r0 add r6, r6, r0 stwx r6, r3, r0 bl Vec_Normalize li r3, 1 lwz r0, 0x24(r1) mtlr r0 blr stwu r1, -0x20(r1) mflr r0 stw r0, 0x24(r1) stw r31, 0x1c(r1) mr r31, r3 lwz r3, 0x8(r31) lfs f1, 0x40(r3) lfs f0, 0x44(r3) fmuls f1, f1, f1 fmadds f1, f0, f0, f1 frsqrte f0, f1 fmuls f2, f0, f0 fnmsubs f2, f2, f1, f13 fmadds f0, f0, f2, f0 cmplwi r4, 0 beq- .L_0x4c rlwinm r0, r5, 2, 0, 29 lwzx r6, r3, r0 add r6, r6, r0 stwx r6, r3, r0 bl Vec_Normalize li r3, 1 lwz r0, 0x24(r1) mtlr r0 blr stwu r1, -0x20(r1) mflr r0 stw r0, 0x24(r1) stw r31, 0x1c(r1) mr r31, r3 lwz r3, 0x8(r31) lfs f1, 0x40(r3) lfs f0, 0x44(r3) fmuls f1, f1, f1 fmadds f1, f0, f0, f1 frsqrte f0, f1 fmuls f2, f0, f0 fnmsubs f2, f2, f1, f13 fmadds f0, f0, f2, f0 cmplwi r4, 0 beq- .L_0x4c rlwinm r0, r5, 2, 0, 29 lwzx r6, r3, r0 add r6, r6, r0 stwx r6, r3, r0 bl Vec_Normalize li r3, 1 lwz r0, 0x24(r1) mtlr r0 blr Learn to decompile GameCube assembly into byte-matching C. Go from never having read a register to matching real Star Fox Adventures functions — instruction for instruction. You write C, the real 2001 compiler grades it live.

Continue reading on Headlinne

Create a free account to read the full article.

Read full article →
technologyeducation
Political Bias
Center
LeftLean LCenterLean RRight
Confidence: 90%

The content is purely technical and educational, focusing on software engineering methodology without political or social framing.

Get smarter about the news

Sign up free for a feed built around what you actually care about, Dive Deeper research on any story, and the full text of every article.

Create free account

Already have an account? Sign in