Welcome! Log In Create A New Profile

Advanced

Okay, what did you guys name the horse?

Posted by paul.strickler 
Okay, what did you guys name the horse?
May 28, 2009 10:06PM
I have had this queston, but never thought to ask.

For the Twilight Hack, what did twiizers name Epona?

I tried to clone the new git, but I am not getting the hang of it, so I am asking.
Re: Okay, what did you guys name the horse?
May 29, 2009 03:47AM
The name of both Link and Epona appear to be defined in the file start.S

Epona's name begins with 232 repetitions of the character '3'. This is followed by the address of the start code (which overwrites the stack frame's return address). Next is 7 repetitions of the character 'S'. After this the system pads until the address is a multiple of 4 with 0x00. The start code begins right after this padding, and consists of instructions to create a new stack frame and execute the main function defined in twilight.c

The name should look something like this when hexdumped (note that I may not be reading the code right, have very likely screwed up the translation of assembly code to machine code, and have used totally bogus addresses for start and main ;)):

00000000  33 33 33 33 33 33 33 33  33 33 33 33 33 33 33 33  |3333333333333333|
00000010  33 33 33 33 33 33 33 33  33 33 33 33 33 33 33 33  |3333333333333333|
00000020  33 33 33 33 33 33 33 33  33 33 33 33 33 33 33 33  |3333333333333333|
00000030  33 33 33 33 33 33 33 33  33 33 33 33 33 33 33 33  |3333333333333333|
00000040  33 33 33 33 33 33 33 33  33 33 33 33 33 33 33 33  |3333333333333333|
00000050  33 33 33 33 33 33 33 33  33 33 33 33 33 33 33 33  |3333333333333333|
00000060  33 33 33 33 33 33 33 33  33 33 33 33 33 33 33 33  |3333333333333333|
00000070  33 33 33 33 33 33 33 33  33 33 33 33 33 33 33 33  |3333333333333333|
00000080  33 33 33 33 33 33 33 33  33 33 33 33 33 33 33 33  |3333333333333333|
00000090  33 33 33 33 33 33 33 33  33 33 33 33 33 33 33 33  |3333333333333333|
000000a0  33 33 33 33 33 33 33 33  33 33 33 33 33 33 33 33  |3333333333333333|
000000b0  33 33 33 33 33 33 33 33  33 33 33 33 33 33 33 33  |3333333333333333|
000000c0  33 33 33 33 33 33 33 33  33 33 33 33 33 33 33 33  |3333333333333333|
000000d0  33 33 33 33 33 33 33 33  33 33 33 33 33 33 33 33  |3333333333333333|
000000e0  33 33 33 33 33 33 33 33  00 00 00 00 53 53 53 53  |33333333....SSSS|
000000f0  53 53 53 00 3c 20 80 80  38 00 00 00 94 01 ff c0  |SSS.< ..8.......|
00000100  7c 60 42 a6 4b ff ff fd                           ||`B.K...|
Sorry, only registered users may post in this forum.

Click here to login