Skip to content

#23 DHookGetParamAddress + DHookParam.GetAddress#24

Merged
peace-maker merged 2 commits intopeace-maker:dynhooksfrom
Natanel-Shitrit:dynhooks
Jul 26, 2021
Merged

#23 DHookGetParamAddress + DHookParam.GetAddress#24
peace-maker merged 2 commits intopeace-maker:dynhooksfrom
Natanel-Shitrit:dynhooks

Conversation

@Natanel-Shitrit
Copy link

@Natanel-Shitrit Natanel-Shitrit commented Jul 25, 2021

Tested:

Address param_address = DHookGetParamAddress(hParams, 2);
PrintToChatAll("%d ?= %d", hParams.GetObjectVar(2, 8, ObjectValueType_Int), LoadFromAddress(param_address + view_as<Address>(8), NumberType_Int32));
// 2 ?= 2

Closes #23.

Copy link
Owner

@peace-maker peace-maker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for the fast PR! Just a few documentation nits

@Natanel-Shitrit
Copy link
Author

All resolved @peace-maker 😄

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.

Add Native to get parameter object ptr address.

2 participants