benilla-re systems structs docs

FreeIfFlag4dd2f0

function · ui · orchestration

Address
0x4dd2f0 · 38 bytes, up to 0x4dd315
Signature
void * __thiscall (void *this, uint32_t free_flag)
Meaning
Frees the object with SMemFree when bit 0 of the flag is set and returns it
Confidence
verified, proof one
Finding
ui/taxi#opening-the-map

Finding: Opening the map in ui: the taxi map

The builder 0x4db710(guid, nearestNode, mask) returns at once when the GUID equals the stored one. A different master closes the open map first. It copies the mask into the stored cell, sets the current row to the TaxiNodes row of the nearest node, empties the route line arrays and builds the slots. When at least one slot exists and the map texture loads, it seeds the routes, makes the master the interaction target at the range cell, stores the GUID, builds the route lines of every slot, signals TAXIMAP_OPENED (306) and sets tutorial flag 0x22. With no slot or no texture the slot count is 0 and the GUID stays 0.

The derivation is in the doc.

Callers 1

Callees 1

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