33 lines
739 B
ArmAsm
33 lines
739 B
ArmAsm
.meta name="Chat"
|
|
.meta description="Enables extended\nWord Select and\nstops the Log\nWindow from\nscrolling 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
|
|
|
|
.data 0x8000D6A0
|
|
.data 0x0000001C
|
|
lis r3, 0x804A
|
|
lhz r3, [r3 + 0x24B8]
|
|
andi. r0, r3, 0x0003
|
|
cmplwi r0, 3
|
|
beqlr
|
|
stfs [r28 + 0x0084], f1
|
|
blr
|
|
|
|
.data 0x80170148
|
|
.data 0x00000004
|
|
.data 0x4BE9D559
|
|
|
|
.data 0x801C83FC
|
|
.data 0x00000004
|
|
li r3, 0x0000
|
|
|
|
.data 0x00000000
|
|
.data 0x00000000
|