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

Hi, how can you get the point address #2

Open
af913337456 opened this issue Nov 17, 2023 · 0 comments
Open

Hi, how can you get the point address #2

af913337456 opened this issue Nov 17, 2023 · 0 comments

Comments

@af913337456
Copy link

af913337456 commented Nov 17, 2023

        // Create a hook for OnDisplayUpdate(). // Calculator.exe+2BBC8 - 48 89 5C 24 08        - mov [rsp+08],rbx
	err = gominhook.CreateHook(GetHookPoint(0x2BBC8), uintptr(C.OnDisplayUpdate), uintptr(unsafe.Pointer(&fpDisplayUpdate)))
	if err != nil {
		outputdebug.String(err.Error())
		log.Fatalln(err)
	}

	// Create a hook for OnNumberUpdate(). // Calculator.exe+2BC94 - 48 89 5C 24 08        - mov [rsp+08],rbx
	err = gominhook.CreateHook(GetHookPoint(0x2BC94), uintptr(C.OnNumberUpdate), uintptr(unsafe.Pointer(&fpNumberUpdate)))
	if err != nil {
		outputdebug.String(err.Error())
		log.Fatalln(err)
	}

0x2BBC8 and the 0x2BC94

@NaniteFactory

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

No branches or pull requests

1 participant