Name the active flag of STATLIST_SetItemStatActive and STATLIST_AttachStatListToUnit
Ghidra v1799 · 2663303
In STATLIST_SetItemStatActive a nonzero value activates the item's stats and zero deactivates them, and otherwise the value goes to STATLIST_AttachStatListToUnit. There, zero sets flag 0x40000000 and nonzero clears it, the same flag STATLIST_SetItemStatActive tests to decide whether activating or deactivating is needed.
Changes 2, applied together
Rename variable
win 0x00627910 Stack[0xc]namenParam→bActiveRename variable
win 0x00626e10 Stack[0xc]namenParam→bActive