2018-10-07 13:13:26 -03:00
|
|
|
[XCX_DAMAGES]
|
|
|
|
moduleMatches = 0xF882D5CF, 0x30B6E091 ; 1.0.1E, 1.0.2U
|
|
|
|
|
2018-11-03 14:22:34 -03:00
|
|
|
codeCaveSize = 0x14
|
|
|
|
|
2018-10-07 13:13:26 -03:00
|
|
|
; ----------------------------------------------------------------------------
|
|
|
|
; WHO : cfs::CfCompoPropertyEnemy::addDamage((int))
|
2018-10-12 18:30:02 -03:00
|
|
|
; WHAT : Multiply the ground damage (skells not included) given to enemy
|
2018-10-07 13:13:26 -03:00
|
|
|
|
2018-11-03 14:22:34 -03: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
|