Name generic parameters forwarded to named callee parameters, with four pointer types
Each parameter is passed unchanged to a callee parameter that already has a specific name, checked register by register and push by push in the machine code. Three also get a same-width pointer type, because the callee parameter they reach is a typed pointer: SUNITNPC_RefreshNpcItem's ECX and the two party handlers' ECX. WndProc's parameter is nWParam, as on SMsgDispatchMessage. The chosen name SUNITNPC_ReturnOne looks wrong: 00576f40 is only POP EBP and a tail JMP to ITEM_GiveGoldOrDrop with registers and stack untouched. Left alone as unsettled: INVENTORY_AutoPlaceItemInGrid's nParam2 (never read), ClickWithSkillOnUnitOrCoord's nParam (two different callee meanings), SSIGNATURE_RsaExportZeroPadded's nParam (both a length and an output size).
Changes 15, applied together
Rename variable
win 0x0063c4f0 Stack[0xc]namenParam→nBeltSlotRename variable
win 0x0056ede0 Stack[0x10]namenParam1→nXRename variable
win 0x0056ede0 Stack[0x14]namenParam2→nYRename variable
win 0x0057e270 Stack[0xc]namenParam→nSkillLevelRename variable
win 0x00576650 ECXnamenParam1→pNpcUnitRetype variable
win 0x00576650 ECXtypeint32_t→D2UnitStrc *Rename variable
win 0x004f9a80 Stack[0xc]namenParam→nWParamRename variable
win 0x006039c0 Stack[0x4]namenParam→dwHashValRename variable
win 0x005d40f0 EDXnamenParam→nInitSeedRename variable
win 0x00426050 Stack[0x8]namenParam→nByteCountRename variable
win 0x00576f40 Stack[0x4]namenParam→nGoldAmountRename variable
win 0x005a5be0 ECXnamenParam→pGameRetype variable
win 0x005a5be0 ECXtypeint32_t→SGAMEDATA *Rename variable
win 0x005a5b30 ECXnamenParam→pGameRetype variable
win 0x005a5b30 ECXtypeint32_t→SGAMEDATA *