benilla-re systems structs docs

TgaInitFromPixels

function · image · primitive

Address
0x5a43c0 · 298 bytes, up to 0x5a44e9
Signature
int __thiscall (void *this, const void *src, uint16_t w, uint16_t h, uint8_t bpp, uint8_t attr, int top, int flip)
Meaning
Fills an image record from a pixel block
Confidence
verified, proof one
Finding
image/tga#building-and-saving
Test
image::image_tga_init_from_source

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 3

Callees 4

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