REDIVIVUS

Proposals / #711

BITBUFFER_WriteDwordPair takes an indexed word-array base

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

Ghidra v1797 · 3bccb89

Stack[8] nValue is a memory base, not the by-value integer its type declares. At 004110b9/004110bd the complete body loads two DWORDs at base+index*8+4 and base+index*8, then passes them as the bit width and value to WriteValueToBitBuffer. The complete writer consumes both as signed 32-bit scalars, with signed size checks and arithmetic value shifts. Retype only the base slot to int32_t*, a neutral flat view of the two-word records. Preserve its existing name, index argument, three stack slots, stdcall, void return and RET 0xc. No new record type, field names or array extent is inferred. No incoming code/data refs are reported, so this remains an API-only correction with no runtime table producer claim.

Changes 1, applied together

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

    typeint32_t→int32_t *