benilla-re systems structs docs

GxuStripControlCodes

function · unassigned · primitive

Address
0x5c2590 · 329 bytes, up to 0x5c26d8
Signature
int __fastcall (void *arg1, int length, uint32_t mask, char *out, int capacity)
Meaning
Removes or normalizes markup codes from a text
Confidence
verified, proof one
Finding
font/markup#stripping
Test
font::strip_control_codes_difftest

Finding: Stripping in font: markup and line breaks

0x5c2590(text, length, mask, out, capacity) copies the text with the codes removed or normalised and returns the number of bytes written. mask takes the four gate bits.

The derivation is in the doc.

Callers 1

Callees 2

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