From d8bc5bcd5de31062a38c422e6de151fabffd6315 Mon Sep 17 00:00:00 2001 From: TheFloW Date: Wed, 3 Oct 2018 11:54:34 +0200 Subject: [PATCH] Added offsets for 3.69 --- modules/kernel/main.c | 9 +++++++++ modules/patch/main.c | 5 +++++ 2 files changed, 14 insertions(+) diff --git a/modules/kernel/main.c b/modules/kernel/main.c index cdc0ed7..a380120 100644 --- a/modules/kernel/main.c +++ b/modules/kernel/main.c @@ -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; } diff --git a/modules/patch/main.c b/modules/patch/main.c index 5206510..a2edb31 100644 --- a/modules/patch/main.c +++ b/modules/patch/main.c @@ -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;