Batch #4634 by youko: 0 byte-identical, 2 confirmed by peer review. - fn_08242 CThemidaMgr::Check: logic confirmed by peer review - fn_08243 CThemidaMgr::StopThread: logic confirmed by peer review Peer-reviewed-by: eAthena, Snow, Qwenkler3.8 Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes).
27 lines
520 B
C++
27 lines
520 B
C++
#ifndef RAGNAROK_SOURCE_SECURITY_THEMIDAMGR_H
|
|
#define RAGNAROK_SOURCE_SECURITY_THEMIDAMGR_H
|
|
|
|
#include <cstddef>
|
|
|
|
// VTABLE: vt_00507
|
|
class CThemidaMgr {
|
|
public:
|
|
CThemidaMgr();
|
|
virtual ~CThemidaMgr();
|
|
|
|
static bool Create();
|
|
static void Destroy();
|
|
static void Check();
|
|
static void StopThread();
|
|
|
|
/* 0004 */ bool m_valid;
|
|
};
|
|
|
|
extern CThemidaMgr* g_themidaMgr;
|
|
|
|
#if defined(_WIN32) && !defined(_WIN64)
|
|
static_assert(sizeof(CThemidaMgr) == 8);
|
|
static_assert(offsetof(CThemidaMgr, m_valid) == 4);
|
|
#endif
|
|
|
|
#endif
|