C ++ Method for Delphi

-2

Hello, good morning, everyone.

Please, I would like to know what the C ++ method would look like below in Delphi.

Follows:

bool hook(void* old_function, void* new_function)
{
  return eat_hook(old_function, new_function) && iat_hook(old_function, new_function);
}
    
asked by anonymous 18.02.2016 / 13:20

1 answer

1
function hook(old_function: Pointer; new_function: Pointer): Boolean;
begin
   Result := eat_hook(old_function, new_function) and iat_hook(old_function, new_function);
end;
    
18.02.2016 / 20:26