Files
psopeeps-newserv/system/client-functions/PSOXReticleColors.3OJ2.patch.s
T
2024-01-23 00:08:20 -08:00

25 lines
858 B
ArmAsm

.meta name="Xbox/BB targets"
.meta description="Change the target\nreticle colors to\nthose used on the\nXbox and Blue Burst"
# Original code by Ralf @ GC-Forever and Aleron Ives
# https://www.gc-forever.com/forums/viewtopic.php?t=2050
# https://www.gc-forever.com/forums/viewtopic.php?t=2049
entry_ptr:
reloc0:
.offsetof start
start:
.include WriteCodeBlocksGC
# region @ 802AB424 (4 bytes)
.data 0x802AB424 # address
.data 0x00000004 # size
.data 0x388000FF # 802AB424 => li r4, 0x00FF
# region @ 804A1F38 (12 bytes)
.data 0x804A1F38 # address
.data 0x0000000C # size
.data 0x00000000 # 804A1F38 => .invalid
.data 0x00000000 # 804A1F3C => .invalid
.data 0x3F800000 # 804A1F40 => lis r28, 0x0000
# end sentinel
.data 0x00000000 # address
.data 0x00000000 # size