Cześć. Próbuję poprawić zapis kodu ale nic nie przychodzi mi do głowy. Pierwszy sposób działa ale wygląda strasznie, drugi nie działa. Program odczytuje wartość z końcowego adresu.
DWORD *FirtPointer = reinterpret_cast<DWORD*>(ProcessBaseAddress + 0x109B74);
DWORD *SecondPointer = reinterpret_cast<DWORD*>(*FirtPointer + 0x374);
DWORD *ThirdPointer = reinterpret_cast<DWORD*>(*SecondPointer + 0x14);
DWORD *FourthPointer = reinterpret_cast<DWORD*>(*ThirdPointer + 0x0);
std::cout << *FourthPointer << std::endl;
Ma ktoś jakiś pomysł jak to lepiej zapisać?