PHP Code:
Function1()
{
if( get_pcvar_num( cvar1 ) && blablabla)
{
}
else if( tuctuctuc ) {
}
// 20 lines here
}
Simple.
Also you can use other ways depending on the variables scoop value and the cvar
If you fully duplicating the code means there is no different in body of the code of blabalabla and tuctuctuc why just do it in a one sentence
PHP Code:
if( get_pcvar_num( cvar1 ) && blablabla || tuctuctuc )
__________________