benilla-re systems structs docs

BlitOverlayTile

function · charactermodel · orchestration

Address
0x4770f0 · 121 bytes, up to 0x477168
Signature
void __fastcall (void *arg1, uint32_t unused, uint32_t group, void *cell)
Meaning
Blits an overlay cell onto a group's tile from its own origin
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 10

Callees 3

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