[XCX] Fix issue with "More Tickets" mode (yes, another one...) on display for 1.0.2U.

This commit is contained in:
lasyan3 2019-11-03 18:33:14 +01:00
parent f39689d5f5
commit 3a4e7ab734

View File

@ -1,7 +1,7 @@
[XCX_BLADE_MORETICKETS]
moduleMatches = 0xF882D5CF, 0x30B6E091 ; 1.0.1E, 1.0.2U
codeCaveSize = 0x64
codeCaveSize = 0x40
0x00000000 = .short $mult
_mult = 0x00000000
@ -37,16 +37,25 @@ _uncapTickets = 0x00000024
0x022CAC5C = bla _uncapTickets
#####################################################################################################
[XCX_BLADE_MORETICKETS_1E]
moduleMatches = 0xF882D5CF ; 1.0.1E
codeCaveSize = 0x30
0x00000000 = .short $mult
_mult = 0x00000000
; ----------------------------------------------------------------------------
; WHO : menu::MenuMultiQuestInfoWindow::displayInfo((menu::MenuObject *,bool))
; WHAT :
_dispBefore = 0x0000003C
0x0000003C = lhz r26, 0x8C(r1)
0x00000040 = lis r24, _mult@ha
0x00000044 = lhz r24, _mult@l(r24)
0x00000048 = mullw r26, r26, r24
0x0000004C = blr
_dispBefore = 0x00000004
0x00000004 = lhz r26, 0x8C(r1)
0x00000008 = lis r24, _mult@ha
0x0000000C = lhz r24, _mult@l(r24)
0x00000010 = mullw r26, r26, r24
0x00000014 = blr
0x02B94718 = bla _dispBefore
@ -54,11 +63,46 @@ _dispBefore = 0x0000003C
; WHO : menu::MenuMultiQuestResult::setup((void))
; WHAT :
_dispAfter = 0x00000050
0x00000050 = lhz r5, 0x5778(r29)
0x00000054 = lis r3, _mult@ha
0x00000058 = lhz r3, _mult@l(r3)
0x0000005C = mullw r5, r5, r3
0x00000060 = blr
_dispAfter = 0x00000018
0x00000018 = lhz r5, 0x5778(r29)
0x0000001C = lis r3, _mult@ha
0x00000020 = lhz r3, _mult@l(r3)
0x00000024 = mullw r5, r5, r3
0x00000028 = blr
0x02B9FE2C = bla _dispAfter
#####################################################################################################
[XCX_BLADE_MORETICKETS_2U]
moduleMatches = 0x30B6E091 ; 1.0.2U
codeCaveSize = 0x30
0x00000000 = .short $mult
_mult = 0x00000000
; ----------------------------------------------------------------------------
; WHO : menu::MenuMultiQuestInfoWindow::displayInfo((menu::MenuObject *,bool))
; WHAT :
_dispBefore = 0x00000004
0x00000004 = lhz r26, 0x8C(r1)
0x00000008 = lis r24, _mult@ha
0x0000000C = lhz r24, _mult@l(r24)
0x00000010 = mullw r26, r26, r24
0x00000014 = blr
0x02B94708 = bla _dispBefore
; ----------------------------------------------------------------------------
; WHO : menu::MenuMultiQuestResult::setup((void))
; WHAT :
_dispAfter = 0x00000018
0x00000018 = lhz r5, 0x5778(r29)
0x0000001C = lis r3, _mult@ha
0x00000020 = lhz r3, _mult@l(r3)
0x00000024 = mullw r5, r5, r3
0x00000028 = blr
0x02B9FE1C = bla _dispAfter