Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion KIOUHook.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions KIOUHook.m
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion recipes/v1_0_2.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 = ""

Expand Down
Loading