双错误代码恢复规则
if…else语句:
参数布尔(if ) )。
param textview.settext color (-16727809;
是wile (真)
{
返回;
param textview.settext color (-1315861;
}
参数布尔(if ) )。
{
param textview.settext color (-16727809;
}
else
{
param textview.settext color (-1315861;
}
将if .esle反编译为if . while (true )结构。
if(Paramint1!=1)
布雷克标签185;
if(this.countchild_1==null ) () ) ) ) ) ) )。
{
this.count child _1=newpokercountchild (this.m context );
this.count child _1=newpokercountchild (this.m context );
this.count child _1. set position ((int ) ) 0.83 d * basegameactivity.screen width
- this.countChild_1.getWidth ()、(int ) ) 0.2d * basegameactivity.screen height );
this.count child _1. setcount (paramint2);
addonechild(this.countchild_1;
if (参数2==0) ) ) ) )。
this.countchild_1.setalpha(0;
}
this.count child _1. setcount (paramint2);
}
label185:
德奥
返回;
wile(paramint1!=2;
if(this.countchild_2==null ) () ) ) ) ) ) )。
{
this.count child _2=newpokercountchild (this.m context );
this.count child _2=newpokercountchild (this.m context );
this.count child _2. set position ((int ) ) 0.17 d * basegameactivity.screen width )、
(int ) ) 0.2d * basegameactivity.screen height );
this.count child _2. setcount (paramint2);
addonechild(this.countchild_2;
if (参数2==0) ) ) ) )。
this.countchild_2.setalpha(0;
}
this.count child _2. setcount (paramint2);
if(I==1) ) ) )。
{
if (计数child _1==null )
{
count child _1=newpokercountchild (m context );
count child _1=newpokercountchild (m context );
countchild_1.setposition((int ) ).0.83D *
(双精度) basegameactivity.screenwidth-(双精度) countChild_1.getWidth ) ),
(int ) ) 0.2d* (双精度) BaseGameActivity.screenHeight );
countchild_1.setcount(j;
addonechild(countchild_1;
if(j==0) ) )。
countchild_1.setalpha(0;
}
countchild_1.setcount(j;
} else
if(I==2) )
{
if (计数child _2==null )
{
count child _2=newpokercountchild (m context );
count child _2=newpokercountchild (m context );
countchild_2.setposition((int ) ).0.17D *
(双精度) BaseGameActivity.screenWidth ),int ) (0.2D *
(双精度) BaseGameActivity.screenHeight );
countchild_2.setcount(j;
addonechild(countchild_2;
if(j==0) ) )。
countchild_2.setalpha(0;
}
countchild_2.setcount(j;
返回;
}
语句逆序,出现break label结构
jd-gui可能会将whilei语句翻译为if,但这里将if更改为while
交换机语句
交换机(this.MB and ) )。
{
默认:
case 0:
case 1:
case 2:
}
是wile (真)
{
返回;
this.MBand.settext('FM1 );
继续;
this.MBand.settext('FM2 );
继续;
this.MBand.settext('am );
}
是交换机(MB and )
{
case 0:
MBand.settext(FM1 );
布雷克;
case 1:
MBand.settext(FM2 );
布雷克;
case 2:
MBand.Settext(am );
布雷克;
默认:
}
交换机规则由continue支持case。 请注意,将计算外部连续,而不计算if的连续
枚举枚举