Final routine is (don't forget to add the hook to make it to work):

0x00000E00 0x3C0808CC
0x00000E04 0x35087F30
0x00000E08 0x3C09????
0x00000E0C 0x3529????
0x00000E10 0x340A4200
0x00000E14 0x8D290000
0x00000E18 0x152A0005
0x00000E20 0x3C0B4B40
0x00000E24 0xAD0B0000
0x00000E28 0x10000006
0x00000E30 0x3C0B3F80
0x00000E34 0x8D0C0000
0x00000E38 0x116C0002
0x00000E40 0xAD0B0000
0x00000E44 0x03E00008

Don't forget to put the joker address.