Nice aber meins ist ganz anders :D alles nur mit Bytes ;DQuote:
Hier Bullets Creditz to Unknown
Code:DWORD pBullets = NULL; DWORD Bullets = NULL; _declspec(naked) void new_Bullets() { __asm { mov eax,Bullets; jmp pBullets; } } if(CH_Bullet!=0) { switch(CH_Bullet) { case 1:Bullets = 0x2; break; case 2:Bullets = 0x3; break; case 3:Bullets = 0x4; break; case 4:Bullets = 0x5; break; case 5:Bullets = 0x10; break; case 6:Bullets = 0x20; break; case 7:Bullets = 0x30; break; case 8:Bullets = 0x40; break; case 9:Bullets = 0x50; break; case 10:Bullets = 0x100; break; } pBullets = (ADR_Bullets+ 0x5); DetourFunc((BYTE*)ADR_Bullets,(BYTE*)new_Bullets,5); }else{ Memcpy((LPBYTE)ADR_Bullets,(PBYTE)"\x0F\xB7\x44\x24\x1C",5); }