int32_t write_process(uint64_t ea, const void * data, uint32_t size)
{
// 905 = sys_call number
//sys_process_getpid() = pid
// ea = offset
// size = lenght of the bytes
//data = bytes
system_call_4(905, (uint64_t)sys_process_getpid(), ea, size, (uint64_t)data);
return_to_user_prog(int32_t);
}
uint32_t bytes[1]; // uint32_t = Uint32[]
bytes[0] = 0x38C0FFFF; // bytes for red boxes = 0x38,0xC0,0xFF,0xFF
write_process(0x000834D0, &bytes, 4); // first argutment = offset │ second are the variable │ thiird the
//lenght of the bytes so 0x38 will be 1 and 0x0F0F will be 2
int32_t write_process(uint64_t ea, const void * data, uint32_t size)
{
// 905 = sys_call number
//sys_process_getpid() = pid
// ea = offset
// size = lenght of the bytes
//data = bytes
system_call_4(905, (uint64_t)sys_process_getpid(), ea, size, (uint64_t)data);
return_to_user_prog(int32_t);
}
uint32_t bytes[1]; // uint32_t = Uint32[]
bytes[0] = 0x38C0FFFF; // bytes for red boxes = 0x38,0xC0,0xFF,0xFF
write_process(0x000834D0, &bytes, 4); // first argutment = offset │ second are the variable │ thiird the
//lenght of the bytes so 0x38 will be 1 and 0x0F0F will be 2
*(int*)0x000834D0 = 0x38C0FFFF;
int32_t write_process(uint64_t ea, const void * data, uint32_t size)
{
// 905 = sys_call number
//sys_process_getpid() = pid
// ea = offset
// size = lenght of the bytes
//data = bytes
system_call_4(905, (uint64_t)sys_process_getpid(), ea, size, (uint64_t)data);
return_to_user_prog(int32_t);
}
uint32_t bytes[1]; // uint32_t = Uint32[]
bytes[0] = 0x38C0FFFF; // bytes for red boxes = 0x38,0xC0,0xFF,0xFF
write_process(0x000834D0, &bytes, 4); // first argutment = offset │ second are the variable │ thiird the
//lenght of the bytes so 0x38 will be 1 and 0x0F0F will be 2
int32_t write_process(uint64_t ea, const void * data, uint32_t size)
{
// 905 = sys_call number
//sys_process_getpid() = pid
// ea = offset
// size = lenght of the bytes
//data = bytes
system_call_4(905, (uint64_t)sys_process_getpid(), ea, size, (uint64_t)data);
return_to_user_prog(int32_t);
}
uint32_t bytes[1]; // uint32_t = Uint32[]
bytes[0] = 0x38C0FFFF; // bytes for red boxes = 0x38,0xC0,0xFF,0xFF
write_process(0x000834D0, &bytes, 4); // first argutment = offset │ second are the variable │ thiird the
//lenght of the bytes so 0x38 will be 1 and 0x0F0F will be 2
char bytes[] = { 0x38, 0x60, 0x00, 0x01 };
write_process(0x783E0, &bytes, 4);
char bytes[] = { 0x38, 0x60, 0x00, 0x01 };
write_process(0x783E0, &bytes, 4);
Copyright © 2024, NextGenUpdate.
All Rights Reserved.