benilla-re systems structs docs

TgaSetOrigin

function · image · primitive

Address
0x5a4070 · 313 bytes, up to 0x5a41a8
Signature
int __thiscall (void *this, int top)
Meaning
Reverses the rows and sets the origin bit
Confidence
verified, proof one
Finding
image/tga#flipping
Test
image::image_tga_flip

Finding: Flipping in image: TGA

0x5a4070(top) sets the origin: no work when bit 5 already matches top != 0; otherwise it reverses the row order into a new buffer and sets bit 5 to top != 0. Run-length types fail.

The derivation is in the doc.

Callers 2

Callees 3

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