Editing IDStorage
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 234: | Line 234: | ||
=== sceChkregGetPsCode === | === sceChkregGetPsCode === | ||
Chkreg (chkreg.prx) reads 2 leaves, 0x100 and 0x102 or 0x120 and 0x122. | Chkreg (chkreg.prx) reads 2 leaves, 0x100 and 0x102 or 0x120 and 0x122. All contain the PsCode at 3 locations. The 1st occurrence of the PsCode is at 0x38, the second at 0xF0 and the third at 0x1A8. Each occurrence is 0xAF (175 bytes) apart. | ||
Example of PsCode: | |||
0000000048 00 00 00 01 00 '''03''' 00 01 ........ | |||
0000000240 00 00 00 01 00 '''03''' 00 01 ........ | |||
0000000416 00 00 00 01 00 '''03''' 00 01 ........ | |||
The return from sceChkregGetPsCode is determined to be valid or invalid via KIRK command 0x12, just like other functions using leaves 0x100, 0x120. | The return from sceChkregGetPsCode is determined to be valid or invalid via KIRK command 0x12, just like other functions using leaves 0x100, 0x120. |