Files
SatyandClaude Opus 5.5 ecfd0b8373 x64 anti-cheat entry points: InitTokenSeed, CHECK_FOR_BOTS, GatherAdditionalChecks, AdditionalCheck1Scan, LoadEncryptedModule
Win64 only, behave as 12340 does when its checks find nothing or the x86 payload is rejected (docs/0x0086C3C0.md).

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
2026-10-04 09:27:28 +02:00

71 lines
1.8 KiB
C++

#include <intrin.h>
#include <cstdint>
#include "Engine/Source/Os/OsLibrary.h"
#include "Engine/Source/Os/System.h"
#include "Engine/Source/Base/CDataStore.h"
#include "WoW/Source/Client.h"
#include "WoW/Source/Net/Types.h"
#include "WoW/Source/WowSvcs/WowSvcsClient/AccountData.h"
#include "WoW/Source/WowSvcs/WowSvcsClient/FriendList.h"
// OFFSET: 0x004046C0
void AdditionalCheck1() {
if (!s_botCheckEnabled || s_botCheckDelay <= 0 || s_botCheckDelay > 420) {
return;
}
if (_InterlockedCompareExchange(&s_additionalCheckArmed, 0, 1) != 1) {
return;
}
AdditionalCheckInterface iface;
iface.m_memAlloc = Client_MemAlloc;
iface.m_memFree = Client_MemFree;
iface.m_loadLibrary = OsLoadLibrary;
iface.m_getLibraryEntryPoint = OsGetLibraryEntryPoint;
iface.m_freeLibrary = OsFreeLibrary;
uint8_t detected = 0;
__try {
if (*reinterpret_cast<const uint8_t*>(&OsValidateFunctionPointer) == 0xE9) {
return;
}
detected = AdditionalCheck1Scan(&iface, 0);
} __except (1) {
}
if (detected) {
SendBotDetected2(CMSG_BOT_DETECTED2, 0x60231D69);
}
}
// OFFSET: 0x004042C0
void InitTokenSeed(const uint8_t* key) {
}
// OFFSET: 0x006B9670
int32_t Packet_SMSG_CHECK_FOR_BOTS(void* param, NETMESSAGE msgId, uint32_t time, CDataStore* msg) {
uint8_t key[16];
msg->GetArray(key, sizeof(key));
return 1;
}
// OFFSET: 0x0086C3C0
int32_t GatherAdditionalChecks(uint8_t* check1, uint8_t* check2, uint8_t* check3) {
*check1 = 0;
*check2 = 0;
*check3 = 0;
return 0;
}
uint8_t AdditionalCheck1Scan(const AdditionalCheckInterface* iface, int32_t a2) {
return 0;
}
// OFFSET: 0x009C56E0
void LoadEncryptedModule(const uint8_t* key, uint32_t length, void (*callback)()) {
}