Editing PSN
Jump to navigation
Jump to search
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 143: | Line 143: | ||
= Patching the PSN Ingame Login Message Dialog = | = Patching the PSN Ingame Login Message Dialog = | ||
This was taken from MGO2.SELF, and reversed by SaveMGO2 guys, so credits to them. | This was taken from MGO2.SELF, and reversed by SaveMGO2 guys, so credits to them. | ||
[https://savemgo.com/forums/viewtopic.php?f=24&t=770&p=12529#p12528 [Source<nowiki>]</nowiki> https://savemgo.com/forums/viewtopic.php?f=24&t=770&p=12529#p12528] | |||
<pre> | <pre> | ||
. | .... | ||
bl _cellSysutil_cellSysutilRegisterCallback # int cellSysutilRegisterCallback(int slot, void *userdata) | |||
ld r2, 0xC0+var_98(r1) | |||
addi r9, r1, 0xC0+var_44 | |||
clrldi r9, r9, 32 | |||
li r0, 0 | |||
. | stw r0, 0(r9) | ||
stw r0, 8(r9) | |||
stw r0, 4(r9) | |||
lwz r3, 0x84(r29) | |||
li r0, 0xC | |||
cmpwi cr7, r3, 0 | |||
stw r0, 0xC0+var_44(r1) | |||
beq cr7, loc_AA08F4 | |||
li r0, 1 | |||
.... | |||
</pre> | </pre> | ||
cellSysUtilRegisterCallback is the function that determines if the title is an online game, or offline game (I'm not 100% sure right now, just go along with it). | |||
We found this out after a while, we have an 8 byte array that is passed onto the function by address. | We found this out after a while, we have an 8 byte array that is passed onto the function by address. | ||