public static String KeyBoard(String Title)
{
RPC.Call(0x026F5BC, 0, Title, "", 20, 0x72DCE8, 0x7239A0);
while (PS3.ReadInt32(0x73145C) != 0)
{
continue;
}
return PS3.ReadString(0x2380E22);
}
iPrintln(client, KeyBoard("Keyboard Test")); // Will print the texted input on-Screen
public static String KeyBoard(String Title)
{
RPC.Call(0x026F5BC, 0, Title, "", 20, 0x72DCE8, 0x7239A0);
while (PS3.ReadInt32(0x73145C) != 0)
{
continue;
}
return PS3.ReadString(0x2380E22);
}
iPrintln(client, KeyBoard("Keyboard Test")); // Will print the texted input on-Screen
public static String KeyBoard(String Title)
{
RPC.Call(0x026F5BC, 0, Title, "", 20, 0x72DCE8, 0x7239A0);
while (PS3.ReadInt32(0x73145C) != 0)
{
continue;
}
return PS3.ReadString(0x2380E22);
}
iPrintln(client, KeyBoard("Keyboard Test")); // Will print the texted input on-Screen
public static string ReadString(uint address)
{
int length = 40;
int num2 = 0;
string source = "";
do
{
byte[] memory = GetMemory(address + ((uint)num2), length);
source = source + Encoding.UTF8.GetString(memory);
num2 += length;
}
while (!source.Contains<char>('\0');
int index = source.IndexOf('\0';
string str2 = source.Substring(0, index);
source = string.Empty;
return str2;
}
public static byte[] GetMemory(uint offset, int length)
{
byte[] array = new byte[length];
DEX.GetMemory(offset, array);
return array;
}
public static int ReadInt32(uint address)
{
byte[] memory = GetMemory(address, 4);
Array.Reverse(memory, 0, 4);
return BitConverter.ToInt32(memory, 0);
}
Copyright © 2024, NextGenUpdate.
All Rights Reserved.