Edness wrote:it also writes the number 40 at 0x08 in the 1st function
As you say, I set 40 at 0x08.
unsigned char bufStruct[72] = {};
bufStruct[8] = 40;
_sceUmdManWaitSema();
res = _sceUmdExecReadUMDStructureCmd(pUmdDrive, bufStruct, &bufStruct[32]);
_sceUmdManSignalSema();
if (res < 0) {
OutputPspError("_sceUmdExecReadUMDStructureCmd", 0, res);
sceKernelDelayThread(5 * 1000000);
}
else {
uid = sceIoOpen("ms0:/_sceUmdExecReadUMDStructureCmd.bin", PSP_O_CREAT | PSP_O_TRUNC | PSP_O_WRONLY, 0777);
sceIoWrite(uid, bufStruct, sizeof(bufStruct));
sceIoClose(uid);
}
As a result, non-zero bytes are written in _sceUmdExecReadUMDStructureCmd.bin
Disc is Mugen Kairou http://redump.org/disc/53372/
00 00 00 00 00 00 00 00 24 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 28 00 00 80 00 01 E0 00 03 00 00 00 04 5D 5F
00 00 00 00 00 01 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00
It seems 0x28 at 0x21 is the size from 0x20 to 0x47. Other non-zero bytes are unknown now.
EDIT1:
Disc is Dissidia 012: Duodecim Final Fantasy http://redump.org/disc/25036/
00 00 00 00 00 00 00 00 24 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 28 00 00 80 00 31 E0 00 03 00 00 00 FC AB 2F
00 09 C0 BF 00 01 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00
EDIT2:
Disc is Jigen Kairou http://redump.org/disc/54489/
00 00 00 00 00 00 00 00 24 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 28 00 00 80 00 01 E0 00 03 00 00 00 05 07 BF
00 00 00 00 00 01 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00