benilla-re systems structs docs

CGxString::GetNewString

function · font · primitive

Address
0x5cd830 · 273 bytes, up to 0x5cd940
Signature
void * __thiscall (CGxString *this)
Meaning
Takes a string record from the pool or allocates one
Confidence
verified, proof one
Name from
the community database (idb)
Finding
font/api#string-pool

Finding: String pool in font: fonts, strings and batches

Strings come from a pool: 0x5cd830(flag) takes the record at [0xc2b990] from the pool list and puts it at the head of the global string list 0xc2b998, or, with an empty pool, allocates a record of 0xc4 bytes (tag 0x85f56c), constructs it with 0x5cda00 and, when flag is non-zero, links it at the head of the global list. The record is the string object.

The derivation is in the doc.

Callers 1

Callees 3

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