REDIVIVUS

Proposals / #809

Type the byte lookup-table input of the RLE lookup helper

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

Ghidra v1809 · 383dd74

The complete helper loads Stack0xc into ESI and uses it only as the base address of byte reads indexed by zero-extended source bytes, in all remainder and eight-pixel chunk paths. The sole original direct caller pushes unchanged dispatcher pLookupTable1 for this slot. Replace the integer address with uint8_t* and resolve generic nParam to pLookupTable together. Keep the helper's void return, fastcall, two register arguments and RET12. Its chosen Lookup1 name fits this exact single-byte lookup; this helper is not the table callback.

Changes 2, applied together

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

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

    namenParam→pLookupTable