benilla-re systems structs docs

TgaSave

function · image · host

Address
0x5a4810 · 410 bytes, up to 0x5a49a9
Signature
int __thiscall (void *this, const char *path)
Meaning
Writes header, ID, colour map, pixels and footer to a file
Confidence
verified, proof one
Finding
image/tga#building-and-saving

Finding: Building and saving in image: TGA

0x5a43c0(src, w, h, bpp, attribute, top, flip) fills a record from a pixel block; 0x5a4810(path) writes the record to a file. The screenshot code does both and strips alpha between.

The derivation is in the doc.

Callers 2

Callees 5

Calls and jumps by a bare address, from tables/calls.tsv.