benilla-re systems structs docs

OsGetTimeZoneBias

function · os

Address
0x4297c0 · 50 bytes, up to 0x4297f1
Signature
int32_t __cdecl (void)
Meaning
Returns minus the system time-zone bias in minutes, or 0 when the query fails
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 1

Callees 0

None by a direct call or jump.

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