Difference between revisions of "RO:LoadExeCRO"

From 3dbrew
Jump to navigation Jump to search
Line 17: Line 17:
 
| Total size of input CRO.
 
| Total size of input CRO.
 
|-
 
|-
| 4-11
+
| 4
 +
| Process-memory buffer address to use for the CRO <data-section0>, all CRO <data-section0> addresses are automatically adjusted to use this address.
 +
|-
 +
| 5
 +
| Usually zero?
 +
|-
 +
| 6
 +
| ?
 +
|-
 +
| 7
 +
| Process-memory buffer address to use for the CRO <data-section1>, all CRO <data-section1> addresses are automatically adjusted to use this address.
 +
|-
 +
| 8-11
 
| Unknown
 
| Unknown
 
|-
 
|-

Revision as of 06:30, 19 January 2014

Request

Index Word Description
0 Header code [0x000402C2]
1 Process-memory input CRO address(usually located on the process heap).
2 Process-memory address where the CRO will be mapped, starting at the CRO header(normally in the 0x00100000-0x04000000 range).
3 Total size of input CRO.
4 Process-memory buffer address to use for the CRO <data-section0>, all CRO <data-section0> addresses are automatically adjusted to use this address.
5 Usually zero?
6 ?
7 Process-memory buffer address to use for the CRO <data-section1>, all CRO <data-section1> addresses are automatically adjusted to use this address.
8-11 Unknown
12 Must be zero
13 KProcess handle

Response

Index Word Description
0 Header code
1 Result code
2 Unknown