Examples of nextGETSTATIC()


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

Examples of smart.updater.InstructionSearcher.nextGETSTATIC()

            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

Examples of smart.updater.InstructionSearcher.nextGETSTATIC()

            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

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

Examples of smart.updater.InstructionSearcher2.nextGETSTATIC()

                    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

Examples of smart.updater.InstructionSearcher2.nextGETSTATIC()

              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

Examples of smart.updater.InstructionSearcher2.nextGETSTATIC()

            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

Examples of smart.updater.InstructionSearcher2.nextGETSTATIC()

                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.