Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion src/game/backend/AnticheatBypass.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,8 @@ namespace YimMenu

if (!m_FSLProvidesBEBypass && !m_BattlEyeRunning)
{
Pointers.BattlEyeStatusUpdatePatch->Apply();
// this is integrity checked now
//Pointers.BattlEyeStatusUpdatePatch->Apply();

#if RESTORE_DESTROYED_FUNCTIONS
uintptr_t base = ModuleMgr.Get("GTA5_Enhanced.exe"_J)->Base();
Expand Down
4 changes: 2 additions & 2 deletions src/game/backend/Tunables.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -199,12 +199,12 @@ namespace YimMenu
bool Tunable::IsReady()
{
if (m_Global)
return true;
return m_Global->CanAccess();

m_Global = Tunables::GetTunable(m_Hash);

if (m_Global)
return true;
return m_Global->CanAccess();

return false;
}
Expand Down
2 changes: 1 addition & 1 deletion src/game/gta/ScriptGlobal.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ namespace YimMenu

bool ScriptGlobal::CanAccess() const
{
return Pointers.ScriptGlobals && (m_Index >> 0x12 & 0x3F) < 0x40 && Pointers.ScriptGlobals[m_Index >> 0x12 & 0x3F];
return Pointers.ScriptGlobals && Pointers.ScriptGlobals[m_Index >> 0x12 & 0x3F];
}
}
6 changes: 5 additions & 1 deletion src/types/anticheat/CAnticheatContext.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,9 @@ struct CAnticheatContext
bool m_IsDebugMode;
volatile __int32 m_CurrentScanIndex;
std::uint64_t qwordA98;
std::uint64_t m_Timer;
char byteAA8[24];
char byteAC0[24];
char gapAD8[8];
};
static_assert(sizeof(CAnticheatContext) == 0xAA0);
static_assert(sizeof(CAnticheatContext) == 0xAE0);
Loading