namespace function {
uintptr_t AddressFunct = reinterpret_cast<std::uintptr_t>(GetModuleHandle(TEXT("GameAssembly.dll")))+ 0x506640;
using printf_t = Vector3(*)(int camera, Vector3 pos, int* ptr); //параметры
}
unsigned int __stdcall startup(void* hModule)
{
const auto Funct = reinterpret_cast <function::printf_t>(function::AddressFunct);
Vector3 fucpos = Funct(0x143b1420,{0,0,0},nullptr); //передача параметров + вызов и изи
std::cout << fucpos.x << std::endl << fucpos.y << std::endl << fucpos.z << std::endl;
printf("Inject....");
return 0;
}