organize system/client-functions

This commit is contained in:
Martin Michelsen
2024-04-20 10:08:00 -07:00
parent c95b158e4e
commit 741456d1da
253 changed files with 247 additions and 130 deletions
@@ -0,0 +1,32 @@
.meta name="Chat"
.meta description="Enable extended\nWord Select and\nstop the Log Window\nfrom scrolling with L+R"
# 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 @ 8000D6A0 (28 bytes)
.data 0x8000D6A0 # address
.data 0x0000001C # size
.data 0x3C608051 # 8000D6A0 => lis r3, 0x8051
.data 0xA06393B0 # 8000D6A4 => lhz r3, [r3 - 0x6C50]
.data 0x70600003 # 8000D6A8 => andi. r0, r3, 0x0003
.data 0x28000003 # 8000D6AC => cmplwi r0, 3
.data 0x41820008 # 8000D6B0 => beq +0x00000008 /* 8000D6B8 */
.data 0xD03C0084 # 8000D6B4 => stfs [r28 + 0x0084], f1
.data 0x4825B1C0 # 8000D6B8 => b +0x0025B1C0 /* 80268878 */
# region @ 80268874 (4 bytes)
.data 0x80268874 # address
.data 0x00000004 # size
.data 0x4BDA4E2C # 80268874 => b -0x0025B1D4 /* 8000D6A0 */
# region @ 8034525C (4 bytes)
.data 0x8034525C # address
.data 0x00000004 # size
.data 0x38600000 # 8034525C => li r3, 0x0000
# end sentinel
.data 0x00000000 # address
.data 0x00000000 # size
@@ -0,0 +1,32 @@
.meta name="Chat"
.meta description="Enable extended\nWord Select and\nstop the Log Window\nfrom scrolling with L+R"
# 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 @ 8000D6A0 (28 bytes)
.data 0x8000D6A0 # address
.data 0x0000001C # size
.data 0x3C608051 # 8000D6A0 => lis r3, 0x8051
.data 0xA0639890 # 8000D6A4 => lhz r3, [r3 - 0x6770]
.data 0x70600003 # 8000D6A8 => andi. r0, r3, 0x0003
.data 0x28000003 # 8000D6AC => cmplwi r0, 3
.data 0x41820008 # 8000D6B0 => beq +0x00000008 /* 8000D6B8 */
.data 0xD03C0084 # 8000D6B4 => stfs [r28 + 0x0084], f1
.data 0x4825B1C0 # 8000D6B8 => b +0x0025B1C0 /* 80268878 */
# region @ 80268874 (4 bytes)
.data 0x80268874 # address
.data 0x00000004 # size
.data 0x4BDA4E2C # 80268874 => b -0x0025B1D4 /* 8000D6A0 */
# region @ 803452A0 (4 bytes)
.data 0x803452A0 # address
.data 0x00000004 # size
.data 0x38600000 # 803452A0 => li r3, 0x0000
# end sentinel
.data 0x00000000 # address
.data 0x00000000 # size
@@ -0,0 +1,32 @@
.meta name="Chat"
.meta description="Enable extended\nWord Select and\nstop the Log Window\nfrom scrolling with L+R"
# 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 @ 8000D6A0 (28 bytes)
.data 0x8000D6A0 # address
.data 0x0000001C # size
.data 0x3C608051 # 8000D6A0 => lis r3, 0x8051
.data 0xA063E270 # 8000D6A4 => lhz r3, [r3 - 0x1D90]
.data 0x70600003 # 8000D6A8 => andi. r0, r3, 0x0003
.data 0x28000003 # 8000D6AC => cmplwi r0, 3
.data 0x41820008 # 8000D6B0 => beq +0x00000008 /* 8000D6B8 */
.data 0xD03C0084 # 8000D6B4 => stfs [r28 + 0x0084], f1
.data 0x4825C594 # 8000D6B8 => b +0x0025C594 /* 80269C4C */
# region @ 80269C48 (4 bytes)
.data 0x80269C48 # address
.data 0x00000004 # size
.data 0x4BDA3A58 # 80269C48 => b -0x0025C5A8 /* 8000D6A0 */
# region @ 80346E4C (4 bytes)
.data 0x80346E4C # address
.data 0x00000004 # size
.data 0x38600000 # 80346E4C => li r3, 0x0000
# end sentinel
.data 0x00000000 # address
.data 0x00000000 # size
@@ -0,0 +1,32 @@
.meta name="Chat"
.meta description="Enable extended\nWord Select and\nstop the Log Window\nfrom scrolling with L+R"
# 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 @ 8000D6A0 (28 bytes)
.data 0x8000D6A0 # address
.data 0x0000001C # size
.data 0x3C608051 # 8000D6A0 => lis r3, 0x8051
.data 0xA0638AD0 # 8000D6A4 => lhz r3, [r3 - 0x7530]
.data 0x70600003 # 8000D6A8 => andi. r0, r3, 0x0003
.data 0x28000003 # 8000D6AC => cmplwi r0, 3
.data 0x41820008 # 8000D6B0 => beq +0x00000008 /* 8000D6B8 */
.data 0xD03C0084 # 8000D6B4 => stfs [r28 + 0x0084], f1
.data 0x4825A814 # 8000D6B8 => b +0x0025A814 /* 80267ECC */
# region @ 80267EC8 (4 bytes)
.data 0x80267EC8 # address
.data 0x00000004 # size
.data 0x4BDA57D8 # 80267EC8 => b -0x0025A828 /* 8000D6A0 */
# region @ 8034445C (4 bytes)
.data 0x8034445C # address
.data 0x00000004 # size
.data 0x38600000 # 8034445C => li r3, 0x0000
# end sentinel
.data 0x00000000 # address
.data 0x00000000 # size
@@ -0,0 +1,32 @@
.meta name="Chat"
.meta description="Enable extended\nWord Select and\nstop the Log Window\nfrom scrolling with L+R"
# 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 @ 8000D6A0 (28 bytes)
.data 0x8000D6A0 # address
.data 0x0000001C # size
.data 0x3C608051 # 8000D6A0 => lis r3, 0x8051
.data 0xA063C590 # 8000D6A4 => lhz r3, [r3 - 0x3A70]
.data 0x70600003 # 8000D6A8 => andi. r0, r3, 0x0003
.data 0x28000003 # 8000D6AC => cmplwi r0, 3
.data 0x41820008 # 8000D6B0 => beq +0x00000008 /* 8000D6B8 */
.data 0xD03C0084 # 8000D6B4 => stfs [r28 + 0x0084], f1
.data 0x4825B4C0 # 8000D6B8 => b +0x0025B4C0 /* 80268B78 */
# region @ 80268B74 (4 bytes)
.data 0x80268B74 # address
.data 0x00000004 # size
.data 0x4BDA4B2C # 80268B74 => b -0x0025B4D4 /* 8000D6A0 */
# region @ 803457AC (4 bytes)
.data 0x803457AC # address
.data 0x00000004 # size
.data 0x38600000 # 803457AC => li r3, 0x0000
# end sentinel
.data 0x00000000 # address
.data 0x00000000 # size
@@ -0,0 +1,32 @@
.meta name="Chat"
.meta description="Enable extended\nWord Select and\nstop the Log Window\nfrom scrolling with L+R"
# 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 @ 8000D6A0 (28 bytes)
.data 0x8000D6A0 # address
.data 0x0000001C # size
.data 0x3C608051 # 8000D6A0 => lis r3, 0x8051
.data 0xA063EBD0 # 8000D6A4 => lhz r3, [r3 - 0x1430]
.data 0x70600003 # 8000D6A8 => andi. r0, r3, 0x0003
.data 0x28000003 # 8000D6AC => cmplwi r0, 3
.data 0x41820008 # 8000D6B0 => beq +0x00000008 /* 8000D6B8 */
.data 0xD03C0084 # 8000D6B4 => stfs [r28 + 0x0084], f1
.data 0x4825C51C # 8000D6B8 => b +0x0025C51C /* 80269BD4 */
# region @ 80269BD0 (4 bytes)
.data 0x80269BD0 # address
.data 0x00000004 # size
.data 0x4BDA3AD0 # 80269BD0 => b -0x0025C530 /* 8000D6A0 */
# region @ 80346CCC (4 bytes)
.data 0x80346CCC # address
.data 0x00000004 # size
.data 0x38600000 # 80346CCC => li r3, 0x0000
# end sentinel
.data 0x00000000 # address
.data 0x00000000 # size
@@ -0,0 +1,32 @@
.meta name="Chat"
.meta description="Enable extended\nWord Select and\nstop the Log Window\nfrom scrolling with L+R"
# 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 @ 8000D6A0 (28 bytes)
.data 0x8000D6A0 # address
.data 0x0000001C # size
.data 0x3C608051 # 8000D6A0 => lis r3, 0x8051
.data 0xA063E970 # 8000D6A4 => lhz r3, [r3 - 0x1690]
.data 0x70600003 # 8000D6A8 => andi. r0, r3, 0x0003
.data 0x28000003 # 8000D6AC => cmplwi r0, 3
.data 0x41820008 # 8000D6B0 => beq +0x00000008 /* 8000D6B8 */
.data 0xD03C0084 # 8000D6B4 => stfs [r28 + 0x0084], f1
.data 0x4825C2D0 # 8000D6B8 => b +0x0025C2D0 /* 80269988 */
# region @ 80269984 (4 bytes)
.data 0x80269984 # address
.data 0x00000004 # size
.data 0x4BDA3D1C # 80269984 => b -0x0025C2E4 /* 8000D6A0 */
# region @ 80346A80 (4 bytes)
.data 0x80346A80 # address
.data 0x00000004 # size
.data 0x38600000 # 80346A80 => li r3, 0x0000
# end sentinel
.data 0x00000000 # address
.data 0x00000000 # size
@@ -0,0 +1,32 @@
.meta name="Chat"
.meta description="Enable extended\nWord Select and\nstop the Log Window\nfrom scrolling with L+R"
# 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 @ 8000D6A0 (28 bytes)
.data 0x8000D6A0 # address
.data 0x0000001C # size
.data 0x3C608051 # 8000D6A0 => lis r3, 0x8051
.data 0xA063F290 # 8000D6A4 => lhz r3, [r3 - 0x0D70]
.data 0x70600003 # 8000D6A8 => andi. r0, r3, 0x0003
.data 0x28000003 # 8000D6AC => cmplwi r0, 3
.data 0x41820008 # 8000D6B0 => beq +0x00000008 /* 8000D6B8 */
.data 0xD03C0084 # 8000D6B4 => stfs [r28 + 0x0084], f1
.data 0x4825BDDC # 8000D6B8 => b +0x0025BDDC /* 80269494 */
# region @ 80269490 (4 bytes)
.data 0x80269490 # address
.data 0x00000004 # size
.data 0x4BDA4210 # 80269490 => b -0x0025BDF0 /* 8000D6A0 */
# region @ 8034627C (4 bytes)
.data 0x8034627C # address
.data 0x00000004 # size
.data 0x38600000 # 8034627C => li r3, 0x0000
# end sentinel
.data 0x00000000 # address
.data 0x00000000 # size