Compare commits
1 commit
Author | SHA1 | Date | |
---|---|---|---|
47c5c9d123 |
2 changed files with 4 additions and 5 deletions
|
@ -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: 0x4ED80, // TODO:
|
eula_accept: 0x4F410,
|
||||||
sdk_go_away: 0x93620,
|
sdk_go_away: 0x93620,
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
|
@ -72,10 +72,9 @@ pub(crate) fn configure_extras(interceptor: &mut interceptor_rs::Interceptor) {
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
// TODO: Not needed, temporarily disable it
|
interceptor
|
||||||
// interceptor
|
.replace((krsdk_ex.0 as usize) + CONFIG.disable_sdk.eula_accept, dummy, None)
|
||||||
// .replace((krsdk_ex.0 as usize) + CONFIG.disable_sdk.eula_accept, dummy, None)
|
.unwrap();
|
||||||
// .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)
|
||||||
|
|
Loading…
Reference in a new issue