Package smart.updater

Examples of smart.updater.InstructionSearcher.nextGETSTATIC()


                mS.getTypeCount("int")>= 3 && mS.hasField(menuOpCount.path)) {
                if(iS.nextFieldInstructionOf(menuOpCount.path)!=null){
                  FieldInstruction i = null;
                  i = (FieldInstruction)iS.prevGETSTATIC();
                  data.addField("MenuOpen", i.getClassName(cpg)+'.'+i.getFieldName(cpg));
                  iS.nextGETSTATIC();
                }
                if(iS.nextFieldInstructionOf(menuOpCount.path) != null){
                  FieldInstruction i = null;
                  i = (FieldInstruction)iS.prevGETSTATIC();
                  data.addField("MenuNodeList", i.getClassName(cpg)+'.'+i.getFieldName(cpg));
View Full Code Here


            Iterator e = f.search("INVOKEVIRTUAL CHECKCAST GETFIELD ASTORE ALOAD GETFIELD IFEQ");
            if(e.hasNext()){
              InstructionHandle[] handles = (InstructionHandle[]) e.next();
              String getHits = ((GETFIELD) handles[5].getInstruction()).getFieldName(cpg);
              InstructionSearcher iS = new InstructionSearcher(il, cpg);
              iS.nextGETSTATIC();
              iS.nextGETSTATIC();
              String npcIndexArray = ((GETSTATIC)iS.current()).getClassName(cpg)+'.'+((GETSTATIC)iS.current()).getFieldName(cpg);
              data.addField("NPCIndexArray", npcIndexArray);
              RSClass character = data.getProperClass("Character");
              character.addField("GetHitDamges", getHits);
View Full Code Here

            if(e.hasNext()){
              InstructionHandle[] handles = (InstructionHandle[]) e.next();
              String getHits = ((GETFIELD) handles[5].getInstruction()).getFieldName(cpg);
              InstructionSearcher iS = new InstructionSearcher(il, cpg);
              iS.nextGETSTATIC();
              iS.nextGETSTATIC();
              String npcIndexArray = ((GETSTATIC)iS.current()).getClassName(cpg)+'.'+((GETSTATIC)iS.current()).getFieldName(cpg);
              data.addField("NPCIndexArray", npcIndexArray);
              RSClass character = data.getProperClass("Character");
              character.addField("GetHitDamges", getHits);
              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.