Examples of nextFieldInstruction()


Examples of smart.updater.InstructionSearcher.nextFieldInstruction()

                      }
                      InstructionList iList = gen.getInstructionList();
            InstructionSearcher iS = new InstructionSearcher(iList, cpg);
           
            if(iS.nextLDC("14)") != null){
              FieldInstruction fi = iS.nextFieldInstruction();
              data.addField("LoginIndex", fi.getClassName(cpg)+'.'+fi.getFieldName(cpg));
              return SearchResult.Success;
            }
                  }
              }
View Full Code Here

Examples of smart.updater.InstructionSearcher.nextFieldInstruction()

            FieldInstruction action;
            while(iS.next() != null){
              i = iS.current();
              if(i instanceof ALOAD){
                if(((ALOAD)i).getIndex() == 2){
                  option = iS.nextFieldInstruction();
                  menu.addField("Option", option.getFieldName(cpg));
                  found++;
                  if(found==2)
                    return SearchResult.Success;
                }
View Full Code Here

Examples of smart.updater.InstructionSearcher.nextFieldInstruction()

                  found++;
                  if(found==2)
                    return SearchResult.Success;
                }
                if(((ALOAD)i).getIndex() == 1){
                  option = iS.nextFieldInstruction();
                  menu.addField("Action", option.getFieldName(cpg));
                  found++;
                  if(found==2)
                    return SearchResult.Success;
                }
View Full Code Here

Examples of smart.updater.InstructionSearcher2.nextFieldInstruction()

          MethodGen mg = new MethodGen(m, cg.getClassName(), cpg);
          InstructionList il = mg.getInstructionList();
          if(il != null){
            InstructionSearcher2 iS = new InstructionSearcher2(cg, m, il);
            if(iS.nextLDC("gnp2 pos:") != null){
              FieldInstruction fi = iS.nextFieldInstruction();
              data.addField("NPCCount", fi.getClassName(cpg)+'.'+fi.getFieldName(cpg));
              return SearchResult.Success;
            }
          }
        }
View Full Code Here

Examples of smart.updater.InstructionSearcher2.nextFieldInstruction()

                    InstructionList il = gen.getInstructionList();
                    if (il == null) {
                        continue;
                    }
                    InstructionSearcher2 iS = new InstructionSearcher2(cg, m);
                    while(iS.nextFieldInstruction() != null){
                      FieldInstruction fi = (FieldInstruction)iS.current();
                      if(fi.getClassName(cpg).equals(character.className)){
                        String anim = fi.getFieldName(cpg);
                        character.addField("Animation", anim);
                        int count = 0;
View Full Code Here

Examples of smart.updater.InstructionSearcher2.nextFieldInstruction()

                      FieldInstruction fi = (FieldInstruction)iS.current();
                      if(fi.getClassName(cpg).equals(character.className)){
                        String anim = fi.getFieldName(cpg);
                        character.addField("Animation", anim);
                        int count = 0;
                        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){
View Full Code Here

Examples of smart.updater.InstructionSearcher2.nextFieldInstruction()

            continue;
          InstructionSearcher2 iS = new InstructionSearcher2(cg, m, il);
          if(iS.nextSIPUSH(2048) != null){
            ANEWARRAY na = iS.nextANEWARRAY();
            if(na != null && na.getLoadClassType(cpg).toString().equals(player.className)){
              FieldInstruction fi = iS.nextFieldInstruction();
              data.addField("GetPlayers", fi.getClassName(cpg)+'.'+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.