From c0c4b515e7fcda65f6451af33a0de4275068114b Mon Sep 17 00:00:00 2001 From: Treeki Date: Sun, 12 May 2013 22:53:41 +0200 Subject: fuck line lift with a rake --- bugfixes.yaml | 5 +++++ src/randomcrap.S | 13 +++++++++++++ 2 files changed, 18 insertions(+) diff --git a/bugfixes.yaml b/bugfixes.yaml index 0ff46c2..819d568 100644 --- a/bugfixes.yaml +++ b/bugfixes.yaml @@ -270,3 +270,8 @@ hooks: src_addr_pal: 0x809B6F60 target_func: 'BigMetSlidingFix' + - name: FuckLineLiftWithARake + type: branch_insn + branch_type: bl + src_addr_pal: 0x808399D4 + target_func: 'FuckLineLiftWithARake' diff --git a/src/randomcrap.S b/src/randomcrap.S index 3502ad2..88cba39 100644 --- a/src/randomcrap.S +++ b/src/randomcrap.S @@ -316,6 +316,19 @@ BigMetSlidingFix: addi r1, r1, 0x10 blr +.global FuckLineLiftWithARake +FuckLineLiftWithARake: + stfs f0, 0x324(r28) + lis r4, sfsdfsdf@h + ori r4, r4, sfsdfsdf@l + lfs f0, 0(r4) + stfs f0, 0x318(r28) + stfs f0, 0x31C(r28) + blr +.data +sfsdfsdf: .float 512.0 + +.text .global EFB_Crap .extern EFBMagic2__Fv .extern ContinueFromEFBMagic2 -- cgit v1.2.3