public static Pointer GetPreviousStackFrame(Pointer stackFrame) { if (stackFrame < new Pointer(0x1000)) { return(Pointer.Zero); } return(stackFrame.LoadPointer()); }
public static Pointer GetReturnAddressFromStackFrame(Pointer stackframe) { if (stackframe < new Pointer(0x1000)) { return(Pointer.Zero); } return(stackframe.LoadPointer(Pointer.Size)); }
public static Pointer GetTypeDefinition(Pointer obj) { return(obj.LoadPointer(-Pointer.Size)); }