Вывод IDA выглядит следующим образом:< /p>
Код: Выделить всё
bool sub_51C3CC()
{
int v0; // eax
_BYTE *v1; // rdx
v0 = 0;
v1 = *(_BYTE **)(*(_QWORD *)NtCurrentTeb()->ThreadLocalStoragePointer + 568i64);
...
Код: Выделить всё
#include
#include
bool AcademyWon()
{
int hasWon;
uint8_t *threadPointer;
hasWon = 0;
threadPointer = *(uint8_t **)(*(intptr_t *)NtCurrentTeb()->ThreadLocalStoragePointer + 568);
}
Код: Выделить всё
struct _TEB *
NtCurrentTeb (
VOID
)
{
return (struct _TEB *)__readgsqword(FIELD_OFFSET(NT_TIB, Self));
}
Подробнее здесь: https://stackoverflow.com/questions/785 ... efining-it
Мобильная версия