benilla-re systems structs docs

CGReputationInfo::InitializeGame

function · ui · primitive

Address
0x4d5290 · 200 bytes, up to 0x4d5357
Signature
void __cdecl ()
Meaning
Registers the five reputation handlers and allocates the 97 entries and 32 headers
Confidence
verified, proof one
Name from
the community database (idb)
Finding
ui/reputation#display-entries-and-headers

Finding: Display entries and headers in ui: the reputation list

The list is an array of 97 entries of 20 bytes, allocated at startup, with a count and a visible count, and an array of 32 header objects of 8 bytes. An entry is the slot (+0, -1 for the Inactive header), the faction id (+4), the header flag (+8), the header's position (+0xc, set by the sort) and the header key (+0x10). A header object is a key and a child count. The key is a faction id, 0 or -1. Neither array is bounds checked.

The derivation is in the doc.

Callers 1

Callees 3

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