• Hello Guest! Welcome to ConsoleCrunch, to help support our site check out the premium upgrades HERE! to get exclusive access to our hidden content.
  • Unable to load portions of the website...
    If you use an ad blocker addon, you should disable it because it interferes with several elements of the site and blocks more than just adverts.
  • Read Rules Before Posting Post Virus Scans with every program.

PS3 Black ops 2 1.19 RPCs

☆★CHRISMODz69®☆★

Active Poster
Active Member
Founder! Me

using System;
using System.Threading;
namespace CHRISMODz69 Modding Tool 1.19
{
public class RPC
{
private static uint function_address;
public static int Call(uint func_address, params object[] parameters)
{
int num = parameters.Length;
int i = 0;
uint num2 = 0u;
uint num3 = 0u;
uint num4 = 0u;
uint num5 = 0u;
while (i < num)
{
if (parameters is int)
{
PS3.Extension.WriteInt32(268566528u + num2 * 4u, (int)parameters);
num2 += 1u;
}
else
{
if (parameters is uint)
{
PS3.Extension.WriteUInt32(268566528u + num2 * 4u, (uint)parameters);
num2 += 1u;
}
else
{
if (parameters is string)
{
uint num6 = 268574720u + num3 * 1024u;
PS3.Extension.WriteString(num6, Convert.ToString(parameters));
PS3.Extension.WriteUInt32(268566528u + num2 * 4u, num6);
num2 += 1u;
num3 += 1u;
}
else
{
if (parameters is float)
{
PS3.Extension.WriteFloat(268566564u + num4 * 4u, (float)parameters);
num4 += 1u;
}
else
{
if (parameters is float[])
{
float[] array = (float[])parameters;
uint num6 = 268570624u + num5 * 4u;
Lib.WriteSingle(num6, array);
PS3.Extension.WriteUInt32(268566528u + num2 * 4u, num6);
num2 += 1u;
num5 += (uint)array.Length;
}
}
}
}
}
i++;
}
PS3.Extension.WriteUInt32(268566604u, func_address);
Thread.Sleep(20);
return PS3.Extension.ReadInt32(268566608u);
}
public static void Enable()
{
PS3.SetMemory(RPC.function_address, new byte[]
{
78,
128,
0,
32
});
Thread.Sleep(20);
byte[] bytes = new byte[]
{
124,
8,
2,
166,
248,
1,
0,
128,
60,
96,
16,
2,
129,
131,
0,
76,
44,
12,
0,
0,
65,
130,
0,
100,
128,
131,
0,
4,
128,
163,
0,
8,
128,
195,
0,
12,
128,
227,
0,
16,
129,
3,
0,
20,
129,
35,
0,
24,
129,
67,
0,
28,
129,
99,
0,
32,
192,
35,
0,
36,
192,
67,
0,
40,
192,
99,
0,
44,
192,
131,
0,
48,
192,
163,
0,
52,
192,
195,
0,
56,
192,
227,
0,
60,
193,
3,
0,
64,
193,
35,
0,
72,
128,
99,
0,
0,
125,
137,
3,
166,
78,
128,
4,
33,
60,
128,
16,
2,
56,
160,
0,
0,
144,
164,
0,
76,
144,
100,
0,
80,
232,
1,
0,
128,
124,
8,
3,
166,
56,
33,
0,
112,
78,
128,
0,
32
};
PS3.SetMemory(RPC.function_address + 4u, bytes);
PS3.SetMemory(268566528u, new byte[10324]);
PS3.SetMemory(RPC.function_address, new byte[]
{
248,
33,
255,
145
});
}
public static int Init()
{
RPC.function_address = 8036432u;
RPC.Enable();
return 0;
}
}
}
 
General chit-chat
Help Users
      Chat Bot: diadiemluutru is our newest member. Welcome!
      Back
      Top