benilla-re systems structs docs

SendLogonChallenge

function · net · orchestration

Address
0x5b20e0 · 280 bytes, up to 0x5b21f7
Signature
void __thiscall (void *this)
Meaning
Sends the reconnect challenge when reconnecting, else the logon challenge with the password, then wipes and frees it
Confidence
verified, proof one
Finding
net/login#logon-challenge

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 0

None by a direct call or jump.

Callees 8

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