summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTreeki <treeki@gmail.com>2013-05-12 22:53:41 +0200
committerTreeki <treeki@gmail.com>2013-05-12 22:53:41 +0200
commitc0c4b515e7fcda65f6451af33a0de4275068114b (patch)
treeed119e7b27b1b4a352465772db1b73f81213de85
parent712180ba86839aa0c7b50bca41ed385dd6405772 (diff)
downloadkamek-c0c4b515e7fcda65f6451af33a0de4275068114b.tar.gz
kamek-c0c4b515e7fcda65f6451af33a0de4275068114b.zip
fuck line lift with a rake
Diffstat (limited to '')
-rw-r--r--bugfixes.yaml5
-rw-r--r--src/randomcrap.S13
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