Package smart.updater

Examples of smart.updater.InstructionSearcher2.nextGETSTATIC()


                        continue;
                    }
                    String sDestX;
                    int count = 0;
                    InstructionSearcher2 iS = new InstructionSearcher2(cg, m);
                    while(iS.nextGETSTATIC() != null){
                      FieldInstruction fi = (FieldInstruction)iS.current();
                      if((fi.getClassName(cpg)+'.'+fi.getFieldName(cpg)).equals(myplayer.path)){
                        count++;
                        if(count==7){
                          fi = iS.nextGETSTATIC();
View Full Code Here


                    while(iS.nextGETSTATIC() != null){
                      FieldInstruction fi = (FieldInstruction)iS.current();
                      if((fi.getClassName(cpg)+'.'+fi.getFieldName(cpg)).equals(myplayer.path)){
                        count++;
                        if(count==7){
                          fi = iS.nextGETSTATIC();
                          sDestX = fi.getClassName(cpg)+'.'+fi.getFieldName(cpg);
                          data.addField("DestX", sDestX);
                          InstructionFinder f = new InstructionFinder(il);
                          Iterator e = f.search("IF_ICMPNE ICONST_M1 PUTSTATIC ICONST_M1 PUTSTATIC");
                              if(e.hasNext()){
View Full Code Here

              continue;
            InstructionSearcher2 iS = new InstructionSearcher2(cg, m, il);
            if(iS.nextSIPUSH(200)!= null){
              if(iS.nextBIPUSH(50)!= null){
                iS = new InstructionSearcher2(cg, m, il);
                FieldInstruction fi = iS.nextGETSTATIC();
                data.addField("PlayerCount", fi.getClassName(cpg)+'.'+fi.getFieldName(cpg));
                fi = iS.nextGETSTATIC();
                data.addField("PlayerIndexArray", fi.getClassName(cpg)+'.'+fi.getFieldName(cpg));
                return SearchResult.Success;
              }
View Full Code Here

            if(iS.nextSIPUSH(200)!= null){
              if(iS.nextBIPUSH(50)!= null){
                iS = new InstructionSearcher2(cg, m, il);
                FieldInstruction fi = iS.nextGETSTATIC();
                data.addField("PlayerCount", fi.getClassName(cpg)+'.'+fi.getFieldName(cpg));
                fi = iS.nextGETSTATIC();
                data.addField("PlayerIndexArray", fi.getClassName(cpg)+'.'+fi.getFieldName(cpg));
                return SearchResult.Success;
              }
            }
          }
View Full Code Here

                return SearchResult.Success;
            }
          }
          iS = new InstructionSearcher2(cg, m, il);
          if(iS.nextSIPUSH(5015) != null){
            FieldInstruction fi = iS.nextGETSTATIC();
            if(fi != null && (fi.getClassName(cpg)+'.'+fi.getFieldName(cpg)).equals(myplayer.path)){
              fi = iS.nextGETFIELD();
              if(fi != null && fi.getType(cpg).equals(Type.STRING)){
                player.addField("GetName", fi.getFieldName(cpg));
                count++;
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.