mirror of
https://github.com/cemu-project/cemu_graphic_packs.git
synced 2025-01-10 19:53:06 -03:00
e68bb61f5a
For more info about each mod, see https://forum.cemu.info/showthread.php/145-My-Gameplay-Patches-for-Xenoblade-Chronicles-X .
23 lines
830 B
Text
23 lines
830 B
Text
[XCX_RELEASEDIST]
|
|
moduleMatches = 0xF882D5CF, 0x30B6E091 ; 1.0.1E, 1.0.2U
|
|
|
|
codeCaveSize = 0x20
|
|
|
|
; ----------------------------------------------------------------------------
|
|
; WHO : cfs::CfCompoPropertyEnemy::getReleasePcDistanceXZ
|
|
; WHAT : Reduce release distance
|
|
|
|
0x00000000 = .float 2.0 ; default is 1.0
|
|
_distanceConst = 0x00000000
|
|
|
|
_getRelease = 0x00000004
|
|
0x00000004 = lis r4, _distanceConst@ha
|
|
0x00000008 = lfs f0, _distanceConst@l(r4)
|
|
0x0000000C = fdivs f1, f1, f0
|
|
0x00000010 = frsp f1, f1
|
|
0x00000014 = blr
|
|
|
|
0x025D8B2C = b _getRelease ; cfs::CfCompoPropertyEnemy::getReleasePcDistanceXZ
|
|
;0x025D8B34 = b _getRelease ; cfs::CfCompoPropertyEnemy::getReleasePcDistanceY
|
|
;0x025D8B08 = b _getRelease ; cfs::CfCompoPropertyEnemy::getReleaseDistanceXZ
|
|
;0x025D8B14 = b _getRelease ; cfs::CfCompoPropertyEnemy::getReleaseDistanceY
|