TgaOpen
function · image · host
- Address
0x5a3660· 378 bytes, up to0x5a37d9- Signature
int __thiscall (void *this, const char *path, int flag)- Meaning
- Opens a TGA file and reads its header, ID field and colour map
- Confidence
- verified, proof one
- Finding
- image/tga#opening-a-file
Finding: Opening a file in image: TGA
0x5a3660(path, flag) opens the file through 0x6477c0, reads the header, then the ID field
and the colour map, and returns 1. A null or empty path sets error 0x57. A 24-bit image whose
attribute is 8 has the attribute cleared and a warning set.
The derivation is in the doc.
Callers 4
Callees 5
- TgaClose image
- SMemAlloc storm
- SFile::OpenEx storm
- SFile::Read storm
- SErrSetLastError storm
Calls and jumps by a bare address, from tables/calls.tsv.