if (radioButton2.Checked == true)
{
byte[] waypoint = new byte[8];
CCAPI.GetMemory(WaypointOffsetEU, waypoint);
byte[] WaypointUsed = new byte[waypoint.Length + WaypointBytes.Length];
System.Buffer.BlockCopy(waypoint, 0, WaypointUsed, 0, waypoint.Length);
System.Buffer.BlockCopy(WaypointBytes, 0, WaypointUsed, waypoint.Length, WaypointBytes.Length);
byte[] A1 = CCAPI.GetBytes(PlayerOffsetEU, 4);
Array.Reverse(A1);
uint A2 = BitConverter.ToUInt32(A1, 0);
uint A3 = A2 + 0x1C;
byte[] A4 = CCAPI.GetBytes(A3, 4);
Array.Reverse(A4);
uint A5 = BitConverter.ToUInt32(A4, 0);
uint Address = A5 + 0x40;
CCAPI.SetMemory(Address, WaypointUsed);
}