Examples of nextSIPUSH()


Examples of smart.updater.InstructionSearcher2.nextSIPUSH()

      if(c.getValue().getClassName().equals("client")){
        ClassGen cg = new ClassGen(c.getValue().getJavaClass());
        ConstantPoolGen cpg = cg.getConstantPool();
        for(Method m : cg.getMethods()){
          InstructionSearcher2 iS = new InstructionSearcher2(cg, m);
          if(iS.nextSIPUSH(1500)!= null){
            FieldInstruction fi = iS.previousFieldInstruction();
            data.addField("LoopCycle", fi.getClassName(cpg)+'.'+fi.getFieldName(cpg));
            return SearchResult.Success;
          }
        }
View Full Code Here

Examples of smart.updater.InstructionSearcher2.nextSIPUSH()

          MethodGen mg = new MethodGen(m, cg.getClassName(), cpg);
          InstructionList il = mg.getInstructionList();
          if(il == null)
            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

Examples of smart.updater.InstructionSearcher2.nextSIPUSH()

            MethodGen mg = new MethodGen(m, cg.getClassName(), cpg);
            InstructionList il = mg.getInstructionList();
            if(il == null)
              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();
View Full Code Here

Examples of smart.updater.InstructionSearcher2.nextSIPUSH()

            mS.getTypeCount(player.className) == 1){
          InstructionList il = mg.getInstructionList();
          if(il == null)
            continue;
          InstructionSearcher2 iS = new InstructionSearcher2(cg, m, il);
          if(iS.nextSIPUSH(-300) != null){
            FieldInstruction fi = iS.previousGETSTATIC();
            if(fi != null && (fi.getClassName(cpg)+'.'+fi.getFieldName(cpg)).equals(loopcycle.path)){
              fi = iS.nextPUTFIELD();
              if(fi != null && fi.getClassName(cpg).equals(character.className)){
                character.addField("LoopCycleStatus", fi.getFieldName(cpg));
View Full Code Here

Examples of smart.updater.InstructionSearcher2.nextSIPUSH()

          MethodGen mg = new MethodGen(m, cg.getClassName(), cpg);
          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++;
View Full Code Here

Examples of smart.updater.InstructionSearcher2.nextSIPUSH()

              if(count==2)
                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));
View Full Code Here

Examples of smart.updater.InstructionSearcher2.nextSIPUSH()

          MethodGen mg = new MethodGen(m, cg.getClassName(), cpg);
          InstructionList il = mg.getInstructionList();
          if(il == null)
            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));
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.