Code:
void rcs()
{
DWORD dwPlayer = Read<DWORD>(ChromeClient + PlayerBase);
DWORD dwEngine = Read<DWORD>(ChromeClientEngine + dwEnginePointer);
int m_iShotsFired = Read<int>(dwPlayer + dwIShotsFired);
int oldPunchx = 0;
int oldPunchy = 0;
int m_vecPunch = Read<int>(dwPlayer + dwVecPunch);
int m_vecPunchx = 2.0f;
int m_vecPunchy = 2.0f;
if (m_iShotsFired > 0) {
int currentAngles = Read<int>(dwEngine + dwSetViewAngle);
int Vector = m_vecPunch;
int modifierx = oldPunchx;
int modifiery = oldPunchy;
int currentAnglesx = modifierx;
int currentAnglesy = modifiery;
Write<int>(dwEngine + dwSetViewAngle, currentAngles);
}
}