CRO0: Difference between revisions
No edit summary |
No edit summary |
||
Line 108: | Line 108: | ||
| 0xF8 | | 0xF8 | ||
| 0x04 | | 0x04 | ||
| | | Import Patches offset | ||
|- | |- | ||
| 0xFC | | 0xFC | ||
| 0x04 | | 0x04 | ||
| | | Import Patches num (size = num * 12) | ||
|- | |- | ||
| 0x100 | | 0x100 | ||
Line 156: | Line 156: | ||
| 0x128 | | 0x128 | ||
| 0x04 | | 0x04 | ||
| | | Relocation Patches offset | ||
|- | |- | ||
| 0x12C | | 0x12C | ||
| 0x04 | | 0x04 | ||
| | | Relocation Patches num (size = num * 12) | ||
|- | |- | ||
| 0x130 | | 0x130 | ||
Line 233: | Line 233: | ||
|} | |} | ||
Patch entry (12 bytes) | |||
{| class="wikitable" border="1" | {| class="wikitable" border="1" | ||
! Offset | ! Offset | ||
Line 245: | Line 245: | ||
| 0x4 | | 0x4 | ||
| 0x1 | | 0x1 | ||
| | | Patch type (0=nothing/ignore, 2=38=write u32 absolute (base+X), 3=write u32 relative (base+X-in_ptr), 10=THUMB branch, 28=ARM32 branch, 29=modify ARM32 branch offset, 42=write u32 relative (((signed int)base*2)/2+X-in_ptr), otherwise err) | ||
|- | |- | ||
| 0x5 | | 0x5 |