Package smart.updater

Examples of smart.updater.InstructionSearcher2.nextGETFIELD()


                        while(iS.nextFieldInstruction() != null){
                          fi = (FieldInstruction)iS.current();
                          if((fi instanceof GETFIELD) && (fi.getClassName(cpg)+'.'+fi.getFieldName(cpg)).equals(character.className+'.'+anim)){
                            count++;
                            if(count==2){
                              while(iS.nextGETFIELD() != null){
                                GETFIELD gf = ((GETFIELD)iS.current());
                                if(gf.getClassName(cpg).equals(character.className)){
                                  character.addField("Motion", gf.getFieldName(cpg));
                                  return SearchResult.Success;
                                }
View Full Code Here


          InstructionList il = mg.getInstructionList();
          if(il == null)
            continue;
          InstructionSearcher2 iS = new InstructionSearcher2(cg, m, il);
          if(iS.nextSIPUSH(3326) != null){
            FieldInstruction fi = iS.nextGETFIELD();
            FieldInstruction tester = iS.previousGETSTATIC();
            if((tester.getClassName(cpg)+'.'+tester.getFieldName(cpg)).equals(myplayer.path)){
              player.addField("GetLevel", fi.getFieldName(cpg));
              count++;
              if(count==2)
View Full Code Here

          }
          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++;
                if(count==2)
                  return SearchResult.Success;
View Full Code Here

            continue;
          InstructionSearcher2 iS = new InstructionSearcher2(cg, m, il);
          if(iS.nextSIPUSH(255) != null){
            FieldInstruction fi = iS.previousGETFIELD();
            if(fi != null && fi.getClassName(cpg).equals(character.className)){
              fi = iS.nextGETFIELD();
              if(fi != null && fi.getClassName(cpg).equals(character.className)){
                character.addField("HPRatio", fi.getFieldName(cpg));
                return SearchResult.Success;
              }
            }
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.