Compare commits

...

1 commit

Author SHA1 Message Date
47c5c9d123 Fix eula accept (#5)
Reviewed-on: WutheringSlaves/wicked-waifus-win-patch#5
2025-04-04 13:10:47 +00:00
2 changed files with 4 additions and 5 deletions

View file

@ -73,7 +73,7 @@ pub(crate) const CONFIG: InjectConfiguration = InjectConfiguration {
#[cfg(all(not(feature = "enable-sdk"), not(feature = "only-sig-bypass"), feature = "regular"))]
disable_sdk: DisableSdkConfiguration {
sdk_dll: s!("KRSDKEx.dll"),
eula_accept: 0x4ED80, // TODO:
eula_accept: 0x4F410,
sdk_go_away: 0x93620,
},
};

View file

@ -72,10 +72,9 @@ pub(crate) fn configure_extras(interceptor: &mut interceptor_rs::Interceptor) {
}
};
// TODO: Not needed, temporarily disable it
// interceptor
// .replace((krsdk_ex.0 as usize) + CONFIG.disable_sdk.eula_accept, dummy, None)
// .unwrap();
interceptor
.replace((krsdk_ex.0 as usize) + CONFIG.disable_sdk.eula_accept, dummy, None)
.unwrap();
interceptor
.replace((krsdk_ex.0 as usize) + CONFIG.disable_sdk.sdk_go_away, dummy, None)