WeaponMgrCopy* bypass (int GunIndexNR)
{
return Weapons[GunIndexNR];
}
public static byte[] Bypass(int GunIndexNR)
{
return Weapons[GunIndexNR];
}
public static uint Bypass(int GunIndexNR)
{
fixed (byte* PointerToByteArray = Weapons[GunIndexNR])
return PointerToByteArray;
}
backup(CShell, WeaponMgr);
if (*(BYTE*)(CShell + WeaponMgrByPass))
{
MakeCall((BYTE*)(CShell + WeaponMgrByPass), (DWORD)bypass, 5);
IsBypassDone = true;
}
else continue;
(DWORD)bypass