All pastes #459950 Raw Edit

Unnamed

public c v1 · immutable
#459950 ·published 2007-04-26 19:43 UTC
rendered paste body
#include <idc.idc>static main(){  auto address, count; bool patch=false;  address=0x413000;  for(count=0; count<0x3A00; count++)  {    if (address==0x00E8E802)    {      PatchByte(address+1,0x90);      patch=true;    }    else if (address==0x0000CD20)    {      PatchByte(address+2,0x90);      PatchByte(address+3,0x90);      patch=true;    }    else if (address==0x0413C3E9)    {      PatchByte(address+3,0x90);     patch=true;    }    else if (address==0x53C3C705)    {      PatchByte(address+2,0x90);      PatchByte(address+3,0x90);     patch=true;    } if(patch==true){patch = false;printf("PATCHED @ 0x%08X",adress);}	    address++;  }}