Name forwarded parameters in skill, monster AI, tile and draw functions
Ghidra v1799 · 2663303
Each parameter reaches a named callee parameter unchanged, and I checked the pushes and registers against the callee's signature in the machine code. Names follow the callee, except nDuration on SKILLDRUID_ApplyTimedAuraBuff, which matches the name its sibling callee gives the same value and its own plate's expiry sum, and nFrameNumber on MINIPANEL_DrawButton, which is the D2GfxDataStrc field it fills. On MONSTERAI_CommandWalkToUnitWithCombat the chosen bySkillMode reaches ApplyCombatAndMonStats's nSteps. This replaces #679, which also named ITEMMOD_RollMagicAffixVersionedEx's parameters; those go in their own proposal now.
Changes 18, applied together
Rename variable
win 0x0056bc80 Stack[0xc]namenParam2→nRadiusRename variable
win 0x005c7db0 Stack[0x10]namenParam→nSkillLvlRename variable
win 0x005c7b10 Stack[0x10]namenParam1→nDurationRename variable
win 0x005c7b10 Stack[0x18]namenParam2→nSkillLvlRename variable
win 0x005de490 Stack[0xc]namenParam→nUnitModeRename variable
win 0x005ecbc0 Stack[0xc]namenParam→nPathTypeRename variable
win 0x00463bc0 Stack[0x4]namenParam1→nXRename variable
win 0x00463bc0 EBXnamenParam2→nYRename variable
win 0x00604ae0 Stack[0x8]namenParam2→nTileTypeRename variable
win 0x00604ae0 Stack[0xc]namenParam3→nTileSubTypeRename variable
win 0x0047e860 Stack[0x4]namenParam1→nFrameNumberRename variable
win 0x0047e860 Stack[0x8]namenParam2→nPositionXRename variable
win 0x0047e860 Stack[0xc]namenParam3→nPositionYRename variable
win 0x00452510 EDXnamenParam1→nFontIdRename variable
win 0x00452510 Stack[0x4]namenParam2→nXRename variable
win 0x00452510 Stack[0x8]namenParam3→nYRename variable
win 0x00452510 Stack[0xc]namenParam4→nAlignmentRename variable
win 0x00452510 Stack[0x10]namenParam5→nCustomField