Repository navigation
Expand file tree
/
Copy pathOffsets.h
More file actions
27 lines (23 loc) · 1.37 KB
/
Copy pathOffsets.h
File metadata and controls
27 lines (23 loc) · 1.37 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#pragma once
#include <cstdint>
// All VAs are for C:\WoW\Octo\WoW.exe (vanilla 1.12.1, ImageBase 0x00400000).
namespace Offsets {
// The single client-side throttle word gating the auction browse-list query:
// the earliest engine-clock millisecond at which the next QueryAuctionItems
// may be sent. 0 = "send now".
//
// QueryAuctionItems (0x004CE980) re-arms it to clock()+5000 on every real send;
// CanSendAuctionQuery (0x004CFBB0) is nothing but a read of it. Verified via
// xrefs: this word is read ONLY by those two functions, so it exclusively
// throttles the browse-list scan (the owner/bidder list queries don't use it).
constexpr uintptr_t VAR_AUCTION_NEXT_ALLOWED_MS = 0x00B72638;
// Network handler for SMSG_AUCTION_LIST_RESULT (opcode 0x25C), the browse-list
// response. `uint32_t __fastcall(void *param, uint32_t opcode, uint32_t time,
// CDataStore *msg)` (RET 0x8) — the dispatch (0x00537A60 table) loads the
// context into ECX and the opcode into EDX, then pushes msg and time.
// Registered by the AH init FUN_004CC0F0 via FUN_005AB650(0x25C, 0x004CC7F0, 0).
// It parses the packet and fills the browse list; when every row's item record
// is cached it sorts and signals AUCTION_ITEM_LIST_UPDATE (0x1A8) itself (via
// 0x004CD8B0), otherwise the last item-cache arrival (0x004CCA10) does.
constexpr uintptr_t FUN_AH_LIST_RESULT_HANDLER = 0x004CC7F0;
} // namespace Offsets