From 3f59781bd8d3d36b8728ef7abd0f323311185974 Mon Sep 17 00:00:00 2001 From: Ash Logan Date: Wed, 24 Jul 2024 19:13:43 +1000 Subject: [PATCH] feat(spotpass): Force BOSS policy list refresh on each boot hours in ghidra for a single line of code --- src/main.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/main.cpp b/src/main.cpp index 417e9a3..5e2e4b7 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -177,6 +177,10 @@ INITIALIZE_PLUGIN() { for (const auto &patch: url_patches) { write_string(patch.address, patch.url); } + + // IOS-NIM-BOSS GlobalPolicyList->state: poking this forces a refresh after we changed the url + Mocha_IOSUKernelWrite32(0xE24B3D90, 4); + DEBUG_FUNCTION_LINE_VERBOSE("Pretendo URL and NoSSL patches applied successfully."); ShowNotification(get_pretendo_message());