Add one more example to hexrays plugins

could you add one more plugin to the examples
that could complement the existing one invert-if-else (plugins\vds3\hexrays_sample3.cpp)
thereby solving the long-standing if-else problem

an example of a plugin that would create an if else block from an if block
and vice versa, break the if-else and make a regular if block

I’m not quite sure I understand the description, could you add some concrete examples?

if (condition)
{
  block1
}

block 2

convert to

if (condition)
{
  block1
} else
{
  block 2
}

after this i will invert by invert-if-else (plugins\vds3\hexrays_sample3.cpp)
and do vise versa

if (!condition)
{
  block2
} else
{
  block 1
}

convert to

if (!condition)
{
  block2
}

block 1