Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New Kick, Features, and More #210

Merged
merged 2 commits into from
Sep 8, 2024
Merged

New Kick, Features, and More #210

merged 2 commits into from
Sep 8, 2024

Conversation

Rxann
Copy link
Contributor

@Rxann Rxann commented Sep 8, 2024

New Kick - ICE Kick
Logger Improvements
Color Commands
Node and Vtable Hooks
Improved Protections
Enhancements, Improvements, and Various Refactors

Copy link

github-actions bot commented Sep 8, 2024

Download the artifacts for this pull request:

@Rxann Rxann merged commit f98fec8 into YimMenu:master Sep 8, 2024
1 check passed
@Rxann Rxann deleted the merge branch September 8, 2024 22:01
@AAA-ALR
Copy link
Contributor

AAA-ALR commented Sep 9, 2024

void Protections::DecideConnectionMethod(void* _this, void* a2)
{
	static BytePatch Patch(Pointers.DecideConnectionMethodJmp, std::vector<BYTE>{0xE9, 0x83, 0x00, 0x00, 0x00, 0x90});
	if (Features::_UseRelayConnections.GetState())
	{
		*Pointers.DecideConnectionMethodDefVal = 3;
		Patch.Apply();
	}
	BaseHook::Get<Protections::DecideConnectionMethod, DetourHook<decltype(&Protections::DecideConnectionMethod)>>()->Original()(_this, a2);
	if (Features::_UseRelayConnections.GetState())
	{
		Patch.Restore();
		*Pointers.DecideConnectionMethodDefVal = 1;
	}
}

I feel like this is better

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants