Исходник Resolver styles (old)

Забаненный
Статус
Оффлайн
Регистрация
18 Июл 2017
Сообщения
258
Реакции[?]
66
Поинты[?]
0
Обратите внимание, пользователь заблокирован на форуме. Не рекомендуется проводить сделки.
Некоторые люди просили найти resolver styles.
Собственно вот:
int __cdecl PitchResolve1(int viewangles, unsigned __int8 swap)
{
int result; // eax@1

result = swap;
if ( swap )
*(_DWORD *)(viewangles + 12) = -89;
else
*(_DWORD *)(viewangles + 12) = 89;
return result;
}

int __usercall YawResolve1@<eax>(int esi0@<esi>, int viewangles)
{
int result; // eax@1
int v3; // [sp+0h] [bp-4h]@1

v3 = rand() % 40 + 160;
result = __readfsdword(44);
if ( dword_100AFD0C > *(_DWORD *)(*(_DWORD *)(result + 4 * TlsIndex) + 4) )
{
result = sub_10086EEE(&dword_100AFD0C);
if ( dword_100AFD0C == -1 )
{
dword_100AFD10 = *(_DWORD *)(viewangles + 16);
result = sub_10086EAF(esi0, &dword_100AFD0C);
}
}
*(float *)&dword_100AFD10 = (float)v3 + *(float *)&dword_100AFD10;
*(_DWORD *)(viewangles + 16) = dword_100AFD10;
return result;
}

int __cdecl YawResolve2(int viewangles)
{
int result; // eax@1

result = (unsigned __int8)sub_10004CA0((int)&ResolverState);
if ( (_BYTE)result )
{
result = (unsigned __int8)byte_100AA52C;
if ( byte_100AA52C )
{
result = viewangles;
*(float *)(viewangles + 16) = *(float *)(viewangles + 16) + 90.0;
}
else
{
*(float *)(viewangles + 16) = *(float *)(viewangles + 16) - 90.0;
}
}
else if ( ++dword_100AFAA8 == 1 )
{
byte_100AA52C = 0;
result = viewangles;
*(float *)(viewangles + 16) = *(float *)(viewangles + 16) - 90.0;
}
else
{
byte_100AA52C = 1;
*(float *)(viewangles + 16) = *(float *)(viewangles + 16) + 90.0;
dword_100AFAA8 = 0;
}
return result;
}

int __cdecl YawResolve3(int viewangles)
{
int result; // eax@1

result = (unsigned __int8)sub_10004CA0((int)&ResolverState);
if ( (_BYTE)result )
{
result = (unsigned __int8)byte_100AA52C;
if ( byte_100AA52C )
{
result = viewangles;
*(float *)(viewangles + 16) = *(float *)(viewangles + 16) - 90.0;
}
else
{
*(float *)(viewangles + 16) = *(float *)(viewangles + 16) - 180.0;
}
}
else if ( ++dword_100AFAB4 == 1 )
{
byte_100AA52C = 0;
result = viewangles;
*(float *)(viewangles + 16) = *(float *)(viewangles + 16) - 180.0;
}
else
{
byte_100AA52C = 1;
*(float *)(viewangles + 16) = *(float *)(viewangles + 16) - 90.0;
dword_100AFAB4 = 0;
}
return result;
}

4th resolver = *(float *)(viewangles + 16) = *(float *)(viewangles + 16) + 180.0; (lmao)

int __cdecl YawResolve5(int viewangles)
{
int v1; // eax@1
int result; // eax@1
signed __int64 v3; // rtt@1
float v4; // xmm0_4@4
float v5; // xmm0_4@6
signed int v6; // [sp+8h] [bp-4h]@1

v1 = rand();
v3 = v1;
result = v1 / 100;
v6 = v3 % 100;
if ( v6 < 98 )
{
result = viewangles;
*(float *)(viewangles + 16) = *(float *)(viewangles + 16) - 180.0;
}
if ( v6 < 15 )
{
v4 = *(float *)(viewangles + 16) + (float)(rand() % 141 - 70);
result = viewangles;
*(float *)(viewangles + 16) = v4;
}
if ( v6 == 69 )
{
v5 = *(float *)(viewangles + 16) + (float)(rand() % 181 - 90);
result = viewangles;
*(float *)(viewangles + 16) = v5;
}
return result;
}

char __cdecl YawResolve6(int viewangles)
{
char result; // al@1

*(float *)(viewangles + 16) = *(float *)(viewangles + 16) - 91.0;
result = byte_100AFA99 == 0;
byte_100AFA99 = result;
if ( result )
{
result = viewangles;
*(float *)(viewangles + 16) = *(float *)(viewangles + 16) - 180.0;
}
return result;
}

int __cdecl YawResolve7(int viewangles)
{
int result; // eax@1

result = (unsigned __int8)sub_10004CA0((int)&ResolverState);
if ( (_BYTE)result )
{
result = (unsigned __int8)byte_100AA52C;
if ( byte_100AA52C )
{
result = viewangles;
*(float *)(viewangles + 16) = *(float *)(viewangles + 16) + 0.0;
}
else
{
*(float *)(viewangles + 16) = *(float *)(viewangles + 16) + 180.0;
}
}
else if ( ++dword_100AFAB8 == 1 )
{
byte_100AA52C = 0;
result = viewangles;
*(float *)(viewangles + 16) = *(float *)(viewangles + 16) + 180.0;
}
else
{
byte_100AA52C = 1;
*(float *)(viewangles + 16) = *(float *)(viewangles + 16) + 0.0;
dword_100AFAB8 = 0;
}
return result;
}

void __usercall YawResolve8(int a1@<esi>, int viewangles)
{
double v2; // [sp+0h] [bp-Ch]@4

if ( dword_100AFD14 > *(_DWORD *)(*(_DWORD *)(__readfsdword(44) + 4 * TlsIndex) + 4) )
{
sub_10086EEE(&dword_100AFD14);
if ( dword_100AFD14 == -1 )
{
dword_100AFD04 = clock();
sub_10086EAF(a1, &dword_100AFD14);
}
}
v2 = (double)(clock() - dword_100AFD04) / 1000.0;
if ( sub_10004CA0((int)&ResolverState) )
{
if ( byte_100AA52C )
{
if ( byte_100A8EBD )
*(float *)(viewangles + 16) = *(float *)(viewangles + 16) - 90.0;
else
*(float *)(viewangles + 16) = *(float *)(viewangles + 16) + 90.0;
}
else
{
*(float *)(viewangles + 16) = *(float *)(viewangles + 16) - 180.0;
}
}
else if ( ++dword_100AFAAC == 1 )
{
byte_100AA52C = 0;
*(float *)(viewangles + 16) = *(float *)(viewangles + 16) - 180.0;
}
else
{
byte_100AA52C = 1;
if ( byte_100A8EBD )
*(float *)(viewangles + 16) = *(float *)(viewangles + 16) - 90.0;
else
*(float *)(viewangles + 16) = *(float *)(viewangles + 16) + 90.0;
dword_100AFAAC = 0;
}
if ( v2 >= 0.35 )
{
byte_100A8EBD = byte_100A8EBD == 0;
dword_100AFD04 = clock();
}
}

bool __cdecl YawResolve9(int viewangles)
{
bool result; // al@4

if ( sub_10004CA0((int)&ResolverState) )
{
if ( byte_100AA52C )
{
if ( byte_100AFD00 )
*(float *)(viewangles + 16) = *(float *)(viewangles + 16) - 226.0;
else
*(float *)(viewangles + 16) = *(float *)(viewangles + 16) - 134.0;
result = byte_100AFD00 == 0;
byte_100AFD00 = byte_100AFD00 == 0;
}
else
{
if ( byte_100AFD01 )
{
result = viewangles;
*(float *)(viewangles + 16) = *(float *)(viewangles + 16) - 134.0;
}
else
{
result = viewangles;
*(float *)(viewangles + 16) = *(float *)(viewangles + 16) - 226.0;
}
byte_100AFD01 = byte_100AFD01 == 0;
}
}
else if ( ++dword_100AFABC == 1 )
{
byte_100AA52C = 0;
if ( byte_100AFD09 )
{
result = viewangles;
*(float *)(viewangles + 16) = *(float *)(viewangles + 16) - 134.0;
}
else
{
result = viewangles;
*(float *)(viewangles + 16) = *(float *)(viewangles + 16) - 226.0;
}
byte_100AFD09 = byte_100AFD09 == 0;
}
else
{
byte_100AA52C = 1;
if ( byte_100AFD08 )
*(float *)(viewangles + 16) = *(float *)(viewangles + 16) - 226.0;
else
*(float *)(viewangles + 16) = *(float *)(viewangles + 16) - 134.0;
result = byte_100AFD08 == 0;
byte_100AFD08 = byte_100AFD08 == 0;
dword_100AFABC = 0;
}
return result;
 
The voices are getting louder
Участник
Статус
Оффлайн
Регистрация
19 Янв 2017
Сообщения
417
Реакции[?]
344
Поинты[?]
26K
Собственно ты знаешь что это псевдокод, и больше половины пользователей не поймут что для чего?
 
Забаненный
Статус
Оффлайн
Регистрация
18 Июл 2017
Сообщения
258
Реакции[?]
66
Поинты[?]
0
Обратите внимание, пользователь заблокирован на форуме. Не рекомендуется проводить сделки.
desolver.dev
Участник
Статус
Оффлайн
Регистрация
21 Май 2017
Сообщения
465
Реакции[?]
397
Поинты[?]
1K
Некоторые люди просили найти resolver styles.
Собственно вот:
int __cdecl PitchResolve1(int viewangles, unsigned __int8 swap)
{
int result; // eax@1

result = swap;
if ( swap )
*(_DWORD *)(viewangles + 12) = -89;
else
*(_DWORD *)(viewangles + 12) = 89;
return result;
}

int __usercall YawResolve1@<eax>(int esi0@<esi>, int viewangles)
{
int result; // eax@1
int v3; // [sp+0h] [bp-4h]@1

v3 = rand() % 40 + 160;
result = __readfsdword(44);
if ( dword_100AFD0C > *(_DWORD *)(*(_DWORD *)(result + 4 * TlsIndex) + 4) )
{
result = sub_10086EEE(&dword_100AFD0C);
if ( dword_100AFD0C == -1 )
{
dword_100AFD10 = *(_DWORD *)(viewangles + 16);
result = sub_10086EAF(esi0, &dword_100AFD0C);
}
}
*(float *)&dword_100AFD10 = (float)v3 + *(float *)&dword_100AFD10;
*(_DWORD *)(viewangles + 16) = dword_100AFD10;
return result;
}

int __cdecl YawResolve2(int viewangles)
{
int result; // eax@1

result = (unsigned __int8)sub_10004CA0((int)&ResolverState);
if ( (_BYTE)result )
{
result = (unsigned __int8)byte_100AA52C;
if ( byte_100AA52C )
{
result = viewangles;
*(float *)(viewangles + 16) = *(float *)(viewangles + 16) + 90.0;
}
else
{
*(float *)(viewangles + 16) = *(float *)(viewangles + 16) - 90.0;
}
}
else if ( ++dword_100AFAA8 == 1 )
{
byte_100AA52C = 0;
result = viewangles;
*(float *)(viewangles + 16) = *(float *)(viewangles + 16) - 90.0;
}
else
{
byte_100AA52C = 1;
*(float *)(viewangles + 16) = *(float *)(viewangles + 16) + 90.0;
dword_100AFAA8 = 0;
}
return result;
}

int __cdecl YawResolve3(int viewangles)
{
int result; // eax@1

result = (unsigned __int8)sub_10004CA0((int)&ResolverState);
if ( (_BYTE)result )
{
result = (unsigned __int8)byte_100AA52C;
if ( byte_100AA52C )
{
result = viewangles;
*(float *)(viewangles + 16) = *(float *)(viewangles + 16) - 90.0;
}
else
{
*(float *)(viewangles + 16) = *(float *)(viewangles + 16) - 180.0;
}
}
else if ( ++dword_100AFAB4 == 1 )
{
byte_100AA52C = 0;
result = viewangles;
*(float *)(viewangles + 16) = *(float *)(viewangles + 16) - 180.0;
}
else
{
byte_100AA52C = 1;
*(float *)(viewangles + 16) = *(float *)(viewangles + 16) - 90.0;
dword_100AFAB4 = 0;
}
return result;
}

4th resolver = *(float *)(viewangles + 16) = *(float *)(viewangles + 16) + 180.0; (lmao)

int __cdecl YawResolve5(int viewangles)
{
int v1; // eax@1
int result; // eax@1
signed __int64 v3; // rtt@1
float v4; // xmm0_4@4
float v5; // xmm0_4@6
signed int v6; // [sp+8h] [bp-4h]@1

v1 = rand();
v3 = v1;
result = v1 / 100;
v6 = v3 % 100;
if ( v6 < 98 )
{
result = viewangles;
*(float *)(viewangles + 16) = *(float *)(viewangles + 16) - 180.0;
}
if ( v6 < 15 )
{
v4 = *(float *)(viewangles + 16) + (float)(rand() % 141 - 70);
result = viewangles;
*(float *)(viewangles + 16) = v4;
}
if ( v6 == 69 )
{
v5 = *(float *)(viewangles + 16) + (float)(rand() % 181 - 90);
result = viewangles;
*(float *)(viewangles + 16) = v5;
}
return result;
}

char __cdecl YawResolve6(int viewangles)
{
char result; // al@1

*(float *)(viewangles + 16) = *(float *)(viewangles + 16) - 91.0;
result = byte_100AFA99 == 0;
byte_100AFA99 = result;
if ( result )
{
result = viewangles;
*(float *)(viewangles + 16) = *(float *)(viewangles + 16) - 180.0;
}
return result;
}

int __cdecl YawResolve7(int viewangles)
{
int result; // eax@1

result = (unsigned __int8)sub_10004CA0((int)&ResolverState);
if ( (_BYTE)result )
{
result = (unsigned __int8)byte_100AA52C;
if ( byte_100AA52C )
{
result = viewangles;
*(float *)(viewangles + 16) = *(float *)(viewangles + 16) + 0.0;
}
else
{
*(float *)(viewangles + 16) = *(float *)(viewangles + 16) + 180.0;
}
}
else if ( ++dword_100AFAB8 == 1 )
{
byte_100AA52C = 0;
result = viewangles;
*(float *)(viewangles + 16) = *(float *)(viewangles + 16) + 180.0;
}
else
{
byte_100AA52C = 1;
*(float *)(viewangles + 16) = *(float *)(viewangles + 16) + 0.0;
dword_100AFAB8 = 0;
}
return result;
}

void __usercall YawResolve8(int a1@<esi>, int viewangles)
{
double v2; // [sp+0h] [bp-Ch]@4

if ( dword_100AFD14 > *(_DWORD *)(*(_DWORD *)(__readfsdword(44) + 4 * TlsIndex) + 4) )
{
sub_10086EEE(&dword_100AFD14);
if ( dword_100AFD14 == -1 )
{
dword_100AFD04 = clock();
sub_10086EAF(a1, &dword_100AFD14);
}
}
v2 = (double)(clock() - dword_100AFD04) / 1000.0;
if ( sub_10004CA0((int)&ResolverState) )
{
if ( byte_100AA52C )
{
if ( byte_100A8EBD )
*(float *)(viewangles + 16) = *(float *)(viewangles + 16) - 90.0;
else
*(float *)(viewangles + 16) = *(float *)(viewangles + 16) + 90.0;
}
else
{
*(float *)(viewangles + 16) = *(float *)(viewangles + 16) - 180.0;
}
}
else if ( ++dword_100AFAAC == 1 )
{
byte_100AA52C = 0;
*(float *)(viewangles + 16) = *(float *)(viewangles + 16) - 180.0;
}
else
{
byte_100AA52C = 1;
if ( byte_100A8EBD )
*(float *)(viewangles + 16) = *(float *)(viewangles + 16) - 90.0;
else
*(float *)(viewangles + 16) = *(float *)(viewangles + 16) + 90.0;
dword_100AFAAC = 0;
}
if ( v2 >= 0.35 )
{
byte_100A8EBD = byte_100A8EBD == 0;
dword_100AFD04 = clock();
}
}

bool __cdecl YawResolve9(int viewangles)
{
bool result; // al@4

if ( sub_10004CA0((int)&ResolverState) )
{
if ( byte_100AA52C )
{
if ( byte_100AFD00 )
*(float *)(viewangles + 16) = *(float *)(viewangles + 16) - 226.0;
else
*(float *)(viewangles + 16) = *(float *)(viewangles + 16) - 134.0;
result = byte_100AFD00 == 0;
byte_100AFD00 = byte_100AFD00 == 0;
}
else
{
if ( byte_100AFD01 )
{
result = viewangles;
*(float *)(viewangles + 16) = *(float *)(viewangles + 16) - 134.0;
}
else
{
result = viewangles;
*(float *)(viewangles + 16) = *(float *)(viewangles + 16) - 226.0;
}
byte_100AFD01 = byte_100AFD01 == 0;
}
}
else if ( ++dword_100AFABC == 1 )
{
byte_100AA52C = 0;
if ( byte_100AFD09 )
{
result = viewangles;
*(float *)(viewangles + 16) = *(float *)(viewangles + 16) - 134.0;
}
else
{
result = viewangles;
*(float *)(viewangles + 16) = *(float *)(viewangles + 16) - 226.0;
}
byte_100AFD09 = byte_100AFD09 == 0;
}
else
{
byte_100AA52C = 1;
if ( byte_100AFD08 )
*(float *)(viewangles + 16) = *(float *)(viewangles + 16) - 226.0;
else
*(float *)(viewangles + 16) = *(float *)(viewangles + 16) - 134.0;
result = byte_100AFD08 == 0;
byte_100AFD08 = byte_100AFD08 == 0;
dword_100AFABC = 0;
}
return result;
Я не знаю кем надо быть,чтобы переписать это под свой сдк.Мне кажется проще ав сделать чем это...
 
GDPR_Anonymous
Пользователь
Статус
Оффлайн
Регистрация
17 Фев 2017
Сообщения
362
Реакции[?]
133
Поинты[?]
0
Я не знаю кем надо быть,чтобы переписать это под свой сдк.Мне кажется проще ав сделать чем это...
мем, кто тебя заставляет переписывать ор, углы у видел где какие и пишишь свой резольвер на основе этих углов, если на то пошло.
 
Забаненный
Статус
Оффлайн
Регистрация
12 Фев 2017
Сообщения
61
Реакции[?]
46
Поинты[?]
0
Обратите внимание, пользователь заблокирован на форуме. Не рекомендуется проводить сделки.
1:1 with aimwares.
 
Сверху Снизу