benilla-re systems structs docs

UnlinkNodeLink

function · glue · orchestration

Address
0x46cb00 · 60 bytes, up to 0x46cb3b
Signature
void __thiscall (void *this)
Meaning
Unlinks a linked link from its neighbours and zeroes both its pointers
Confidence
verified, proof one
Finding
glue/script#list-helpers-and-message-printf

Finding: List helpers and message printf in glue: the script functions

Four helpers work on intrusive lists: a link is a previous-link pointer and a next-node pointer, and a pointer to the head link is marked by bit 0. 0x46c6c0 empties a list whose nodes keep their link at +0x08. 0x46cab0 returns a node's link, or the head link for null. 0x46cad0 returns the link of the next node, or the next pointer with bit 0 cleared when it is marked or null; a negative link offset is recovered from the previous link. 0x46cb00 unlinks a link and zeroes it. 0x46c6f0 formats a message and passes it on with its first argument.

The derivation is in the doc.

Callers 1

Callees 0

None by a direct call or jump.

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