-
Автор темы
- #1
Обратите внимание, пользователь заблокирован на форуме. Не рекомендуется проводить сделки.
Код:
void __thiscall resolve(float *this)
{
int v1; // eax
int v2; // eax
int v3; // [esp+Ch] [ebp-4Ch]
int v4; // [esp+10h] [ebp-48h]
float v5; // [esp+14h] [ebp-44h]
int v6; // [esp+18h] [ebp-40h]
float v7; // [esp+1Ch] [ebp-3Ch]
float v8; // [esp+24h] [ebp-34h]
int v9; // [esp+2Ch] [ebp-2Ch]
float v10; // [esp+30h] [ebp-28h]
int v11; // [esp+34h] [ebp-24h]
float v12; // [esp+3Ch] [ebp-1Ch]
float v13; // [esp+40h] [ebp-18h]
int v14; // [esp+44h] [ebp-14h]
float v15; // [esp+48h] [ebp-10h]
float v16; // [esp+4Ch] [ebp-Ch]
float v17; // [esp+50h] [ebp-8h]
float v18; // [esp+50h] [ebp-8h]
float v19; // [esp+50h] [ebp-8h]
v1 = sub_355EC8A0(&dword_35B8AFA8);
if ( (unsigned __int8)sub_3576DD30(v1) && sub_3576B5B0(*(_DWORD **)this) )
{
v12 = *(float *)sub_355F0150(*(_DWORD *)this);
v13 = sub_3576EFE0(*(_DWORD *)this);
if ( v13 > v12 )
v13 = v12;
v6 = sub_3576EAC0(*(_DWORD *)this);
v2 = sub_355EF560(*(_DWORD *)this);
v5 = sub_355EF470(v2);
if ( (*(_DWORD *)sub_355EF4B0(*(_DWORD *)this) & 1) != 0 && v5 > 0.1 )
{
if ( *(float *)(*((_DWORD *)this + 736) + 208) == 0.0
&& *(float *)(*((_DWORD *)this + 736) + 220) == 0.0
&& *(float *)(*((_DWORD *)this + 736) + 376) == 0.0 )
{
v4 = *((_DWORD *)this + 6);
v3 = *((_DWORD *)sub_355EFFF0(*(char **)this) + 1);
v18 = sub_35775600(v3, v4);
if ( (float)(2 * (v18 <= 0.0) - 1) <= 0.0 )
v11 = 1;
else
v11 = -1;
v14 = v11;
}
else if ( (float)(*(float *)(*((_DWORD *)this + 736) + 712) * 10000.0) == 0.0
&& (float)(*(float *)(*((_DWORD *)this + 736) + 376) * 10000.0) == (float)(int)(float)(*(float *)(*((_DWORD *)this + 736) + 376)
* 10000.0) )
{
v16 = sub_355EFCB0(this[284] - *(float *)(*((_DWORD *)this + 736) + 384));
v15 = sub_355EFCB0(this[466] - *(float *)(*((_DWORD *)this + 736) + 384));
v10 = sub_355EFCB0(this[648] - *(float *)(*((_DWORD *)this + 736) + 384));
if ( (float)(v16 * 10000.0) != (float)(v15 * 10000.0) )
{
v19 = v16 < v17 ? v15 : v16;
if ( (float)(v19 * 1000.0) == 0.0 || (float)(v16 * 10000.0) != (float)(v15 * 10000.0) )
{
if ( v19 == v15 )
{
v14 = -1;
}
else if ( v19 == v10 )
{
v14 = 1;
}
}
}
}
if ( dword_35B8B188[(*(int (__thiscall **)(int))(*(_DWORD *)(*(_DWORD *)this + 8) + 40))(*(_DWORD *)this + 8)] > 1 )
{
v9 = dword_35B8B188[(*(int (__thiscall **)(int))(*(_DWORD *)(*(_DWORD *)this + 8) + 40))(*(_DWORD *)this + 8)]
% 5;
if ( v9 )
{
if ( v9 == 1 )
{
if ( v14 )
v7 = *((float *)sub_355EFFF0(*(char **)this) + 1) + 30.0;
else
v7 = *((float *)sub_355EFFF0(*(char **)this) + 1) - 30.0;
*(float *)(v6 + 128) = sub_35775690(v7);
}
}
else
{
if ( v14 )
v8 = *((float *)sub_355EFFF0(*(char **)this) + 1) + v13;
else
v8 = *((float *)sub_355EFFF0(*(char **)this) + 1) - v13;
*(float *)(v6 + 128) = sub_35775690(v8);
}
}
}
}
}
Код:
_DWORD *__stdcall sub_3561AFB0(int a1)
{
_DWORD *result; // eax
result = (_DWORD *)sub_355F5530(0);
if ( *result )
{
result = (_DWORD *)*(__int16 *)sub_355F6CA0(dword_35B8E648);
if ( result == (_DWORD *)64 )
{
byte_35B8E6C0 = 0;
}
else
{
result = (_DWORD *)sub_3561AE50(0);
if ( (_BYTE)result )
{
if ( byte_35B8E6A8 )
{
byte_35B8E6C0 = 0;
}
else
{
result = (_DWORD *)(unsigned __int8)byte_35B8B02C;
if ( byte_35B8B02C )
{
dword_35B8E6C4 = *(_DWORD *)(*(_DWORD *)(*(_DWORD *)(dword_35BF7004 + 108) + 156) + 44);
byte_35B8E6C0 = 1;
if ( ++dword_35B8E6C4 > 14 )
{
dword_35B8E6C4 = 0;
byte_35B8E6C0 = 0;
}
result = (_DWORD *)(unsigned __int8)byte_35B8E6C0;
if ( byte_35B8E6C0 )
{
result = *(_DWORD **)(*(_DWORD *)(dword_35BF7004 + 108) + 156);
result[11] = dword_35B8E6C4;
}
dword_35B8E698 = dword_35B8E6C4;
}
else
{
byte_35B8E6C0 = 0;
}
}
}
else
{
byte_35B8E6C0 = 0;
}
}
}
else
{
byte_35B8E6C0 = 0;
}
return result;
}
Код:
bool __userpurge sub_3562AD70@<al>(int a1@<ecx>, int a2@<ebp>, _DWORD *a3)
{
bool result; // al
int v4; // eax
int v5; // eax
float *v6; // eax
float *v7; // eax
float *v8; // eax
int v9; // eax
int v10; // eax
int v11; // eax
int v12; // eax
float v13; // xmm0_4
float v14; // xmm0_4
_DWORD v15[23]; // [esp+64h] [ebp-1BCh] BYREF
int v16; // [esp+C0h] [ebp-160h] BYREF
int v17; // [esp+CCh] [ebp-154h] BYREF
int v18; // [esp+D8h] [ebp-148h] BYREF
int v19; // [esp+E4h] [ebp-13Ch] BYREF
int v20; // [esp+F0h] [ebp-130h] BYREF
int v21; // [esp+FCh] [ebp-124h] BYREF
int v22; // [esp+108h] [ebp-118h] BYREF
int v23; // [esp+114h] [ebp-10Ch] BYREF
int v24; // [esp+120h] [ebp-100h] BYREF
_BYTE v25[12]; // [esp+12Ch] [ebp-F4h] BYREF
_BYTE v26[20]; // [esp+138h] [ebp-E8h] BYREF
double v27; // [esp+14Ch] [ebp-D4h]
_BYTE v28[12]; // [esp+158h] [ebp-C8h] BYREF
_BYTE v29[12]; // [esp+164h] [ebp-BCh] BYREF
_BYTE v30[12]; // [esp+170h] [ebp-B0h] BYREF
_BYTE v31[12]; // [esp+17Ch] [ebp-A4h] BYREF
_BYTE v32[12]; // [esp+188h] [ebp-98h] BYREF
void (__thiscall *v33)(int, int, int, int, _DWORD *); // [esp+194h] [ebp-8Ch]
int v34; // [esp+198h] [ebp-88h]
int v35; // [esp+19Ch] [ebp-84h]
int v36; // [esp+1A0h] [ebp-80h]
int v37; // [esp+1A4h] [ebp-7Ch]
int v38; // [esp+1A8h] [ebp-78h]
float v39; // [esp+1ACh] [ebp-74h]
float v40; // [esp+1B0h] [ebp-70h]
float v41; // [esp+1B4h] [ebp-6Ch]
int v42; // [esp+1B8h] [ebp-68h]
int v43; // [esp+1BCh] [ebp-64h]
int v44; // [esp+1C0h] [ebp-60h]
float v45; // [esp+1C4h] [ebp-5Ch]
int (__thiscall *v46)(int, const char *); // [esp+1C8h] [ebp-58h]
int v47; // [esp+1CCh] [ebp-54h]
int (__thiscall *v48)(int, const char *); // [esp+1D0h] [ebp-50h]
int v49; // [esp+1D4h] [ebp-4Ch]
float v50; // [esp+1D8h] [ebp-48h]
unsigned int v51; // [esp+1E0h] [ebp-40h]
unsigned int v52; // [esp+1E4h] [ebp-3Ch]
float v53; // [esp+1E8h] [ebp-38h]
int v54; // [esp+1ECh] [ebp-34h]
int v55; // [esp+1F0h] [ebp-30h]
_Mtx_t v56; // [esp+1F4h] [ebp-2Ch]
int v57; // [esp+1F8h] [ebp-28h]
unsigned int i; // [esp+1FCh] [ebp-24h]
int v59; // [esp+200h] [ebp-20h]
int *v60; // [esp+204h] [ebp-1Ch]
struct _EXCEPTION_REGISTRATION_RECORD *v61; // [esp+208h] [ebp-18h]
char *v62; // [esp+20Ch] [ebp-14h]
int v63; // [esp+210h] [ebp-10h]
int v64; // [esp+214h] [ebp-Ch]
int v65; // [esp+218h] [ebp-8h]
int v66; // [esp+21Ch] [ebp-4h] BYREF
int retaddr; // [esp+220h] [ebp+0h]
v64 = a2;
v65 = retaddr;
v63 = -1;
v62 = byte_3584818D;
v61 = NtCurrentTeb()->NtTib.ExceptionList;
v60 = &v66;
v57 = a1;
sub_3562AB10();
v55 = sub_3576B800(dword_35B8E648);
if ( v55 )
{
v54 = hitchance[18 * dword_35B8B070];
v4 = sub_355EC310(&v24, v57 + 16);
v50 = sub_355EC1D0(v4);
if ( v50 <= *(float *)(v55 + 268) )
{
if ( dword_35BF910C > *(_DWORD *)(*((_DWORD *)NtCurrentTeb()->ThreadLocalStoragePointer + TlsIndex) + 4) )
{
_Init_thread_header(&dword_35BF910C);
if ( dword_35BF910C == -1 )
{
v63 = 0;
v49 = *(_DWORD *)(dword_35BF7004 + 24);
v48 = *(int (__thiscall **)(int, const char *))(**(_DWORD **)(dword_35BF7004 + 24) + 68);
dword_35BF9114 = v48(v49, "weapon_accuracy_nospread");
v63 = -1;
_Init_thread_footer(&dword_35BF910C);
}
}
if ( (unsigned __int8)sub_35621AF0(dword_35BF9114) )
{
*a3 = 0x7FFFFFFF;
result = 1;
}
else
{
v41 = sub_3576B860(dword_35B8E648);
if ( dword_35BF9120 > *(_DWORD *)(*((_DWORD *)NtCurrentTeb()->ThreadLocalStoragePointer + TlsIndex) + 4) )
{
_Init_thread_header(&dword_35BF9120);
if ( dword_35BF9120 == -1 )
{
v63 = 1;
v47 = *(_DWORD *)(dword_35BF7004 + 24);
v46 = *(int (__thiscall **)(int, const char *))(**(_DWORD **)(dword_35BF7004 + 24) + 68);
dword_35BF913C = v46(v47, "weapon_recoil_scale");
v63 = -1;
_Init_thread_footer(&dword_35BF9120);
}
}
v42 = sub_35775990(&v23, &unk_35B8B314, v57 + 16);
v5 = sub_355EC8A0(&dword_35B8AFA8);
v44 = sub_355F70C0(v5);
v45 = ((double (__thiscall *)(int))*(_DWORD *)(*(_DWORD *)dword_35BF913C + 48))(dword_35BF913C);
v43 = sub_355EC370(&v22, LODWORD(v45));
sub_355EC310(v25, v43);
sub_355EC040(0, 0, 0);
sub_355EC040(0, 0, 0);
sub_355EC040(0, 0, 0);
sub_35775C50(v25, v30, v31, v29);
sub_35776CA0(v30);
sub_35776CA0(v31);
sub_35776CA0(v29);
v59 = 0;
sub_355EC020(v28);
sub_355EC020(v26);
sub_355EC020(v32);
for ( i = 0; i < 0xFF; ++i )
{
v56 = (_Mtx_t)sub_35610500(i);
v6 = (float *)sub_3562D4A0(v56);
v53 = *v6 * v41;
v7 = (float *)unknown_libname_2(v56);
v40 = *v7 * v53;
v8 = (float *)_Mtx_getconcrtcs(v56);
v39 = *v8 * v53;
v9 = sub_355EC370(&v21, LODWORD(v40));
v37 = sub_355EC2B0(&v20, v9);
v38 = sub_355EC370(&v19, LODWORD(v39));
v10 = sub_355EC2B0(&v18, v38);
sub_355EC270(v10);
sub_3561AB30(v28);
sub_35775E60(v28);
sub_35775B80(v26, v32);
sub_3561AB30(v32);
v11 = sub_355EC370(&v17, *(_DWORD *)(v55 + 268));
v12 = sub_355EC2B0(&v16, v11);
sub_355EC270(v12);
sub_355EC6F0(v15);
v34 = *(_DWORD *)(dword_35BF7004 + 28);
v33 = *(void (__thiscall **)(int, int, int, int, _DWORD *))(**(_DWORD **)(dword_35BF7004 + 28) + 12);
v36 = **(_DWORD **)(v57 + 12);
v35 = sub_35624E40(&unk_35B8B314, v32);
v33(v34, v35, 1174421507, v36, v15);
if ( v15[19] == **(_DWORD **)(v57 + 12) )
++v59;
if ( (float)((float)((float)v59 / 255.0) * 100.0) >= (float)v54 )
{
*a3 = (int)(float)((float)((float)v59 / 255.0) * 100.0);
return 1;
}
v52 = v59 + 255 - i;
*(double *)&v26[12] = (double)v52;
v13 = (float)v52;
if ( (float)v54 > (float)((float)(v13 / 255.0) * 100.0) )
{
v51 = v59 + 255 - i;
v27 = (double)v51;
v14 = (float)v51;
*a3 = (int)(float)((float)(v14 / 255.0) * 100.0);
return 0;
}
}
*a3 = (int)(float)((float)((float)v59 / 255.0) * 100.0);
result = (float)((float)((float)v59 / 255.0) * 100.0) >= (float)v54;
}
}
else
{
*a3 = 0;
result = 1;
}
}
else
{
*a3 = 0;
result = 1;
}
return result;
}
Код:
int __cdecl cl_move(int a1, unsigned __int8 a2)
{
int v2; // eax
int result; // eax
int v4; // eax
int v5; // eax
int v6; // [esp+14h] [ebp-14h]
_DWORD *v7; // [esp+1Ch] [ebp-Ch]
_DWORD *v8; // [esp+20h] [ebp-8h]
int i; // [esp+24h] [ebp-4h]
if ( byte_35B8E6A8 && dword_35B8E6AC < dword_35B8E6B0 )
{
dword_35B8E68C = ++dword_35B8E6AC;
v2 = sub_355EC8A0(&dword_35B8AFA8);
v8 = (_DWORD *)sub_35623B40(v2);
++*v8;
*(_DWORD *)(unknown_libname_9(&unk_35B8AF60) + 8) = 0x7FFFFFFF;
v7 = (_DWORD *)(unknown_libname_9(&unk_35B8AF60) + 48);
*v7 &= 0xFFFFFFFE;
*(_DWORD *)(unknown_libname_9(&unk_35B8AF60) + 40) = 0;
*(_DWORD *)(unknown_libname_9(&unk_35B8AF60) + 36) = 0;
result = unknown_libname_9(&unk_35B8AF60);
*(_DWORD *)(result + 44) = 0;
if ( dword_35B8E6AC <= 0 )
{
v4 = sub_355EC8A0(&dword_35B8AFA8);
result = sub_35623B40(v4);
--*(_DWORD *)result;
}
}
else
{
dword_35B82B0C(a1, a2);
result = (unsigned __int8)sub_35774300(&unk_35B8AF60);
if ( (_BYTE)result )
{
v5 = sub_355EC8A0(&dword_35B8AFA8);
result = sub_3576DD30(v5);
if ( (_BYTE)result )
{
if ( byte_35B8E6B9 )
{
for ( i = 0; i < ticks_to_shift; ++i )
{
dword_35B82B0C(a1, a2);
result = i + 1;
}
ticks_to_shift = 0;
byte_35B8E6B9 = 0;
}
}
}
byte_35B8E6B8 = 1;
if ( dword_35B8E6AC >= dword_35B8E6B4 )
{
result = dword_35B8E6B4;
v6 = dword_35B8E6B4;
}
else
{
v6 = dword_35B8E6AC;
}
dword_35B8E6B4 = v6;
while ( dword_35B8E6B4 > 0 )
{
dword_35B82B0C(a1, a2);
--dword_35B8E6B4;
result = --dword_35B8E6AC;
}
byte_35B8E6B8 = 0;
}
return result;
}
желаю вам не иметь дела с легендтварью, идой и данной темой
Последнее редактирование: