Always Show Friend Code on WFC Menu [Sponge]
#1
Always Show Friend Code on WFC Menu [Sponge]

NOTE: Outdated by Skullface's 1-Liner Version - https://mariokartwii.com/showthread.php?tid=2195

Displays your Friend Code as if you were viewing your Friend Roster anywhere on the WFC menu.

PAL
C25E46F8 00000002
2C00000E 41820008
2C000000 00000000

NTSC-U
C25CE91C 00000002
2C00000E 41820008
2C000000 00000000

NTSC-J
C25E3FD4 00000002
2C00000E 41820008
2C000000 00000000

NTSC-K
C25D2894 00000002
2C00000E 41820008
2C000000 00000000

Code:
  cmpwi     r0, 0xE
  beq       end   # Exit early so the branch after the hook reads 0xE as well
  cmpwi     r0, 0 # Default Instruction

  end:
Reply
#2
Would you be able to post the ASM of this code?
Reply
#3
(03-12-2024, 03:17 AM)Optllizer Wrote: Would you be able to post the ASM of this code?

Added. Code is also shorter as I noticed an unneeded instruction.
Reply
#4
Thank you!
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)