// IDA SIG -> "40 55 53 56 57 41 55 48 8D AC 24 ? ? ? ? 48 81 EC ? ? ? ? 48 63 DA" void* hkCVar_GetBool(CConCommandMemberAccessor* cmd, int default_value) { static auto original = hooks::cvar_get_value_hk.get_original<void*(*)(CConCommandMemberAccessor*, int)>(); static auto camera_think_return = reinterpret_cast<void*>(Utils->PatternScan("client.dll", "48 85 C0 75 0B 48 8B 05 ? ? ? ? 48 8B 40 08 44 38 38 75 3B")); static bool fake_true_cvar = true; if (camera_think_return == _ReturnAddress()) // skip sv_cheats check in thirdperson return &fake_true_cvar; return original(cmd, default_value); }