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

39 lines
1.3 KiB
ArmAsm

.meta name="No item loss"
.meta description="Don't lose items if\nyou don't log off\nnormally"
# 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 @ 801D381C (4 bytes)
.data 0x801D381C # address
.data 0x00000004 # size
.data 0x4800004C # 801D381C => b +0x0000004C /* 801D3868 */
# region @ 801FF0FC (4 bytes)
.data 0x801FF0FC # address
.data 0x00000004 # size
.data 0x60000000 # 801FF0FC => nop
# region @ 80200658 (4 bytes)
.data 0x80200658 # address
.data 0x00000004 # size
.data 0x60000000 # 80200658 => nop
# region @ 802021C4 (4 bytes)
.data 0x802021C4 # address
.data 0x00000004 # size
.data 0x38000000 # 802021C4 => li r0, 0x0000
# region @ 802C2A84 (4 bytes)
.data 0x802C2A84 # address
.data 0x00000004 # size
.data 0x4800004C # 802C2A84 => b +0x0000004C /* 802C2AD0 */
# region @ 802D14C4 (4 bytes)
.data 0x802D14C4 # address
.data 0x00000004 # size
.data 0x48000020 # 802D14C4 => b +0x00000020 /* 802D14E4 */
# end sentinel
.data 0x00000000 # address
.data 0x00000000 # size