3.3 KiB
Stock 70334 SD model preference
The native setter sends client opcode 0x4401B1. Its application payload is one byte, 80 hex for SD and 00 for HD. The character roster response, opcode 0x470018, returns the account selection in zero-based payload byte 1, mask 0x20. The gateway before this fix emits 80 hex for that byte. A stored SD selection changes it to A0 hex. Both preserve the class-disable-mask-present flag.
Outgoing preference
The API registrar pairs the name SetSDHDToggleValue with callback RVA 0x130bf50. After reading the Lua boolean, the callback at 0x130bfee stores it in the client preference byte at RVA 0x5ff935e, sets a local dirty flag at 0x601c2e8, calls a refresh routine, then calls 0x7a0780 with the boolean. The common sender calls the write slot of vtable 0x4d12f60. Its implementation at 0x8cd6e0 writes 0x4401B1 and queues one boolean bit. The flush routine dispatches a one-bit accumulator through the first entry of the jump table at 0x7ee010. The target shifts the bit left seven positions, fills the lower bits with zeros and writes one byte at 0x845507. The opcode accessor at 0x8cd760 independently returns the same opcode.
The stock SetForeverExperiencePreset path at 0x130bb96 also calls a routine that sends this SD preference, then a separate preset message. Both ordinary UI paths therefore reach the same SD write.
Roster initialization
The inbound constructor at 0x7f61a0 installs vtable 0x4d11e20 and calls parser 0x7f5600. Its opcode accessor at 0x7f6190 returns 0x470018. The parser reads two leading bytes before it reads any character counts. For the second byte, 0x7f56c3 through 0x7f5714 map masks 0x80, 0x40, 0x20 and 0x10 to the optional class mask and parsed fields +0xd0, +0xd1 and +0xd2, respectively.
The consumer at 0x2414e80 identifies itself with the stock strings “Character selection updating character list” and “Invalid ClientEnumCharactersResult configuration”. At 0x24152fe it loads +0xd1 and compares it to the preference byte at 0x5ff935e. With a clear dirty flag it accepts the server value. When the values disagree and the dirty flag is set it sends the local value using 0x7a0780. The API registrar binds AccountHasSDEnabled to 0x1303e90. The getter reads that same byte at 0x1303ee2 and returns false when the feature predicate is false.
Both character roster encoders use the same leading bytes. Header byte zero carries the ordinary success and realmless bits. Applying the saved preference to byte one works for both roster variants.
Evidence boundary
These findings use the static sections of an archived build-70334 executable and the existing readable text pages saved from a disposable client. Every cited instruction range was checked against its recorded page digest. The setter and roster fields are established by those routines. Fresh-process persistence after a gateway change still requires a clean quit, relaunch and getter check. The reported LOCAL capture established the original loss of the preference.
The numeric receipt includes selected instructions and their RVAs. The verifier pins the PE, saved text and page index by SHA-256. All paths and reproduction inputs are local. Binary evidence and offline verifier.