SetSlotFlags
function · ui · primitive
- Address
0x4d5fc0· 10 bytes, up to0x4d5fc9- Signature
void __fastcall (int32_t slot, uint8_t flags)- Meaning
- Stores a slot's flag byte with no bound check
- 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 6
- HandleInitializeFactionsPacket ui
- HandleSetFactionAtWarPacket ui
- HandleSetFactionVisiblePacket ui
- HandleSetFactionStandingPacket ui
- SetFactionAtWar ui
- SetFactionInactiveFlag ui
Callees 0
None by a direct call or jump.
Calls and jumps by a bare address, from tables/calls.tsv.