Type three integer parameters as the pointer their callee takes (resubmit)
Ghidra v1809 · 41c2819
Resubmit of #685 without MESSAGE_RegisterWindowMessageHandlers: the review asks for hWnd there, and the checks refuse that name (issue #68). These three are typed as integers but hold a pointer, proven by the callee parameter they reach unchanged. Same width in each case. HUFFMAN_Constructor also returns the value, as a constructor does. SRP_ComputeServerProof's value is the output buffer of SHA1_Final. DropItem's value may be null and reaches QUEST_OnItemDropped's pPlayer; named pSourceUnit because DROP_SpawnGoldPiles passes its pUnit, which its plate says is not always a player.
Changes 6, applied together
Rename variable
win 0x0041f920 ECXnamenParam→pEncoderRetype variable
win 0x0041f920 ECXtypeint32_t→D2CompressEncoderStrc *Rename variable
win 0x00528480 Stack[0x10]namenParam→pHashOutRetype variable
win 0x00528480 Stack[0x10]typeint32_t→uint8_t *Rename variable
win 0x00558aa0 EDXnamenParam→pSourceUnitRetype variable
win 0x00558aa0 EDXtypeint32_t→D2UnitStrc *