benilla-re systems structs docs

HandleAuctionCommandResultPacket

function · ui · primitive

Address
0x4cc460 · 852 bytes, up to 0x4cc7b3
Signature
uint32_t __fastcall (void *param, uint32_t opcode, uint32_t time, CDataStore *msg)
Meaning
Reads an auction command result, shows its message and refreshes or patches the lists
Confidence
verified, proof one
Name from
the community database (idb)
Finding
ui/auctionmessages#command-result

Finding: Command result in ui: auction results and notices

SMSG_AUCTION_COMMAND_RESULT (0x25b, 0x4cc460) reads three u32: the auction id, the action (0 start, 1 cancel, 2 bid) and the result. A result of 1 reads a fourth u32, an inventory result; a successful bid (result 0, action 2) reads a fifth, the new minimum increment. Result 5 reads a u64 bidder GUID and two u32, the bid and the increment. A result above 13 and the results 2, 6, 8, 9, 11 and 12 show ERR_AUCTION_DATABASE_ERROR (id 0x172). The arms: result 1 shows the error for the inventory result (0x622630), 3 ERR_NOT_ENOUGH_MONEY (0x25), 4 id 0x17, 7 ERR_AUCTION_BID_INCREMENT (0x174), 10 ERR_AUCTION_BID_OWN (0x173) and 13 ERR_RESTRICTED_ACCOUNT (0x1be). Every arm returns the number 1 to the dispatcher.

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 14

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