REDIVIVUS

Proposals / #842

Type the clipped two-table RLE blender's byte-address inputs

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

Ghidra v1809 · 383dd74

The complete native helper uses EDX as its byte-output address, original Stack0x18 as a source-byte lookup base and Stack0x1c as a byte blend-map base. Every remainder/chunk pixel reads a byte through both tables and writes one blended byte. Its only original caller forwards the unchanged destination, lookup and blend API values in those exact slots. Correct all three integer addresses and generic names coherently; preserve scalar clipping inputs, void return, fastcall, native arity and RET28. Table inputs are captured in EDI/ESI before their original stack slots are reused as scratch. The chosen Blend2AndClip name matches the verified operations.

Changes 6, applied together

  1. Retype variable win 0x00607b90 EDX

    typeint32_t→uint8_t *
  2. Rename variable win 0x00607b90 EDX

    namenParam1→pDstBuffer
  3. Retype variable win 0x00607b90 Stack[0x18]

    typeint32_t→uint8_t *
  4. Rename variable win 0x00607b90 Stack[0x18]

    namenParam5→pLookupTable
  5. Retype variable win 0x00607b90 Stack[0x1c]

    typeint32_t→uint8_t *
  6. Rename variable win 0x00607b90 Stack[0x1c]

    namenParam6→pBlendTable