benilla-re systems structs docs

LcdCompareDescending

function · ui · primitive

Address
0x72a5e0 · 15 bytes, up to 0x72a5ee
Signature
int __cdecl (const int32_t *a, const int32_t *b)
Meaning
Returns the first dword of the second less the first dword of the first
Confidence
verified, proof one
Finding
ui/lcd#battlefield-scores

Finding: Battlefield scores in ui: the keyboard LCD

0x72a5f0 fills the battlefield screen from the player and the scoreboard 0xb6e880 (count 0xb6ebc0): it sorts a copy with qsort and the comparator 0x72a5e0 (the second argument's first dword less the first's) and writes values to the elements 0x18, 0x1a, 0x1c, 0x1e, 0x20 and 0x21 with %d and %d / %d.

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 0

None by a direct call or jump.

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