benilla-re systems structs docs

ClientLink::PutChallengeBody

function · net · primitive

Address
0x5bb460 · 223 bytes, up to 0x5bb53e
Signature
void __thiscall (ClientLink *this, CDataStore *message, const void *info)
Meaning
Writes the challenge body from the client info, the local address and the account, then back-patches its u16 size
Confidence
verified, proof one
Finding
net/login#logon-challenge
Test
net::grunt_challenge_body

Finding: Logon challenge in net: login

The client opens with command 0x00, then 0x03, a 16-bit size of the rest, and: game 'WoW', version 1, 12, 1, build 5875, platform 'x86', system 'Win', the locale, the time-zone bias, the local IPv4 address, and the account's length and bytes. The four-letter values are little-endian dwords, so 'x86' goes out as the bytes 36 38 78 00. The account and password are upper-cased first. A reconnect sends the same body after 0x02, 0x02.

fieldsizevalue
game40x00576f57
version1, 1, 11, 12, 1
build20x16f3
platform, system4, 40x00783836, 0x0057696e
locale4the client's locale code
time zone4minus the system's bias in minutes, or 0
address4the socket's local address
account1 + nlength, then the upper-cased bytes

The derivation is in the doc.

Callers 2

Callees 7

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