Difference between revisions of "AM:ReadTwlBackupInfo"
Jump to navigation
Jump to search
Line 27: | Line 27: | ||
|- | |- | ||
| 7 | | 7 | ||
− | | Buffer 1 Pointer | + | | Buffer 1 Pointer, output info. Processing is skipped for this when the pointer is NULL. |
|- | |- | ||
| 8 | | 8 | ||
Line 33: | Line 33: | ||
|- | |- | ||
| 9 | | 9 | ||
− | | Buffer 2 Pointer | + | | Buffer 2 Pointer, [[DSiWare_Exports|DSiWare]] header. |
|- | |- | ||
| 10 | | 10 | ||
Line 39: | Line 39: | ||
|- | |- | ||
| 11 | | 11 | ||
− | | Buffer 3 Pointer | + | | Buffer 3 Pointer, [[DSiWare_Exports|DSiWare]] banner. Processing is skipped for this when the pointer is NULL. |
|} | |} | ||
Revision as of 16:05, 19 October 2016
Request
Index Word | Description |
---|---|
0 | Header code [0x001E00C8] |
1 | Buffer 1 Size |
2 | Buffer 2 Size |
3 | Buffer 3 Size |
4 | 0x10 |
5 | FSFile Handle |
6 | (Buffer 1 Size << 4) | 0xC |
7 | Buffer 1 Pointer, output info. Processing is skipped for this when the pointer is NULL. |
8 | (Buffer 2 Size << 4) | 0xC |
9 | Buffer 2 Pointer, DSiWare header. |
10 | (Buffer 3 Size << 4) | 0xC |
11 | Buffer 3 Pointer, DSiWare banner. Processing is skipped for this when the pointer is NULL. |
Response
Index Word | Description |
---|---|
0 | Header code |
1 | Result code |
Description
The specified file size must be >=0x4500. This reads data from the specified file, and writes the decrypted+verified section data into the last 2 output buffers. This also writes some data into Buf1.