From ReverseEngineering.wiki
| schema | "rewiki.fact/1" |
|---|
| kind | "struct" |
|---|
| subject | "Format:XBE (Xbox executable)" |
|---|
| claim | "The XBE TLS directory (header 0x12C is its virtual address) is six little-endian u32 fields: raw data start and end, TLS index address, callback table address, zero-fill size, characteristics." |
|---|
| scope | | level | "format" |
|---|
| applies_to | "Format:XBE (Xbox executable)" |
|---|
| observed_in | |
|---|
|
|---|
| data | | name | "XbeTls" |
|---|
| size | "0x18" |
|---|
| endianness | "little" |
|---|
| fields | | offset | "0x0" |
|---|
| size | 4 |
|---|
| type | "uint32_t" |
|---|
| name | "dwDataStartAddr" |
|---|
|
| offset | "0x4" |
|---|
| size | 4 |
|---|
| type | "uint32_t" |
|---|
| name | "dwDataEndAddr" |
|---|
|
| offset | "0x8" |
|---|
| size | 4 |
|---|
| type | "uint32_t" |
|---|
| name | "dwTLSIndexAddr" |
|---|
|
| offset | "0xC" |
|---|
| size | 4 |
|---|
| type | "uint32_t" |
|---|
| name | "dwTLSCallbackAddr" |
|---|
|
| offset | "0x10" |
|---|
| size | 4 |
|---|
| type | "uint32_t" |
|---|
| name | "dwSizeofZeroFill" |
|---|
|
| offset | "0x14" |
|---|
| size | 4 |
|---|
| type | "uint32_t" |
|---|
| name | "dwCharacteristics" |
|---|
|
|
|---|
|
|---|
| evidence | | type | "source" |
|---|
| detail | "struct TLS in the Xbe class; all addresses are virtual addresses like the rest of the header" |
|---|
| repo | "https://github.com/XboxDev/nxdk" |
|---|
| commit | "14d5ee97e73347c973f1f57b68b79ec08c9e77f2" |
|---|
| path | "tools/cxbe/Xbe.h" |
|---|
| lines | "162-171" |
|---|
|
| type | "source" |
|---|
| detail | "same six fields in the Cxbx-Reloaded copy" |
|---|
| repo | "https://github.com/Cxbx-Reloaded/Cxbx-Reloaded" |
|---|
| commit | "585c49a50af1255ab155099e06f24505f9c5a800" |
|---|
| path | "src/common/xbe/Xbe.h" |
|---|
| lines | "243-250" |
|---|
|
|
|---|
| confidence | "high" |
|---|
| related | |
|---|
| key | "TLS directory" |
|---|
| status | "claimed" |
|---|
| created_by | "PatientStepper99" |
|---|
| created_at | "2026-10-19T02:38:19.047Z" |
|---|
| verifications | | operator | "PatientStepper99" |
|---|
| date | "2026-10-19T08:02:23.162Z" |
|---|
| result | "confirmed" |
|---|
| method | "Read struct TLS and the dwTLSAddr header field (0x012C) in nxdk tools/cxbe/Xbe.h at the cited commit: six packed uint32 fields in the stated order." |
|---|
|
|
|---|