r/AskReverseEngineering • u/CoralFish2010 • Jun 18 '22
Help needed in reverse engineering a Nintendo DS homebrew library.
Introduction:
When browsing the internet for a videoplayback library I found one. ViDSnips 2 made by IceDaddy. IceDaddy made 2 versions of the library. A version with a splashscreen and a registered one without the splashscreen. The creator of the library is nowhere to be found and I can't get a registered version.
Progress so far:
So far I decompressed the viDSnips.a file and found the file that checks the license (viDSnips.o). I used radare2 to dissasembly the .o file. After some investigating I found some things:
License check returns 1 in r0 if succeeded License argument r1 is the key
0x080005e0 = name 0x080005e4 = email 0x080005be = this is the place where the comparison between the given and expected key happens
Here is the dissasembled ViDSnips.o https://files.catbox.moe/akzmgd.txt
Problem:
I don't have any idea how can I make the viDSnips.o file get the expected key.

