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( );
}
