User Tag List

Results 1 to 7 of 7

Thread: My First Sub (Foggy Room)

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #5
    My First Sub (Foggy Room)

    User Info Menu

    Re: My First Sub (Foggy Room)

    Quote Originally Posted by patriarca View Post
    Code:
    #Foggy Sub
    0x00000098 0x0a440000
    0x00900000 0x3c0808d1
    0x00900004 0x3c090000
    0x00900008 0x35290009
    0x0090000c 0xad094478
    0x00900010 0x03e00008
    Instead of writting this :

    lui t1 , $0000
    ori t1 , t1 , $0009

    You can do this :

    ori t1 , zero , $0009
    OR
    addiu t1 , zero , $0009

    Easier & Faster

    About hook :
    0x0a440000 => j $09100000

    09100000 - 08800000 = 00900000

    The routine starts at 0x00900000 so it's correct.
    Last edited by Linblow; 11-09-2009 at 07:27 AM.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •