ReadGuildEvent
function · objectlayer · primitive
- Address
0x5e7180· 857 bytes, up to0x5e74d8- Signature
uint32_t __fastcall (void *param, uint32_t opcode, uint32_t time, CDataStore *msg)- Meaning
- Reads a guild event's strings into three stack slots without bounding the count and shows the event
- Confidence
- verified, proof one
- Finding
- objectlayer/party#guild-events
Finding: Guild events in objectlayer: party, guild and petitions
0x92 (0x5e7180) reads a type, a u8 count and that many strings of at most 0x100 into three
0x100-byte stack slots, unbounded, so a fourth string overruns the frame. Types 0, 1 and 3 to 8 show
the promote, demote, join, leave, remove, leader-is, leader-changed and disbanded messages; 2, the
MOTD, signals GUILD_MOTD; 10 renames the rank atoi(first) to the second string, unchecked; 12
and 13 show a member signing on or off; 11 does nothing; 9 and any type above 13 show
ERR_GUILD_INTERNAL. Every type ends in 0x4d1160(1) except 12, 13 and a failed gate of 10.
The derivation is in the doc.
Callers 0
None by a direct call or jump.
Callees 16
- CDataStore::GetUInt8 base
- CDataStore::GetGuid base
- CDataStore::GetCString base
- ClntObjMgrObjectPtr objectlayer
- ClntObjMgrGetActivePlayer objectlayer
- CGGameUI::DisplayError ui
- MaskProfanity ui
- SignalGuildRosterUpdate ui
- DBCache::GuildGetRecord dbcache
- FriendList::IsFriend net
- CGUnit_C::GetUnitName objectlayer
- CVar::Lookup cvar
- SStrCmp storm
- SStrCopy storm
- SStrToInt storm
- FrameScript_SignalEvent2 ui
Calls and jumps by a bare address, from tables/calls.tsv.