REDIVIVUS

Proposals / #753

Type the CELCMP RGB frame-copy input as the existing DC6 container

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

Ghidra v1804 · 39698f0

Win 006015d0 receives pDC6 at Stack[4], currently int*. It validates version6 and flags+4, reads directions+16 and frames+20, then obtains the selected DC6Block* through the flexible pointer table at+24. Its copy uses the block's width+4, height+8 and trailing data+32. Those accesses match existing DC6/DC6Block exactly. Retype only pDC6 to DC6*; its selected name already fits. Preserve all other slots, undefined4 result, stdcall and RET 0x10. Full target/helper and independent frame-allocation producer bytes match the original Windows PE. No incoming refs exist, so this is API-contract metadata only, with no runtime invocation claim.

Changes 1, applied together

  1. Retype variable win 0x006015d0 Stack[0x4]

    typeint *→DC6 *