Type the DC6 block input shared by both texture-upload callers
Ghidra v1804 · 39698f0
Win 00601b10 Stack[4], currently int32_t nParam, is a DC6Block*. Both complete callers load pTexInfo->pSprite->pDC6Block at+60 and push that pointer at 0050a47f/006b5d77 before their sole calls. Existing GlideTexInfoStrc and D2D3DSpriteInfoStrc store D2GfxDataStrc* at0; its+60 field is DC6Block*. The target null-checks this object then loads its+24 slot. Retype this input to DC6Block* and name the generic nParam pDC6Block. Retain the undefined4 return: callers use its opaque cache metadata, so no raw-pixel/return-type guess is made. Preserve stdcall/RET 4 and all storage. Full target/callers and independent frame producer bytes match original Game.exe; static only.
Changes 2, applied together
Retype variable
win 0x00601b10 Stack[0x4]typeint32_t→DC6Block *Rename variable
win 0x00601b10 Stack[0x4]namenParam→pDC6Block