Name the state id and on/off parameters of D2StatesTogglegfx
Ghidra v1799 · 2663303
The first parameter is bounds-checked against nTxtStatesSize and selects a bit in the unit's graphics flag words. The second decides whether that bit is set or cleared.
Changes 2, applied together
Rename variable
win 0x00639e30 Stack[0x8]namenParam→nStateIdRename variable
win 0x00639e30 Stack[0xc]namenParam2→bSet