Added offsets for 3.69

This commit is contained in:
TheFloW 2018-10-03 11:54:34 +02:00
parent ba2136cedb
commit d8bc5bcd5d
2 changed files with 14 additions and 0 deletions

View File

@ -156,6 +156,11 @@ int _shellKernelMountById(ShellMountIdArgs *args) {
module_get_offset(KERNEL_PID, tai_info.modid, 0, 0x2DE1, (uintptr_t *)&sceAppMgrFindProcessInfoByPid);
module_get_offset(KERNEL_PID, tai_info.modid, 0, 0x19E6D, (uintptr_t *)&sceAppMgrMountById);
break;
case 0x321E4852: // 3.69 retail
module_get_offset(KERNEL_PID, tai_info.modid, 0, 0x2DE9, (uintptr_t *)&sceAppMgrFindProcessInfoByPid);
module_get_offset(KERNEL_PID, tai_info.modid, 0, 0x19B85, (uintptr_t *)&sceAppMgrMountById);
break;
}
res = module_get_export_func(KERNEL_PID, "SceKernelModulemgr",
@ -264,6 +269,10 @@ int module_start(SceSize args, void *argp) {
module_get_offset(KERNEL_PID, info.modid, 0, 0x182F5, (uintptr_t *)&sceIoFindMountPoint);
break;
case 0xF16E72C7: // 3.69 retail
module_get_offset(KERNEL_PID, info.modid, 0, 0x18735, (uintptr_t *)&sceIoFindMountPoint);
break;
default:
return SCE_KERNEL_START_SUCCESS;
}

View File

@ -43,6 +43,11 @@ int module_start(SceSize args, void *argp) {
hooks[0] = taiInjectDataForKernel(KERNEL_PID, info.modid, 0, 0xB344, &nop_nop_opcode, 4);
hooks[1] = taiInjectDataForKernel(KERNEL_PID, info.modid, 0, 0xB374, &nop_nop_opcode, 2);
break;
case 0x321E4852: // 3.69 retail
hooks[0] = taiInjectDataForKernel(KERNEL_PID, info.modid, 0, 0xB34C, &nop_nop_opcode, 4);
hooks[1] = taiInjectDataForKernel(KERNEL_PID, info.modid, 0, 0xB37C, &nop_nop_opcode, 2);
break;
}
return SCE_KERNEL_START_SUCCESS;