diff --git a/KIOUHook.h b/KIOUHook.h index 2c7343b..792c840 100644 --- a/KIOUHook.h +++ b/KIOUHook.h @@ -324,7 +324,7 @@ void KIOUInstallGrpcLoggingHook(uintptr_t unityBase); // CAVE_ENTRY (v1_0_1 and later v1_0_2) can call this once at // startup and be done. See Hook/AfkDisable.m for the // feature-flag-gated variant (KIOUEditorInstallAfkDisableHook). -void KIOUAfkDisableAlwaysFalseInstall(uintptr_t unityBase); +void KIOUInstallAfkSuppressHook(uintptr_t unityBase); // Drive BackToTitleSequence.RunAsync — called by consumer settings UIs after // the user confirms an account switch so KIOU re-runs AccountExists → Login diff --git a/KIOUHook.m b/KIOUHook.m index 6db57cc..b13749d 100644 --- a/KIOUHook.m +++ b/KIOUHook.m @@ -161,7 +161,7 @@ uintptr_t KIOUHookSiteAddr(const char *name, uintptr_t unityBase) { } // --------------------------------------------------------------------------- -// KIOUAfkDisableAlwaysFalseInstall — publishes an unconditional +// KIOUInstallAfkSuppressHook — publishes an unconditional // GameOrchestrator.IsAfkEnabled -> false stub into the AFK cave slot. // // This is the drop-in replacement for the retired @@ -178,7 +178,7 @@ static bool kiou_afk_always_false(void *self) { return false; } -void KIOUAfkDisableAlwaysFalseInstall(uintptr_t unityBase) { +void KIOUInstallAfkSuppressHook(uintptr_t unityBase) { #if IPA_CHINLAN // KIOUHookInstall is a no-op for slot publishing on chinlan (it just // returns the bypass entry for callers that need it), so we have to diff --git a/recipes/v1_0_2.py b/recipes/v1_0_2.py index f53627a..bb3c326 100644 --- a/recipes/v1_0_2.py +++ b/recipes/v1_0_2.py @@ -28,7 +28,7 @@ # below). The inline patch is retired so both 1.0.1 and 1.0.2 route AFK # through the same hook-body path. Consumers that want the historic # "always disabled" behaviour without wiring KIOUEditorFeatureEnabled -# can call KIOUAfkDisableAlwaysFalseInstall(unityBase) — see KIOUHook.h. +# can call KIOUInstallAfkSuppressHook(unityBase) — see KIOUHook.h. AFK_SITE = None AFK_ORIG_8 = ""