2018-10-07 18:13:26 +02:00
|
|
|
[XCX_SQUADMISSIONS]
|
|
|
|
moduleMatches = 0xF882D5CF, 0x30B6E091 ; 1.0.1E, 1.0.2U
|
|
|
|
|
2019-11-02 22:22:13 +01:00
|
|
|
codeCaveSize = 0x70
|
2018-10-07 18:13:26 +02:00
|
|
|
|
2019-06-30 10:25:53 +02:00
|
|
|
; cfs::CfSocialManager::update((float))
|
2018-10-12 23:30:02 +02:00
|
|
|
0x022879D0 = nop ; (network test?) allow call to cfs::CfSocialQuestManager::update((void))
|
2018-10-07 18:13:26 +02:00
|
|
|
|
2019-06-30 10:25:53 +02:00
|
|
|
; cfs::CfSocialQuestManager::update((void))
|
2018-10-07 18:13:26 +02:00
|
|
|
0x023AB884 = nop ; 0x6B8(r12) == 0
|
|
|
|
0x023AB8B4 = nop ; isHost
|
|
|
|
0x023ABA68 = li r5, 60 ; force 0x24 - UNLOCK
|
|
|
|
0x023ABC10 = nop ; isHost
|
2018-10-12 23:30:02 +02:00
|
|
|
0x023A0484 = nop ; isHost
|
2019-11-02 22:22:13 +01:00
|
|
|
;0x023ABC94 = nop ; getServerTimeSecRegion - UNLOCK
|
2018-10-07 18:13:26 +02:00
|
|
|
0x023ABCAC = nop ; compare with 0x28 - UNLOCK
|
|
|
|
0x023ABCB8 = nop ; compare with 0x2C - UNLOCK
|
2019-11-02 22:22:13 +01:00
|
|
|
;_gotoJoin = 0x023ABD00 ; UNLOCK
|
|
|
|
;0x023ABCBC = b _gotoJoin ; UNLOCK
|
2018-10-07 18:13:26 +02:00
|
|
|
|
|
|
|
##################### BLADE Home Terminal (for Squad Quest Selection)
|
|
|
|
|
2019-06-30 10:25:53 +02:00
|
|
|
; cfs::CfSocialManager::refreshOrderQuestInfo (called when select an entry in the BLADE menu)
|
2018-10-12 23:30:02 +02:00
|
|
|
0x022C805C = nop ; test réseau : lwz r10, 0x1B0(r30) --> rlwinm. r9, r10, 0,30,30
|
|
|
|
0x022C8060 = nop ; test réseau
|
2018-10-07 18:13:26 +02:00
|
|
|
|
2019-06-30 10:25:53 +02:00
|
|
|
; collectQuestInfoSQ__Q2_3cfs15CfSocialManagerFRQ2_2ml45resvector__tm__28_PQ2_3cfs17CfSocialQuestInfo
|
2018-10-12 23:30:02 +02:00
|
|
|
0x022C58BC = nop ; rlwinm. r10, r11, 0,29,29
|
2018-10-07 18:13:26 +02:00
|
|
|
|
|
|
|
#################### Change Squad Mission using main menu
|
|
|
|
|
|
|
|
_shareAddr = 0x1039C17C
|
|
|
|
|
|
|
|
_iniPtr = 0x00000000
|
|
|
|
0x00000000 = li r5, 0
|
|
|
|
0x00000004 = lis r30, _shareAddr@ha
|
|
|
|
0x00000008 = stw r5, _shareAddr@l(r30)
|
|
|
|
0x0000000C = mr r30, r3
|
|
|
|
0x00000010 = blr
|
|
|
|
|
2019-06-30 10:25:53 +02:00
|
|
|
; cfs::CfSquadMissionManager::joinMission((cfs::CfSquadTargetCount const &))
|
2018-10-07 18:13:26 +02:00
|
|
|
0x023B74A0 = bla _iniPtr
|
|
|
|
|
2019-06-30 10:25:53 +02:00
|
|
|
; cfs::CfSocialQuestManager::update((void))
|
2018-10-07 18:13:26 +02:00
|
|
|
_gotoTimeout = 0x023ABDF4
|
|
|
|
_gotoNext = 0x023ABE54
|
|
|
|
0x023ABDC8 = lis r3, _shareAddr@ha
|
|
|
|
0x023ABDCC = lwz r7, _shareAddr@l(r3)
|
|
|
|
0x023ABDD0 = cmpwi r7, 1
|
|
|
|
0x023ABDD4 = beq _gotoTimeout
|
|
|
|
0x023ABDD8 = b _gotoNext
|
|
|
|
|
2019-06-30 10:25:53 +02:00
|
|
|
#################### Force Squad Mission number
|
2019-11-02 22:22:13 +01:00
|
|
|
0x0000006C = .byte $missionId
|
|
|
|
_misId = 0x0000006C
|
|
|
|
|
|
|
|
_forceMission = 0x00000050
|
|
|
|
0x00000050 = lmw r14, 0x1B8(r1)
|
|
|
|
0x00000054 = lis r4, _misId@ha
|
|
|
|
0x00000058 = lbz r4, _misId@l(r4)
|
|
|
|
0x0000005C = cmpwi r4, 0
|
|
|
|
0x00000060 = beqlr
|
|
|
|
0x00000064 = mr r3, r4
|
|
|
|
0x00000068 = blr
|
|
|
|
|
|
|
|
0x023AB7C4 = bla _forceMission
|
2019-06-30 10:25:53 +02:00
|
|
|
|
2018-10-07 18:13:26 +02:00
|
|
|
#####################################################################################################
|
2019-03-16 14:25:25 +01:00
|
|
|
[XCX_SQUADMISSIONS_1E]
|
2018-10-07 18:13:26 +02:00
|
|
|
moduleMatches = 0xF882D5CF ; 1.0.1E
|
|
|
|
|
2019-06-30 10:25:53 +02:00
|
|
|
codeCaveSize = 0x3C
|
|
|
|
|
|
|
|
; getServerTimeSec__Q2_2nt10CNetLibNexCFRUL
|
2018-10-07 18:13:26 +02:00
|
|
|
0x0295EA10 = nop
|
|
|
|
0x0295EA14 = li r0, 42
|
|
|
|
|
2019-06-30 10:25:53 +02:00
|
|
|
; menu::MenuSquadMission::process((void))
|
2018-10-07 18:13:26 +02:00
|
|
|
0x02BFC7C0 = li r11, 1
|
|
|
|
|
|
|
|
##################### BLADE Home Terminal (for Squad Quest Selection)
|
|
|
|
|
|
|
|
0x02AC5C10 = li r3, 0 ; menu::CTerminalMenu_SquadQuest::offline
|
|
|
|
|
|
|
|
#################### Change Squad Mission using main menu
|
|
|
|
|
|
|
|
_shareAddr = 0x1039C17C
|
|
|
|
|
|
|
|
_savePtr = 0x00000000
|
|
|
|
0x00000000 = li r3, 1
|
|
|
|
0x00000004 = lis r30, _shareAddr@ha
|
|
|
|
0x00000008 = stw r3, _shareAddr@l(r30)
|
|
|
|
0x0000000C = blr
|
|
|
|
|
|
|
|
0x02B85134 = bla _savePtr
|
|
|
|
0x02B8514C = bla _savePtr
|
|
|
|
|
|
|
|
0x02B85084 = li r11, 1
|
|
|
|
0x02B850A8 = li r11, 1
|
|
|
|
|
|
|
|
#####################################################################################################
|
2019-03-16 14:25:25 +01:00
|
|
|
[XCX_SQUADMISSIONS_2U]
|
2018-10-07 18:13:26 +02:00
|
|
|
moduleMatches = 0x30B6E091 ; 1.0.2U
|
|
|
|
|
2019-06-30 10:25:53 +02:00
|
|
|
codeCaveSize = 0x3C
|
|
|
|
|
|
|
|
; getServerTimeSec__Q2_2nt10CNetLibNexCFRUL
|
2018-10-07 18:13:26 +02:00
|
|
|
0x0295EA00 = nop
|
|
|
|
0x0295EA04 = li r0, 42
|
|
|
|
|
2019-06-30 10:25:53 +02:00
|
|
|
; menu::MenuSquadMission::process((void))
|
2018-10-07 18:13:26 +02:00
|
|
|
0x02BFC7B0 = li r11, 1
|
|
|
|
|
|
|
|
##################### BLADE Home Terminal (for Squad Quest Selection)
|
|
|
|
|
|
|
|
0x02AC5C00 = li r3, 0 ; menu::CTerminalMenu_SquadQuest::offline
|
|
|
|
|
|
|
|
#################### Change Squad Mission using main menu
|
|
|
|
|
|
|
|
_shareAddr = 0x1039C17C
|
|
|
|
|
|
|
|
_savePtr = 0x00000000
|
|
|
|
0x00000000 = li r3, 1
|
|
|
|
0x00000004 = lis r30, _shareAddr@ha
|
|
|
|
0x00000008 = stw r3, _shareAddr@l(r30)
|
|
|
|
0x0000000C = blr
|
|
|
|
|
|
|
|
0x02B85124 = bla _savePtr
|
|
|
|
0x02B8513C = bla _savePtr
|
|
|
|
|
|
|
|
0x02B85074 = li r11, 1
|
|
|
|
0x02B85098 = li r11, 1
|
2019-03-16 14:25:25 +01:00
|
|
|
|
|
|
|
#####################################################################################################
|
|
|
|
[XCX_SQUADMISSIONS_1U]
|
|
|
|
moduleMatches = 0xAB97DE6B ; 1.0.1U
|
|
|
|
|
|
|
|
codeCaveSize = 0x7C
|
|
|
|
|
|
|
|
0x02287960 = nop
|
|
|
|
|
|
|
|
0x023AB814 = nop ; 0x6B8(r12) == 0
|
|
|
|
0x023AB844 = nop ; isHost
|
|
|
|
0x023AB9F8 = li r5, 60 ; force 0x24 - UNLOCK
|
|
|
|
0x023ABBA0 = nop ; isHost
|
|
|
|
0x023A0414 = nop ; isHost
|
|
|
|
0x023ABC24 = nop ; getServerTimeSecRegion - UNLOCK
|
|
|
|
0x023ABC3C = nop ; compare with 0x28 - UNLOCK
|
|
|
|
0x023ABC48 = nop ; compare with 0x2C - UNLOCK
|
|
|
|
_gotoJoin = 0x023ABC90 - UNLOCK
|
|
|
|
0x023ABC4C = b _gotoJoin - UNLOCK
|
|
|
|
|
|
|
|
0x022C7FEC = nop ; test réseau : lwz r10, 0x1B0(r30) --> rlwinm. r9, r10, 0,30,30
|
|
|
|
0x022C7FF0 = nop ; test réseau
|
|
|
|
0x022C584C = nop ; rlwinm. r10, r11, 0,29,29
|
|
|
|
|
|
|
|
#################### Change Squad Mission using main menu
|
|
|
|
|
|
|
|
_shareAddr = 0x1039C07C
|
|
|
|
|
|
|
|
_iniPtr = 0x00000000
|
|
|
|
0x00000000 = li r5, 0
|
|
|
|
0x00000004 = lis r30, _shareAddr@ha
|
|
|
|
0x00000008 = stw r5, _shareAddr@l(r30)
|
|
|
|
0x0000000C = mr r30, r3
|
|
|
|
0x00000010 = blr
|
|
|
|
|
|
|
|
0x023B7430 = bla _iniPtr
|
|
|
|
|
|
|
|
_gotoTimeout = 0x023ABD84
|
|
|
|
_gotoNext = 0x023ABDE4
|
|
|
|
|
|
|
|
0x023ABD58 = lis r3, _shareAddr@ha
|
|
|
|
0x023ABD5C = lwz r7, _shareAddr@l(r3)
|
|
|
|
0x023ABD60 = cmpwi r7, 1
|
|
|
|
0x023ABD64 = beq _gotoTimeout
|
|
|
|
0x023ABD68 = b _gotoNext
|
|
|
|
|
|
|
|
#####################################################################################################
|
2019-06-30 10:25:53 +02:00
|
|
|
; getServerTimeSec__Q2_2nt10CNetLibNexCFRUL
|
2019-03-16 14:25:25 +01:00
|
|
|
0x0295E984 = nop
|
|
|
|
0x0295E988 = li r0, 42
|
|
|
|
|
2019-06-30 10:25:53 +02:00
|
|
|
; menu::MenuSquadMission::process((void))
|
2019-03-16 14:25:25 +01:00
|
|
|
0x02BFC6C0 = li r11, 1
|
|
|
|
|
|
|
|
##################### BLADE Home Terminal (for Squad Quest Selection)
|
|
|
|
|
|
|
|
0x02AC5C10 = li r3, 0 ; menu::CTerminalMenu_SquadQuest::offline
|
|
|
|
|
|
|
|
#################### Change Squad Mission using main menu
|
|
|
|
|
|
|
|
0x02AC5B84 = li r3, 0 ; menu::CTerminalMenu_SquadQuest::offline
|
|
|
|
|
|
|
|
_savePtr = 0x0000006C
|
|
|
|
0x0000006C = li r3, 1
|
|
|
|
0x00000070 = lis r30, _shareAddr@ha
|
|
|
|
0x00000074 = stw r3, _shareAddr@l(r30)
|
|
|
|
0x00000078 = blr
|
|
|
|
|
|
|
|
0x02B850A8 = bla _savePtr
|
|
|
|
0x02B850C0 = bla _savePtr
|
|
|
|
|
|
|
|
0x02B84FF8 = li r11, 1
|
|
|
|
0x02B8501C = li r11, 1
|
|
|
|
|