public static zCView Create(int x, int y, int width, int height, zTviewID type) { int ptr = Process.Alloc(ByteSize).ToInt32(); Process.THISCALL <NullReturnCall>(ptr, FuncAddresses.zView, new IntArg(x), new IntArg(y), new IntArg(width), new IntArg(height), new IntArg((int)type)); return(new zCView(ptr)); }
public static zCViewProgressBar Create(Process process, int x, int y, int width, int height, zTviewID type) {//0x130 int ptr = process.Alloc(0x130).ToInt32(); process.THISCALL <NullReturnCall>((uint)ptr, (uint)FuncOffsets.zCViewProgressBar, new CallValue[] { new IntArg(x), new IntArg(y), new IntArg(width), new IntArg(height), new IntArg((int)type) }); return(new zCViewProgressBar(process, ptr)); }