Name the mouse coordinates of INV_IsMouseOverCloseButton
Ghidra v1799 (mac 107) · 2663303
The first parameter is tested against a horizontal range built from the screen width and panel X offset, and the second against a vertical range built from the screen height and panel Y offset. The function name says they are the mouse position, and its callers include the left-click handlers for the shop, trade and stash panels.
Changes 4, applied together
Rename variable
win 0x00486e10 ECXnamenParam1→nMouseXRename variable
win 0x00486e10 EDXnamenParam2→nMouseYRename variable
mac 0x000b442d ECXnamenParam1→nMouseXRename variable
mac 0x000b442d EDXnamenParam2→nMouseY