REDIVIVUS

Proposals / #1002

Persist the second AND-buffer parameter as a word-buffer pointer

applied · by Commit-Will · submitted 2026-11-02, applied 2026-11-02

Ghidra v1846 · 3cfe190

The second parameter is explicitly undefined4 although the decompiler already resolves it as uint *. The complete original body loads this stack word as the B address, reads DWORDs through it while advancing by four bytes, then handles up to three trailing bytes through the original B base plus processed offset. Declare the existing uint * pointer contract, matching the actual word reads and already-typed A/destination buffers. Preserve pBufferB, every other chosen name/type, void return, __stdcall and four-word stack ABI. This API has no incoming references; no caller/runtime use, source-output gain, buffer-safety or algorithm change is claimed.

Changes 1, applied together

  1. Retype variable win 0x00410b90 Stack[0x8]

    typeundefined4→uint *