-
Автор темы
- #1
Обратите внимание, пользователь заблокирован на форуме. Не рекомендуется проводить сделки.
nice stafer made on meth u ?
brooooo get better at math stop stupid thigs
brooooo get better at math stop stupid thigs
Код:
v0 = g_iLocalPlayer;
v1 = (int (*)(void))Game::CallVFunction(g_pEngineClient, 12);
v2 = v1();
v3 = (int (__stdcall *)(int))EngineClient::GetClientEntity(v0, v2);
v5 = v3(v4);
Offsets::m_vecVelocity = Netvars::CBasePlayer::m_vecVelocity;
if...
m_flVelocityX = *(float *)(Offsets::m_vecVelocity + v5);
m_flVelocityY = *(float *)(Offsets::m_vecVelocity + v5 + 4);
m_flVelocityY = *(float *)(Offsets::m_vecVelocity + v5 + 4);
m_nCommand = 8 * (g_nCommand % 150);
m_pCmd = g_aVerifiedCmds[m_nCommand];
m_pCmd = (CVerifiedUsercmd *)&g_aVerifiedCmds[m_nCommand];
if ( m_pCmd && m_pCmd->cmd.command_number )
m_pCmd = (CVerifiedUsercmd *)&g_aVerifiedCmds[m_nCommand];
else
m_pCmd = 0;
if ( m_pCmd->cmd.vtable->buttons & 2
&& (sub_4A3201CF(v39, v41),
m_flVelocitySqr = (float)(m_flVelocityX * m_flVelocityX) + (float)(m_flVelocityY * m_flVelocityY),
m_flVelocitySqr >= 30.0) )
{
sub_4A3201AB();
v24 = (float)((float)(30.0 / m_flVelocitySqr) * 57.29578) * 0.5;
if ( static_normalize )
v15 = 180.0;
else
v15 = COERCE_FLOAT(COERCE_UNSIGNED_INT((float)((float)(30.0 / m_flVelocitySqr) * 57.29578) * 0.5) & movement::mask::absolute)
* (float)((float)((float)SLODWORD(dword_4A66C46C) / 100.0) + 1.0);
if ( !m_pCmd || !m_pCmd->cmd.command_number )
m_pCmd = 0;
v17 = m_pCmd->cmd.vtable;
if ( !m_pCmd || !m_pCmd->cmd.command_number )
m_pCmd = 0;
v44 = sub_4A21F6F0(v15, (int)&m_pCmd->cmd.viewangles.z, v17->buttons, v14);
std::atan(m_flVelocityY);
v18 = m_flVelocityY;
for ( i = *(float *)&v18 * 57.29578; i > 180.0; i = i - 360.0 )
;
for ( ; i < -180.0; i = i + 360.0 )
;
for ( j = v44; j > 180.0; j = j - 360.0 )
;
for ( ; j < -180.0; j = j + 360.0 )
;
for ( k = j - i; k > 180.0; k = k - 360.0 )
;
for ( ; k < -180.0; k = k + 360.0 )
;
if ( COERCE_FLOAT(LODWORD(k) & movement::mask::absolute) <= 1.0 )
{
m_pCmd = (CVerifiedUsercmd *)&g_aVerifiedCmds[8 * (g_nCommand % 150)];
if ( !m_pCmd->cmd.vtable || !m_pCmd->cmd.command_number )
m_pCmd = 0;
positive = ~LOBYTE(m_pCmd->cmd.vtable->command_number) & 1;
}
else
{
positive = k > 0.0;
}
if ( positive )
{
LODWORD(v24) ^= movement::mask::negative;
v25 = 450.0; // 450.f
}
else
{
v25 = -450.0; // -450.f
}
m_pCmd = (CVerifiedUsercmd *)&g_aVerifiedCmds[8 * (g_nCommand % 150)];
if ( !m_pCmd->cmd.vtable || !m_pCmd->cmd.command_number )
m_pCmd = 0;
m_pCmd->cmd.aimdirection.x = v44;
m_pCmd = (CVerifiedUsercmd *)&g_aVerifiedCmds[8 * (g_nCommand % 150)];
if ( !m_pCmd->cmd.vtable || !m_pCmd->cmd.command_number )
m_pCmd = 0;
m_pCmd->cmd.tick_count = 0;
m_pCmd = (CVerifiedUsercmd *)&g_aVerifiedCmds[8 * (g_nCommand % 150)];
if ( !m_pCmd->cmd.vtable || !m_pCmd->cmd.command_number )
m_pCmd = 0;
m_pCmd->cmd.viewangles.x = v25;
sub_4A3201B7(v40);
v45 = v24 * 0.017453292; // DEG2RAD( v24 )
sub_4A3201C9();
v45 = v24 * 0.017453292; // DEG2RAD( v24 )
m_pCmd = (CVerifiedUsercmd *)&g_aVerifiedCmds[8 * (g_nCommand % 150)];
m_pCmd = (CVerifiedUsercmd *)m_pCmd->cmd.vtable;
if ( m_pCmd->cmd.vtable && m_pCmd->cmd.command_number )
v32 = (CVerifiedUsercmd *)&g_aVerifiedCmds[8 * (g_nCommand % 150)];
else
v32 = 0;
if ( m_pCmd && m_pCmd->cmd.command_number )
m_pCmd = (CVerifiedUsercmd *)&g_aVerifiedCmds[8 * (g_nCommand % 150)];
else
m_pCmd = 0;
v34 = (float)(*(float *)&v32->cmd.tick_count * v45) - (float)(m_pCmd->cmd.viewangles.x * v45);
if ( m_pCmd && m_pCmd->cmd.command_number )
m_pCmd = (CVerifiedUsercmd *)&g_aVerifiedCmds[8 * (g_nCommand % 150)];
else
m_pCmd = 0;
if ( m_pCmd && m_pCmd->cmd.command_number )
m_pCmd = (CVerifiedUsercmd *)&g_aVerifiedCmds[8 * (g_nCommand % 150)];
else
m_pCmd = 0;
v37 = (float)(*(float *)&m_pCmd->cmd.tick_count * v45) - (float)(m_pCmd->cmd.viewangles.x * v45);
if ( !m_pCmd || !m_pCmd->cmd.command_number )
m_pCmd = 0;
*(float *)&m_pCmd->cmd.tick_count = v34;
m_pCmd = (CVerifiedUsercmd *)&g_aVerifiedCmds[8 * (g_nCommand % 150)];
if ( !m_pCmd->cmd.vtable || !m_pCmd->cmd.command_number )
m_pCmd = 0;
m_pCmd->cmd.viewangles.x = v37;
static_normalize = 0;
}
else
{
dword_4AB3BCC8 = 0.0;
static_normalize = 1;
}
}