Vector GetViewAngles() {
using fn = std::int64_t(__fastcall*)(CCSGOInput*, std::int32_t);
static fn x = (fn)MEM::FindPattern(L"client.dll", "4C 8B C1 85 D2 74 08 48 8D 05 ? ? ? ? C3");
return *(Vector*)x(this, 0);
}
void SetViewAngles(Vector angles) {
using fn = std::int64_t(__fastcall*)(CCSGOInput*, std::int32_t, Vector*);
static fn x = (fn)MEM::FindPattern(L"client.dll", "85 D2 75 ? 48 63 81");
x(this, 0, &angles);
}