diff options
Diffstat (limited to '')
-rw-r--r-- | src/randomcrap.S | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/randomcrap.S b/src/randomcrap.S index 36bbde7..ea2b301 100644 --- a/src/randomcrap.S +++ b/src/randomcrap.S @@ -1,4 +1,24 @@ .text +.global TextWriterCrap +.extern TextWriterCrapContinue +TextWriterCrap: + lis r6, 0xFFFF + ori r6, r6, 0xFF00 + lwz r0, 8(r5) + or r0, r0, r6 + stw r0, 0x18(r1) + lwz r0, 0xC(r5) + or r0, r0, r6 + stw r0, 0x1C(r1) + lwz r0, 0x10(r5) + or r0, r0, r6 + stw r0, 0x20(r1) + lwz r0, 0x14(r5) + or r0, r0, r6 + stw r0, 0x24(r1) + + b TextWriterCrapContinue + .global HeapChangeAttempt HeapChangeAttempt: lis 4, 0x8037 |