CRO0: Difference between revisions

Subv (talk | contribs)
No edit summary
Wwylele (talk | contribs)
No edit summary
Line 31: Line 31:
|-
|-
| 0x94
| 0x94
| 0x18
| 0x10
| Unknown
| Unknown
|-
| 0xA4
| 0x04
| "Segment offset" for "OnLoad" function, which will be called when the module is initialized. Set to 0xFFFFFFFF if not exists.
|-
| 0xA8
| 0x04
| "Segment offset" for "OnExit" function, which will be called when the module is finalized. Set to 0xFFFFFFFF if not exists.
|-
|-
| 0xAC
| 0xAC
| 0x04
| 0x04
| "Segment offset", symbols are loaded relative to this. Probably filled by dynamic linker, set to 0xFFFFFFFF in file.
| "Segment offset" for "OnUnresolved" function, which will be called when an unresolved function is called. Set to 0xFFFFFFFF if not exists.
|-
|-
| 0xB0
| 0xB0
Line 72: Line 80:
| 0xD0
| 0xD0
| 0x04
| 0x04
| Export Table offset
| Export Table 1 offset
|-
|-
| 0xD4
| 0xD4
| 0x04
| 0x04
| Export Table num (size = num * 8)
| Export Table 1 num (size = num * 8)
|-
|-
| 0xD8
| 0xD8
| 0x04
| 0x04
| unk3 offset
| Export Table 2 offset
|-
|-
| 0xDC
| 0xDC
| 0x04
| 0x04
| unk3 num
| Export Table 2 num (size = num * 4)
|-
|-
| 0xE0
| 0xE0
Line 104: Line 112:
| 0xF0
| 0xF0
| 0x04
| 0x04
| unk4 offset
| Import Modules offset
|-
|-
| 0xF4
| 0xF4
| 0x04
| 0x04
| unk4 num
| Import Modules num (size = num * 20)
|-
|-
| 0xF8
| 0xF8