mirror of
https://github.com/cemu-project/cemu_graphic_packs.git
synced 2024-12-23 08:21:51 +01:00
135 lines
3.8 KiB
Plaintext
135 lines
3.8 KiB
Plaintext
[XCX_BLADE_MORETICKETS]
|
|
moduleMatches = 0xF882D5CF, 0x30B6E091 ; 1.0.1E, 1.0.2U
|
|
|
|
codeCaveSize = 0x40
|
|
|
|
0x00000000 = .short $mult
|
|
_mult = 0x00000000
|
|
0x00000004 = .byte $uncap
|
|
_uncap = 0x00000004
|
|
|
|
; ----------------------------------------------------------------------------
|
|
; WHO : cfs::CfSocialManager::addTradeTicket((int, unsigned int))
|
|
; WHAT : Multiply the reward tickets given in many occasions
|
|
|
|
_moreTickets = 0x00000008
|
|
0x00000008 = mr r30, r3
|
|
0x0000000C = lis r28, _mult@ha
|
|
0x00000010 = lhz r28, _mult@l(r28)
|
|
0x00000014 = cmpwi r4, 0
|
|
0x00000018 = bltlr
|
|
0x0000001C = mullw r4, r4, r28
|
|
0x00000020 = blr
|
|
|
|
0x022CA86C = bla _moreTickets
|
|
|
|
; ----------------------------------------------------------------------------
|
|
; WHO : cfs::CfSocialManager::addTradeTicket((int, unsigned int))
|
|
; WHAT : Ignore the max number of tickets we can get
|
|
|
|
_uncapTickets = 0x00000024
|
|
0x00000024 = lis r5, _uncap@ha
|
|
0x00000028 = lbz r5, _uncap@l(r5)
|
|
0x0000002C = cmpwi r5, 1
|
|
0x00000030 = beqlr
|
|
0x00000034 = mr r3, r25
|
|
0x00000038 = blr
|
|
|
|
0x022CAC5C = bla _uncapTickets
|
|
|
|
#####################################################################################################
|
|
[XCX_BLADE_MORETICKETS_1E]
|
|
moduleMatches = 0xF882D5CF ; 1.0.1E
|
|
|
|
codeCaveSize = 0x40
|
|
|
|
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
|
|
|
|
0x02B94718 = 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
|
|
|
|
0x02B9FE2C = bla _dispAfter
|
|
|
|
; ----------------------------------------------------------------------------
|
|
; WHO : writeListTicket__Q2_4menu19MenuMultiQuestOrderFPQ2_4menu10MenuObjectiQ3_2fw9CItemType4TypeUsUiT5
|
|
; WHAT : multiply tickets from piece exchange
|
|
|
|
_pieceExchange = 0x0000002C
|
|
0x0000002C = mr r5, r29
|
|
0x00000030 = lis r29, _mult@ha
|
|
0x00000034 = lhz r29, _mult@l(r29)
|
|
0x00000038 = mullw r5, r5, r29
|
|
0x0000003C = blr
|
|
|
|
0x02B9796C = bla _pieceExchange
|
|
|
|
#####################################################################################################
|
|
[XCX_BLADE_MORETICKETS_2U]
|
|
moduleMatches = 0x30B6E091 ; 1.0.2U
|
|
|
|
codeCaveSize = 0x40
|
|
|
|
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
|
|
|
|
; ----------------------------------------------------------------------------
|
|
; WHO : writeListTicket__Q2_4menu19MenuMultiQuestOrderFPQ2_4menu10MenuObjectiQ3_2fw9CItemType4TypeUsUiT5
|
|
; WHAT : multiply tickets from piece exchange
|
|
|
|
_pieceExchange = 0x0000002C
|
|
0x0000002C = mr r5, r29
|
|
0x00000030 = lis r29, _mult@ha
|
|
0x00000034 = lhz r29, _mult@l(r29)
|
|
0x00000038 = mullw r5, r5, r29
|
|
0x0000003C = blr
|
|
|
|
0x02B975C = bla _pieceExchange
|