benilla-re systems structs docs

SetSlotStanding

function · ui · primitive

Address
0x4d6330 · 55 bytes, up to 0x4d6366
Signature
void __fastcall (int32_t slot, int32_t standing, bool log)
Meaning
Stores a slot's wire standing and logs the change when asked
Confidence
verified, proof one
Finding
ui/reputation#reputation-slots

Finding: Reputation slots in ui: the reputation list

The client keeps 64 reputation slots of 16 bytes: the faction id (+0), the flag byte the server sent (+4), the base standing from Faction.dbc (+8) and the standing the server sent (+0xc). A slot's index is the faction's reputationListID, field 1 of its Faction.dbc row, valid from 0 to 63. Each reader tests the index below 0x40. The two writers of flags and standing do not, so a slot index from the wire above 63 writes outside the array. Every reference to the array lies inside this file's code.

The derivation is in the doc.

Callers 2

Callees 2

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