예제 #1
0
파일: d.cs 프로젝트: lieblingek/CSharp
 internal static bool b(MemoryReader A_0)
 {
     pwnagebot.LotroInterface.c c = pwnagebot.LotroInterface.d.c(A_0);
     if (c == null || c.a == 0)
     {
         return(false);
     }
     pwnagebot.LotroInterface.d.a(c.a, 0, 0);
     return(true);
 }
예제 #2
0
파일: d.cs 프로젝트: lieblingek/CSharp
        private static ArrayList a(pwnagebot.LotroInterface.c A_0, int A_1, int A_2, int A_3, int A_4)
        {
            ArrayList arrayList = new ArrayList();

            foreach (pwnagebot.LotroInterface.c c in A_0.f)
            {
                if (c.b == A_1 && c.c == A_2 && (c.d == A_3 && c.e == A_4))
                {
                    arrayList.Add((object)c);
                }
            }
            return(arrayList);
        }
예제 #3
0
파일: d.cs 프로젝트: lieblingek/CSharp
 private static pwnagebot.LotroInterface.c b(MemoryReader A_0, int A_1)
 {
     pwnagebot.LotroInterface.c c = new pwnagebot.LotroInterface.c();
     if (A_1 == 0)
     {
         return(c);
     }
     Console.WriteLine(string.Format("Getting gui element at 0x{0:x8}", (object)A_1));
     c.a = A_1;
     c.b = A_0.ReadDWORD(A_1 + 528);
     c.c = A_0.ReadDWORD(A_1 + 532);
     c.d = A_0.ReadDWORD(A_1 + 156);
     c.e = A_0.ReadDWORD(A_1 + 160);
     return(c);
 }
예제 #4
0
파일: d.cs 프로젝트: lieblingek/CSharp
        private static pwnagebot.LotroInterface.c a(MemoryReader A_0, int A_1)
        {
            pwnagebot.LotroInterface.c c = new pwnagebot.LotroInterface.c();
            if (A_1 == 0)
            {
                return(c);
            }
            Console.WriteLine(string.Format("Getting gui element at 0x{0:x8}", (object)A_1));
            c.a = A_1;
            c.b = A_0.ReadDWORD(A_1 + 528);
            c.c = A_0.ReadDWORD(A_1 + 532);
            c.d = A_0.ReadDWORD(A_1 + 156);
            c.e = A_0.ReadDWORD(A_1 + 160);
            int num1 = A_0.ReadDWORD(A_1 + 612);
            int num2 = A_0.ReadDWORD(A_1 + 620);

            if (num1 != 0 && num2 > 0 && num2 < 200)
            {
                for (int index1 = 0; index1 < num2; ++index1)
                {
                    int A_1_1 = A_0.ReadDWORD(num1 + index1 * 4) - 32;
                    if (A_1_1 != 0 && A_1_1 % 4 == 0 && A_1_1 > 16777216)
                    {
                        Console.WriteLine(string.Format("Child at 0x{0:x8}", (object)A_1_1));
                        c.f.Add((object)pwnagebot.LotroInterface.d.a(A_0, A_1_1));
                        for (int address = A_0.ReadDWORD(A_1_1 + 40); address != 0; address = A_0.ReadDWORD(address))
                        {
                            Console.WriteLine(string.Format("Backptr at 0x{0:x8}", (object)(address - 40)));
                            c.f.Add((object)pwnagebot.LotroInterface.d.a(A_0, address - 40));
                        }
                        for (int index2 = A_0.ReadDWORD(A_1_1 + 44); index2 != 0; index2 = A_0.ReadDWORD(index2 + 4))
                        {
                            Console.WriteLine(string.Format("Fwdptr at 0x{0:x8}", (object)(index2 - 40)));
                            c.f.Add((object)pwnagebot.LotroInterface.d.a(A_0, index2 - 40));
                        }
                        break;
                    }
                }
            }
            return(c);
        }
예제 #5
0
파일: d.cs 프로젝트: lieblingek/CSharp
        private static void b(MemoryReader A_0, pwnagebot.LotroInterface.c A_1)
        {
            int a = A_1.a;

            if (a == 0)
            {
                return;
            }
            int num1 = A_0.ReadDWORD(a + 612);
            int num2 = A_0.ReadDWORD(a + 620);

            if (num1 == 0 || num2 <= 0 || num2 >= 200)
            {
                return;
            }
            for (int index1 = 0; index1 < num2; ++index1)
            {
                int A_1_1 = A_0.ReadDWORD(num1 + index1 * 4) - 32;
                if (A_1_1 != 0 && A_1_1 % 4 == 0 && A_1_1 > 16777216)
                {
                    Console.WriteLine(string.Format("Child at 0x{0:x8}", (object)A_1_1));
                    A_1.f.Add((object)pwnagebot.LotroInterface.d.b(A_0, A_1_1));
                    for (int address = A_0.ReadDWORD(A_1_1 + 40); address != 0; address = A_0.ReadDWORD(address))
                    {
                        Console.WriteLine(string.Format("Backptr at 0x{0:x8}", (object)(address - 40)));
                        A_1.f.Add((object)pwnagebot.LotroInterface.d.b(A_0, address - 40));
                    }
                    for (int index2 = A_0.ReadDWORD(A_1_1 + 44); index2 != 0; index2 = A_0.ReadDWORD(index2 + 4))
                    {
                        Console.WriteLine(string.Format("Fwdptr at 0x{0:x8}", (object)(index2 - 40)));
                        A_1.f.Add((object)pwnagebot.LotroInterface.d.b(A_0, index2 - 40));
                    }
                    break;
                }
            }
        }
예제 #6
0
파일: d.cs 프로젝트: lieblingek/CSharp
 internal static ulong a(MemoryReader A_0, pwnagebot.LotroInterface.c A_1)
 {
     return(A_0.ReadLong(A_1.a + 1168));
 }