benilla-re systems structs docs

BlitByFormat

function · charactermodel · orchestration

Address
0x477460 · 140 bytes, up to 0x4774eb
Signature
void __thiscall (void *this, void *src, uint32_t format, void *dstPos, void *srcPos, void *size, void *desc)
Meaning
Copies the positions and size to its frame and calls the replace, key or blend kernel by format
Confidence
verified, proof one
Finding
charactermodel/composite#blit-helpers

Finding: Blit helpers in charactermodel: composite

0x477070(group) blits the skin cell +0x188 onto the tile of group: source and destination positions are both the tile's top-left, and the size is the tile's. 0x4770f0(group, cell) blits an overlay cell with the source position at 0, 0, the destination at the tile's top-left and the tile's size. Both ask for the cell's data with 0x47b120 and its descriptor with 0x47b150 (forced), skip a cell with no data, and hand the data, the descriptor's format dword, both positions, the size and the descriptor to 0x477460, which calls the kernel for the format: 0 replace, 1 key, any other value blend.

The derivation is in the doc.

Callers 2

Callees 3

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