public SSLToken Alloc(string retVal, string id, int bytes, int clear = -1) { var args = new List <string>(); args.Add(id); args.Add(bytes.ToString()); if (clear != -1) { args.Add(clear.ToString()); } return(SSL.Function("VOODOO_Alloc", retVal, args.ToArray())); }
public SSLToken GetHookFuncOffset(string retVar, string address, string offset) => SSL.Function("VOODOO_GetHookFuncOffset", retVar, address, offset);
public SSLToken GetAddressOf(string retVar, string var) => SSL.Function("VOODOO_GetAddressOf", retVar, var);
public SSLToken SetLookupData(MallocVar var, string value, int size) => SSL.Function("VOODOO_SetLookupData", null, var.Name, value, size.ToString());
public SSLToken MakeCall(string address, int func) => SSL.Function("VOODOO_MakeCall", null, address, "0x" + func.ToString("x"));
public SSLToken MakeCall(string address, string func) => SSL.Function("VOODOO_MakeCall", null, address, func);
public SSLToken memset(string address, int val, int size) => SSL.Function("VOODOO_memset", null, address, "0x" + val.ToString("x"), size.ToString());
public SSLToken nmalloc(string retVal, int bytes) => SSL.Function("VOODOO_nmalloc", retVal, bytes.ToString());
public SSLToken BlockCall(string address, string length) => SSL.Function(null, address, length);
public SSLToken AssertByte(string retVar, string addressName, string address, string expected) { return(SSL.Function("VOODOO_AssertByte", retVar, addressName, address, expected)); }