Red Dead Redemption 2 Memory Code

  • Hello Guest! Welcome to ConsoleCrunch, to help support our site check out the premium upgrades HERE! to get exclusive access to our hidden content.
  • Unable to load portions of the website...
    If you use an ad blocker addon, you should disable it because it interferes with several elements of the site and blocks more than just adverts.
  • Read Rules Before Posting Post Virus Scans with every program.

RockstarDev

New Member
Mar 23, 2020
1
1
1
Edinburgh

RED%2BDEAD%2BREDEMPTION%2B2.jpg






[hide-reply][/hide-reply]
[hide-reply]
static uintptr_t find_signature(const char* module, const char* pattern_, const char* mask) {
const auto compare = [](const uint8_t * data, const uint8_t * pattern, const char* mask_) {
for (; *mask_; ++mask_, ++data, ++pattern)
if (*mask_ == 'x' && *data != *pattern)
return false;

return (*mask_) == 0;
};


MODULEINFO module_info = {};
GetModuleInformation(GetCurrentProcess(), GetModuleHandleA(module), &module_info, sizeof MODULEINFO);

auto module_start = uintptr_t(module_info.lpBaseOfDll);
const uint8_t* pattern = reinterpret_cast<const uint8_t*>(pattern_);
for (size_t i = 0; i < module_info.SizeOfImage; i++)
if (compare(reinterpret_cast<uint8_t*>(module_start + i), pattern, mask))
return module_start + i;

return 0;
[/hide-reply]


------------------------------------------------------------​
 
  • Like
Reactions: Douglas Oliveira
RED%2BDEAD%2BREDEMPTION%2B2.jpg






***Hidden content cannot be quoted.***
***Hidden content cannot be quoted.***


------------------------------------------------------------​
Thanks bro,nice.
 
RED%2BDEAD%2BREDEMPTION%2B2.jpg






***Hidden content cannot be quoted.***
***Hidden content cannot be quoted.***


-----------------thrhrthrh-------------------------------------------​
RED%2BDEAD%2BREDEMPTION%2B2.jpg






***Hidden content cannot be quoted.***
***Hidden content cannot be quoted.***


------------------------------------------------------------​
bvcbvcbcvbvcvbb
 
General chit-chat
Help Users
      Chat Bot: sschknn is our newest member. Welcome!