Compare commits

..

No commits in common. "master" and "2.3.0" have entirely different histories.

2 changed files with 5 additions and 4 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"))] #[cfg(all(not(feature = "enable-sdk"), not(feature = "only-sig-bypass"), feature = "regular"))]
disable_sdk: DisableSdkConfiguration { disable_sdk: DisableSdkConfiguration {
sdk_dll: s!("KRSDKEx.dll"), sdk_dll: s!("KRSDKEx.dll"),
eula_accept: 0x4F410, eula_accept: 0x4ED80, // TODO:
sdk_go_away: 0x93620, sdk_go_away: 0x93620,
}, },
}; };

View file

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