2018-10-07 18:13:26 +02:00
|
|
|
[XCX_DAMAGES]
|
|
|
|
moduleMatches = 0xF882D5CF, 0x30B6E091 ; 1.0.1E, 1.0.2U
|
|
|
|
|
2018-11-03 18:22:34 +01:00
|
|
|
codeCaveSize = 0x14
|
|
|
|
|
2018-10-07 18:13:26 +02:00
|
|
|
; ----------------------------------------------------------------------------
|
|
|
|
; WHO : cfs::CfCompoPropertyEnemy::addDamage((int))
|
2018-10-12 23:30:02 +02:00
|
|
|
; WHAT : Multiply the ground damage (skells not included) given to enemy
|
2018-10-07 18:13:26 +02:00
|
|
|
|
2018-11-03 18:22:34 +01:00
|
|
|
0x00000000 = .byte $mult
|
|
|
|
_multiplicator = 0x00000000
|
|
|
|
|
|
|
|
_damages = 0x00000004
|
|
|
|
0x00000004 = lis r4, _multiplicator@ha
|
|
|
|
0x00000008 = lbz r4, _multiplicator@l(r4)
|
|
|
|
0x0000000C = mullw r4, r4, r31
|
|
|
|
0x00000010 = blr
|
|
|
|
|
|
|
|
0x025D896C = bla _damages
|
2019-03-16 14:25:25 +01:00
|
|
|
|
|
|
|
[XCX_DAMAGES_1U] ######################################################################
|
|
|
|
moduleMatches = 0xAB97DE6B ; 1.0.1U
|
|
|
|
|
|
|
|
codeCaveSize = 0x14
|
|
|
|
|
|
|
|
; ----------------------------------------------------------------------------
|
|
|
|
; WHO : cfs::CfCompoPropertyEnemy::addDamage((int))
|
|
|
|
; WHAT : Multiply the ground damage (skells not included) given to enemy
|
|
|
|
|
|
|
|
0x00000000 = .byte $mult
|
|
|
|
_multiplicator = 0x00000000
|
|
|
|
|
|
|
|
_damages = 0x00000004
|
|
|
|
0x00000004 = lis r4, _multiplicator@ha
|
|
|
|
0x00000008 = lbz r4, _multiplicator@l(r4)
|
|
|
|
0x0000000C = mullw r4, r4, r31
|
|
|
|
0x00000010 = blr
|
|
|
|
|
|
|
|
0x025D88FC = bla _damages
|