decomp-permuter
decomp-permuter copied to clipboard
Substitute value by variable that already contains it
Alternatively struct member instead of variable. E.g.
void foo(Thing* thing) {
thing->a = 0;
thing->b = 0;
}
->
void foo(Thing* thing) {
thing->a = 0;
thing->b = thing->a;
}