diff options
-rw-r--r-- | bugfixes.yaml | 5 | ||||
-rw-r--r-- | src/randomcrap.S | 13 |
2 files changed, 18 insertions, 0 deletions
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 |