REDIVIVUS

Proposals / #828

Type the byte lookup and blend-table inputs of the RLE blender

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

Ghidra v1809 · 383dd74

The complete native helper loads original Stack0xc as a source-byte lookup-table base and Stack0x10 as a byte blend-table base. All seven remainder and eight chunk paths read one byte through each base, combining the mapped source byte with the destination byte. Its only original caller forwards the unchanged lookup and blend API values in those exact slots. Correct both integer address representations and generic names together, preserving both existing byte-buffer inputs, scalar row/stride parameters, void return, fastcall and RET16. The chosen Blend2 function name matches the proven two-stage byte blending.

Changes 4, applied together

  1. Retype variable win 0x00607970 Stack[0xc]

    typeint32_t→uint8_t *
  2. Rename variable win 0x00607970 Stack[0xc]

    namenParam1→pLookupTable
  3. Retype variable win 0x00607970 Stack[0x10]

    typeint32_t→uint8_t *
  4. Rename variable win 0x00607970 Stack[0x10]

    namenParam2→pBlendTable