[CoD4]Perk Spread Info

Posts 1–4 of 4 · Page 1 of 1
[CoD4]Perk Spread Info
Code:
struct struct_SpreadTimers_t
{
  BYTE SUNKNOW[252];
  signed int WeaponNumSteadyAim;
  DWORD SpreadTime;
  BYTE SUNKNOW2[20];
  float float118;
  BYTE SUNKNOW3[1248];
  DWORD BulletTime;
};

struct struct_Spread_t
{
  BYTE  SUNKNOW[1104];
  float Pitch;
  float Yaw;
  float Roll;
  float Xhair_X;
  float Xhair_Y;
  float Xhair_Z;
};

void  (*orig_Perk_Spread)(   ) = (void (  *)(   ))0x416C70;
void Perk_Spread(  )
{
   __asm pushad
     struct_SpreadTimers_t * SpreadTimers =    ( struct_SpreadTimers_t* ) (NULL);
     struct_Spread_t * Spread =    ( struct_Spread_t* ) (NULL);
    __asm mov eax, [ esp + 24 ]
    __asm mov SpreadTimers, eax
    __asm mov Spread, eax
    __asm mov esi, [ esp + 8 ]


     __asm popad    
    orig_Perk_Spread( );
}
i reversed this func to modify the weapon bullet time

result ( only the bullets lines ).
Nice vid, nice music ^^
So the bullets go towards the target, and the lasers replace where the bullets should go?
~lilneo
Posts 1–4 of 4 · Page 1 of 1

Post a Reply

Tags for this Thread

None

Talk with us