TgaFreeId
function · image · orchestration
- Address
0x5a4320· 39 bytes, up to0x5a4346- Signature
void __thiscall (void *this)- Meaning
- Frees the ID buffer and clears the ID length
- Confidence
- verified, proof one
- Finding
- image/tga#image-record
Finding: Image record in image: TGA
An image record is 0x44 bytes. The TGA header is read straight into +0x08, so its fields sit at
the offsets of the file's own layout plus 8.
| offset | holds |
|---|---|
+0x00 | file handle |
+0x04 | pixels, 0 until decoded |
+0x08 | ID length |
+0x09, +0x0a | colour map type, image type |
+0x0b, +0x0d, +0x0f | colour map first index, length, entry size in bits |
+0x14, +0x16 | width, height |
+0x18, +0x19 | bits per pixel; descriptor |
+0x1c | ID buffer |
+0x20 to +0x39 | the 26-byte footer |
+0x3c, +0x40 | pixel bytes, palette |
The derivation is in the doc.
Callers 1
- TgaClose image
Callees 1
- SMemFree storm
Calls and jumps by a bare address, from tables/calls.tsv.